That's what I needed. It's nice to see how to grab the contents with IPython.nbformat.current.read.  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.<div>
<br></div><div>Thanks,</div><div>Chris<br><br><div class="gmail_quote">On Sun, Feb 19, 2012 at 3:24 AM, Chris Kees <span dir="ltr"><<a href="mailto:cekees@gmail.com">cekees@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Brian,<div><br></div><div>Thanks a lot. I'll let you know how it turns out.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Chris</font></span><div>
<div class="h5"><br><br><div class="gmail_quote">On Fri, Feb 17, 2012 at 11:05 PM, Brian Granger <span dir="ltr"><<a href="mailto:ellisonbg@gmail.com" target="_blank">ellisonbg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chris,<br>
<br>
I am already writing a paper in this way.  Here is the simple latex<br>
exporter that I have:<br>
<br>
<a href="https://github.com/ellisonbg/sympy-qcpaper/blob/master/notebooks/exportlatex.py" target="_blank">https://github.com/ellisonbg/sympy-qcpaper/blob/master/notebooks/exportlatex.py</a><br>
<br>
Some changes that could be made:<br>
<br>
* I would put the latex in plaintext cells instead of Markdown cells.<br>
* Images could easily be exported into standalone files and the latex<br>
for inclusion could be autogenerated.<br>
<br>
But the script is super simple and should be quite easy to adapt to your needs.<br>
<br>
Cheers,<br>
<br>
Brian<br>
<div><div><br>
On Fri, Feb 17, 2012 at 9:56 AM, Chris Kees <<a href="mailto:cekees@gmail.com" target="_blank">cekees@gmail.com</a>> wrote:<br>
> Has anybody considered developing a latex or pdf writer for the  notebook?<br>
> I'm trying to finish a report, and it would be nice if i could just stick<br>
> the entire notebook in the appendix. I was going to try<br>
> \usepackage{pdfpages} (the notebook is about 20 pages so I can't include it<br>
> as a floating figure), but then I noticed that none of my web browsers do a<br>
> very good job generating a pdf of the  notebook.   -Chris<br>
</div></div>> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
><br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Brian E. Granger<br>
Cal Poly State University, San Luis Obispo<br>
<a href="mailto:bgranger@calpoly.edu" target="_blank">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com" target="_blank">ellisonbg@gmail.com</a><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>