MathML and DSSSL Files
Copyright 1998 1999 NAG Ltd
The OpenMath Consortium. Esprit Project
This page introduces several files relating to parsing MathML in
an SGML/XML system, and DSSSL style sheets which may be used to
render the Mathematics to TeX or to RTF (For Microsoft Word, for
These files are being released to allow discussion.
They are not in final form. In particular the spacing and
font choice is usually wrong, as so far most effort has been on
recognising the structure of MathML.
Comments should be directed at the author of these files, David Carlisle.
In the first section are several entity declarations for MathML
symbol sets, this is followed by a second section with the DSSSL
style sheet and supporting examples and scripts.
The individual files may be retrieved or alternatively you may
take a zip archive of all the files in the
These stylesheets were originally designed to work with entity
declarations derived from the text of the MathML1.0 recomendation.
These older files are still
A new set of entity files for
MathML, and some other common entity sets are now derived from unicode.xml.
The stylesheets will be updated shortly to match these new entity
sets. The new files are also available from this site.
DSSSL Style sheet
- mathml.dtd DTD from Appendix A of the
MathML recommendation (slightly edited).
- mathmlx.dtd DTD for a rather minimal
document type that supports displayed MathML examples interspersed
with text paragraphs. (This file contains the DOCTYPE declaration,
so needs to be prepended on to a file containing the document
instance. Probably not the best way of setting this up, but
sufficient for this example.)
- xml.dcl SGML Declaration for XML.
(Unchanged from the Jade distribution).
- mathml.dsl DSSSL fragment that
purports to render the elements of MathML.
- mathmlx.dsl DSSSL Style sheet for the
elements of mathmlx.dtd. Includes mathml.dsl via an entity
reference. It also defines a few debugging functions, and functions
in the DSSSL standard, but not implemented in Jade.
- dblib.dsl The library file from Norman
Walsh's docbook style sheets.
dblib.dsl 1.7 1998/05/06
- jmml Script (batch file) which given a file
as argument, calls jade with suitable arguments to process the file
to produce TeX.
- jmmlr Script (batch file) which given a
file as argument, calls jade with suitable arguments to process the
file to produce RTF. The RTF coming from Jade is further modified
by the small script below.
- rtffix Even if min-leading is set, the
displayed math always appears in the rtf clipped to a 12pt `exact'
baseline. This script just edits it to be `at least'. It just
changes the sign of a number which appears before each display. If
you don't have sed, you can load the file in to word and alter the
paragraph properties of each math display to change the baseline
- jadetex.cfg Some further
modifications required for the TeX backend. This requires a recent
patched TeX backend as distributed by Sebastian
© The OpenMath Society 2001–2013