Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Unintended Repeating of GREP Style

$
0
0

I am using this GREP style

 

^.+?\.(?=\s\u)

 

to identify text in the beginning of a paragraph and then to apply a specific character style to that text. The GREP formatting needs to happen only once at the beginning of the InDesign copy block. Where I am running into trouble is when I edit the text using a hard or soft return, the GREP style is repeated, which is not what I want to happen. I need to be able to put in returns without having the GREP style repeat itelf. Here is a screen shot of an example.

 

Hightlighting the GREP style from within the Paragraph Style editor and then clicking the flyout menu button to the right of the code brings up a menu that includes options for controlling repeating, such as "Zero or One Time", but even when that is selected, the GREP style is repeated.

 

Is there a way to apply the GREP style just once per InDesign story, so that any subsequent hard or soft returns do not invoke the GREP style a second time?


Viewing all articles
Browse latest Browse all 238792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>