Convert Latex Tikz diagram to SVG

  1. Generate PDF from LaTeX as usual:
   pdflatex mydoc.tex
  1. Use Inkscape from Terminal to convert PDF to SVG at full vector quality
   inkscape -l out.svg in.pdf

That’s how to convert Latex to SVG, a vector graphics conversion at full quality from the command line (no GUI).


Are there other vector graphics you’d like to extract at full quality from the source document? Let us know in the comments below.