Convert an inline LATEX equation into SVG path using Python for Inkscape
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. update Dec 21, 2014
eqtexsvg.inx add initial version of eqtexsvg (taken from website) Dec 21, 2014


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 extension
  • 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.

Needed tools

This extension needs some external tools to work properly:

  • a TeX/LaTeX distribution with latex and dvips 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):