At the moment, I'm using mimetex
to automatically convert a bunch of equations into gif-images.
The program is fast, but the images look pretty bad:
How can I (quickly) convert a LaTeX equation into an SVG image on the command line?
At the moment, I'm using mimetex
to automatically convert a bunch of equations into gif-images.
The program is fast, but the images look pretty bad:
How can I (quickly) convert a LaTeX equation into an SVG image on the command line?
pdf2svg works quite well.
Use
\pagestyle{empty}
to avoid page numbers andpdfcrop
(packagetexlive-extra-utils
) to remove empty space around the equationsA new option is to use
mathjax-node
fromnpm
. Install a distribution of node, then usenpm
to installmathjax-node
:Edit: You now have to install mathjax-node-cli, however, mathjax-node-cli doesn't show up (yet), so I had to pass the github repo:
Once installed, you will be able to use
tex2svg
:And the result:
The generated SVG file renders properly inside a browser but cannot be displayed using standard image tools.
Have you tried ekee? It's a clone of LatexIt for Mac, it's great! It's hosted on http://rlehy.free.fr/.
dvisvgm works quickly and nicely in my experience. It's in TeX Live 2010.