Copy link to clipboard
Copied
How can I crate a GREP that will underline a part of an entry in a table of contents?
I know how to bold certain words using a GREP but cannot figure out how to underline certai words!!
Any ideas???
It looks as if you are attempting to apply HTML-like formatting markup instead of applying an InDesign Character Style. That might work, in certain circumstances, but it's not the right approach.
Don't try to do anything else in the process. It should not be necessary.
And, since this is unclear: us
...Copy link to clipboard
Copied
This is absolutely correct. Nevertheless, additional (unapplied) attributes can be added with a grep style.
Copy link to clipboard
Copied
I figured it out! I was trying to create a seperate GREP style when I should of been creating the GREP in the actual Paragraph Style that I was using... i.e.: PARAGRAPH STYLE NAME: Table of Contents... GREP had to be added within this style, not as a whole separate Paragraph Style.
Copy link to clipboard
Copied
I figured it out! I was trying to create a seperate GREP style when I should of been creating the GREP in the actual Paragraph Style that I was using... i.e.: PARAGRAPH STYLE NAME: Table of Contents... GREP had to be added within this style, not as a whole separate Paragraph Style.
By @pcfiles
Yes, that's how GREP Styles in Paragraph Styles work - next to Nested and Line Styles.
It's on the screenshots for Steps 2) and 4) in the link I and @pixxxelschubser provided:
We all were under the impression, that you are doing it this way?
That's why we were asking for screenshots - to see what, where and how you were doing.
Copy link to clipboard
Copied
It was right there all along. 🙂
Very, very powerful feature that can automate many formatting needs; the only downside is that using very many GREP styles or one that applies to lots of text (such as all of the Body style, for example) can result in noticeable slowdowns or update lags, since it's a continuous process.
Copy link to clipboard
Copied
I figured it out! I was trying to create a seperate GREP style when I should of been creating the GREP in the actual Paragraph Style that I was using... i.e.: PARAGRAPH STYLE NAME: Table of Contents... GREP had to be added within this style, not as a whole separate Paragraph Style.
By @pcfiles
Yes.
That's exactly what I suspected yesterday.
😉
I don't think so.
It is more likely that he is not using the correct paragraph style in his table of contents …
By @pixxxelschubser