[IPython-dev] latex writer

Chris Kees cekees at gmail.com
Tue Feb 21 18:37:43 EST 2012


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.

Thanks,
Chris

On Sun, Feb 19, 2012 at 3:24 AM, Chris Kees <cekees at gmail.com> wrote:

> Brian,
>
> Thanks a lot. I'll let you know how it turns out.
>
> Chris
>
>
> On Fri, Feb 17, 2012 at 11:05 PM, Brian Granger <ellisonbg at gmail.com>wrote:
>
>> Chris,
>>
>> I am already writing a paper in this way.  Here is the simple latex
>> exporter that I have:
>>
>>
>> https://github.com/ellisonbg/sympy-qcpaper/blob/master/notebooks/exportlatex.py
>>
>> Some changes that could be made:
>>
>> * I would put the latex in plaintext cells instead of Markdown cells.
>> * Images could easily be exported into standalone files and the latex
>> for inclusion could be autogenerated.
>>
>> But the script is super simple and should be quite easy to adapt to your
>> needs.
>>
>> Cheers,
>>
>> Brian
>>
>> On Fri, Feb 17, 2012 at 9:56 AM, Chris Kees <cekees at gmail.com> wrote:
>> > Has anybody considered developing a latex or pdf writer for the
>>  notebook?
>> > I'm trying to finish a report, and it would be nice if i could just
>> stick
>> > the entire notebook in the appendix. I was going to try
>> > \usepackage{pdfpages} (the notebook is about 20 pages so I can't
>> include it
>> > as a floating figure), but then I noticed that none of my web browsers
>> do a
>> > very good job generating a pdf of the  notebook.   -Chris
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> bgranger at calpoly.edu and ellisonbg at gmail.com
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120221/0d40fe57/attachment.html>


More information about the IPython-dev mailing list