First time here? Check out the FAQ!

Ask Your Question
4

Solution to a long running jsmath/notebook problem

asked 14 years ago

Mike Witt gravatar image

updated 13 years ago

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.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 13 years ago

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.

Preview: (hide)
link
0

answered 14 years ago

Jason Grout gravatar image

updated 14 years ago

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.

Preview: (hide)
link

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 ( 14 years ago )

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: 14 years ago

Seen: 737 times

Last updated: Apr 23 '11