[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Using multiple modules
It works, though. A very thin customization layer should get you there. Here's what I use to make this work: <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides Full V3.2.0//EN" "http://docbook.sourceforge.net/release/slides/3.2.0/schema/dtd/slides-full.dtd" [ <!ENTITY % MATHML.prefixed "INCLUDE"> <!ENTITY % MATHML.prefix "mml"> <!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))"> <!ENTITY % inlineequation.content "(alt?, (graphic+|inlinemediaobject+|mml:math))"> <!ENTITY % local.textobject.mix "|mml:math"> <!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"> %mathml; <!ENTITY % jpebnf PUBLIC "-//Justus Piater//DTD DocBook EBNF Module V0.1//EN" "http://www.montefiore.ulg.ac.be/~piater/XML/ebnf/0.1/jpebnf.dtd"> %jpebnf; <!ENTITY courseurl "http://www.montefiore.ulg.ac.be/~piater/Cours/INFO0055/"> ]> Two notes: - My own jpebnf module is derived from the DocBook EBNF Module V1.1CR1. It adds a little more markup and slightly more flexibility in the elements which I needed for didactic purposes. (Norm, why not augment DocBook's version in this way :-) ?) But I don't think I did anything special to make this work together with MathML; it should work just as well with the original DocBook EBNF module. - I have not checked, but perhaps the reason it works without hassle is that the DocBook DTD is included later via a customization layer (slides). That's why I suggested above that it should be easy to do... Hope this helps, Justus -- Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/ Institut Montefiore, B28 Phone: +32-4-366-2279 Université de Liège, Belgium Fax: +32-4-366-2620
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]