1

I am re-typesetting a book to be published in its second edition. I have inherited the InDesign files from the designer who set the original book, and there are certain things that lead me to believe that… well, that the guy knew nothing about how to use InDesign.

One of these things is that every time there’s a header, the paragraph following the header (which is supposed to be in some sort of [Basic Paragraph] with no first-line indent style) has the same header style as the preceding header, only manually overridden to look like [Basic Paragraph] with no first-line indent.

Given that there are perhaps 250 or 300 headers in this book (and that the InDesign files have plenty of other problems apart from this), I would really, really like to be able to automatically change this. I am assuming a GREP find-and-replace is probably my best bet, but I cannot figure out any way to actually do it. Sadly, as far as I know, you cannot specify styles in GREP lookbehinds, and my InDesign scripting skills unfortunately leave an awful lot to desire.

Searching around, I find that this can be done with in-tools.com’s Style Utilities, but that’s $39 that I’d really rather not spend just for this. I will if I have to, but if there’s a free way, I would much prefer that.

Is there a (free) way—using GREP or otherwise—to search for multiple paragraphs in a row that have the same paragraph style applied, and then apply a different style to all but the first of these paragraphs?

1 Answer 1

1

If the paragraphs in question always have the same formatting, you could search using "Find Format" and replace with "Change format".

If you leave both the "Find what:" and "Change to:" boxes empty, InDesign will just change the formating of the text that matches the formating specified in "Find Format".

3
  • That would also change the headers themselves, though, and I did want to keep those in the header style. Feb 20, 2018 at 7:31
  • You can set both the Paragraph Style and the font size (or anything else) in you search, thus making sure the actual headers stay untouched Feb 20, 2018 at 14:25
  • Ah, that’s a good point. This was a while ago (and the book never actually happened), but I don’t think the paragraps I wanted to change always had the same formatting. I do think the headers did, though, so I could make a separate style for them first, change the headers to that style, and then delete the old style and replace it with the style I wanted. That ought to have done it. Feb 20, 2018 at 14:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .