aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b6f0fb0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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