aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: b6f0fb0d02886a272fe26a34413cde78efa2af88 (plain) (blame)
1
2
3
4
5
6
7
8
9
# websvgtex

`websvgtex` is a simple script that converts standalone LaTeX components (such as formulae) into SVG.

## How it works
1. Wrap the input in a standard template that uses the "standalone" document class with the "preview" option and includes some math-related packages
2. Calls `latex x.dvi` to produce a DVI file
3. Calls `dvips x.ps` to produce a PS file
4. Calls `inkscape x.ps --export-plain-svg --export-filename=x.svg` to produce an SVG file