suppressing the header char style when making TOC

Explorer ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

Hi all,

 

I have the header style, formatted generally as bold:

chapter3 title example

however in some cases i have a words in the titles which I have to additionally marked as italics:

chapter 4 title example italic word

To do this I apply a character style called bold-italics.

 

These headers are included in TOC, of the run in layout, where the corresponding TOC style is formatted as regular:

 

chapter1; chapter2;chapter3 title example; chapter 4 title example italic word

 

The word italic appears in TOC with the char style attributes of the header style, as the corresponding TOC style inherits the char style of the header style.

I've tried to use the GREP within the TOC style applying the char style [none] to the word italic, but for unknown reason it doesn't work.

Any idea of how to supress this automatically?

 

 

TOPICS
How to

Views

77

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 ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

Hi Mike,

I can see one solution:

[1] Add a text variable that picks up the headline's contents. Do that with a Running Header type of text variable.

[2] Let the TOC pick up the contents of the running header.

 

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
Explorer ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

Hi Uwe, 

 

Can you be more precise, as I 've never use variables in TOC

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 ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

Well, yes.

Perhaps it's better to show you a sample document. Download this one from my dropbox:

https://www.dropbox.com/s/f2fuii22fpe1cpn/220207-1-TOC-Entry-No-Character-Style-2022.indd?dl=1

 

TOC-picks-up-contents-of-Running-Header-1.PNG

 

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
Explorer ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

thanks, got it.

 

I'm afraid however it does'n solve my issue. Key point is that my TOC is run in. Hence introducing new style (variable) breaks the layout.

 

rgds

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 ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

Hi Mike,

could you provide a sample document?

I'd like to see if we can solve this issue for you.

 

Thanks,
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
Explorer ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

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 ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

LATEST

Hi Mike,

thank you for the document. Somehow I missed your reply.

Can look into it tomorrow.

 

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