Latex to MathML content
converter
Introduction
The current version (0.7) of Mowgli
Latex2MathMLcontent converter converts TeX math formulas
in MathML content. Text and external (to MathML content) metadata
facilities are not yet consistently dealt with.
The input file is TeX math formulas (see this example.tex). The
converter (dvixml executable) converts the Tex file into an XML
file (see example.xml) which contains the MathML content
corresponding to the tex source. The converter gives also an
XHTML/MathMLversion of the document using a stylesheet that converts a
content data into presentation format (XHTML).
Installation
- Get the source code here (download)
- Once you copy the files locally, run your Makefile with 'make'
command. The make process has been tested under Windows2000 (Cygnus
emulation) and a default RedHat Linux 8 distribution with gcc 3.2.
- You should get the hermes executable,
an example.pdf, an example.xml and a render.xml.
- hermes executable
converts a dvi file into XML/MathML-content
- example.xml contains the MathML
content of the LaTeX input example.tex, included in a
simple XML wrapper (root element <article>)
- render.xml is XHTML with MathML
content renderable by IE6 and Mozilla1.4 just by opening it.
Example: Mowgli Latex to MathML
converter
From a TeX input file, the Mowgli Latex2MathMLcontent converter
generates two formats:
- XML which contains MathML content (content format to process)
- XHTML with MathML (a web presentation format)
Example:
Output:
Here
you have more details in this work (a pdf
version),