On a macOS box, I appended this to my .zshrc, don't know if is a good way to do so:
export SAGE_ROOT="/Applications/SageMath-7.6.app/Contents/Resources/sage" export JUPYTER_CONFIG_DIR="$SAGE_ROOT/local/etc/jupyter" export JUPYTER_PATH="$SAGE_ROOT/local/share/jupyter" On Friday, February 19, 2016 at 8:18:29 PM UTC+3:30, Volker Braun wrote: > > You need to link/copy the jsmol directory to the jupyter nbextensions > folder. In Sage thats at SAGE_LOCAL/share/jupyter/nbextensions/jsmol > > > > On Friday, February 19, 2016 at 3:45:30 PM UTC+1, Stephan Sahm wrote: >> >> Dear all, >> >> I just started to use sage and now set up a system wide jupyter kernel as >> suggested in this thread. >> I do not need to symlink `$SAGE_LOCAL/etc/jupyter but mathjax` works out >> of the box >> >> However, jmol does not work, neither in the notebook, nor in the >> qtconsole. >> (but viewer='tachyon' works) (If I start everything with `sage >> --notebook='jupyter'` then jmol works normal) >> >> Anyone any idea what might be missing to get 3d rendering system-wide? >> >> best, >> Stephan >> >> On Friday, October 23, 2015 at 1:51:21 PM UTC+2, Jeroen Demeyer wrote: >>> >>> On 2015-10-23 10:50, Emmanuel Charpentier wrote: >>> > Thanks ! Symlinking >>> > $SAGE_LOCAL/share/jupyter/sagemath/jupyter/kernels/sagemath and >>> > $SAGE_LOCAL/share/jupyter/nbextensions/* in the relevant systemwide >>> > directory (/usr/local/share/jupyter on a Debian installation) worked >>> as >>> > expected. Note that I did **not** use $SAGE_LOCAL/etc, since I didn't >>> > knew what to do with it... >>> >>> I think mathjax in Sage will break if you don't use the configuration >>> file in $SAGE_LOCAL/etc. >>> >>> What you should do with "etc" is exactly the same as what you did with >>> "share": symlink or copy the needed files and directories. >>> >>> Jeroen. >>> >>> -- 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 https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.