# Converting an IPython Notebook to PDF

Python Oct 27, 2015

This is just a simple workaround that I found after hours of trying to convert an ipython notebook into a PDF, which also contains all markdown images and scales them accordingly. Well, the solution to this was actually quite simple. Do not try to make use of the web interface, do not convert it to HTML previously. Use the following shell command:

\$ ipython nbconvert --to latex file.ipynb

It generates an easy to read LaTeX file, where you can manually input  all missing images, scale them, and also adapt anything else ;)