First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

click to hide/show revision 2
No.2 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type:

ls -l /usr/lib/sagemath/local/share

what do you get ?

click to hide/show revision 3
No.3 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type:

ls -l /usr/lib/sagemath/local/share

what do you get ?

If you type :

    ls -l /usr/lib/sagemath/local/mathjax

what do you get ?

click to hide/show revision 4
No.4 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type:type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

what do you get ?

If you type :

    ls -l /usr/lib/sagemath/local/mathjax

what do you get ?

click to hide/show revision 5
No.5 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

EDIT: OK thanks for your answer, so you have a correct mathjax install, but it seems that jupyter is not pointing to it. Can you try the following:

sudo mkdir -p /usr/lib/sagemath/local/share/jupyter/nbextensions
cd /usr/lib/sagemath/local/share/jupyter/nbextensions
sudo ln -s ../../mathjax
click to hide/show revision 6
No.6 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

EDIT: OK thanks for your answer, so you have a correct mathjax install, but it seems that jupyter is not pointing to it. Can you try the following:

sudo mkdir -p /usr/lib/sagemath/local/share/jupyter/nbextensions
cd /usr/lib/sagemath/local/share/jupyter/nbextensions
sudo ln -s ../../mathjax
../../mathjax mathjax
click to hide/show revision 7
No.7 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

EDIT: OK thanks for :

To answer the problem you had with the Sage notebook, the shipped version is stripped so that it is smaller to download, so indeed the SVG rendering is disabled. If you want to use your answer, so you have a correct system's mathjax install, but it seems that jupyter is not pointing to it. Can you try in Sage, you can do the following:

cd /usr/lib/sagemath/local/share
sudo mkdir -p /usr/lib/sagemath/local/share/jupyter/nbextensions
cd /usr/lib/sagemath/local/share/jupyter/nbextensions
mv mathjax mathjax_stripped
sudo ln -s ../../mathjax  /usr/share/javascript/mathjax mathjax
click to hide/show revision 8
No.8 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

EDIT:

To answer the problem : OK thanks for your answer, so you had with the Sage notebook, the shipped version have a correct mathjax install, but it seems that jupyter is stripped so that it is smaller not pointing to download, so indeed the SVG rendering is disabled. If it. Can you want to use your system's mathjax in Sage, you can do try the following:

sudo mkdir -p /usr/lib/sagemath/local/share/jupyter/nbextensions
cd /usr/lib/sagemath/local/share
sudo mv mathjax mathjax_stripped
/usr/lib/sagemath/local/share/jupyter/nbextensions
sudo ln -s  /usr/share/javascript/mathjax ../../mathjax mathjax
click to hide/show revision 9
No.9 Revision

It is hard to help without the same configuration.

It worked with the Sage notebook, right ? If you try again with Sage notebook, does it work ?

Do you use the Jupyter shipped with Sage ?

If you open jupyter notebook and create a new notebook and type in the first cell:

%display typeset

and on the second:

sqrt(2)

what do you see ?

If you open a terminal and type the following commands, what do you get:

ls -l /usr/lib/sagemath/local/share

ls -l /usr/lib/sagemath/local/share/jupyter/nbextensions

ls -l /usr/lib/sagemath/local/share/mathjax

EDITEDIT:: OK thanks for

To answer the problem you had with the Sage notebook, the shipped version is stripped so that it is smaller to download, so indeed the SVG rendering is disabled. If you want to use your answer, so you have a correct system's mathjax install, but it seems that jupyter is not pointing to it. Can you try in Sage, you can do the following:

cd /usr/lib/sagemath/local/share
sudo mkdir -p /usr/lib/sagemath/local/share/jupyter/nbextensions
cd /usr/lib/sagemath/local/share/jupyter/nbextensions
mv mathjax mathjax_stripped
sudo ln -s ../../mathjax  /usr/share/javascript/mathjax mathjax