21 Replies Latest reply: Jul 25, 2009 4:31 AM by Ildhund RSS

    overriding GREP styles with local formatting

    mattaca Community Member

      I have a document (can't remember where I obtained it) that indicates the order in which InDesign applies text formatting—in other words, what gets applied first, second, third, etc. According to this document, InDesign works in the following order:

       

      1. Text formatting in base paragraph style (applied first, takes last place)

      2. Nested line style

      3. Nested style

      4. GREP style

      5. Manually-applied character style

      6. Manually-applied local formatting (applied last, trumps all else)

       

      However, in my current document, I'm trying to override a GREP style with local formatting and it continually reverts to the GREP settings. The GREP style is set to find any fraction (\d\/\d) and apply the character style "bigger fraction." This turns on Opentype fractions and bumps the fraction up in size from 7 to 8 point. When I try to manually turn off Opentype fractions, it does nothing. When I try to manually change the size of the fraction, it does nothing. Only when I manually apply a character style (no fractions, 7pt) will it override the GREP.

       

      Does this mean the formatting order above is incorrect? The reason I need this work is because the paragraph is seeing the 0/5 in the middle of of the phrase "a 50/50 blend" and converting it to a fraction. This may also happen in other places with different paragraph styles, and I'd rather just manually override than have to set up multiple character styles to avoid this one issue.

       

      Any ideas?