texmath
Version 0.7.0.2 revision 0 uploaded by JohnMacFarlane.
Package meta
- Synopsis
- Conversion between formats used to represent mathematics.
- Description
The texmath library provides functions to read and write formats used to represent mathematics. The package is able to read and write both TeX math and presentation MathML. Support is also included for writing OMML (Office Math Markup Language, used in Microsoft Office) and pandoc's native format (allowing conversion, via pandoc, to a variety of different markup formats). It supports basic LaTeX and AMS extensions, and it can parse and apply LaTeX macros. (See 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 Unicode 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 fromstdin
and writes MathML tostdout
. 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 astexmath-cgi
. It will expect query parameters forfrom
,to
,input
, and optionallyinline
, and return a JSON object with eithererror
and a message orsuccess
and the converted result.- Author
- John MacFarlane, Matthew Pickering
- Bug reports
- n/a
- Category
- Text
- Copyright
- n/a
- Homepage
- http://github.com/jgm/texmath
- Maintainer
- jgm@berkeley.edu
- Package URL
- n/a
- Stability
- Experimental