Hi
On Mon, Dec 28, 2009 at 03:55:21AM -0800, Pat LeSmithe wrote:
> 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
Perhaps the entire SAGE_LOCAL/notebook directory is obsolete as there
is nothing else in there?
I have left it ("fonts" under there) as a symlink to the new location.
> 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?
0 j...@muizenberg:~$sage
----------------------------------------------------------------------
| Sage Version 4.3, Release Date: 2009-12-24 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: AIMS-autosave-patch
sage: import os
sage: from pkg_resources import Requirement, working_set
sage: sagenb_path = working_set.find(Requirement.parse('sagenb')).location
sage: print os.path.join(sagenb_path, 'sagenb', 'data', 'jsmath')
/usr/local/src/sage-4.3/local/lib/python2.6/site-packages/sagenb-0.4.8-py2.6.egg/sagenb/data/jsmath
sage:
regards,
Jan
--
.~.
/V\ Jan Groenewald
/( )\ www.aims.ac.za
^^-^^
--
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