Improve error reporting with PDF format and LaTeX
See original GitHub issueCurrently, if users have an old version of dvisvgm
(older than 2.4 from May 2018) or if their dvisvgm
is not configured correctly (e.g. missing libgs
from Ghostscript), video rendering just fails and the users sees unknown option --pdf
in their output.
We could improve this:
- do a test call to
dvisvgm --pdf
one time and check the exit status - if it fails, raise an exception and output something along the lines of “Your installation does not support converting PDF to SVG. Consider updating
dvisvgm
to at least 2.4. If this does not solve the problem, please refer to our documentation.” - add some information in our docs
- On Mac, people must have Ghostscript and
libgs
installed; installing MacTex does not, by default, install the latter. It is a separate package. - Sometimes,
libgs
is installed, but cannot be found bydvisvgm
. In this case, the user must executeexport LIBS=<path>
prior to running manim
- On Mac, people must have Ghostscript and
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to find and fix errors reported in generated files - Overleaf
Sometimes Overleaf will report errors which arise from files with names such as ... Apart from the output .pdf file, the LaTeX compilation...
Read more >How can I make LaTex typeset a PDF regardless of an error?
1 Answer 1 ... That's not possible. Whether TeX can continue, heavily depends on the kind of error. \batchmode or \nonstopmode can be...
Read more >The Effective Strategies to Avoid Medication Errors and ... - NCBI
An efficient medication error reporting system is the backbone of reliable practice and a measure of progress towards achieving safety.
Read more >r - error using custom LaTeX style file to render PDF using ...
It works for me when I remove the \endinput from custom.sty . Problem is that includes just like \include in TeX inputs the...
Read more >Creating high-quality PDF/A documents using LaTeX
If everything goes well, look at the resulting PDF file in Acrobat Reader. (You may have to select "File" → "Reload" if the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
“Your installation does not support converting PDF to SVG. Consider updating dvisvgm to at least 2.4. If this does not solve the problem, please refer to LINK_IN_TROUBLESHOOTING_SECTION_HERE.”
I would say so, yes.