Extension:Blahtex/Bugs/Bugs in browser MathML support/MathPlayer

From MediaWiki.org

Jump to: navigation, search

The MathPlayer folks have built a good product, but they don't seem terribly responsive to queries I have sent regarding bugs in the program. Maybe if we collect them together in a single easy-to-find place, they'll take some action!

[edit] IE very fussy about MIME types

  • Reported by: Dmharvey 07:25, 28 January 2006 (UTC)

To boot up MathPlayer, we need to send the header

Content-type: application/xhtml+xml

All well and good, but there are two problems. First, if MathPlayer is not installed, IE will spit out an XML tree instead of rendering the document, which is not very helpful. Second, if we instead use the header

Content-type: application/xhtml+xml; charset=utf-8

then IE doesn't boot up MathPlayer at all! There are workarounds, but they're not fun. Dmharvey 07:25, 28 January 2006 (UTC)

Is this necessarily a problem? I'm guessing first round of integration will only server MathML if users have that preference set. In which case they should have MathPlayer installed, or expect the worse.
With MathML disabled I get a readable page (poorly formatted with missing symbols) rather than xml source (IE understands Content-type: application/xhtml+xml even without MathPlayer) --Salix alba 21:36, 1 February 2006 (UTC)
Ah. I think Jitse made some changes recently which make it work better. Dmharvey 01:17, 2 February 2006 (UTC)

[edit] Incorrect implementation of rspace attribute

  • Reported by: Dmharvey 07:25, 28 January 2006 (UTC)

In MathML markup such as the following:

 <mrow>
   <msup>
     <mo rspace="2em">+</mo>
     <mi>x</mi>
   </msup>
   <mi>b</mi>
 </mrow>
 

the 2em space should appear after the x, not before. For example, try entering "+^x \quad b" into the blahtex interactive demo to see the result.

could someone please put a screenshot of this here... I'm feeling lazy right now... Dmharvey 07:27, 28 January 2006 (UTC)

[edit] MathPlayer doesn't support <mpadded>

For example, given the mathml markup

 <mpadded width="0">
    <mi>abc</mi>
 </mpadded>
 <mi>def</mi>
 

MathPlayer apparently ignores the "abc". Dmharvey 17:06, 19 February 2006 (UTC)

Personal tools