Table of Contents (TOC) Frames are used for inserting an automatically generated Table of Contents. A TOC Frame must be placed on each parent (formerly master) page that is defined in a Typefi TOC Section (see Typefi Section Types).
How do TOC Frames work?
Each TOC Frame is assigned an InDesign Table of Contents style that generates the TOC during the automated page composition process. Typefi builds on InDesign’s native feature for generating a TOC. After all the pages have been composed, the TOC Frames are populated with data from their corresponding TOC style, creating new document pages and filling these frames until all TOC content is placed. This is because all of the source data that will be used to populate the TOC Frames must be laid out in the paginated document first so that their assigned page location is known.
Since TOC Sections are generated in the last step of the page composition process, the first Main Story Section following a TOC Section is forced to start on the right side and does not allow pages to 'shuffle'. As a result, a filler parent page may be inserted after a TOC Section.
🔑 Key concepts
- Data that fills the TOC Frames is based on the InDesign TOC style assigned to the frames.
- Pagination of TOC Frames occurs after all other pages have been composed.
- The first page after a TOC always starts on the right (in facing pages templates).
Scope: a TOC for the entire document versus a TOC for a subset of the document
You can use a TOC Frame to generate a TOC for the entire document or a subset of the document.
- Entire document: The TOC Frame must be part of a Typefi TOC Section.
- A subset of the document: The TOC Frame must exist on a parent page that is part of a Main Story Section. Each subset is produced as an individual InDesign document that will ultimately be bound into a book (see the Create InDesign book workflow action).