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

TOC picking up styles from headings in body

Engaged ,
Mar 20, 2023 Mar 20, 2023

Copy link to clipboard

Copied

2 headings have a few words that are coloured. these have a character style.

The colour also shows in the in TOC, which is not what i want.

 

The text should be all black in the TOC.

 

See page 42 below.

 

Screenshot 2023-03-20 at 11.09.26.pngScreenshot 2023-03-20 at 11.09.41.png

TOPICS
How to

Views

258

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

Community Expert , Mar 20, 2023 Mar 20, 2023

Hi @Summayah5FC7:

 

Alternatively,  you can put the TOC in its own .indd file, and pull the two files together as an InDesign book. This will allow you to redefine the character styles in the separate document to not change the color (or anything) else and they will fade into the background. You cannot do this if the TOC and the source paragraphs are in the same file.

 

https://helpx.adobe.com/indesign/using/creating-book-files.html

 

~Barb

Votes

Translate

Translate
Community Expert , Mar 20, 2023 Mar 20, 2023

Initially it didn't have a character style on it, and the colour was still showing up in the TOCs.

 

That means that the colour was added as a local override. In which case even Barb's approach won't work. The only way to get it to work is to add the character style in the text before you generate the TOC (in Barb's book approach) or, if you stick to a single-document approach, to remove the colours from the TOC.

Votes

Translate

Translate
Community Expert ,
Mar 20, 2023 Mar 20, 2023

Copy link to clipboard

Copied

InDesign's TOC doesn't cater for the removal of character styles (or footnotes, index markers, inlines, etc. etc.). You have to remove the character styles manually, which is simple enough.

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
Engaged ,
Mar 20, 2023 Mar 20, 2023

Copy link to clipboard

Copied

Initially it didn't have a character style on it, and the colour was still showing up in the TOCs.

I then created a charater style for it afterwards.

I have taken the character style off but it is still the same.

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 ,
Mar 20, 2023 Mar 20, 2023

Copy link to clipboard

Copied

Hi @Summayah5FC7:

 

Alternatively,  you can put the TOC in its own .indd file, and pull the two files together as an InDesign book. This will allow you to redefine the character styles in the separate document to not change the color (or anything) else and they will fade into the background. You cannot do this if the TOC and the source paragraphs are in the same file.

 

https://helpx.adobe.com/indesign/using/creating-book-files.html

 

~Barb

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 ,
Mar 20, 2023 Mar 20, 2023

Copy link to clipboard

Copied

LATEST

Initially it didn't have a character style on it, and the colour was still showing up in the TOCs.

 

That means that the colour was added as a local override. In which case even Barb's approach won't work. The only way to get it to work is to add the character style in the text before you generate the TOC (in Barb's book approach) or, if you stick to a single-document approach, to remove the colours from 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