Generating MathML and Other ...ML
from
John Plaice and Yannis Haralambous
The University of New South Wales and Atelier Fluxus Virus
Abstract
The
typesetting system, a generalization of TeX for fine
typography of numerous writing systems, is now capable of generating
SGML files from TeX and
files. Mathematics can be
automatically translated into MathML, and a redefinition of the
TeX, LaTeX, and
AMS-LaTeX macros allows the generation of
any SGML tags, thereby greatly facilitating the work of the author.
In the TeX community, it is widely recognized that the TeX
system
is a useful tool for printing documents encoded in SGML or XML. We
claim that the inverse also holds: the
system is the best
tool for generating SGML documents including MathML.
This system consists of three levels.
- New primitives allowing one to define the SGML entities that can
be found in fonts used by
- Modification to the
engine allowing the automatic generation
of MathML from mathematics written in the TeX or
LaTeX language,
as well as of SGML tables from tables written in TeX or
LaTeX
- New macro primitives allowing one to generate SGML tags
In the full paper and presentation, we will give a detailed presentation
of the MathML translator and the way in which it can be used to produce complete
XML documents.
|