Ask Your Question
4

Solution to a long running jsmath/notebook problem

asked 2010-11-21 08:08:19 -0600

Mike Witt gravatar image

updated 2011-05-12 09:44:27 -0600

Kelvin Li gravatar image

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: yum install jsmath-fonts

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.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2011-04-23 10:58:36 -0600

Adrian soto gravatar image

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.

edit flag offensive delete link more
0

answered 2011-02-08 18:27:50 -0600

Jason Grout gravatar image

updated 2011-02-09 10:32:37 -0600

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.

edit flag offensive delete link more

Comments

And thanks for posting a link to the Sage FAQ -- I've never heard of it before. Maybe we should add a link to it from the FAQ here.

niles gravatar imageniles ( 2011-02-09 10:42:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-11-21 08:08:19 -0600

Seen: 318 times

Last updated: Apr 23 '11