Re: Mathml Rendering Problem

David Carlisle <[email protected]> Sun, 23 Dec 2012 11:24:21 +0000
Newsgroups gmane.comp.mozilla.devel.mathml
Organization NAG
Message-ID <[email protected]>
On 23/12/2012 08:46, Hirak wrote:
> Hi all,

> <math>
>        <apply>
>          <notsubset/>
>          <ci> A </ci>
>          <ci> B </ci>
>        </apply>
>      </math>
>
> in the test page it is rendered correctly but whenever I am trying it
> offline in a html page then it is showing A B,
> Is there a plug in needed or I am doing a dumb mistake.
>
> Please help...
>

That is Content MathML which Firefox by default does not render.
The Presentation form would be

<math>
<mi>A</mi><mo>&#8840;</mo><mi>B</mi>
</math>


You can convert from content to presentation using (for example) my ctop 
XSL stylesheet available from

http://code.google.com/p/web-xslt/source/browse/trunk/ctop

Or Frédéric Wang has a nice mozilla addon that automatically applies 
that transformation when needed

https://addons.mozilla.org/en-us/firefox/addon/mathml-ctop