# [IPython-User] mathjax

Francesco Montesano franz.bergesund@gmail....
Tue Mar 5 14:45:35 CST 2013

Hi,

sorry for coming back so late to the topic (the problem hit me again today)

In my ipython_notebook_config.py I've uncommented and added the path

c.NotebookApp.mathjax_url = '/usr/share/javascript/mathjax/MathJax.js'

But the notebook tells me "Failed to retrieve MathJax from
/usr/share/javascript/mathjax/MathJax.js"

Then I've searched for "c.NotebookApp.extra_static_paths" but I couldn't
find it in the config file, so I've added the following line after
mathjax_url
c.NotebookApp.extra_static_paths
= '/usr/share/javascript/mathjax/MathJax.js'.

But still does not work.

Any suggestion?

Francesco

> On 02/19/2013 04:07 PM, Thomas Kluyver wrote:
> > On 19 February 2013 10:17, Francesco Montesano
> > <franz.bergesund@gmail.com <mailto:franz.bergesund@gmail.com>> wrote:
> >
> >     if not: why Ipython does not use the system mathjax if available. If
> >     this is the case, it looks to me redundant, in particular if mathjax
> >     is a large package
> >
> >
> > See also the patch in the Ubuntu IPython packages to use the
> > system-installed mathjax:
> >
> >
> >
> > I wonder if there's anything we can do to make this sort of thing work
> > better, i.e. with less changes required in packaging.
> >
>
> for reference, above patch is for 0.13.1, here is the patch that applies
>
>