Você pode usar (e eu usei) mathTeX :
MathTeX, licensed under the gpl, 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. So just place an html tag in your document wherever you want to see the corresponding LaTeX expression.
Ele pode ser usado como um script CGI no servidor e vinculado diretamente a partir do < img > ou execute na linha de comando para gerar arquivos de imagem independentes. Na página inicial:
mathTeX is usually run by your web server as a cgi program, obtaining its input expression from the query-string of an html tag. But you can also run mathTeX from your Unix shell, supplying all input on the command line. For example,
./mathtex.cgi "x^2+y^2" –o equation1
renders an image of x^2+y^2 in fileequation1.gif
.