Table of Contents
Add a table of contents with Insert → Table of Contents in the chapter list. Inkwell generates it from your headings and keeps it up to date — including the page numbers, which come from the real typeset layout rather than an estimate.
You do not edit the table of contents directly. Change a chapter title and the entry changes with it.
Which levels appear
Click Project Settings
, then Table of
Contents.
Show Levels decides how deep the listing goes: parts and chapters only, or down through sections, subsections, and subsubsections. Keeping it shallow is usually right for a trade book; a reference work often wants more.
Changing how it looks
This changed. The table of contents used to be configured through a stack of menus — Title, Number, Layout, Borders, Fonts, each with its own settings. It is now laid out with a visual template editor instead, so older instructions describing those menus no longer apply.
Click Edit Template in the same settings section. This opens an editable model of a single contents entry, which you lay out as you would any other content: choose fonts, set spacing, and decide where the chapter number sits relative to the title. To get the run of dots between the title and the page number, put the cursor in the title cell and set Leader to Dots in the Table Cell settings — the dots then run right up to the page number, and the template editor shows them stretching as they will print.
An ePub has no fixed pages, so it has no page numbers for the dots to lead to. Inkwell leaves the leader out there rather than trailing a run of dots into an empty space; the entries are links instead. The PDF is unaffected.
What you build is applied to every entry in the table.
The same template mechanism is used for headings, headers and footers, and the list of figures, so it is worth learning once. See Chapter Titles, Parts, and Section Headings.
Linking
In the ePub and PDF outputs the entries are links, so readers can jump straight to a chapter. Nothing needs switching on for this.
Related listings
List of Figures works the same way: add it from the Insert menu and configure it under Project Settings → List of Figures, which also uses an editable template. See Figures and Images.