Figure out MathJax 2 support #1313

Closed
ivanov opened this Issue Jan 23, 2012 · 9 comments

Comments

Projects
None yet
5 participants
Owner

ivanov commented Jan 23, 2012

as discussed on the user list, we should incorporate/expose MathJax equation numbering functionality when it available in the stable version of mathjax. This looks like the relevant issue to keep track of the status of that functionality: mathjax/MathJax#71

It also appears that MathJax 2 is completely broken in the notebook. I am getting [Math Processing Error] instead of nice math. You can get MathJax 2 by doing:

from IPython.external import mathjax
mathjax.install_mathjax('v2.0')

But you will have to reload your browser a few times to make sure you are not getting the v1.1 version.

Owner

ellisonbg commented Feb 29, 2012

http://www.mathjax.org/docs/2.0/tex.html#tex-eq-numbers

We need to decide how to configure this. It should be simple to enable, but we need someone to test this with Markdown and sympy rendered math. Here is our MathJax config code:

https://github.com/ipython/ipython/blob/master/IPython/frontend/html/notebook/static/js/notebookmain.js

Owner

ellisonbg commented Mar 1, 2012

So I tracked down the problem.

  • If you use the CDN latest of MathJax (2.0.2) the notebook math works fine.
  • If you install the v2.0 tag using install_mathjax, the notebook is broken.

Someone needs to track this down further to see what is going on.

Owner

ellisonbg commented Mar 1, 2012

I take that back you have to do a full clearing of the browser cache when you update mathjax. But v2.0 is still borked.

Owner

fperez commented Apr 15, 2012

Question here: this is marked as 'blocker' but has no milestone attached to it, which to me is kind of contradictory. If it's really considered a blocker, then it is a blocker for the next release (hence it should have milestone 0.13). Otherwise, we should lower its priority...

Owner

ellisonbg commented Apr 15, 2012

Targeted to 0.13. I am not even sure how bad the problem is today. It be magically fix itself if the download link to v2.0 is updated to the 2.0.2 version.

Owner

minrk commented Apr 27, 2012

I've been using the default MathJax from CDN (currently 2.0.3), and it appears to be working just fine. I also did install_mathjax('v2.0'), and it too works fine. Is there still an issue here?

Owner

ellisonbg commented Apr 27, 2012

It looks like they have updated the version to something that is
working. I think we can close this.

On Fri, Apr 27, 2012 at 1:14 PM, Min RK
reply@reply.github.com
wrote:

I've been using the default MathJax from CDN (currently 2.0.3), and it appears to be working just fine.  I also did install_mathjax('v2.0'), and it too works fine.  Is there still an issue here?


Reply to this email directly or view it on GitHub:
#1313 (comment)

Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com

Owner

minrk commented Apr 27, 2012

okay, closing.

minrk closed this Apr 27, 2012

allo- commented May 9, 2013

I'm still getting [Math Processing Error] with IPython 0.13.2 for simple expressions like $3$. IPython installed from Ubuntu 13.04 (raring) packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment