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

Stop repeating entries in table of contents

Community Beginner ,
Dec 14, 2017 Dec 14, 2017

Hello

I am creating a TOC on a document I am working on.

I have set everything up correctly – style sheets for the page headings which links to the table of contents and it all works fine.

On every page in the document the page heading is repeated, and obviously this gives me multiple entries in the TOC which I don't want.

For example:

Introduction          1

About us               2

About us               3

About us               4

About us               5

Our experience     6

I would prefer:

Introduction          1

About us               2

Our experience     6

The only solution I can think of is to create a new paragraph style for all the page headings I don't want to appear in the TOC, so first instance Style A, every instance after that Style B. The only problem with that is this seems a real work around rather than a solution. The problem is this is a manual solution, so if the pages move around, then the TOC becomes incorrect also if the style sheets are applied incorrectly, this also creates a problem.

Does anyone know a way to make the first instance of a page heading appear automatically in the TOC without a manual workaround?

Many thanks in advance.

Neil

10.5K
Translate
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 ,
Oct 18, 2021 Oct 18, 2021

Hi milliocreative,

did you try the GREP solution Obi-wan offered?

 

Regards,
Uwe Laubender

( ACP )

Translate
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 ,
Jan 30, 2023 Jan 30, 2023

I found a way to do this relatively easily, and wanted to just drop a note here so that others might find it.

  1. Place your ToC text frame(s) in a seperate layer.
  2. Hide that layer.
  3. Generate your Index ensuring you have the 'Include Entries on Hidden Layers' tickbox unchecked.
  4. Switch your ToC text frame(s) layer back on.

For info, I am using Adobe InDesign 2023.

Translate
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