Reply To: using GREP style for format table of contents

Home Page / Forums / General InDesign Topics (CLOSED) / using GREP style for format table of contents / Reply To: using GREP style for format table of contents

#65258
David Blatner
Keymaster

I think there is a basic misunderstanding here. If you are just trying to make the word Chapter and the number bold (or whatever different style), then you should probably just set it up with a Nested Style, not a Grep Style. Nested Styles are good for things like “from the beginning of the paragraph to…” and they’re way easier to create. Do a search for Nested Styles to learn more.

Also, at the beginning of this thread you said you wanted it to apply to the word chapter, then the number, then a dash, then the title of the chapter. That’s why it was so tricky. If you just want to search for “Chapter X” (where X is a number, you could use the grep: Chapter \d+? which searches for the word Chapter followed by a space followed by one or more numbers.

This article was last modified on September 12, 2013

Comments (0)

Loading comments...