LATExml A LATEX to XML/HTML/MathML Converter
keywords:LaTeXML, LaTeX to XML, LaTeX to HTML, LaTeX to MathML, LaTeX to ePub, converter
Now available: LATExml 0.8.7!
In the process of developing the Digital Library of Mathematical Functions, we needed a means of transforming the LATEX 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 LATExml in-house.
The approach is to emulate TeX as far as possible (in Perl), converting the TEX or (LATEX) document into LATExml’s XML format. That format is modelled on the typical document structure found in LATEX, 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 TEX is kinda hard, there are many clever LATEX package developers, and the Web moves quickly, so there are gaps in fidelity and coverage.
of LATExml’s work include:
- LaTeX tabular
from the LATEX manual, p.205. (TEX, )
The Digital Library of Mathematical Functions was the primary instigator for this project.
- LATExml Manual
The LATExml User’s manual ().
- These pages
were produced using LATExml, as well.
an online editor/showcase of things that LATExml can do.
An experiment processing the entire https://arXiv.org.