bookbook icon indicating copy to clipboard operation
bookbook copied to clipboard

Generate table of content

Open ragrawal opened this issue 6 years ago • 2 comments

Is there a way to generate table of content and add to each generate chapter.

ragrawal avatar Mar 04 '19 21:03 ragrawal

If you don't see it there by default, there's probably nothing built in. If you're going to Latex, you might be able to use a custom template to tell latex to build a table of contents from the headings collected by bookbook.

takluyver avatar Mar 17 '19 17:03 takluyver

I've set-up something like this to generate these notes: https://fabienmaussion.info/scientific_programming

It uses the notebook TOC extension but requires some changes to bookbook (see https://github.com/takluyver/bookbook/pull/13)

Note that maybe this is all much easier with Jupyter Book: https://jupyter.org/jupyter-book/intro.html (I haven't tried it yet)

fmaussion avatar Mar 18 '19 17:03 fmaussion