texmath-0.6.7: Conversion of LaTeX math formulas to MathML or OMML.

Safe HaskellNone

Text.TeXMath

Description

Functions for converting LaTeX math formulas to MathML.

Synopsis

Documentation

texMathToMathML :: DisplayType -> String -> Either String ElementSource

Convert texMath string to MathML

texMathToOMML :: DisplayType -> String -> Either String ElementSource

Convert texMath string to OMML (Office Math Markup Language)

texMathToPandoc :: DisplayType -> String -> Either String [Inline]Source

Convert texMath to Pandoc inlines

mathMLToOMML :: DisplayType -> String -> Either String ElementSource

Convert MathML to OMML (Office Math Markup Language)

mathMLToPandoc :: DisplayType -> String -> Either String [Inline]Source

Convert MathML to Pandoc inlines

mathMLToLaTeX :: DisplayType -> String -> Either String InlineSource

Convert MathML to Pandoc Math Element

readMathML :: String -> Either String [Exp]Source

Parse a MathML expression to a list of Exp

readTeXMath :: String -> Either String [Exp]Source

Parse a formula, returning a list of Exp.