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

Remove Words from TOC Entries

New Here ,
Feb 27, 2023 Feb 27, 2023

Copy link to clipboard

Copied

I've got a large multi-section document with a TOC set up to grab the Header paragraph style. The problem is in some cases I don't want all the header information in the TOC entry. I've attached an image to show what I'm talking about. 

PatientCareManual_TOC_P1.jpg

For example in the Preliminary Section, I'd like the words Preliminary Information: to not show. As well as where there are numbers (1/2, 1/4, etc...) at the end of the entry. 

In the Adult Protocols section, I'd like Respiratory Emergencies: to not show, Cardia Arrest: to now show, etc... 

I know I can remove that with Find/Change but if I need to update the TOC, then I'd have to remove them again. 

I don't think Running Headers will work because the headers are not in the master pages. They change every few pages based on the information presented. 

Any suggestions would be appreciated. 
Thank You. 

TOPICS
How to

Views

535

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 ,
Feb 27, 2023 Feb 27, 2023

Copy link to clipboard

Copied

So in text, you have those extra words as well? 

 

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 28, 2023 Feb 28, 2023

Copy link to clipboard

Copied

Yes. The header text includes those words as well.

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 ,
Feb 27, 2023 Feb 27, 2023

Copy link to clipboard

Copied

You could try Grep Styles + Invisible as:

^.+?:\h

\h1/[24](?=\t)

 

(^/)  The Jedi

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 28, 2023 Feb 28, 2023

Copy link to clipboard

Copied

Thank you. I'll give that a try. I was trying to figure out Grep Styles. So in the Grep Styles do I indicate the words/numbers I want to remove? If so, where would that input be?

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 ,
Feb 28, 2023 Feb 28, 2023

Copy link to clipboard

Copied

LATEST

Hi @Mina240880936zj2:

 

Two other (less elegant but easy) options are to add the actual heads you want (i.e., Overview, Acknowledgements) to the document, but either set them so that the words are on the pasteboard with just part of the frame overlapping the page and grab them for the TOC or add them to the page but on a layer designated as non-printing.

 

~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