texmath

Haskell library for converting LaTeX math to MathML and other formats

brewmacoslinux
Try with needOr install directly
Source

About

Haskell library for converting LaTeX math to MathML

Commands

texmath

Examples

Convert LaTeX math expression to MathML$ texmath -f latex -t mathml <<< "x^2 + y^2 = z^2"
Convert inline LaTeX to OMML (Office Math Markup Language)$ texmath -f latex -t omml <<< "\\frac{a}{b}"
Convert MathML input to LaTeX output$ texmath -f mathml -t latex <<< "<math><mi>x</mi></math>"