Is there a way to print a jupyter / ipython laptop slider presentation?

Is there a way to print the jupyter / ipython slide slider? Is it possible to do from nbviewer ( http://nbviewer.ipython.org )?

I know that I can print the pdf file of my laptop, but when I do this, it does not have the same page breaks and does not skip all the code that I would skip (for example, libraries that are imported are not needed). I would like it to be like a backup or printed handout.

+7
ipython-notebook jupyter-notebook jupyter
source share
1 answer

You can try the following:

jupyter nbconvert --to slides --post serve /path/to/your/notebook.ipynb 

This should launch your browser and make a presentation (for example, at http://127.0.0.1:8000/<some-title>.slides.html#/ )

change url to

  http://127.0.0.1:8000/<some-title>.slides.html?print-pdf 

If you now open the print dialog from your browser, the slides must be formatted correctly.

Instead of sending it to a printer, you can choose to write to a PDF file from the printer menu.


I tested this in chrome on OSX. I assume that it works on all systems, but I have not tested.

+9
source share

All Articles