[pdf] IPython/Jupyter Problems saving notebook as PDF

I am using Anaconda-Jupyter Notebook on OS: Ubuntu 16.0 for Python programming.

Install Nbconvert, Pandoc, and Tex:

Open a terminal and implement the following commands in it.

Install Nbconvert: though it's part of the Jupyter ecosystem still install it once again

$conda install nbconvert

Or

$pip install nbconvert

But I will recommend using conda instead pip if you are using anaconda

Install Pandoc: since Nbconvert uses Pandoc for converting markdown to formats other than HTML. Type following command

$sudo apt-get install pandoc

Install TeX: For converting to PDF, nbconvert uses the TeX. Type following command

$sudo apt-get install texlive-xetex

After execution of these commands, close the opened notebooks refresh the home page Or restart the kernel of the opened notebook. Now try to download notebook as a pdf :)

Note: For more details, please refer the official documentation:
https://nbconvert.readthedocs.io/en/latest/install.html

Examples related to pdf

ImageMagick security policy 'PDF' blocking conversion How to extract table as text from the PDF using Python? Extract a page from a pdf as a jpeg How can I read pdf in python? Generating a PDF file from React Components Extract Data from PDF and Add to Worksheet How to extract text from a PDF file? How to download PDF automatically using js? Download pdf file using jquery ajax Generate PDF from HTML using pdfMake in Angularjs

Examples related to ipython

How to increase image size of pandas.DataFrame.plot in jupyter notebook? Importing .py files in Google Colab Selection with .loc in python IOPub data rate exceeded in Jupyter notebook (when viewing image) Purpose of "%matplotlib inline" Installing a pip package from within a Jupyter Notebook not working convert json ipython notebook(.ipynb) to .py file In which conda environment is Jupyter executing? How to make inline plots in Jupyter Notebook larger? %matplotlib line magic causes SyntaxError in Python script

Examples related to jupyter

How to increase image size of pandas.DataFrame.plot in jupyter notebook? What is the difference between Jupyter Notebook and JupyterLab? Removing Conda environment How to open local file on Jupyter? Jupyter notebook not running code. Stuck on In [*] Can I run Keras model on gpu? IOPub data rate exceeded in Jupyter notebook (when viewing image) How to execute a * .PY file from a * .IPYNB file on the Jupyter notebook? how to make a new line in a jupyter markdown cell Running Jupyter via command line on Windows