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

cell order / package loading and latex equation: example #200

Open
lmiq opened this issue Sep 16, 2024 · 3 comments
Open

cell order / package loading and latex equation: example #200

lmiq opened this issue Sep 16, 2024 · 3 comments

Comments

@lmiq
Copy link

lmiq commented Sep 16, 2024

While trying to render this notebook, I had the following issues:

  1. The packages are not installed by the notebook itself (I had to install them in the make.jl file). Probably this is a feature to avoid installing packages repeatedly for each notebook, but should probably be an option, as it breaks the self-consistency of the notebook.

  2. The cell order matters. Specifically, in the notebook I ran, for example, using Unitful in cells at the end of the notebook. That does not seem to work.

  3. A latex equation that is in the notebook was not rendered:

Should be:
image

How it was rendered:
image

ander.jl.zip

@rikhuijzer
Copy link
Owner

The installation is possible. The right option is use_distributed if I remember correctly.

See the API docs at https://plutostatichtml.huijzer.xyz/stable/#API-overview.

There is also information about getting math to work.

I am currently on vacation by the way and only have a phone so I won’t be able to give more timely and detailled help.

@lmiq
Copy link
Author

lmiq commented Sep 16, 2024

The math description is there, thanks. The use_distributed is only documented to run or not the notebooks in parallel, so if it has an effect on the installation, that's not clear.

Have a nice vacation (don't worry about this, it is not urgent :-) ) .

@rikhuijzer
Copy link
Owner

Sorry that’s not properly documented indeed but it should definitely have an effect. With use_distributed, Pluto will spawn separate Julia environments in different threads, and manage these environments (including installing packages).

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