Search anything (e.g. in CAPS) and change to small caps

Everything related to our flagship word processor.
Post Reply
thyx
Posts: 8
Joined: 2008-05-27 08:39:25

Search anything (e.g. in CAPS) and change to small caps

Post by thyx »

Dear all,

so, my issue is the following:
is there an automatic way to replace words found by find/replace by small caps?
In my case, it's glosses consisting of 2 or more CAPS. I'm able to find them with the GREP/Powerfind search.

But I haven't found a way to
1. change the format of found texts
2. more specific: CAPS to small to small caps.

That's all I need to be a really glad linguist. (okay, some more pages in my thesis would help, too)

Macros are welcome, too.

Many thanks in advance,

Thomas

PS I just bought NW Pro… major reasons being by now the flexible and intuitive way of managing lists, adding cross-references and customizing every single shortcut inside NW Pro. (and that Mellel still hasn't introduced the mythical cross-reference feature of v2.5 that will appear soon… for over a year)
I've been using NeoOffice but refrained from cross-references because it seemed necessary to build my own little database format. I suspect OpenOffice isn't much easier.
Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: Search anything (e.g. in CAPS) and change to small caps

Post by Kino »

thyx wrote:In my case, it's glosses consisting of 2 or more CAPS. I'm able to find them with the GREP/Powerfind search.

But I haven't found a way to
1. change the format of found texts
2. more specific: CAPS to small to small caps.
Something like this should work.

Code: Select all

Find All '\b[[:upper:]]{2,}\b', 'E-i'
Menu ':Edit:Convert:To lowercase'
Menu ':Format:Character Case:Display as Small Caps'
If you prefer something shorter...

Code: Select all

Find All '\b[[:upper:]]{2,}\b', 'E-i'
To lowercase
Display as Small Caps
thyx
Posts: 8
Joined: 2008-05-27 08:39:25

oooh… Okay.

Post by thyx »

Many thanks, Kino.

Yes, obviously I haven't even tried "Search All".
Cool, that that works like in TextWrangler, e.g. … oh, just like in NeoOffice.
:oops:

Probably, I've just missed that in Word all those years, too…

Well, thanks a lot!

Thomas
Post Reply