On 18 Apr 2009, at 04:29, Jason Grout wrote:

>
> Kevin Horton wrote:
>> I am running sage 3.4 on OS X.  I get the well known jsmath fonts
>> messages when I try to view a notebook worksheet from my work
>> computer.  Our work PCs are so locked down that I cannot install
>> additional fonts there, so I need to address this on the server end.
>>
>> I have spent hours reading the docs, messages and trac entries info
>> about jsmath fonts, but I haven't found a solution yet.  I tried
>> manually installing the 80 MB of jsmath image fonts on the sage
>> server.   That didn't do it.
>>
>> I then tried:
>>
>>  sage -i jsmath-3.6a.p0, but that did nothing, as it claimed the
>> fonts were already installed.
>>
>> I tried  sage -f jsmath-3.6a.p0 - that at least claimed to install  
>> the
>> fonts.  I restarted sage, and rebooted the work PC, but I still got
>> the jsmath warnings, and ugly latex output.
>>
>> I then tried, inside sage:  install_package('jsmath-image-
>> fonts-1.3p1')
>>
>> I restarted sage, and rebooted the work PC, but I still got the  
>> jsmath
>> warnings, and ugly latex output.
>>
>> What else should I try?  Other than this small issue, sage is
>> wonderful.
>>
>
>
>
> Try (from the command line):
>
> sage -f jsmath-image-fonts-1.3p1
>
> and (if that doesn't fix the problem), post the output to the above
> command in a message here.  There may be a problem with you getting  
> the
> jsmath-image-fonts spkg.


sage -f jsmath-image-fonts-1.3p1 appears to finish without error.  It  
produces:

Force installing jsmath-image-fonts-1.3p1
Calling sage-spkg on jsmath-image-fonts-1.3p1
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or
SAGE_ROOT/local/bin/ directory.
jsmath-image-fonts-1.3p1
Machine:
Darwin iMac.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24  
17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
Deleting directories from past builds of previous/current versions of  
jsmath-image-fonts-1.3p1
Extracting package /Applications/sage/spkg/optional/jsmath-image- 
fonts-1.3p1.spkg ...
-rw-r--r--  1 XXXXX  admin  3169034 Apr 17 18:13 /Applications/sage/ 
spkg/optional/jsmath-image-fonts-1.3p1.spkg
jsmath-image-fonts-1.3p1/
jsmath-image-fonts-1.3p1/.hgignore
jsmath-image-fonts-1.3p1/src/
jsmath-image-fonts-1.3p1/src/fonts/
jsmath-image-fonts-1.3p1/src/fonts/cmsy10/
jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/
jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/249/
jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/249/char59.png
...
...
many thousand lines of output skipped
...
...
jsmath-image-fonts-1.3p1/spkg-install
jsmath-image-fonts-1.3p1/SPKG.txt
Finished extraction
****************************************************
Host system
uname -a:
Darwin iMac.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24  
17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
****************************************************
****************************************************
GCC Version
gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- 
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)
****************************************************
deleting old jsMath fonts
Installing jsMath Image Fonts to:
/Applications/sage/local/notebook/javascript/jsmath
Finished installing jsMath Image Fonts.

real    0m22.850s
user    0m0.474s
sys     0m4.182s
Successfully installed jsmath-image-fonts-1.3p1
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing jsmath-image-fonts-1.3p1.spkg
==================================================
I restarted sage, and the notebook, but the jsmath font display  
problem persists.

I have made some progress in that I discovered that Firefox 3 works  
correctly on my work PC.  It is only IE 7 that has the problems.  I  
can live with this, so I will not invest any more time on this issue,  
unless someone wants my assistance to try to beat this bug to death.

--
Kevin Horton
Ottawa, Canada



--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to