SVG graphics in LaTeX without Inkscape

pdfLaTeX cannot read SVG files, and the svg package needs Inkscape and shell escape. The editor converts the graphics itself, so \includesvg works.

What happens during a compile

In web mode the browser renders each SVG that an \includesvg names into a PNG, 2400 pixels on the longer side, and compiles a copy of the source in which the command is replaced by \includegraphics. The files of your project are not changed. Because the result is a pixel image, it gets blurry when printed much larger than a page.

In bridge mode the desktop app converts the SVG into a vector graphic.

Where it works

Related pages