texmath is a Haskell library, command-line program, and web server that converts between TeX, MathML, OMML, and eqn formats for mathematical formulas.