-
Notifications
You must be signed in to change notification settings - Fork 574
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
LaTeX and PDF export: Incorrect export of SVG images included via ![]()
#2192
Comments
Note that an alternative fix is to use the IMHO the |
Duplicate of #244 |
#244 is definitely about SVGs in markdown cells with |
Problem description
Presently, SVG images can be directly included in Jupyter notebooks via the
![SVG file](file.svg)
directive. However:LaTeX
export results in\includegraphics{file.svg}
which is unsupported in LaTeX as of now.PDF via LaTeX
export fails due toXeLaTeX
compilation error.Version Info
nbconvert
7.16.4How to reproduce
![SVG file](file.svg)
in a Markdown cell.LaTeX
orPDF
as:jupyter nbconvert --debug <filename> --to latex
orjupyter nbconvert --debug <filename> --to pdf
Workaround
LaTeX
export, which utilizes thesvg
package and needs-shell-escape
option is provided in LaTeX export: Support SVG image files via thesvg
LaTeX package #2190.The text was updated successfully, but these errors were encountered: