Skip to content

Commit

Permalink
upload all files
Browse files Browse the repository at this point in the history
  • Loading branch information
balajialg committed Jan 19, 2024
1 parent a8d074f commit 2115b66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
Binary file added images/download_PDF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/download_webPDF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 12 additions & 7 deletions workflow/dowload_PDF.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
# Download Jupyter Notebook as a PDF

Are you interested in downloading your Jupyter Notebook as a PDF and are confused by the gazillion options available in the notebook UI? Do you need some guidance to choose the right option?
Do you want to download Jupyter Notebooks (.ipynb files) as a PDF but are confused by the gazillion options available in the notebook UI? We use a package called nbconvert which converts notebook files into different file formats including PDF.The download options have changed recently due to the recent migration to Notebook 7 and Lab 4.

```{figure} ../images/downloadoptions.PNG
If you are using https://datahub.berkeley.edu/ then choose the following option
File -> Save and Export Notebook As -> Webpdf

```{figure} ../images/download_webPDF.png
:width: 500px
:align: center
:name: Options to download Jupyter Notebook as PDF
:name: Download Jupyter Notebook as Web PDF
```
Certain courses require instructors/students to convert their Jupyter notebook into a PDF and upload it in gradescope for manual grading. The recommended way to download your Jupyter Notebook (as PDF) is to download via option "PDF via HTML".

```{figure} ../images/downloadPDF.PNG
If you are using any other hub than https://datahub.berkeley.edu/, then choose the following option,
File -> Save and Export Notebook As -> PDF

```{figure} ../images/download_PDF.png
:width: 500px
:align: center
:name: Download Jupyter Notebook as PDF via HTML
:name: Download Jupyter Notebook as PDF
```

```{note}
We recommend not using the option "Download as Latex" as that has historically led to 500 server errors for a few instructors (like [this](https://github.com/berkeley-dsep-infra/datahub/issues/2664)).
```
```

0 comments on commit 2115b66

Please sign in to comment.