Download Jupyter Notebook as a PDF#

Downloading Jupyter Notebooks (.ipynb files) as PDF can be slightly confusing given the numebr of options presented in the notebook UI. nbconvert is the third-party package used to convert notebook files (ipynb) to file formats such PDF,HTML, PNG etc…The options to download notebook as PDF/HTML has changed recently due to the migration from notebook 6 to 7 and Lab 3 to 4.

If you are using https://datahub.berkeley.edu/ and/or https://r.datahub.berkeley.edu/, then choose the following option to download the ipynb as pdf,

File -> Save and Export Notebook As -> Webpdf

../_images/download_webPDF.png

If you are using any other hub than the ones mentioned above, choose the following option, File -> Save and Export Notebook As -> PDF

../_images/download_PDF.png

If you choose to download the notebook files as HTML then choose the following option, File -> Save and Export Notebook As -> HTML

../_images/download_HTML.png

Note

We recommend instructors/students to not use the “File -> Save and Export Notebook as -> Latex” option as it has historically led to “500 internal server error”message for some of our users (like this).