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

Help with Nested Style/GREP

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #14397979
      Audrey Hall
      Participant

      Hi! I’m having issues with a Paragraph Style. I notice that on some of the lines, when I apply the Paragraph style, it disappears within the text box, as if it’s outside of the box now/too long for the box. It’s not too long for the box.

      The Paragraph style has:
      GREP Style | Apply Style: No Break | To Text: .{10}$
      (Note: I then want the a character style to be applied on each paragraph up through the colon. I originally did GREP, but then changed to a nested style)
      Nested Style: Copy Emphasis (Character Style) through 1 :

      I cannot figure out why it would make the text disappear. I’ve noticed that sometimes it lets me do two lines of text and sometimes it does not. There are no keep options on and it doesn’t appear the No Break is causing issues. Any suggestions would be much appreciated!

    • #14397980
      Dhafir Photo
      Participant

      Actually the “No break” causes disappearance of text.
      Use this \w\K(?=[\w[:p*:]]+$) instead of .{10}$
      and use this ^[^:]+: instead nested style

    • #14397986
      Audrey Hall
      Participant

      Thank you! I used your tips and while at first it didn’t solve the issue, I decided to start fresh and make a new Paragraph Style from scratch and then add your recommendations and it’s all working now. Thank you!

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