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

GREP for Replacing Paragraph Break with space (not in FIND/CHANGE)

Return to Member Forum

  • Author
    Posts
    • #14363443
      Nathan Rule
      Participant

      I was wondering if its possible to create a grep in the Paragraph Style to replace paragraph breaks with spaces? I can do it in the Find and Change Query but for this purpose i would like it to always be doing this in the Style itself.

    • #14363444
      Massimo Carrassi
      Participant

      Grep code in paragraph styles (Grep styles) can only apply character styles to assigned patterns. For substitutions you always have to activate the Find/Replace

    • #14363445
      Nathan Rule
      Participant

      Aww darn!

    • #14363446
      Steve Davis
      Participant

      If you’re working on a book … how do you envision this working out?!

    • #14363448
      Nathan Rule
      Participant

      Im not working on a book. It is a specialized thing i was working on. When you copy and paste text from a PDF it autmatically keeps the formatting. So paragraph breaks are imported even if the sentance is continuing – Usually i run it through textcleaner.net but i was wondering if i could implement it as a grep inside the paragraph style.

      • #14363451
        Steve Davis
        Participant

        How do you plan on ending paragraphs?
        Just run a find/change.

    • #14363455
      Nathan Rule
      Participant

      They dont need an ending they are individual text boxes – You can see how the Paragraph Break when i paste the text retains some PDF formatting.
      The Find/Change works fine i was hoping to have it do it as it goes.

      Capture

    • #14363457
      Steve Davis
      Participant
      • #14363459
        Nathan Rule
        Participant

        Well thats an intersesting article.

      • #14363460
        Nathan Rule
        Participant

        It works, except for a every now and then. So in the example i posted it is clean however it still added a Paragraph break after the first letter, lol. Either way it still actually eliminates some other steps. Thanks for that its a grewat tip!

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