paragraph styles to section headings, you need to create a TOC style and include all the relevant paragraph styles.
You can use the Table of Contents Styles dialog under the Layout menu to create TOC styles and dene the level
hierarchy for the TOC entries.
Once you dene a TOC style, you do not actually need to create and place the TOC within the InDesign docu-
ment. When you choose a TOC style in the Kindle Export Options dialog, the plugin will create a TOC with all
the entries that you intended to include and place the TOC at the beginning of the converted le. In the case of
InDesign documents (INDD), you can specify another location for the TOC by creating and placing the TOC in
the InDesign document. However, this option is not available for InDesign books (INDB) where the TOC will
always appear at the beginning of the book.
You can refer to the source of this document for an example of the TOC conversion process. e table of con-
tents style TOC Style is comprised of three paragraph styles - Heading 1, Heading 2 and Heading 3 - at the rst,
second and third level respectively. Simply doing this and specifying TOC Style during export will add a TOC at
the beginning of the book. Since we want more control over the location of the TOC, we create a TOC in the In-
Design le and place it aer the title page and just before the contents start. is ensures that the TOC appears at
the same position in the ow of the book.
If you place a TOC in the InDesign document, only the location within the content ow will be used during
conversion. e actual text of the TOC along with any formatting etc. will be ignored. Instead, the text to which
the TOC paragraph styles have been applied will be used to create the TOC. You can dene TOC entry and title
paragraph styles available in InDesign’s Table of Contents Styles dialog. You can specify a title for the TOC in the
Kindle Export Options dialog. You also have the option of choosing from among four dened formatting options:
1. Flat layout means that all the TOC entries irrespective of the level will appear one below the other without
any dierentiating indentation.
2. Indented format will render the TOC entries in such a way that the indentation is proportional to the level
of the TOC entry.
3. Numbered list will create a TOC in the form of a numbered list nested according to the levels.
4. Bulleted list will similarly create a bulleted list of TOC entries nested according to the corresponding levels.
In the case of InDesign books (INDB), you can select a TOC style from any of the documents added to the
book. Once you select a particular document, plugin will list you out all the TOC styles dened in that document.
Linking custom TOC
If you are not satised with the quality of the TOC created with InDesign or if you would like to add some
custom styling to the TOC, you also have the option to manually create a TOC and then link it from the export
options dialog. You will need to manually create all the table of contents entries and then link each entry to the ap-
propriate location by cross-referencing. Finally, add a text anchor just before the heading of your TOC. e export
options dialog will list all the text anchors in the document from which you can then choose the anchor which
corresponds to your table of contents. It also lists all the hyperlink text sources and cross-references present in the
document from which you have to choose the nal TOC entry of your Table of Contents which is required for cor-
rect NCX generation. In case of InDesign books (INDB), all the included documents will be listed and all the text
anchors and hyperlink text sources will be displayed for each le.
Note that you should not link to an InDesign TOC created using an InDesign TOC style and placed in the
document in this manner. Also note that, NCX view will contain all hyperlinks and cross-references dened in
between your Table of Contents anchor and the nal TOC entry hyperlink.
To see an example of a table of contents linked in this way, refer to the source of this document. In the condi-