On 1/15/12 2:22 AM, P Purkayastha wrote:
On 01/15/2012 12:11 PM, Jason Grout wrote:
On 1/14/12 5:24 PM, P Purkayastha wrote:
Thanks a lot for the fix. This works here now on firefox. It also works
on opera as long as I am using the worksheet. The _published_ worksheet
on the other hand only half-works in opera. See the attached screenshot
for the glitch. Can anyone else confirm if the published worksheets work
in $browser in $OS?

It works fine for me (OSX 10.6.8) in FF 9.0.1, Chrome (current), and
Safari 5.1.2. I fixed one bug in the javascript code which seemed to
help Opera, but Opera still has problems displaying equations inside
text cells. It's weird; I can get it to display inside text cells on my
local machine when I switch rendering engines by right-clicking on a
MathJax expression. Sometimes, I can also get it to display by manually
running the MathJax processing command again. But I can't get it
consistently display typeset text cells (local or on test.sagenb.org).

Thanks,

Jason

Looking at the MathJax code (v1.1a downloaded from Mathjax website), it
seems that MathJax uses MathML to render stuff in firefox and IE but
HTML+CSS in opera and others. I looked at the MathML output in opera
from these two pages (which test MathML):

http://xml-maiden.com/userjs/mathml/examples/torture.xhtml
http://xml-maiden.com/userjs/mathml/examples/stress.xhtml

and it "looks" fine to me. I don't know the rationale behind not using
MathML with opera. I have a suspicion that this is done because opera
probably can not handle all forms of math properly.

Davide said Opera's MathML is too buggy to make default. We force HTML+CSS in all browsers (because even Firefox has lots of MathML bugs, apparently), but give the user the option to switch to MathML if they really want. Davide does the same on the official MathJax website.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to