Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


TOC and character styles

Adobe Community Professional ,
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

68

Likes

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
Adobe Community Professional ,
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?

Likes

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
Adobe Community Professional ,
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?

Likes

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
Adobe Community Professional ,
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.

Likes

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
Adobe Community Professional ,
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 )

Likes

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

Copy link to clipboard

Copied

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

Likes

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
Adobe Community Professional ,
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 )

Likes

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

Copy link to clipboard

Copied

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

 

 

Likes

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
Adobe Community Professional ,
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 -> \.

 

 

Likes

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