[IPython-User] How to navigate through large notebooks

Ari Huntley arihuntley@gmail....
Tue Aug 27 12:25:14 CDT 2013


Is there a better way to (perhaps) automatically link to an anchor in a
table of contents?


On Tue, Aug 27, 2013 at 12:19 PM, Matthias BUSSONNIER <
bussonniermatthias@gmail.com> wrote:

>
> Le 27 août 2013 à 19:14, Mike Witt a écrit :
>
> > On 08/27/2013 01:51:30 AM, Jose Guzman wrote:
> >> Hi everybody,
> >>
> >> I was wondering if there is any plan to make the notebook even easier
> >> to
> >> navigate ...
> >
> > As a temporary solution, I've been using html links like this:
> >
> > <h2>Contents</h2>
> > <ul class=ult>
> >     <li> <a href="#imports">Imports and Subroutines</a></li>
> >     <li> <a href="#one">Section One</a></li>
> >     <li> <a href="#two">Section Two</a></li>
> >     <li> <a href="#three">Section Three</a></li>
> > </ul>
> >
> > <a name=one></a>
> > <h2><a href="#top">^</a> Section One</h2>
> >
> > <p>
> > Blah blah blah ...
> > </p>
>
>
> Be aware that in 1.0 Header cell automatically generate  anchor you can
> refer to.
> And this is mainly, the point of Header cell, to provide a structure for
> the document.
>
> By using custom html link, conversion with nbconvert are not qua ranted to
> succeed.
> --
> M
>
>
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130827/7a3f58a8/attachment.html 


More information about the IPython-User mailing list