Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/creativepurus/convert-ipynb-to-pdf

โœจ This repository is your go-to resource for seamlessly transforming Jupyter Notebook (ipynb) ๐Ÿ“š files into portable document format (PDF). ๐Ÿ“š ๐Ÿ”€ It provides a simple and convenient way to convert Jupyter Notebook (ipynb) files to PDF format ๐Ÿค“
https://github.com/creativepurus/convert-ipynb-to-pdf

anaconda anaconda3 convert ipynb ipynb-jupyter-notebook jupyter jupyter-notebook pdf pdf-converter readme readme-profile readme-template

Last synced: 4 days ago
JSON representation

โœจ This repository is your go-to resource for seamlessly transforming Jupyter Notebook (ipynb) ๐Ÿ“š files into portable document format (PDF). ๐Ÿ“š ๐Ÿ”€ It provides a simple and convenient way to convert Jupyter Notebook (ipynb) files to PDF format ๐Ÿค“

Awesome Lists containing this project

README

        

> [![Purushottam Anand ๐Ÿ‡ฎ๐Ÿ‡ณ on GitHub โ˜•](https://github.com/creativepuru.png?size=100)](https://github.com/creativepuru "Purushottam Anand ๐Ÿ‡ฎ๐Ÿ‡ณ on GitHub โ˜• Tap to see ๐Ÿ‘†๐Ÿป") [![MY GITHUB PROFILE](https://readme-typing-svg.demolab.com?font=calibri&size=18&pause=500&multiline=false&width=800&height=50&lines=๐Ÿ‘†๐Ÿป+TAP+ON+THE+IMAGE+TO+VISIT+MY+GITHUB+PROFILE)](https://github.com/creativepuru)

[![WELCOME MESSAGE](https://readme-typing-svg.demolab.com?font=Calibri&size=28&duration=2000&pause=1000&multiline=false&width=750&height=80&lines=๐Ÿ‘‹+WELCOME+TO+MY+REPOSITORY+๐Ÿ“˜;๐Ÿ“š+CONVERT+Jupyter+Notebook+(.ipynb)+file+to+PDF+file)](https://github.com/creativepuru/Convert-ipynb-to-PDF)

# ๐Ÿ“š Table of Contents
### ๐Ÿ”ฐ [ABOUT](#about)
### ๐Ÿ‘จโ€๐Ÿ’ป [STEPS](#steps)
- [STEP 1](#step-1)
- [STEP 2](#step-2)
- [STEP 3](#step-3)
- [STEP 4](#step-4)
- [STEP 5](#step-5)
- [STEP 6](#step-6)
### ๐Ÿ“ฃ [FEEDBACK & CONTRIBUTIONS ๐Ÿค](#feedback--contributions)
### ๐Ÿ“– [LICENSE](#license)
### ๐Ÿ“ฒ [REACH ME](#reach-me)

# ABOUT
### โœจ This repository provides a simple and convenient way to convert Jupyter Notebook (ipynb) files to PDF format ๐Ÿค“

### โœจ By following the instructions properly which are mentioned below, you can easily convert any Jupyter Notebook (.ipynb) file to PDF file ๐Ÿš€

# STEPS

### STEP 1
### To get started, at first you'll need to have `Python` installed on your computer. You can download the latest version of Python from the official website: https://www.python.org/downloads/

### STEP 2
### Now Install `Anaconda Navigator` from the official website: https://docs.anaconda.com/free/anaconda/install/

### STEP 3
### Now you need to install `nbconvert` tool. To install nbconvert, follow the below mentioned steps:

- 1. Open the `command prompt` or terminal

- 2. Run the following command to install nbconvert using pip:
```
pip install nbconvert
```
- This command will download and install the nbconvert package and its dependencies. Wait for the installation to complete. You should see the progress in the command prompt or terminal.

### STEP 4
### Now you need to install `Pandoc` in addition to nbconvert if you want to convert .ipynb files to PDF format. Pandoc is a separate tool that nbconvert relies on for the conversion process.

- To install Pandoc, follow the below mentioned steps:

- Visit the Official Pandoc website at: https://pandoc.org/installing.html and download the appropriate installer for your operating system.

- Run the installer and follow the on-screen instructions to install `Pandoc`

- After the installation is complete, you can verify the installation by running the following command in the command prompt or terminal:
```
pandoc --version
```

- If the installation was successful, you should see the version information for Pandoc.

### ๐Ÿ”ฐ NOTE : RESTART your Device ๐Ÿ’ป (Laptop or Desktop) after installing `nbconvert` and `pandoc`

----------------------------------------------------------------

### STEP 5
### Now the final tool that you will need is the `TeX` tool.

- For converting notebooks to PDF (with --to pdf), nbconvert makes use of `LaTeX` and the `XeTeX` as the rendering engine.

- To install a complete TeX environment (including XeLaTeX and the necessary supporting packages) by hand can be tricky. Fortunately, there are packages that make this much easier.

- Because nbconvert depends on packages and fonts included in standard `TeX distributions`, if you do not have a complete installation, you may not be able to use nbconvertโ€™s standard tooling to convert notebooks to PDF. These packages are specific to different `operating systems`.

### Follow the below links as per your Operating System (OS) to `install` TeX:

- 1. [Windows](https://tug.org/texlive/windows.html)
- 2. [MacOS](https://tug.org/mactex/)
- 3. [Linux](https://tug.org/texlive/quickinstall.html)

### Alternatively, you can also visit the Official website of TeX Live here: https://tug.org/texlive/

### ๐Ÿ”ฐ NOTE : TeXlive is a large distribution, and installing it might consume a significant amount of disk space. It has over 4000+ files. It might take 1-2 hours (depending upon the system) for TeX Live to install in your device.
![TeX Installer](Images/TeXLive.png)

### ๐Ÿ”ฐ So be patient and leave the rest on installer.

### ๐Ÿ”ฐ Once you have `nbconvert`, `Pandoc` and `TeX` installed, you should be able to convert Jupyter Notebook (.ipynb) files to PDF

### ๐Ÿ‘‰๐Ÿป Now you can easily convert your `Jupyter Notebook` file to `PDF` file without any error using the `Anaconda Navigator` which you have installed in [Step No. 2](#steps)

----------------------------------------------------------------

### STEP 6
### Using Anaconda Navigator
### After successfully completing all the above mentioned steps, now you are ready to go.
### Follow the below instructions carefully to convert your `Jupyter Notebook` file to `PDF` file using the `Anaconda Navigator` :

### Step 1 : Open Anaconda Navigator. Then Launch the `Jupyter Notebook`
![Step 1](Images/Anaconda-Navigator.png)

### Step 2 : `Upload` then `Open` your Notebook File
![Step 2](Images/NB-1.png)

### Step 3 : Go to `File` > `Download as`
![Step 3](Images/NB-2.png)

### Step 4 : Select `PDF via LaTeX (.pdf)`
![Step 4](Images/NB-3.png)

### Step 5 : Done
![Step 5](Images/NB-4.png)

- A new blank window will open up now and your conversion will be done in few seconds/minutes (depending upon the system).

### โ˜• So be patient, have a Coffee, and leave the rest. You can also [![BUY ME A COFFEE](https://img.shields.io/badge/Buy%20Me%20a%20Coffee%20โ˜•-%23FFDD00.svg?&style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/creativepuru) here ๐Ÿ˜Š

# FEEDBACK & CONTRIBUTIONS
If you have any suggestions for improving the code or adding new notebooks, feel free to submit a pull request. We welcome contributions from the community.

- Fork the project
- Create a new branch (git checkout -b feature/awesome-feature)
- Make your changes and commit them (git commit -am 'Add an awesome feature')
- Push to the branch (git push origin feature/awesome-feature)
- Create a pull request

### โค๏ธ Thank you for visiting my repository, and happy exploring ๐Ÿค—

# LICENSE
### My [ "Convert ipynb to PDF" repository](https://github.com/creativepuru/Convert-ipynb-to-PDF) is licensed under the [Standard MIT License](https://github.com/creativepuru/Python-Basics/blob/main/LICENSE.txt) License.
- See [LICENSE](https://github.com/creativepuru/Python-Basics/blob/main/LICENSE.txt) for more information.

# REACH ME




[![BUY ME A COFFEE](https://img.shields.io/badge/Buy%20Me%20a%20Coffee%20โ˜•-%23FFDD00.svg?&style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/creativepuru)

[![Purushottam Anand's GitHub Sponsors Page](https://img.shields.io/badge/-โค๏ธ%20Sponsor%20me%20on%20GitHub-gr?style=for-the-badge&logo=github)](https://openinapp.co/githubsponsorpuru "Purushottam Anand's GitHub Sponsors Page")



Back to Top