On 8/18/05, Jitse Niesen jitse.niesen@gmail.com wrote:
On 8/3/05, David Harvey dmharvey@fas.harvard.edu wrote:
I have written a LaTeX to MathML converter designed specifically for Wikipedia.
In the meantime, Dave has released a new version which compiles cleanly on Linux (see http://meta.wikimedia.org/wiki/Blahtex ) and I have been trying to integrate it in MediaWiki (see http://meta.wikimedia.org/wiki/Blahtex/How_to_make_MathML_work_in_MediaWiki ).
A major issue is that MathML needs to be embedded in XML. This means that all pages served by MediaWiki need to be valid XHTML (or, at least, close enough to valid that they are accepted by the browsers, which are far less forgiving for XHTML documents than for HTML documents). This probably requires changes in the code all over MediaWiki; I hope there is some support for this. Furthermore, Internet Explorer does not render documents with an XHTML or XML media type, so we need to find a way to serve Internet Explorer plain HTML documents (as always, without degrading performance too much); see the second link above for some further details. We'd love to hear some ideas on how to tackle this.
Can't you use the Javascript/DOM manipulation trick, Peter Jipsen has suggested for HTML files: http://www1.chapman.edu/~jipsen/mathml/mathhtmltest.phtml
Or is this an undocumented feature of most Gecko based browsers?