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: epub3 mathml rendering


Hi,
This may not be a docbook issue, I'm not sure.

I'm using epub3 stylesheets (1.78.1) from DocBook5 + MathML.
The math is passed through to the xhtml content using the 'mml': namespace alias for MathML. 

However, the MathML is not rendered in either Readium or Calibre. When I manually remove the namespace from the math blocks, Calibre can then render the math (Readium still fails).

So my question: 
For anyone successful in rendering mathml in epub3, what incantation are you using?
and should the namespace be removed before packing up the epub?

That is, from this (as rendered from the 1.78.1 epub3 stylesheets):
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline">
<mml:mo>\xc3\x97</mml:mo>
</mml:math>

to this:
<math display="inline">
<mo>\xc3\x97</mo>
</math>

thanks,
--Tim



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