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

TOC and character styles

Guru ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

question.

i have a heading with a paragraph style. i made a Grep to apply a character style:

Screen Shot 2021-07-01 at 1.34.56 PM.png

 

I have a TOC that is displaying that word in bold italic,:

 

Screen Shot 2021-07-01 at 1.35.26 PM.png

but i am telling it to apply italic:

Screen Shot 2021-07-01 at 1.35.41 PM.png

 WHY is the TOC doing this?

thank you

 

TOPICS
How to

Views

202

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

@JonathanArias Hmmm. Could be just that headline sentence (Key features...) is wonky. I've had to retype the text directly in sometimes to fix this. Assuming it's only happening in your TOC to this specific heading, try taking off the GREP style as a test. Highlight all the H2 text on that page and reapply the H2 style (which I'm assuming is in bold), making sure there are no character overrides. Then, apply the italics portion via a character style. Regenerate TOC. Let us know! Oh - and I'm sure you checked that your TOC style doesn't have the GREP style applied?

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 ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

Hi,

please show the register General and Basic Character of your "toc subhead" style and the same of your "ital" style. And another one of selected text in "toc subhead" with visible character and paragraph panel.

 

Or do you have a sample file with a more appetizing theme for 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
Guru ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

i do have a layout on Chlamydia, Trichomoniasis and rectal cancer.

 

what can i say? This is how i pay the bills. i created medical training materials for Pharma companies. i know. the subject matter is difficult.

 

thank you for your help.

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 ,
Jul 02, 2021 Jul 02, 2021

Copy link to clipboard

Copied

Hi Jonathan,

inspect both character styles.

FWIW: Your GREP pattern should be:

N\. gonorrhoeae

 

It should work like that:

TOC-No-GREPStyle-issue.PNG

 

Download my test document from my Dropbox account:

https://www.dropbox.com/s/2tdwzeg3pqqm2gy/210702-1-TOC-No-GREPStyle-issue.indd?dl=1

 

Regards,

Uwe Laubender

( ACP )

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
Guru ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

ok, why is my grep incorrect? i am still learning

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 ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

LATEST

A dot denotes any character.

If you want a dot you have to escape it.

 

See "Any Character" in that list:

https://helpx.adobe.com/indesign/using/find-change.html#metacharacters_for_searching

 

Regards,
Uwe Laubender

( ACP )

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
Guru ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

i think this is a bug. i clearned styled, applied them again. works.

 

 

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 ,
Jul 06, 2021 Jul 06, 2021

Copy link to clipboard

Copied

A dot in Grep means -> any character.

You have to "escape" the period to address a real dot character -> \.

 

 

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