Extension talk:Blahtex/Embedding Blahtex in MediaWiki

I'm not 100% sure, but it seems that the patch shown doesn't add the MathML PI to the resulting HTML:

&lt;?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/pmathml.xsl"?&gt;

This would make the XHTML+MathML work not only in Netscape/Mozilla/Firefox but also in IE with the mathplayer plugin

well, except that by default IE doesn't read XSLs from sites outside of where the HTML is found. The way around is to copy pmathml.xsl locally, which is easy.

See Putting mathematics on the Web with MathML for more details.


 * You are correct. Thanks for the link, which seems very useful. -- Jitse Niesen 12:49, 8 August 2005 (UTC)

No problem Jitse. I wrote that page, so get in touch if you have any questions. -- Max [mailto:mf@w3.org].

Thank you so much for doing all this. Despite the "dirty hack" aspect, it looks promising. I hope you can get all this working properly and we can start using it in the real thing. I am eager to help in whatever non-programmer ways I can. :-) - Omegatron 19:12, 8 August 2005 (UTC)


 * Omegatron, I am very encouraged by all the help that people are offering, but I should warn you that we're still a long way from anything that will actually work well enough for deployment. The best thing you can do as a non-programmer is: keep looking for bugs. Look through my demo pages, write down all the tiny littlest annoying things that aren't working for you. Besides rendering bugs, try to break the program as best as you can: enter stuff that you think will confuse the code, and observe the results. I know that I haven't replied to all the bugs you have placed yet, but I've read all of them, and they will gradually get addressed. Unfortunately I can't devote 24h/day to this! Dmharvey 19:23, 8 August 2005 (UTC)

MIME type
I believe the proper MIME type is "application/xhtml+xml", or better still, "application/xhtml+xml; charset=utf-8", for documents containing XHTML 1.1 + MathML 2.0; but only the former is recognized by MathPlayer. Whether all browsers can deal with that is a different question. The recommended usage is documented by W3C. KSmrq 08:02, 16 August 2005 (UTC)


 * Right. However, our main difficulty is in serving up documents in such a way that IE doesn't puke if it doesn't haven't MathPlayer installed. A large proportion of our visitors fall into this category. Dmharvey 10:42, 16 August 2005 (UTC)


 * Thanks, KSmrq, that is really useful in that it solves at least one problem. However, reading all this does not make me happy as other issues arise. -- Jitse Niesen 20:50, 16 August 2005 (UTC)