[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: Ezra Steinberg <Ezra.Steinberg@xxxxxxxxxxxx>, FrameUsers List <Framers@xxxxxxxxxxxxxx>, Frame List <Framers@xxxxxxxxx>
Subject: Re: Globally apply char tags to text
From: Jay Smith <jay@xxxxxxxxxxxx>
Date: Thu, 04 Mar 1999 08:28:39 -0500
Organization: Jay Smith & Associates
References: <199903040005.QAA06835@mendelevium.Resonate.com>
Sender: owner-framers@xxxxxxxxx
Ezra, We do this regularly with FrameScript. It works great. We also do paragraph tagging based on contained textual content. The content may be something that appears naturally in the document or nonsense-text that was inserted specifically for this purpose as a crude form of tagging in a text editor or word processor (very easy to do in some cases with find/replace) -- then FrameScript can delete the nonsense text for you. Example: In a word processor find em dash and replace with two tags with a hard return between them; for a lead in paragraph situation... Horse - A beautiful animal with a really serious bite. Yields (in the word processor): HorseXXX YYYA beautiful animal with a really serious bite. FrameScript can para-tag thousands of these into lead-in paragraphs in a matter of seconds. As long as you have something in your text to grab onto, it can do the job. Jay Smith Ezra Steinberg wrote: > > I'm looking for a way to globally apply a specific character tag > to every occurrence of a particular word in a book. > > I tried applying the target character format to the first occurrence > of the target word in the book, then using Edit->Copy Special->Character Format > to copy the format to the Clipboard. Then I went ahead and started pasting > from the Clipboard using Find/Replace and "By Pasting". That applies > the character tag all right, but it also applies all the character > attributes of the specific instance that I selected when I did > Edit->Copy Special->Character Format. Since the character tag I'm > applying has most of its attributes set to "As Is", this is not the > behavior I'm looking for. > > (For example, I used Copy Special on a word already tagged with the target > character format that just happened to be 14pt Bold, but the character tag > itself has font size and weight set to "As Is". When I Find/Replace By Pasting > to body text that is 10pt Plain, the text does indeed get tagged with the > character tag but also gets converted to 14pt Bold.) > > On the other hand, if I use Find/Replace with To Character Format, I can set > the attributes I don't want changed to As Is so I change only the attributes > I want changed. However, the words to which I apply these changes don't get > tagged with any sort of character tag (which is no surprise, since the dialog > box that pops up when you select To Character Format doesn't let you select a > character format). > > Is there a way in the standard FM interface to do what I'm trying to do? > > Ezra > > ---------------------------------------------------------------------- > Ezra Steinberg Resonate, Inc. > Human Factors Engineer 385 Moffett Park Drive, Suite 205 > Senior Technical Writer Sunnyvale, CA 94089 > http://www.resonate.com USA > Voice: 408.548.5529 FAX: 408.548.5679 > ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **