logo

SVG LaTeX

Introduction

The goal is to turn LaTeX into SVG. Right now there's a Python CGI script to do this. Here are some issues:

Live Demos

Browse Code in SVN Repository

Server-Side Software Requirements

Basic Procedure

Inspired by Inkscape's eqtexsvg.py: Say you had a file eqn.tex that looked like

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}

\thispagestyle{empty}
\begin{document}
\[
2 \pi f t
\]
\end{document}

Here are the commands you would run:

In order to get good quality text to pollygon conversion, we had to run dvips with a high magnification, so we have to scale down the resulting SVG. The transformation that we'll stick in the svg group:

Additional Links: