Converting an IPython Notebook to PDF

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 acordingly. Well, the solution to this was acutally 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 ;)

Readers Comments (1)

Leave a comment

Your email address will not be published.