ipython/nbconvert — pull request #43 by rcl33 (2012-11-09 12:44:53+00:00)
Title: PDF conversion - control type of content output

I like to produce PDFs from notebooks as a nice way to get printable output. I'm often more interested in the discussion (in Markdown cells) and the results (matplotlib figures) than the Python code used to create them. So I've added an option to exclude the Python source ("-e source" option) or the output ("-e output", although I haven't found this one useful).

They can be combined e.g. "-e source,output". I've also included small fixes to help LaTeX work with unusual characters in filenames, and a command line option to specify the user preamble (for which there was already code). Sorry if this was too much for one PR - I'm new to GitHub but I can try to make it simpler if needed.

This works for me but if you think it needs improvement or extension before being useful for nbconvert, let me know