• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

TOC - some headings are repeated again at the end of TOC

Community Beginner ,
Sep 25, 2020 Sep 25, 2020

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?

TOPICS
Bug , How to

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Guide , Sep 29, 2020 Sep 29, 2020

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?

 

Votes

Translate

Translate
Community Beginner , Dec 05, 2023 Dec 05, 2023

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.

 

76Porsche_0-1701843100342.png

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

...

Votes

Translate

Translate
Community Beginner ,
Sep 28, 2020 Sep 28, 2020

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

Copy link to clipboard

Copied

LATEST

I see the same thing! See my comments.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

Could you share your InDesign file with us?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 28, 2020 Sep 28, 2020

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).

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 28, 2020 Sep 28, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 28, 2020 Sep 28, 2020

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".

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 29, 2020 Sep 29, 2020

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?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 29, 2020 Sep 29, 2020

Copy link to clipboard

Copied

yes, page numbering is correct (for those repeating headings)

Ok, I will prepare the file with placeholder text ASAP

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Sep 29, 2020 Sep 29, 2020

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 27, 2021 Sep 27, 2021

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 08, 2022 Feb 08, 2022

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 08, 2022 Feb 08, 2022

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 31, 2022 Mar 31, 2022

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 05, 2023 Dec 05, 2023

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.

 

76Porsche_0-1701843100342.png

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:

 

76Porsche_1-1701843566388.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

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.

76Porsche_0-1701922269864.png

  • Thinking maybe something about the "page" itself was the issue, I deleted the frame and page, then created a new page and flowed the overset text into it. The error came back.
  • I also inspected each spread in the story with the Layers panel. I found a few layers that didn't seem to have any content and deleted them. Still get the error.
  • If I select the No option when updating the TOC, the two extra sections do not get listed.
  • I cut the offending text out of the document and pasted it into Notepad (PC) to strip any formatting. Cut the text from Notepad and pasted back into ID. Updated the TOC, I get the warning about overset text and selected Yes to include overset text, but there are no repeated heading in the TOC. I did not format the text I pasted.
  • After re-applying the heading formats, the duplicate heading for the last two heading reappeared!

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.

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines