From: <mal...@cs...> - 2004-05-31 11:01:24
|
On Thu, May 20, 2004 at 02:30:20PM +1000, Malcolm Ross Kinsella Ryan wrote: > On Thu, May 20, 2004 at 11:11:39AM +1000, Malcolm Ross Kinsella Ryan wrote: > > Is there any plan to upgrade the TexToPng plugin for recent versions > > of PhpWiki, or better yet, to produce a plugin that outputs valid MathML? > > It would be very useful for a wiki I am running. > > I've been twiddling around and I've made a very simple plugin which > just passes its argstr through itex2MML and then displays it. It all seems > to work, producing correct MathML, but Mozilla seems to have some issues > with displaying it. > > If I take the output of itex2MML and put it into a file called "foo.xhtml" > it will display properly. Put it into "foo.html" and it will not. The > MathML in wiki pages are being displayed in the same kind of wrong way. > This is far too deep magic for me to grok. Any of you gurus have any ideas? With a bit more poking around, I've discovered that I can get it to work if I change: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> to: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> But I can't find where in the code the original line is output. Malcolm -- Malcolm Ryan - mal...@cs... - http://malcolmr.web.cse.unsw.edu.au "Blessed are those who hunger and thirst for righteousness, for they will be filled." -- Matt 5:6 |