This seems related to the problem I had when running sage under jupyter hub, and also in jupyter (the later: launching jupyter, then sage 6.0beta1): -some parts of the documentation (the documentation in the sage tree) cannot be accessed (FAQs for example).

But now  (since 6.0beta1?), jsmol is ok, and for me mathjax too.

This all looks like a symlink problem...


Le 23/10/2015 18:19, Emmanuel Charpentier a écrit :
Le vendredi 23 octobre 2015 13:48:59 UTC+2, Jeroen Demeyer a écrit :

    Now I am *totally* confused. Can you please just reboot this thread,
    i.e. pretend that I haven't read anything of this thread and explain
    from scratch what your setup is and what your problem is.


Okay.

I have a Sagemath (currently 6.10beta1) installation in /usr/local/sage.
For the record, /usr/local/bin/sage is symlinked to /usr/local/sage/sage.

I tried two things :

1) using Sagemath's version of the IPython notebook (lainched with "sage
-n ipython" or "sage -n jupyter") : it turns out that the resulting notebook
- *does* have access to mathjax when working on sheets stored in the
directory where the command has been given (the sheet opens and displays
math correctly) ;
- does *not* have access to mathjax when one navigates in the notebook
to a different directory in order to work on sheets stored in that
directory :
     + an error dialog box appears telling mathjax is inaccessible ;
     + the *relative* path to matjax is in the title of the dialog box ;
     + the typeset output does not appear (nothing appears in the cells
where a typeset result is expected).

2) I also tried to install the Sagemath kernel in a systemwide
installation of Ijupyter(obtained by "pi³ install jupyter"). This
installation has been previously tested by installing the IRKernel
interface to a systemwide R. As suggested by William, I symlinked
$SAGE_LOCAL/share/jupyter/kernels/* and
$SAGE_LOCAL/share/jupyter/nbextensions/* to the corresponding
subdirectories of /usr/local/share/jupyter/ (Debian's idea of the
systemwide configuration of Jupyter).
This gave me a notebook interface where I could operate on Python,
Sagemath and R sheets ; the Sage sheets could use mathjax wherever they
were launched.

I hope to have been clearer...

HTH,

--
Emmanuel Charpentier

--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To post to this group, send email to sage-support@googlegroups.com
<mailto:sage-support@googlegroups.com>.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

<<attachment: tdumont.vcf>>

Reply via email to