Closed berndflemisch closed 3 years ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/binder-examples-latex-fails/5149/4
Do you know if this error is specific to the repo (particular version of a package we use?) or a misconfiguration?
Does someone have any news about this issue? Just for you to know, I just used usetex=False and still the latex variables were shown
Hi there @berndflemisch :wave:!
I closed this issue because it was labelled as a support question.
Please help us organize discussion by posting this on the http://discourse.jupyter.org/ forum.
Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.
Thanks you for being an active member of our community! :heart:
The issue can be fixed by adding the line cm-super
to your apt.txt
file. This installs type1ec.sty
when Binder builds the Docker image. A complete apt.txt
adapted from https://github.com/binder-examples/latex then looks like this:
dvipng
ghostscript
texlive-fonts-recommended
texlive-generic-recommended
texlive-latex-base
texlive-latex-extra
texlive-latex-recommended
texlive-publishers
texlive-science
texlive-xetex
cm-super
This solves the issue, thanks!
Apparently, this is related to https://github.com/binder-examples/latex, but the issue tracker there points to the one here.
Bug description
When using matplotlib with
usetex=True
, a Latex error is produced.Actual behaviour
The example below produces
How to reproduce