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?
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 )
Copy link to clipboard
Copied
Hi Uwe,
Can you be more precise, as I 've never use variables in TOC
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
Regards,
Uwe Laubender
( ACP )
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
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 )
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi Mike,
thank you for the document. Somehow I missed your reply.
Can look into it tomorrow.
Regards,
Uwe Laubender
( ACP )