PSTricks 2 SVG

PSTricks 2 SVG

PSTricks (.tex) → DVI (.dvi)

<span class="prompt" aria-hidden="true"></span>latex file.tex

DVI (.dvi) → SVG (.svg)

<span class="prompt" aria-hidden="true"></span>dvisvgm --bbox=papersize -n file.dvi
  • -n causes paths to be used instead of SVG fonts (larger SVG files, more robust)