Step 6. Add a table of contents, bibliography, or index
You can generate a table of contents, bibliography, or index for the book, using the master document. You must insert these items into a text section in the master document. For more about these document elements, see
Chapter 12 (Creating Tables of Contents, Indexes, and Bibliographies).
Put the insertion point on the page in the first text section where the table of contents is to go and create the table of contents.
If you do not have a Text section at the end of the master document, insert one before the last subdocument, then move it down so it is after the last subdocument. Now, if you have included bibliographic entries in your subdocuments, you can put the insertion point on the page in this last text section where the bibliography is to go and create the bibliography.
If you have included index entries in your subdocuments, put the insertion point on the page in the last text section where the index is to go and create the index.