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


Hi Tim,

On 06/30/2014 02:35 PM, Tim Arnold wrote:
> 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>

I'm sorry I can't answer your specific questions. However, I did observe
some issues with the math rendering in firefox. First, the output had to
be xhtml, not html, and second, the files really needed to use the
.xhtml extension. I didn't quite understand why, though, and haven't had
the time to investigate.

FWIW,
        Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



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