Sage has not (yet) switched to jupyterlab, although there were various
ways to use jupyterlab with Sage posted here by Samuel, iirc.

On Sat, Oct 24, 2020 at 8:46 PM 'Reimundo Heluani' via sage-devel
<sage-devel@googlegroups.com> wrote:
>
> On Oct 24, 'Reimundo Heluani' via sage-devel wrote:
> >Dear all, I apologize that his may be out of place, but I started
> >preparing the sage days talk on jupyter and I find myself on a
> >completely new terri(fying)tory. I have a bunch of questions and I'd
> >appreciate if you can point me in the right direction to read.
> >
> >1. I remember in this list there were a few calls to help on the
> >migration    from jupyter notebook to jupyterlab, but I can't seem to
> >surf those    e-mails. Has this effectively happened? This is probably
> >the only    meaningful question, I want to rule out whether I am
> >trying to write the    slides in the wrong environment first.
> >
> >2. I am running on arch, and I have installed both jupyter notebook
> >and    jupyterlab. When running sage with `sage -n jupyter
> >--ip=127.0.0.1` there's    a trace with `ModuleNotFoundError: No
> >module named 'jupyterlab'` and right    after the notebook runs fine,
> >but with jupyter notebook, not jupyter lab
> >
> >3. If I run jupyterlab with `jupyter lab` it does not recognize the
> >sage    kernel (I run sage out of my local git repo). I do not know
> >how to make it    visible to the system jupyterlab.
> >
> >4. I don't particularly care for one or the other, I would just want
> >to    construct a readable slideshow that more or less resembles a
> >normal beamer    slideshow. Mathjax seems to be missing some Tex Fonts
> >as I get
> >
> >   ```
> >   404 GET 
> > /nbextensions/mathjax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf 
> > (127.0.0.1) 62.44ms referer=http://127.0.0.1:8888/notebooks/Talk.ipynb
> >   ```
> >   Should I install some extension to get these fonts.
> >
> >5. The same with theorem-like definitions. I installed the extension
> >latex_envs following instructions in
> >
> >   
> > https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/latex_envs/README.html
> >
> >   But I can't get it to render a definition properly. I suspect this
> >may be a    mixing of using a distro package manager for jupyter vs
> >pip install for the    extension itself. What's the right way of
> >checking which extensions are    running?
> >
> I just realized that running on the Python kernel the definition environment
> renders correctly, so I guess this extension does not work with the sage
> kernel.
>
> R
>
> >
> >6. Finally, I find the workflow horrible: I make the notebook a
> >slideshow,    then mark cells as slides, mode markdown, then type some
> >math in them. If I    hit <Shit>-<Enter> to render them they render
> >one way, then if I want to    run the slides with
> >
> >   `jupyter nbconvert Talk.ipynb --to slides --post serve`
> >
> >   They render in a different way. In particular headings and plain
> >html code    like <p>text</p>
> >
> >   Is this the right workflow to prepare slides?
> >
> >Thanks
> >
> >R.
> >
> >--
> >You received this message because you are subscribed to the Google Groups 
> >"sage-devel" group.
> >To unsubscribe from this group and stop receiving emails from it, send an 
> >email to sage-devel+unsubscr...@googlegroups.com.
> >To view this discussion on the web visit 
> >https://groups.google.com/d/msgid/sage-devel/20201024194152.GA207099%40vertex.
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/20201024194652.GB207099%40vertex.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1cs3w9Eyom%3DTALt2x7CRXvCPkcnO_vhLJHG8kxhKSeng%40mail.gmail.com.

Reply via email to