Ask Your Question
1

Can't get typeset equations. No MathJax?

asked 2017-07-29 21:25:37 +0100

DanielC gravatar image

I installed Sage yesterday on Ubuntu. I downloaded the latest version from the website. When I enter formulas I just get an ASCII text. I thought that Sage was supposed to use MathJax to produce nice-looking typset formulas, but I see nothing of the sort. I have spent a lot of time searching for a solution and found nothing. I recompiled Sage, but that made no difference. The Sage distribution seems to include MathJax,

% cd path/to/sage
% find . -name mathjax
./local/share/mathjax
./local/share/jupyter/nbextensions/mathjax
./local/lib/python2.7/site-packages/sagenb/data/mathjax
./build/pkgs/mathjax

I have looked through the documentation and through the UI and found nothing. Can someone please tell me what I need to do to make Sage look decent? I don't know if it matters, but I want to use Maxima. But the problem appears with the plain Sage backend too.

Cheers, Daniel.

edit retag flag offensive close merge delete

Comments

1

You need to tell us in what what you are interacting - CLI, sagenb, Jupyter, etc.? MJ is definitely included.

kcrisman gravatar imagekcrisman ( 2017-07-29 21:27:11 +0100 )edit

It's the Sage notebook. Not Jupyter, not CLI.

Typesetting is most definitely not working. I know that the MathJax files are there. I mentioned them in my post. But that doesn't change the fact that all my equations are just ASCII. There is also no error message.

Is there a way to use the Jupyter notebook? When I run sage -n jupyter, I don't see an option to switch to Maxima. I don't want to type %maxima on every single cell, of course.

DanielC gravatar imageDanielC ( 2017-07-30 02:29:27 +0100 )edit

If it helps, https://drive.google.com/file/d/0B2jM6iLpC6htRTkwTTJsMldSdjA/view?usp=sharing (here is a screenshot)

DanielC gravatar imageDanielC ( 2017-07-30 02:40:50 +0100 )edit
FrédéricC gravatar imageFrédéricC ( 2017-07-30 07:46:59 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-08-01 18:25:38 +0100

tmonteil gravatar image

updated 2017-08-01 18:27:56 +0100

Note that the Sage notebook is going to become obsolete and unmaintained. If your goal is to use maxima from a notebook, you can try to install the maxima kernel in jupyter, see https://github.com/robert-dodier/maxi...

It might be a good idea to ship this kernel as a Sage optional package. Do not hesitate to report success/failure/questions/... from your attempts.

edit flag offensive delete link more

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: 2017-07-29 21:25:37 +0100

Seen: 894 times

Last updated: Aug 01 '17