tth/ttm are command line utilities written by Hutchinson (2012) for converting (La)TeX to HTML or HTML+MathML, respectively.
The R package tth ships the C sources for convenient compilation and installation on all platforms. It also provides wrappers in R to process R character vectors with the command line tools directly from the R prompt. A detailed manual for tth/ttm is available online at http://hutchinson.belmont.ma.us/tth/manual.cgi (which actually produces an HTML version of the manual in real time using tth).
Hutchinson IH (2012). TtH: The TeX to HTML Translator, Version 4.03. http://hutchinson.belmont.ma.us/tth/