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

Finding first paragraph with specific style

Tagged: ,

Return to Member Forum

  • Author
    Posts
    • #96179
      Rivkah Lewis
      Member

      Is there a way (with GREP perhaps?) to located only the entire contents of the first paragraph within a certain style and change it to a different style?
      I have examples styles in a book and the editor decided that the first paragraph of the examples should not have an indent.
      So I input .+/r with to find the “example” style and replace with “example first” style.
      But that doesn’t limit it to the first paragraph only.
      If there’s a way to automate, that would save me a lot of time…

      Thanks!

    • #96183

      Rivkah, what makes the first para to the first para? If you can describe a rule for that (first para in a frame, first para after heading 1, first para in the story …), chances are good, that there is a solution with grep or a script. Please provide a example as idml.

    • #96187
      Rivkah Lewis
      Member

      First paragraph with style “example” applied.
      There is no unifying factor of what precedes it or what comes after.

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