cannot create notebook in offline mode if mathjax not installed #744

Closed
satra opened this Issue Aug 29, 2011 · 3 comments

Projects

None yet

4 participants

@satra
satra commented Aug 29, 2011

when run in offline mode without running install_mathjax, creating a new notebook simply gives a blank page.

@minrk
Member
minrk commented Sep 9, 2011

Should be straightforward to simply allow MathJax to be None. If I'm wrong about that, an informative error about the install_mathjax() for offline use would be helpful.

@Carreau Carreau added a commit to Carreau/ipython that referenced this issue Oct 13, 2011
@Carreau Carreau Warn user if MathJax can't be fetched from notebook
	closes #744
54ed7b2
@Carreau
Member
Carreau commented Oct 13, 2011

I came across the same issue, i've made a small patch here:
https://github.com/Carreau/ipython/tree/matjax-warning
But I don't know how to link a pull-request to an issue... shoul'd I open a PR ?

I've put the error message in the notebook.html template, and removed it at body's "onload" if window.MathJax exist.
Note that i've tried to do it on mathjax's "onload" , but it sometime failed because it doesn't find the

to hide...

@minrk
Member
minrk commented Oct 13, 2011

Sure, open a PR. Just mention the issue by #, and GitHub magic will link it up, e.g. #744. If you add closes #744 to your commit message, then it will be automatically closed at merge.

@fperez fperez added a commit that closed this issue Oct 15, 2011
@fperez fperez Merge branch 'carreau-mathjax-warning'
Warn user if MathJax can't be fetched from notebook

Closes #744.
b3f314e
@fperez fperez closed this in b3f314e Oct 15, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@Carreau Carreau Warn user if MathJax can't be fetched from notebook
	closes #744
66dda71
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@fperez fperez Merge branch 'carreau-mathjax-warning'
Warn user if MathJax can't be fetched from notebook

Closes #744.
899bcdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment