Binary package “mathtex” in ubuntu trusty
Generate image from LaTeX command
MathTeX is a cgi program that lets you easily embed LaTeX math
in your own html pages, blogs, wikis, etc. It parses a LaTeX
math expression and immediately emits the corresponding gif
(or png) image, rather than the usual TeX dvi.