nbconvert-reportlab

Convert notebooks to PDF using Reportlab

MIT License

Downloads
116
Stars
14
Committers
1

An experimental tool to convert Jupyter notebooks to PDFs using Reportlab <https://pypi.python.org/pypi/reportlab/>__.

Install::

pip install nbconvert_reportlab

Use::

jupyter nbconvert --to pdf-rl MyNotebook.ipynb

Jupyter comes with support for generating PDFs by filling a template to make a Latex file, and then running Latex to convert that to PDF. This is a powerful approach, but Latex code is not a great intermediate format for automatic generation, and that can lead to a variety of problems.

This package uses the open source Reportlab Toolkit to convert notebooks directly to PDFs. This avoids a lot of complexity, but at least for now there are many things that it cannot handle and will simply skip over.

See an example output PDF <https://github.com/takluyver/nbconvert-reportlab/blob/master/Trapezoid%20Rule.pdf>__.

Package Rankings
Top 14.61% on Pypi.org