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

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

Comments

Projects
None yet
4 participants
@satra
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

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Sep 9, 2011

Member

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.

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

This comment has been minimized.

Show comment
Hide comment
@Carreau

Carreau Oct 13, 2011

Member

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

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

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Oct 13, 2011

Member

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.

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

Merge branch 'carreau-mathjax-warning'
Warn user if MathJax can't be fetched from notebook

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