This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: MathML in Docbook?
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: MathML in Docbook?
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: 19 May 2000 06:41:33 -0400
- References: <391FF74D.66F86F42@ice.mpg.de>
- Reply-To: docbook at lists dot oasis-open dot org
/ Christoph Steinbeck <steinbeck@ice.mpg.de> was heard to say:
| I was wondering about a decent way of including MathML equations into a
| docbook document
Although in no way official yet, here's a customization that
will do it on top of DocBook V4.0. And obviously you need to change
the system identifier for the mathml DTD.
<!-- ...................................................................... -->
<!-- DocBook MathML Module V4.0 ........................................... -->
<!-- File dbmathml.dtd .................................................... -->
<!-- ...................................................................... -->
<!-- This is the driver file for the MathMLmodule of
DocBook V4.0.
Please use the following formal public identifier to identify it:
"-//OASIS//DTD DocBook MathML Module V4.0//EN"
For example, if your document's top-level element is Book, and
you are using DocBook directly, use the FPI in the DOCTYPE
declaration:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/dbmathml.dtd"
[...]>
See the documentation for detailed information on the parameter
entity and module scheme used in DocBook, customizing DocBook and
planning for interchange, and changes made since the last release
of DocBook.
-->
<!ENTITY % mathml-colon ':'>
<!ENTITY % mathml-prefix 'mml'>
<!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))">
<!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"docbookx.dtd">
%docbook;
<!ENTITY % mathml SYSTEM "../../mathml/mathml.dtd">
%mathml;
<!-- End of dbmathml.dtd V4.0 ............................................. -->
<!-- ...................................................................... -->
| Is there a mechanism for this and are there
| stylesheets that can produce a reasonable output from that?
I've heard that there are at least a couple of XSL stylesheets for
MathML, but I haven't been able to get ahold of any.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | There are things which don't
http://www.oasis-open.org/docbook/ | deserve to be said briefly.--Jean
Chair, DocBook Technical Committee | Rostand