EPUBs can provide a Table of Contents (abbreviated as TOC) to help readers find their way around your ebook. Sigil can display and generate a Table of Contents automatically from your ebook – you just need to tell it what your chapter names are.
Sigil shows the Table of Contents in a separate window – on the right by default:
In order to create a Table of Contents you need to tell Sigil what your chapter names are. To do this just select each chapter name in your book and use one of the toolbar buttons to mark it as a chapter heading.
Just click anywhere in the paragraph that you want to be a chapter:
Click on the Heading Level 1 button
to mark the text as a chapter heading:
You can then mark the remaining chapter headings in your book:
When you click on a heading in your text the Heading buttons will highlight the heading level.
The other heading levels (h2, h3, etc.) allow you to create sub-chapters. The paragraph button
can be used to change your text back to a normal paragraph instead of a heading.
If you have multiple HTML files in your book, just double-click on them in the Book Browser to open them.