I am formatting a book in InDesign CS5.5. I would like to apply a character style to the first line of each chapter as well as to the first line of each chapter subsection. The yellow highlighted lines in the following two images indicate the lines in question.
I have applied a paragraph style (named “body paragraph”) to the body text; another paragraph style (“chapter title”) to the title: and a third (“section break symbol”) to the ellipsis glyph that divides chapter subsections.
I can create a modified body style (“body paragraph with nested line style”) in which I apply a character style (“yellow highlighter”) using the Nested Styles tab of the Paragraph Style Options dialog box. I would then go through the manuscript and manually apply this modified body style to the first paragraph of each chapter and chapter subsection.
I would prefer to use GREP within the “body paragraph” style to automatically apply the “yellow highlighter” character style, but I am not sure that this is possible.
Can GREP be used to select the first line of each chapter and chapter subsection?
Also, can GREP use paragraph styles to locate text? The first line of each chapter is preceded by text with the “chapter title” paragraph style followed by a hard return, and the first line of each chapter subsection is preceded by an ellipsis with “section break symbol” paragraph style followed by a hard return. If GREP can locate paragraph styles, then a “Positive lookbehind” may work.
Thank you for your help, and happy holidays!
