🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16084

Re: "Bolding" all words before hyphen in classifieds...advice please?

#16084
From: Christine_Holzmann
Date: Wed, 15 Oct 2003 03:29
14 lines
2437 bytes
Wow...such a quick response already:)) Thank you...my hopes are already rising....

Initially, I had indeed thought it WOULD be resolved with ID 3, and if it is going to be, then we can wait because we plan on getting ID 3 asap anyway:) However, I had ALSO thought before that the number of words before the hyphen would always be the same in the listings (which would be easy to work with using ID 3's nested styles) but it is not. Will ID's nested styles still solve this problem even tho' there is a different number of words before the hyphen in each listing?

Let me answer your questions...
I am using a Mac.

Here is our workflow summed up:
We use a software program called CAMS to do all the classifieds. When we get the text file from the classifieds department with all the listings, it comes to us as a word doc file with the words before the hyphen in bold. We place it into ID, select all the text and apply the paragraph style to the entire listing (which changes everything to the correct font..Univers Condensed and adds in all the lines between the listings as well. Of course, applying this style removes the "bold" of those first few words.) We then select the headers (e.g. For Sale, Help Wanted, etc.) individually and apply the appropriate para style.

Each listing will always have that lead and will not ever consist of just a phone number.
It is an "em dash" and not just a regular hyphen.

Is there a way to select a large chunk of text and apply the script instead of applying it to the whole text block? (Or I guess the workaround would be for us to apply the script before applying the para style to the headers....or of course the script will not affect the headers at all since there are no hypens/em dashes in the headers.)
Technical Details
Message-ID: <2ccddd2c.2@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccddd2c.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,b3734101a930c616
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-14 20:37:49 PST
From: Christine_Holzmann@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: "Bolding" all words before hyphen in classifieds...advice please?
Message-ID: <2ccddd2c.2@webx.la2eafNXanI>
Date: Tue, 14 Oct 2003 20:29:45 -0700
References: <2ccddd2c.-1@webx.la2eafNXanI>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit