OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] MathML and DocBook problems


> -----Original Message-----
> From: Ron Catterall 
> 
> Can anyone help me get MML working?  Below is a simple example.
> 
> And a question, will XEP 4.5 format MML in PDF output?

No, XEP does not do MathML. See 
http://www.renderx.net/lists/xep-support/2524.html
http://lists.oasis-open.org/archives/docbook-apps/200507/msg00037.html

 
> I have followed the recipe in Bob's book, pp.327-329, but when I try 
> to validate, all I get is a set of errors like:
> "Element type "mml:math must be declared" (one for each of 
> the MML entities.)
> This messages are all associated with the file Mich3.xml.
> It looks to me like I might need something else in xinclude.mod

[...]

> file Mich3.xml
> ==============
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE mml:math PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
> "http://www.w3.org/TR/MathML/dtd/mathml2.dtd";
> [
> <!ENTITY % MATHML.prefixed "INCLUDE">
> <!ENTITY % MATHML.prefix "mml">
> ]>

The DOCTYPE declaration in Mich3.xml does not look right. If you use the
following,

 <!DOCTYPE mml:math PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/TR/MathML/dtd/mathml2.dtd"; [ 
<!ENTITY % MATHML.prefixed "INCLUDE">
<!ENTITY % MATHML.prefix "mml" >
]>

does it work then?

/MJ
 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]