EQTeXSVG is an extension for Inkscape used to convert an inline LaTeX equation into SVG path using Python.
EQTeXSVG extension is meant to work with Inkscape (at the moment). It is composed of two files:
eqtexsvg.inx
: which is used by Inkscape to describe the extensioneqtexsvg.py
: which is the python script converting inline equation into SVG path
To install it, you need to replace existing files:
- on Windows, in the following directory:
C:\Program Files\Inkscape\share\extensions\
- on Unix, in the following directory:
/usr/share/inkscape/extensions/
Directories containing your softwares may depend on your configuration.
This extension needs some external tools to work properly:
- a TeX/LaTeX distribution with
latex
anddvips
installed (see MikTeX on Windows or any distribution on Unix)
And depending on which program you prefer:
An example of LATEX equation (see website):
\lim_{n \to \infty}\sum_{k=1}^n \frac{1}{k^2}= \frac{\pi^2}{6}
And the SVG result (after some color manipulations inside Inkscape):