aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2b8db2e8b869792d03f50d18dd8f20697435bc3e (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 m.dvi` to produce a DVI file
3. Calls `dvips m.ps` to produce a PS file
4. Calls `inkscape m.ps --export-plain-svg --export-filename=m.svg` to produce an SVG file