Copy link to clipboard
Copied
Recently I encountered a problem when updating TOC:
I get the message "Do you want the table of contents to include items in overset text?" and the thing is I do not see anything as overset text - anyway, when I click 'yes', then I get all headings in TOC and even too much (too many headings)... (EXAMPLE: the last 'main' heading is "9", but then I get all headings starting with "5.2" repeated again in TOC).
If I choose "no" ("Do you want table...?") - then, TOC looks fine; however, the problem exists and I would like to find the root cause.
I would be grateful for any ideas... maybe someone had a similar problem?
regarding the page numbers in your TOC, are they also correct where the headings repeat themselves?
Could you replace your text with placeholder text at least up to the first heading that repeats and share the file with us?
Could you try to save your file as idml and then open it and save as a new indd file?
I have a similar issue. At the end of a story the last two TOC entries repeat twice when I get the overset warning. However, when the last paragraph ends before the text flows into the last frame of the story, I don't get the error. The text is not overset as I can see the hash mark at the end of the story.
I tried deleting the last frame in the story (now the text IS overset). I get the warning when rebuilding the TOC, but the TOC doesn't repeat the last two entries. Here is what my layout look
...Copy link to clipboard
Copied
One extra thing.. I noticed that if the last frame in the document is "with overset text", then TOC works fine. However, if I fix the 'overset text' by adding a frame to fit the text, then the problem described above occurs.
I tried cleaning formatting, removing the last paragraph, but nothing seems to work...
Copy link to clipboard
Copied
I see the same thing! See my comments.
Copy link to clipboard
Copied
Could you share your InDesign file with us?
Copy link to clipboard
Copied
I'm sorry but this is a corporate document and I cannot share that file now.
I can tell you that I've been trying many things - removing/adding new text frames & deleting/inserting new pages, pasting content in a new document without formatting ..
whenever I have at least one "Overset text" ERROR in the file, then the TOC is working.. if I don't have any errors in the document, then TOC looks weird (heading from certain point repeated over and over again in TOC).
Copy link to clipboard
Copied
It's clear enough that the overset text contains these things.
You can find overset text using the Preflight Panel https://indesignsecrets.com/how-to-find-overset-text-in-indesign-fast.php
Copy link to clipboard
Copied
Yeah, unfortunately that's not the case... there is no overset text (Preflight shows no errors)
I was also looking at 'story editor' and nothing unusual over there.
Copy link to clipboard
Copied
The TOC typically doesn't lie. So there must be some text that is overset that is formatted using styles that the TOC feature is grabbing. Double check the style that is applied to that text. Sometimes it may not look like the text that the TOC is grabbing but is actually formatted using an overridden style. Also, depending on how your book is organized, sometimes you may need to create another style called "Heading No TOC" or something to that effect to prevent the TOC from pulling in that text that you don't want included in the TOC.
Copy link to clipboard
Copied
I already have styles for headings included in TOC (and styles for "fake" headings not included in TOC); however, the issue is that headings are repeated in order (indefinitely) and there is no overset text in the document.
My problem looks more or less like that:
1 - Heading 1
1.1 - Subheading 1
1.2 - Subheading 2
1.3 - Subheading 3
2 - Heading 2
2.1 ..
2.2..
2.3..
3 - Heading 3
3.1 ..
3.2...
4 - Heading 4 (the last chapter in the document)
1.3 - Subheading 3
2 - Heading 2
2.1 ..
2.2..
2.3..
3 - Heading 3
3.1 ..
3.2...
4 - Heading 4
1.3 - Subheading 3
2 - Heading 2
2.1 ..
2.2..
2.3..
3 - Heading 3
3.1 ..
3.2...
4 - Heading 4
(...) and it's repeated over and over again..
As you can see from the example given above, headings are repeated and TOC takes headings from "1.3 and repeats the rest over and over again".
Copy link to clipboard
Copied
regarding the page numbers in your TOC, are they also correct where the headings repeat themselves?
Could you replace your text with placeholder text at least up to the first heading that repeats and share the file with us?
Could you try to save your file as idml and then open it and save as a new indd file?
Copy link to clipboard
Copied
yes, page numbering is correct (for those repeating headings)
Ok, I will prepare the file with placeholder text ASAP
Copy link to clipboard
Copied
I edited my post a minute ago and you may not have seen it.
I was wondering if you can save your file as idml
Copy link to clipboard
Copied
Was this ever resloved? I don't see a solution other than Monika B sent the file. I have this exact same behavior in one file (only one file) of a book. There is no overset text. I have preflighted. I have checked for hidden frames, etc. The last two Heading 1 entries tied to the TOC repeat in the TOC with the same page numbers (like they were stacked), but there are no other frames. More, if I change the Heading 1 entries that are duplicating to add some characters, both entries in the TOC change, with same page numbers. I have also tried to save to IDML and back. Finally, I have a book TOC that duplicates the entries and a Chapter TOC that does the same duplication.
Copy link to clipboard
Copied
I have the same problem. My TOC repeat headings at the end of TOC, I don't have overset text, but TOC is asking if I want to show overset text..is that a bug from Indesign? Is there a solution? Thank you.
Copy link to clipboard
Copied
We might need a new thread on this. I see this is marked "correct answer" above, but it is clearly still an issue. That answer also does not seem to solve anything. I have not received any reply or response to my post from Sept. 2021 above. ~ CD
Copy link to clipboard
Copied
I am having this exact same issue. If I tell it not to include the items in "overset text," it does not duplicate, so I guess that is the workaround at this point. Seems like a bug. I may try rebuilding the file when I have time to see if it is just a buggy file.
Copy link to clipboard
Copied
I have a similar issue. At the end of a story the last two TOC entries repeat twice when I get the overset warning. However, when the last paragraph ends before the text flows into the last frame of the story, I don't get the error. The text is not overset as I can see the hash mark at the end of the story.
I tried deleting the last frame in the story (now the text IS overset). I get the warning when rebuilding the TOC, but the TOC doesn't repeat the last two entries. Here is what my layout looks like:
Copy link to clipboard
Copied
Honestly it sounds like somewhere in your document you have overset text that you're not seeing but it contains styles that the TOC is recognizing and is generating TOC entries for your content. Look in your preflight panel to see if you have any overset text errors. It will show you where the overset text is so you can remove it. This often happens when you're copying and pasting content and you forget that you pasted conent that you're not visually seeing.
Copy link to clipboard
Copied
Chad, The pre-flight form is clear (this has been stated multiple time by many other users). The strange part is that when the frame on the last part of the story is removed (resulting in actual overset text), the table of contents error goes away.
Unfortunately, the story I am having issues with is one of the longer ones in the document. I will try deleting each page of text, then the associated frame until I locate the offending item. The weird part is that when I started working on this document a few days ago the TOC compiled just fine.