Convert Latex Tikz diagram to SVG

  1. Generate PDF from LaTeX as usual:
    pdflatex mydoc.tex
    
  2. 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).

Discussion

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

Leave a Comment