As long as you have used paragraph styles throughout your document, InDesign can automatically create a table of contents (TOC) from your document—or even a group of documents, if you are using the Book feature. InDesign can also build an index for your document, though it cannot make it automatically; you have to index entries manually. Here’s how it works.