[IPython-dev] latex writer

Fernando Perez fperez.net@gmail....
Tue Feb 21 17:53:09 CST 2012


On Tue, Feb 21, 2012 at 3:37 PM, Chris Kees <cekees@gmail.com> wrote:
> Somebody with time on their hands and some latex and pdf expertise could
> really go to town on making functionality from the notebook available to a
> pdf document.

Here's the start of a more structured writer:

https://gist.github.com/1569580

This one produces rst, so you could easily run it through sphinx to
produce a PDF using sphinx's latex export capabilities.  It handles
export of figures into image tags already.

What it doesn't have yet is any nice style/CSS support for a prettier output.

It would be both fun and easy to take this and start building a more
structured exporter library that can take a notebook and produce:

- pure latex meant for standalone compilation with pdflatex
- rst for standalone docutils conversion
- rst for sphinx conversion into html or pdf.

Cheers

f


More information about the IPython-dev mailing list