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

Nested Styles and GREP Help!

Return to Member Forum

  • Author
    Posts
    • #33867

      Hello! I work for a publishing company based in London, and my boss and I are currently trying to fix a nested styles problem that’s been bothering us for a while.

      We’re trying to set up the following text as a nested style:

      The first and last quotation mark, body text, and credit text all have different character styles applied to them. I have tried to arrange this into a nested style by setting the nested style to recognize the first character as “Green Quotation Mark” style, then recognize the following text as “Green Quote Text” style up to the next ” ‘ ” character. However, it doesn’t seem to recognize it. When I changed the single quotation mark to a double, “, it worked. But the magazine my company published must follow the style shown in the image above, so “s aren’t suitable.

      It should also be noted that there is no period at the end of the quote body text, and we’d like to get the quotation marks to line up with the text as shown in the image.

      If we could put together a nested style which would enable us to select the entire quote as plain text, and turn it into the style shown in the image above in a single click, it would really speed up production!

      Thank you for looking.

      –Rebekka

    • #33881
      Gert Verrept
      Member

      This one works for me, first nested style green quotation mark through 1 ‘ — second nested style green quote text up to 1 ‘ (the second quote) — third nested style, again the green quotation mark through 1 ‘ (the second quote). If you put a “shift-enter” after the second quotation mark, you can add the last nested style for the credit

    • #33929

      Hello gert.

      Thank you very much for your response. I gave this a shot, and it still didn’t work. As mentioned in the description above, InDesign will not recognize the ‘ character in nested styles.

      Furthermore, even if my InDesign did decide to recognize ‘ as part of a nested style, the quote text may include the ‘ character (in abbreviated words like “I’m”), so setting the nested style to include the quote body text up to the next ‘ character doesn’t always work.

      Do you think there may be a way around this?

      Thank you for your time.

      –Rebekka

    • #34135

      You could also try: (under your paragraph style>nested styles)

      apply ‘quotes’ through 1 character
      apply ‘body’ through 1 forced line break
      apply ‘quotes’ through 1 character

      Then add a forced line break after the end of the quote’s body – or you could replace ‘forced line break’ with ‘end of nested style character’ if you’re using line breaks in the quotes, that’d work as well.

      To avoid having to reference the quotation marks, use ‘1 character’ instead. It works on mine, but so does just using a quotation mark as the nested style cue. Hope this helps, if you haven’t sorted it out already!

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