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

Problem with Table of Contents Formatting

New Here ,
Apr 05, 2023 Apr 05, 2023

I've set up my table of contents using two levels of formatting.  Here is a preview.

Kolchak1946_2-1680711838018.pngexpand image

When I update the toc, it applies my Page Heading character style to one of the toc paragraph styles as you can see here.

Kolchak1946_0-1680711699687.pngexpand image

 

To solve this, I select all of the toc text and manually set the character style to "None" on the character styles panel.  As you can see, that fixes the text, but the leader and page numbers retain the Page Heading character style. 

Kolchak1946_1-1680711738871.pngexpand image

The only way to resolve it is to select each of the lines and clear overrides from the paragraph style.  I have to go through this every time I update the toc.  Any ideas what is causing this or how to fix it?

TOPICS
Type
404
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

correct answers 1 Correct answer

Community Expert , Apr 05, 2023 Apr 05, 2023

TOCs will pick up all character formatting in the paragraphs they collect. The basic solution is to not use any character styles (or overrides) in any heading that needs to be included in the TOC.

 

Translate
Community Expert ,
Apr 05, 2023 Apr 05, 2023

TOCs will pick up all character formatting in the paragraphs they collect. The basic solution is to not use any character styles (or overrides) in any heading that needs to be included in the TOC.

 

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
New Here ,
Apr 05, 2023 Apr 05, 2023

Thanks for the reply.  That did the trick.  I actually had a character style and paragraph style that were essentially the same thing.  I got rid of the character style to solve the issue.

I appreciate the help.

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 ,
Apr 05, 2023 Apr 05, 2023
LATEST

Great! This is an easy one. When a character format is needed in a heading and you don't want it in the TOC entry, it gets a lot messier.

 

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