I\'m not asking about converting a LaTeX document to html.
What I\'d like to be able to do is have some way to use LaTeX math commands in an html document, and have
You can use tex2gif. It takes a LaTeX snippet, runs LaTeX and produces a PNG (or GIF). Easy to embed, easy to script. It works for me.
You can also check tex2png.