[IPython-dev] Renumber cells for nbconvert

Jon Wilson jsw at fnal.gov
Thu Sep 18 17:44:21 EDT 2014


Hi Thomas,
Yes, it does break that, which is unfortunate.  What about automatic 
figure numbering?

Of course, the low-tech solution is to tell everyone that they have to 
make sequentially-numbered section headings or something similar.
Regards,
Jon

On 09/18/2014 04:41 PM, Thomas Kluyver wrote:
> On 18 September 2014 14:36, Jon Wilson <jsw at fnal.gov 
> <mailto:jsw at fnal.gov>> wrote:
>
>     That sounds great, but some of our notebooks can take hours or
>     even days to execute, so I don't think that this is an option. 
>     The notebook that prompted this email, according to the student
>     whose notebook it is, takes 20-30 minutes to run.
>
>
> I had a feeling you were going to say that. ;-) It should be fairly 
> straightforward to build an extension that renumbers cells without 
> running them, but I'd rather not promote that, because it breaks the 
> model of cell numbers representing execution order.
>
> Thomas
>
>
> _______________________________________________
> 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/20140918/0d8d3ccf/attachment.html>


More information about the IPython-dev mailing list