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

Punctuation appear at the begining of the line

Return to Member Forum

  • Author
    Posts
    • #103569
      Lucian Shen
      Member

      Hi Guys:

      I’m now making a magazine, sometimes the punctuation always appear at the beginning of the each line. It kind of wasting time to check through the whole magazine to avoid this happen. So anyone have the idea how to avoid this happen? Using special GREP or script? Thanks a lot.

    • #103570
      Graham Park
      Member

      Try a GREP that lists all the punctuation to find and then replace with nothing. You can’t use [[:PUNCT:]] as it will find quote marks.
      Add more punctuation to the list to make it complete,

      Find
      ^\.|\!|\,|\:|\;|\?
      Replace
      Nothing

    • #103573

      Graham,

      When I read “beginning of line”, I don’t read “beginning of para”! … So …

      About the way you write your grep code, I prefer: ^[.,;?!:…] more readable! ;-)

      Best,
      Michel, from FRIdNGE
      michel.allio.fridnge@gmail.com

    • #103574
      Graham Park
      Member

      Michel so true, your syntax is much better.
      But why would punctuation split from the text unless there is a space separating it.
      If this is the case we could use

      .[[:punct:]]
      To apply NO BREAK
      Apply this in the paragraph style.
      This would keep the punctuation together with the text. But the real solution would be to remove the space that is causing the break.

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