find and replace with different formatting

For all things Mellel

Moderators: Eyal Redler, redlers, Ori Redler

Post Reply
gerben
Read the guide!
Posts: 44
Joined: Thu Nov 17, 2005 1:00 pm

find and replace with different formatting

Post by gerben »

Hello,

I am trying to accomplish the following: find all occurences of a certain phrase in a doc and replace them with the same phrase but in italics.

I cannot figure it out with the manual... :?

Thanks,
Gerben
Reiner
Knows everything, can prove it
Posts: 475
Joined: Thu Oct 20, 2005 5:48 am
Location: Germany

Post by Reiner »

that's easy:

1. type the phrase you want to find into the find-field. (if it is not the same phrase in each occurence use find-expressions.)

2. insert "found expression" to the replace-field from the "insert element"-menu.

3. attach the format you want to the found expression. (I would recommend not to attach italics to it, but your style variation containing italics).

4. replace.

ready.
Reiner
gerben
Read the guide!
Posts: 44
Joined: Thu Nov 17, 2005 1:00 pm

Post by gerben »

Hi Reiner,

Thanks for the quick answer. I do not understand step 3, however: how do i "attach" the format?

Gerben
ozean
Knows everything, can prove it
Posts: 322
Joined: Thu Oct 20, 2005 12:28 pm
Location: Norway
Contact:

Post by ozean »

gerben wrote:how do i "attach" the format?
You mark the "found expression" widget in the search window and then select the style that you want to apply (for example by double clicking the style in the character style palette or choosing the style variation in the character palette – depending on what you want to do)
gerben
Read the guide!
Posts: 44
Joined: Thu Nov 17, 2005 1:00 pm

Post by gerben »

Ah, now i understand it. Thanks the both of you!

Gerben
Post Reply