Skip to content
Deyan Ginev edited this page Feb 26, 2018 · 11 revisions

LaTeXML Tips & Tricks

This Wiki provides (primarily) User supplied tips and tricks on how to use and customize LaTeXML. It supplements the installation guides at LaTeXML and the LaTeXML Manual. If you have ideas that can help your fellow users, please add that information in the appropriate places (but please be nice!)

Please Note: The information in this Wiki is not verified or endorsed by the authors of LaTeXML. In particularly, we cannot vouch for any sites or software linked to from these pages. Use at your own risk.

LaTeXML Overview

The goal of LaTeXML is to convert LaTeX documents into various XML related formats including HTML, XHTML, MathML, SVG, and more. Whereas the traditional LaTeX programs produce dvi or pdf, which are basically forms of "ink on paper", the XML formats we target require more semantics and document structure. To do that we must preserve (and sometimes infer) the semantics and structure associated with the markup that was used. In particular, while we attempt to faithfully mimic TeX's (sometimes peculiar) operation, we must intercept the interesting markup that carry semantic or structural information and record it. This is where Bindings come into play: they are the LaTeXML-specific equivalent of a LaTeX package which defines the specific XML that will be generated for the given markup, rather than just putting ink to paper.

The core processing, latexml, converts the TeX to an intermediate XML which models the document structure implicit in LaTeX and which carries both semantic and visual formatting information. That XML his then post-processed, latexmlpost, to fill in bibliographies, cross-referencing, conversion of the math markup to the desired form (such as MathML or images) and then to the final desired format using XSLT. All steps are customizable (or are ultimately intended to be).

LaTeXML Development and Contributions

See How to Contribute for more information.

Installation Guides

See Installation Guides for supplemental information about installing LaTeXML.

Demos

See the Demos page for a list of use cases with their respective LaTeXML command-line options. Do you want a special flavor of math markup, or an embeddable snippet as output? This is the page to find out how.

Extensions & Tools

See LaTeXML Extensions & Tools for available extension packages, Plugins and other tools for use with LaTeXML.

Interesting Applications

See Interesting Applications for a list of interesting applications of LaTeXML. Please feel free to add your own projects to this list.