Ask Your Question

Revision history [back]

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 ?

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 ?

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 ?

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 ?

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

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

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

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

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