The texmath package

[Tags:gpl, library, test]

The texmathml library provides functions to convert LaTeX math formulas to presentation MathML (which can be used in HTML) or OMML (Office Math Markup Language, used in Microsoft Office). It supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros.

Use the test flag to install a standalone executable, texmath, that reads a LaTeX formula from stdin and writes MathML to stdout.

Use the cgi flag to install a cgi script, texmath-cgi.


Versions 0.1,,,,, 0.1.1, 0.2,,,,, 0.3,,,,,,, 0.4, 0.5,,,,, 0.6,,,,,,, 0.6.1,,,,,, 0.6.3, 0.6.4, 0.6.5,,, 0.6.6,,,, 0.6.7, 0.7,,, 0.8,,, 0.8.1, 0.8.2,,, 0.8.3, 0.8.4,,, 0.8.5,, 0.8.6,,,,,, (info)
Dependencies base (>=3 && <5), cgi, containers, json, parsec (>=3), syb, utf8-string, xml (>1 && <1) [details]
License GPL
Author John MacFarlane
Stability Experimental
Category Text
Home page
Source repository head: git clone git://
Uploaded Sat Sep 8 05:48:51 UTC 2012 by JohnMacFarlane
Updated Wed Nov 11 12:15:49 UTC 2015 by phadej to revision 1
Distributions Arch:, Debian:, Fedora:, FreeBSD:0.8.3, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 71171 total (194 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-11-25 [all 4 reports]


  • Text
    • Text.TeXMath
      • Text.TeXMath.Macros
      • Text.TeXMath.MathML
      • Text.TeXMath.OMML
      • Text.TeXMath.Parser
      • Text.TeXMath.Types


cgiCompile cgi executable.DisabledAutomatic
testCompile test executable.DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees