<div dir="ltr">For the cell renumbering I did this:<div><a href="http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/notebooks/Brython%20usage%20in%20the%20IPython%20notebook.ipynb#Include-the-cell-number-for-each-cell">http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/notebooks/Brython%20usage%20in%20the%20IPython%20notebook.ipynb#Include-the-cell-number-for-each-cell</a><br></div><div><br></div><div>I add additional info in the prompt area. It is made using Brython (see <a href="https://github.com/kikocorreoso/brythonmagic">https://github.com/kikocorreoso/brythonmagic</a> for more info) but you could easily translate that to JS.</div><div><br></div><div>Warning: I don't know if I am breaking something of the nb structure or if what I'm using to get the cell numbers will be available on later versions.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-19 21:18 GMT+02:00 Cyrille Rossant <span dir="ltr"><<a href="mailto:cyrille.rossant@gmail.com" target="_blank">cyrille.rossant@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FYI here is a simple JS extension that linearly renumber all cells in<br>
the notebook:<br>
<br>
<a href="http://nbviewer.ipython.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter03_notebook/03_controls.ipynb" target="_blank">http://nbviewer.ipython.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter03_notebook/03_controls.ipynb</a><br>
<div class="HOEnZb"><div class="h5"><br>
2014-09-18 23:10 GMT+02:00 Jon Wilson <<a href="mailto:jsw@fnal.gov">jsw@fnal.gov</a>>:<br>
> Hi,<br>
> We often share around nbconverted notebooks in my research group. But,<br>
> it is difficult to refer (when in a phone meeting) to specific figures<br>
> or pieces of code or other output in the notebook.  This is because the<br>
> cells are often executed out of order, so they have non-sequential numbers.<br>
><br>
> Now, in some situations, knowing the order of execution is crucial.<br>
> But usually in this case, the order is unimportant.  The non-sequential<br>
> ordering is due to things like "oh, I made a mistake in the fifth<br>
> figure, let me try a few things to fix it, now the 4th figure needs to<br>
> be fixed too," etc.<br>
><br>
> So, if it were possible to re-number the cells, either in the notebook<br>
> proper or in the nbconvert step, that would make our lives a little bit<br>
> easier.<br>
><br>
> Alternatively, it would be pretty awesome if figures could have<br>
> automatic (sequential) figure numbering.  Then the cell numbering<br>
> wouldn't matter nearly as much.<br>
> Regards,<br>
> Jon<br>
> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">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>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">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>
</div></div></blockquote></div><br></div>