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 End of Sory character

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #71908

      I am using a GREP paragraph style in conjunction with Data Merge to make words or even whole paragraphs effectively disappear if the right conditions are met. It does this by reducing the font size and scale to the minimum and setting the character colour to None.

      In order to make paragraphs disappear I am capturing the “End of Paragraph” character in the GREP style. My problem is that if the paragraph is the last in the story, I need to include the “End of Story” character to achieve the same effect. This wouldn’t be a problem, except that on bottom justified text frames, I am left with a blank line at the end. I am including the “\Z” in my GREP code but this isn’t working. Am I doing something wrong or is this not possible?

      Any help would be much appreciated.

    • #71918

      Have you tried adding a dot before the \Z (e.g. “.\Z”)? No guarantee but it would be something I would try.

      I’m a big fan of using a “Disappear” character style in the manner you describe. I hope you can get it working.

    • #71931

      Hi Kenneth, I do have a text pattern in front of the \z but your reply prompted to look at it again and it now works as intended, so thank you!

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