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

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

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

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

satra opened this issue Aug 29, 2011 · 3 comments
Labels
Milestone

Comments

@satra
Copy link
Contributor

satra commented Aug 29, 2011

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

@minrk
Copy link
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 added a commit to Carreau/ipython that referenced this issue Oct 13, 2011
@Carreau
Copy link
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
Copy link
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 closed this as completed in b3f314e Oct 15, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Warn user if MathJax can't be fetched from notebook

Closes ipython#744.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants