Re: Improving MathML in FireFox

Patrick Ion <[email protected]> Tue, 18 Nov 2008 13:54:55 -0500
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
One thing that has been quite impressive to me is the TiddlyWiki
Plugin version of material from Soares http://www.math.ist.utl.pt/ 
~psoares/addons.html
(after Knisley http://math.etsu.edu/LaTeXMathML/
after Woodall http://www.maths.nottingham.ac.uk/personal/drw/lm.html
and Ram http://www.math.wisc.edu/~ram/pub/mmlfornotices26.3.08.xml  
[which probably
        displays best of all in my current browser (Mac 10.4.11.+  
FF3.0.4+ STIX) with no further tweaking]
after Jipsen http://www1.chapman.edu/~jipsen/asciimath.html
)
which we have used in a version of the revision of the MSC  
classification
scheme (still a prototype version in fact):

http://msc2010.org/MSC-2010-server.html

I understand that what I described is specific to TiddlyWiki, but  
underlying it
is JavaScript conversion software as referenced above.

This TW method can work quite well with Firefox and appropriate  
fonts, e.g.
the STIX beta ones.  However, the Soares version seems to use PUA
(Private Use Area) encoding (as does Knisley) so messes up font  
support with STIX.
It has run quite well with the MIT font loads under Ubuntu.

I don't know that properly encoded UTF-8 Plane-1 characters work  
right with
Firefox 3, and that may be a JavaScript character handling issue:
e.g. on Mac OS 10.4.11 with STIX fonts the jtest.html file below  
displays 4 lines
with a bad character box at the start of the third; with the last write
uncommented I get only the line with a Fraktur A as a Numeric Character
Entity in it.  See Appended test page.

The LaTeXMathMLPlugin is customizable, i.e. extensible, in the
TiddlyWiki context.  The standalone javaScript version from Knisley
actually takes on the task of redoing some of the LaTeX document
formatting.

I'd like  very much to see this sort of thing sorted out.

	Patrick

============ jstest.html ====================

<html>
<head>
</head>
<body>
<script type="text/javascript">
document.write(String.fromCharCode(72,69,76,76,79));
document.write("<br />");
document.write(String.fromCharCode(65,66,67));
document.write("<br />");
document.write(String.fromCharCode(2112,301));
document.write("<br />");
document.write(String.fromCharCode(D835)+String.fromCharCode(DD04));
document.write("<br />");
// 𝓘𝕴
//document.write(String.fromCharCode(1D504));
</script>
&#x1D504;
</body>
</html>


>> On Nov 18, 2008, at 5:59 PM, David Carlisle wrote:
>>>

>>> I would like to see improvement for both IE and Firefox. As near  
>>> as I
>>> can make out, in FireFox the entire file needs to be valid XML. I  
>>> have
>>> a website created with asp.net 2 (with a master file) and it's going
>>> to take a lot of extra work to get it to generate a file that will
>>> work in Firefox.
>>>
>>
>> in a similar situation (using the public blogger interface) where  
>> I had
>> no possibility of fixing the templates or mime type I found Peter
>> Jipsen's script pretty useful
>>
>> http://dpcarlisle.blogspot.com/2007/04/testing-interface.html
>>
>> It pulls math elements out of an HTML DOM and  gives the renderer  
>> them
>> back as an XML DOM.
>>
>> David
>>
_______________________________________________
dev-tech-mathml mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-mathml