Package Info

texmath


Conversion between formats used to represent mathematics


Unspecified

The texmath library provides functions to read and write TeX math, presentation MathML, and OMML (Office Math Markup Language, used in Microsoft Office). Support is also included for converting math formats to Gnu eqn and to pandoc's native format (allowing conversion, via pandoc, to a variety of different markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros. (See <http://johnmacfarlane.net/texmath here> for a live demo of bidirectional conversion between LaTeX and MathML.)

The package also includes several utility modules which may be useful for anyone looking to manipulate either TeX math or MathML. For example, a copy of the MathML operator dictionary is included.

Use the 'executable' flag to install a standalone executable, 'texmath', that by default reads a LaTeX formula from 'stdin' and writes MathML to 'stdout'. With flags all the functionality exposed by 'Text.TeXMath' can be accessed through this executable. (Use the '--help' flag for a description of all functionality)

The 'texmath' executable can also be used as a CGI script, when renamed as 'texmath-cgi'. It will expect query parameters for 'from', 'to', 'input', and optionally 'inline', and return a JSON object with either 'error' and a message or 'success' and the converted result.


License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/texmath

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.11.2-bp151.1.7 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.11.2-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.12.0.2-bp152.1.4 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.12.0.2-bp153.1.23 info GA Release 2021-04-23 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.8.4.2-3.1 info openSUSE-2016-291 2016-07-04 12 GA-SP5
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.8.6.4-6.2 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.8.6.4-6.5 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.9.4.1-bp150.2.4 info GA Release 2018-07-31 15
  • AArch64
  • ppc64le
  • ghc-texmath
  • ghc-texmath-devel
  • texmath
0.9.4.1-bp150.2.6 info GA Release 2018-07-30 15
  • x86-64
  • ghc-texmath
  • ghc-texmath-devel
  • texmath