Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semicolon does not suppress output in juliaconsole #26

Open
jlapeyre opened this issue Nov 29, 2020 · 4 comments
Open

semicolon does not suppress output in juliaconsole #26

jlapeyre opened this issue Nov 29, 2020 · 4 comments

Comments

@jlapeyre
Copy link

This:

\begin{juliaconsole}
rand(100);
\end{juliaconsole}

Prints 100 numbers in my latex document.

I noticed in the slides in your JuliaCon talk that a semicolon does suppress output. Any ideas what is going on here? I did find that this

\begin{juliaconsole}
rand(100); nothing
\end{juliaconsole}

Suppresses output. But, this is of course undesirable in a document.

@mykelk
Copy link
Member

mykelk commented Nov 30, 2020

This was addressed in Weave.jl v0.10.4
JunoLab/Weave.jl#386
Updating Weave should do the trick!

@jlapeyre
Copy link
Author

jlapeyre commented Dec 2, 2020

I did add [email protected] to get around this bug JunoLab/Weave.jl#391, which
hits me when I use Weave.jl v0.10.4.
Maybe there is a way to solve both. Thanks for the lead.

@jlapeyre
Copy link
Author

jlapeyre commented Dec 2, 2020

@mykelk : As a work around, I installed Weave.jl v0.9.4
Neither bug occurs now. I can compile and semicolons suppress output as expected.
As an added benefit, the namespace noise mentioned in #27 is bit less ugly. Although I still need to track that down to eliminate it.

@jlapeyre
Copy link
Author

jlapeyre commented Dec 2, 2020

It seems clear that these are bugs in Weave.jl, not this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants