MathML Logo


#Presentations

#Schedule of Events

    

From LaTeX to MathML and Back with TeX4ht and PassiveTeX

Eitan M. Gurari and Sebastian Rahtz
Ohio State University and Oxford University


Abstract

This proposed presentation aims at the following.

  1. Demonstrating the translation of LaTeX math into MathML with the TeX4ht utility2

  2. Demonstrating the display of MathML through TeX with PassiveTeX3

  3. Discussing the issues involved in mapping LaTeX math into MathML

  4. Considering the issues involved in displaying MathML through TeX

  5. Presenting the approaches offered by TeX4ht and PassiveTeX in dealing with the above issues

  6. Reviewing directions for future work
1David Carlisle, "xmltex: A Nonvalidating (and Not 100% Conforming) Namespace-Aware XML Parser Implemented in TeX"
ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/base/manual.html

2Eitan M. Gurari, "TeX4ht: LaTeX and TeX for Hypertext"
http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html

TeX4ht is a highly configurable TeX-based authoring system for producing hypertext. It interacts with applications through style files and postprocessors. It can handle the features of TeX-based systems in general, and of the LaTeX and AMS style files in particular.

The current distribution of TeX4ht offers a stand-alone configuration for MathML, as well as a coupling of that configuration with nonmath configurations for XHTML, TEI Lite, Open Book, and DocBook. The configurations for the last three marking languages are only partially implemented.

3Sebastian Rahtz, "PassiveTeX"
http://users.ox.ac.uk/~rahtz/passivetex

PassiveTeX is a library of TeX macros that can be used to process an XML document resulting from an XSL transformation to formatting objects. Running PassiveTeX with the PDFTeX variant of TeX generates high-quality PDF files in a single operation. It relies heavily on the TeX-based parser xmltex.1