websvgtex
websvgtex
is a simple script that converts standalone LaTeX components (such as formulae) into SVG.
How it works
- Wrap the input in a standard template that uses the "standalone" document class with the "preview" option and includes some math-related packages
- Calls
latex m.dvi
to produce a DVI file - Calls
dvips m.ps
to produce a PS file - Calls
inkscape m.ps --export-plain-svg --export-filename=m.svg
to produce an SVG file