Slideshow editing with Jupyter Lab

Question:

The new Jupyter Lab is great, but I am missing the option to turn cells into slides. In classic Jupyter Notebooks, that was under “View > Cell Toolbar > Slideshow”:

enter image description here

What happened to the feature? Is there a way to edit slides in Jupyter Lab?

Asked By: clstaudt

||

Answers:

It is still possible using nbconvert

Presenting Code Using Jupyter Notebook Slides

command you need to run:

jupyter nbconvert jupyter_notebook.ipynb --to slides --post serve

Answered By: Kamil Niski

In Jupyter Lab you can alter the ‘slide type’ in the ‘Cell Inspector’ menu.

Answered By: Caio Belfort

I have jupyter lab 1.1.4 installed on Ubuntu 18.04.3 LTS and am using a python 3 virtual env kernel and it works great. Just complete your notebook and then configure each cell using the “Notebook Tools” tab on the far left (as shown in screenshot). Then save and close the notebook and run below command to output the slides.

enter image description here

Open the terminal and navigate to the recently saved .ipynb and run

jupyter nbconvert Untitled2.ipynb --to slides

For slides or say

jupyter nbconvert Untitled2.ipynb --to pdf

For a pdf

enter image description here

Note: You might need to install the Tex package to perfrom pdf outputs. See the docs here or just run the below command to install it.

sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-generic-recommended

Cheers

Answered By: John Drinane

if you require the slideshow cell editing functionality you can either set it in the metadata as explained in this question, or you can switch from Lab to Notebook by going Help >> Launch Classic Notebook.

re:

However, this doesn’t give me the slideshow cell editing functionality I need in the notebook.

Answered By: Vojta F