Angus Leeming <[EMAIL PROTECTED]> writes:

> Does DocBook not use MathML?

No, not officially. There are extensions for DocBook XML.

The content for equations is:

informalequation ::=
(blockinfo?,
 (alt?,
  (graphic+|mediaobject+)))

Right now we put LaTeX in <alt> and a reference to a non 
existing bitmap file in <graphic>. Next thing to do is
generate these bitmaps (previews becoming included files,
isn't that a mess?)

For DocBook XML we also output an "invalid" <math> element
with MathML (I guess it will included in DocBook 5.0).


> Incidentally, why don't we use jadetex and pdfjadetex to generate docbook?

Because DocBook SGML is the _input_ format for jadetex? ;-)

The toolchains are:
LyX --> Docbook SGML --> openjade+sgmltools --> (pdf)jadetex / rtf / html / ...
and
LyX --> Docbook XML --> saxon+xsl stylesheets --> xmltex / html / FOP / ...
or (my favourite)
LyX --> Docbook XML --> saxon+db2latex --> (pdf)latex

There are other chains and other XML / SGML processors possible, eg. xsltproc.

Unfortunately the different stylesheets (sgmltools, xsl, db2latex) have 
quite different needs and capabilities concerning external graphics or maths.

So the best is to stick with the Docbook standard and convince the stylesheet
authors to adapt.
Anything behind the Docbook file is users responsibility.

Reply via email to