First, when I don't use the tex fonts (check to use image fonts in the
jsmath control panel), I get the really bad-sounding error message (the
one that involves -7); I don't think I should get this if the image
fonts are properly installed. Second, when I do this:
html("$\int_{0}")
on sagenb.org, I get this html as a result:
<span class="math">\int_{0}</span>
and in the browser, it looks like "\int_{0}", not like an integral sign.
In contrast, I have a fresh build of 4.3.1, I installed
jsmath-image-fonts-1.4.p3.spkg, and everything just works. I don't get
an error message, and the above code displays an integral sign.
On http://trac.sagemath.org/sage_trac/ticket/7778, William documented
some hacks that he did to get jsmath image fonts to work. It sounds
like he just manually copied fonts to the directory, which was a
symbolic link to sagenb-0.5 or something; that might explain why the
image fonts don't seem to be working well now. Are we going to have to
copy those fonts every time sagenb is updated to a new version?
Also, on sagenb.org, Sage claims to have the following packages
installed (found by looking at sage.misc.packages.__installed_packages):
'jsmath-3.6a.p0', 'jsmath-3.6b.p1', 'jsmath-image-fonts-1.3',
'jsmath-image-fonts-1.4.p2', 'jsmath-image-fonts-1.4.p3',
Obviously that's way too many spkgs. On my fresh 4.3.1, for example, I
just have 'jsmath-image-fonts-1.4.p3'.
Can anyone help? I just demonstrated Sage to a lot of students, and
they were very delighted. However, between the scary error messages
about jsmath, and the math symbols just not showing up, I felt bad
during the class demo.
Thanks,
Jason
I attempted to fix sagenb.org again. It was broken by the latest
upgrade, evidently. (?)
Doing "sage -f jsmath-image-fonts-1.4.p3.spkg" didn't work at all. I
tried manually copying
the fonts as described in 7778. This didn't work now.
I think the jsmath image fonts install should be moved *entirely* out of
local/lib/python/site-package/sagenb-*
and to a directory such as
local/lib/jsmath
and sagenb should be changed to use the fonts there. Then one
installs the fonts
once and for all.
Anyway, as of now the image fonts are broken on sagenb, and I don't
have time to fix them until later...
William
>
> Also, on sagenb.org, Sage claims to have the following packages installed
> (found by looking at sage.misc.packages.__installed_packages):
>
> 'jsmath-3.6a.p0', 'jsmath-3.6b.p1', 'jsmath-image-fonts-1.3',
> 'jsmath-image-fonts-1.4.p2', 'jsmath-image-fonts-1.4.p3',
>
> Obviously that's way too many spkgs. On my fresh 4.3.1, for example, I just
> have 'jsmath-image-fonts-1.4.p3'.
>
> Can anyone help? I just demonstrated Sage to a lot of students, and they
> were very delighted. However, between the scary error messages about
> jsmath, and the math symbols just not showing up, I felt bad during the
> class demo.
>
> Thanks,
>
> Jason
>
>
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
This is now