Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mathml Rendering Problem

22 views
Skip to first unread message

Hirak

unread,
Dec 23, 2012, 3:46:02 AM12/23/12
to dev-tec...@lists.mozilla.org
Hi all,

I am new in the group, may be this is naive question, I tried the IRC
#mathml no one is answering there.

Here is the problem I am having:
from the test suit I got
http://www.w3.org/Math/testsuite/mml2-testsuite/index.html the expression
for "not a subset" symbol as the following. But my firefox 10.0.1 is unable
to render it ., here is the fragment

<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...

--
Hirak Sarkar

David Carlisle

unread,
Dec 23, 2012, 6:24:21 AM12/23/12
to Hirak, dev-tec...@lists.mozilla.org
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

0 new messages