Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out MathJax 2 support #1313

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

Figure out MathJax 2 support #1313

ivanov opened this issue Jan 23, 2012 · 9 comments

Comments

@ivanov
Copy link
Member

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.

@ellisonbg
Copy link
Member

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

@ellisonbg
Copy link
Member

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.

@ellisonbg
Copy link
Member

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.

@fperez
Copy link
Member

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...

@ellisonbg
Copy link
Member

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.

@minrk
Copy link
Member

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?

@ellisonbg
Copy link
Member

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

@minrk
Copy link
Member

minrk commented Apr 27, 2012

okay, closing.

@minrk minrk closed this as completed Apr 27, 2012
@allo-
Copy link

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
Projects
None yet
Development

No branches or pull requests

5 participants