[IPython-dev] Including IPython notebooks as subsections in a LaTeX document?

Matthias BUSSONNIER bussonniermatthias at gmail.com
Wed May 28 02:17:31 EDT 2014

Le 28 mai 2014 à 04:30, Fernando Perez a écrit :

> On Tue, May 27, 2014 at 2:01 PM, Aron Ahmadia <aron at ahmadia.net> wrote:
> Max, your approach sounds correct to me.  I'm not aware of many simpler/elegant solutions, mostly just "afternoon hacks" :)
> Yup, sounds about right too... Those templates are precisely meant to be modified by end users with use cases like the above…

better than copy and pasting you can just inherit ((* extend …. *)) at the top of the templates, and only overwrite the blocks you need.

usually you can just overwrote the blocks you don't want with empty blocks, put the new file in current working directory and run nbconvert with the --template=mytemplate options. It should work.


> Cheers,
> f 
> _______________________________________________
> 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/20140528/97f9747d/attachment.html>

More information about the IPython-dev mailing list