Conversion of LaTeX math formulas to MathML or OMML