🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.featurerequests
Article #11

Re: Grep Styles/Nested Styles from the end of the paragraph

#11
From: Dave_Saunders
Date: Sun, 08 Feb 2009 20:42
11 lines
1135 bytes
With the arrival on the scene of GREP styles, you can indeed now do directly my derunting as described on that page you referenced.

Now, if only my GREP were good enough that I could dash it off. After some fiddling about, I came up with this:

Create a No Break character style then apply it using a GREP style to:

[^\s]+\s+[^\s]+$

that will force the last two words of the paragraph to have no break applied to it.

Dave
Technical Details
Message-ID: <59b7d221.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b7d221.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe7f,dcad88564d6811f7
X-Google-Attributes: gid1efe7f,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.featurerequests
Subject: Re: Grep Styles/Nested Styles from the end of the paragraph
Message-ID: <59b7d221.0@webcrossing.la2eafNXanI>
Date: Sun, 8 Feb 2009 12:42:40 -0800
References: <59b7d221.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit