Typesetting MathML with xmltex
David Carlisle
NAG Ltd
Abstract
The xmltex system is a parser implemented entirely within TeX
for documents conforming to the XML Namespace Recommendation. In addition
to parsing a document, it allows typesetting codes to be associated with
elements and attributes in the document instance.
Typesetting styles will be loaded on demand when an element in a new
namespace is first encountered: configuration files specify the correspondences
between namespace names and xmltex styles. This allows elements
from different namespaces to be freely mixed. In particular, MathML elements
may be embedded in TEI, XHTML, DocBook, or XSL FO documents, and the math typesetting
rules will be automatically loaded and the math expression will be typeset.
The system is still under development and not all of the mentioned document
types are completely implemented; however, many real documents may already
be processed.
The core xmltex system is due to the speaker. Much of the work
developing xmltex styles for document types (especially TEI and
XSL FO) has been undertaken by Sebastian Rahtz, building on his earlier
jadetex
project.
This talk will demonstrate some of the output of the MathML rendering
in xmltex and contrast it with alternative approaches such as
using XSL to transform MathML to normal TeX syntax.
|