On 12/28/2009 03:30 AM, Jan Groenewald wrote:
> and it works fine! No more jsmath error popping up. And the fraction is now
> aligned properly.
That's great!
> Everything seems to be working fine. I don't know why the new
> SPKG didn't pick up the problem. Should the old directory
> not exist at all? /usr/local/src/sage-4.3/local/notebook/javascript/jsmath/?
Unless I'm mistaken, which is quite possible, the directory
SAGE_LOCAL/notebook/javascript/jsmath
is obsolete in Sage 4.3. I think I understand why the spkg-install in
jsmath-image-fonts-1.4.p2.spkg
created the directory by "intentional mistake." But I'm not sure why
the spkg-install in
jsmath-image-fonts-1.4.p3.spkg
did not *first* find the latest base install directory of jsMath:
SAGE_LOCAL/lib/python2.6/site-packages/sagenb-0.4.8-py2.6.egg/sagenb/data/jsmath
If you have a spare moment, could you please relay the output of
import os
from pkg_resources import Requirement, working_set
sagenb_path = working_set.find(Requirement.parse('sagenb')).location
print os.path.join(sagenb_path, 'sagenb', 'data', 'jsmath')
from a Sage 4.3 session?
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org