Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Auto text formating for list

Return to Member Forum

  • Author
    Posts
    • #58433

      Could really do with some help on this one, my brain is having a complete blank. I'm sure its pretty straightforward but I need to do a global change the first line of each record in a long list. Each element of the list is on its own line with a end of paragraph at the end but there are two end of paragraph characters before the start of the next record. Is there a quick and easy way to make the first line of each of the records bold? Can easily search for the two end of paragraph symbols but how to I automatically select the next line only for emboldening? Hope that makes some sort of sense… all help much appreciated! ;)

    • #58438

      Easy-peasy, using GREP rather than the regular Find-and-Change. Search for this:

      (?<=rr).+

      and make sure the Change To field is entirely empty. Put “Bold” in the Change To Formatting field (or, even better, not the attribute “Bold”, but a character style with just this attribute).

    • #58441

      why have two paragraphs breaks? could replace those with single paragraph break and increase the space after, that way the space after and bolding the first line can all be part of the paragraph style, allowing you to change them as needed.

    • #58446

      Sure — that's even better.

      Again, using GREP, replace

      (?<=r)r(.+)

      and put this in the Replace With field, along with the new Paragraph Style name in the Formatting field:

      $0

    • #58452

      That would still leave you with two returns. You should put $1 in the Replace With field, not $0.

      Otherwise, all good!

    • #58454

      Jongware saying, D'oh!

    • #58455
      David Blatner
      Keymaster

      LOL, Theun!

Viewing 6 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads