compile svg in latex vs pdf code example Example: inkscape svg to pdflatex inkscape -D -z --file=image.svg --export-pdf=image.pdf --export-latex