[IPython-dev] mathjax warning about default configuration
Chris Kees
cekees at gmail.com
Sat Mar 10 01:56:07 EST 2012
Brian,
The problem turned out to be fairly simple. I had stored the url and config
setting in c.NotebookApp.mathjax_url instead of just the url. The notebook
template appends ?config=TeX-AMS_HTML to the base URL. Anyway, the CDN
latest version looks like its working fine for me. I will try the local
install of MathJax on the server though.
Chris
On Thu, Mar 8, 2012 at 11:13 PM, Brian Granger <ellisonbg at gmail.com> wrote:
> Chris,
>
> If you are running the notebook in secure mode, I highly recommend
> installing MathJax locally by doing:
>
> from IPython.external.mathjax import install_mathjax
> install_mathjax()
>
> I don't know if MathJax latest (2.0) works with the notebook yet, so
> maybe using the CDN latest version needs a bit more testing. But the
> config option we are using is this one:
>
> config=TeX-AMS_HTML
>
> Cheers,
>
> Brian
>
> On Thu, Mar 8, 2012 at 7:11 PM, Chris Kees <cekees at gmail.com> wrote:
> > Hi,
> >
> > I'm running a notebook configuration with
> >
> > c.NotebookApp.mathjax_url =
> > u'
> https://d3eoax9i5htok0.cloudfront.net/mathjax/latest/MathJax.js?config=default
> '
> >
> > Apparently that's what I need that to make sure the site is fully secure.
> > I'm getting the "popup" warning below now. That math looks fine, but I
> can't
> > seem to get the warning to go away by switching the ?config=default part
> to
> > try various configurations from mathjax site. Anybody know what's going
> on?
> >
> > Thanks,
> > Chris
> >
> > MathJax no longer loads a default configuration file; you must specify
> such
> > files explicitly. This page seems to use the older
> > default config/MathJax.js file, and so needs to be updated. This is
> > explained further at
> >
> > http://www.mathjax.org/help/configuration
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu and ellisonbg at gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120310/9d49b17c/attachment.html>
More information about the IPython-dev
mailing list