Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
satra opened this Issue · 3 comments

4 participants

@satra

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

@minrk
Owner

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 referenced this issue from a commit in Carreau/ipython
@Carreau Carreau Warn user if MathJax can't be fetched from notebook
	closes #744
54ed7b2
@Carreau
Owner

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
Owner

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 issue from a commit
@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
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@fperez fperez referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@Carreau Carreau Warn user if MathJax can't be fetched from notebook
	closes #744
66dda71
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@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
Something went wrong with that request. Please try again.