I just stumbled on to the solution to a problem I've had for quite a while. The only two symptoms of the problem that I noticed were that (1) when using the Sage Notebook, matrices of more than dimension two didn't display correctly, and (2) when logging on to sagenb.org I got a message along the lines of: It looks like jsMath failed to set up properly (error code -7). I will try to keep going, but it could get ugly. My various attempts to solve this were discussed in the sage-notebook thread Display of matrix in notebook.
It turns out that I simply didn't have the correct version of jsmath fonts installed. The answer on my Fedora system was:
The weird thing about this was that (as far as I could see) there were no other symptoms. So it simply never occurred to me that I was missing the correct fonts. Anyway, I just wanted to document this somewhere, in hopes that if anyone else runs across this issue they might possibly find the answer here. I'll also make a note in the thread mentioned above.
Yes you need the package jsmath-fonts; but in my case (Ubuntu 10.10 Maverick Meerkat) you need, in addition to jsmath-fonts, the package ttf-jsmath.
Now, matrices bigger than 2 by 2 look nice in the notebook.
posted Apr 23 '11Adrian soto
11 ● 1 ● 2
This is also in the FAQ from a long time ago: http://wiki.sagemath.org/faq#IgetanerrorfromjsMathorthemathsymbolsdon.27tlookrightwhendisplayinginthenotebook
I'm glad you put it here because it seems like people will find it more easily here (as their one-stop source for quick solutions dealing with Sage.
Asked: Nov 21 '10
Seen: 260 times
Last updated: Apr 23 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.