A  to XML/HTML/MathML Converter

keywords:
LaTeXML, LaTeX to XML, LaTeX to HTML, LaTeX to MathML, LaTeX to ePub, converter

Now available:  0.8.8!

In the process of developing the Digital Library of Mathematical Functions, we needed a means of transforming the  sources of our material into XML which would be used for further manipulations, rearrangements and construction of the web site. In particular, a true ‘Digital Library’ should focus on the semantics of the material, and so we should convert the mathematical material into both content and presentation MathML. At the time, we found no software suitable to our needs, so we began development of  in-house.

The approach is to emulate TeX as far as possible (in Perl), converting the  or () document into ’s XML format. That format is modelled on the typical document structure found in , and inspired by HTML, MathML, OpenMath and others. That abstract document is then further transformed into HTML of various flavors, with MathML and SVG, or into JATS or ePub or …. Of course, emulating  is kinda hard, there are many clever  package developers, and the Web moves quickly, so there are gaps in fidelity and coverage.

Examples

of ’s work include:

LaTeX tabular

from the  manual, p.205. (, [Uncaptioned image])

DLMF

The Digital Library of Mathematical Functions was the primary instigator for this project.

 Manual

The  User’s manual ([Uncaptioned image]).

These pages

were produced using , as well.

See also

https://latexml.mathweb.org/editor

an online editor/showcase of things that  can do.

https://arxiv.org/

is now offering preprints in HTML format using  (currently experimental).