#4674: use easy/load.js when loading jsmath and update to latest jsmath (3.6 at
the moment)
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |        Owner:  boothby   
     Type:  defect    |       Status:  new       
 Priority:  major     |    Milestone:  sage-3.2.2
Component:  notebook  |   Resolution:            
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mabshoff):

  * summary:  use easy/load.js when loading jsmath => use easy/load.js when
              loading jsmath and update to latest jsmath (3.6
              at the moment)

Old description:

> From http://groups.google.com/group/sage-support/t/178d0bd277044918
> {{{
> Yes, that looks correct.  I'm not sure why people are getting the
> error -7 under these conditions.  It means that something has gone
> wrong when trying to load the fallback method, and that usually means
> it can't read the image font definition files.  There are a couple of
> other possibilities as well:  perhaps the noImageFonts plugin was not
> able to be read (permission issue?) or the unicode fallback file could
> not be read.  Given your use of noImageFonts, I suspect it may be the
> latter.  If the users who are getting error -7 are using Firefox3,
> that may well be it.  There were changes to the same-origin security
> policy in Firefox3 that prevent jsMath from loading local files from
> directories other than the one in which the HTML file is found.  I
> worked around this in jsMath v3.6 (released Sept. 2008), so those
> users should update to the latest version of jsMath to avoid that
> problem.
> > I'm pretty sure we don't use the easy/load.js (and I'm not sure why).
>
> Probably because it didn't exist when jsMath support was added to
> sage.  The easy/load.js file was a relatively late addition to jsMath,
> but certainly makes things easier for people.  You might consider
> whether you want to use that instead.
>
> Davide
> }}}

New description:

 From http://groups.google.com/group/sage-support/t/178d0bd277044918
 {{{
 Yes, that looks correct.  I'm not sure why people are getting the
 error -7 under these conditions.  It means that something has gone
 wrong when trying to load the fallback method, and that usually means
 it can't read the image font definition files.  There are a couple of
 other possibilities as well:  perhaps the noImageFonts plugin was not
 able to be read (permission issue?) or the unicode fallback file could
 not be read.  Given your use of noImageFonts, I suspect it may be the
 latter.  If the users who are getting error -7 are using Firefox3,
 that may well be it.  There were changes to the same-origin security
 policy in Firefox3 that prevent jsMath from loading local files from
 directories other than the one in which the HTML file is found.  I
 worked around this in jsMath v3.6 (released Sept. 2008), so those
 users should update to the latest version of jsMath to avoid that
 problem.
 > I'm pretty sure we don't use the easy/load.js (and I'm not sure why).

 Probably because it didn't exist when jsMath support was added to
 sage.  The easy/load.js file was a relatively late addition to jsMath,
 but certainly makes things easier for people.  You might consider
 whether you want to use that instead.

 Davide
 }}}

 When updating to the latest jsmath the javacode should also be moved to
 its own spkg.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4674#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to