Extension talk:Blahtex/Embedding Blahtex in MediaWiki

From mediawiki.org
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

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

<?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/pmathml.xsl"?>

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 [1] for more details.

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

No problem Jitse. I wrote that page, so get in touch if you have any questions. -- Max [2].


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)Reply

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)Reply

MIME type[edit]

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)Reply

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)Reply
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)Reply

Current status is way confusing[edit]

While I have blahtex 0.7 working without a problem, the integration of Blahtex with mediawiki 'today' at the close of 2009 is very confusing.

  • Does mediawiki still need to be patched (some discussion seems to suggest not)? Does anything need to be done other than ensure that texvc is running and adding
wgBlahtex = './blahtex/blahtex';

and if so what (and note that this no longer squares with how 0.7 is delivered i.e. it now comes in blahtexml-0.7 and if you stck the gz file in a blaktex directory you have created then you will have to fiddle about until the directory is renamed blahtex and placed in the mediawiki root, or change the path name....) What else needs be done?? Net-buoy 23:51, 11 October 2009 (UTC)Reply

How to install! - not very useful[edit]

After reading the HowTo 3 times I am still not able to install it! Why is it not possible to make a clear and understandable HowTo?

Installation guide for normaly mortals, please![edit]

I tried to install this extension with this guide but i don't understand the instructions, especially Step 1. I tried to install it without Step 1 but it did not work.