Hi Hendy:
As per @James Gifford—NitroPress, you might want to pause, and read about how to create, format and manage a generated table of contents. You can start with this link: https://helpx.adobe.com/indesign/using/creating-table-contents.html but you will find plenty of additional resources if you look online. I wouldn't continue until you do.
Here is the most import principle of a table of contents created using Layout > Table of Contents: A table of contents is simply a list of paragraphs (headings, specifically) that InDesign types up for you, based on your paragraph heading styles. Knowing that you are working on a cookbook, you might tell InDesign to call in the section heads (Soup, Entrées, Desserts) and the recipe titles (Cream of Chicken Soup). They will be typed up in chronological order, meaning the order in which they appear in the book.
You can absolutely edit a table of contents:
If you see a typo in a heading, (i.e., Cream of Chiken Soup), navigate to the chicken soup page, fix it there, and then update the Table of Contents (TOC). InDesign retypes the entire TOC for you. (See @jmlevy's note.)
For that reason, we don't ever type on the generated TOC, because the next time we update the TOC, we lose the manual edits on the TOC as inDesign retypes the entire thing. (See @Peter Kahrel's note.)
For that reason, we do format the TOC with styles created specifically for the TOC entries, and we map the body styles to the TOC styles when we updated. (See @Dave Creamer of IDEAS's note above.) The styles are reapplied after each update.
If you see a mistake in the formatting, edit the styles you created to control it.
As James noted, this is complicated. Please spend some time reading up on this first, and then give it another try.
~Barb
... View more