I can find each of these by performing a find/change operation for the particular paragraph style and I can assign all of these a character style for small caps so that part would go fast. What I cannot figure out is how to easily take the phrases that are entered as Title Case and make them all lowercase before I turn them all to small caps.
Can anyone point me to a script that would do this, or does anyone know how to do this with a GREP find/change or some other method so that I don't have to convert each of these individually?
Any help would be appreciated. Thanks.
--walton
--
walton harris
***
university of georgia press
designer & production specialist
> I can find each of these by performing a find/change operation for the particular paragraph style and I can assign all of these a character style for small caps so that part would go fast. What I cannot figure out is how to easily take the phrases that are entered as Title Case and make them all lowercase before I turn them all to small caps.
>
> Can anyone point me to a script that would do this, or does anyone know how to do this with a GREP find/change or some other method so that I don't have to convert each of these individually?
Use OpenType all small caps to force it w/o changing the underlying text.
William
--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.
http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php
Rebecca
>--
>you are subscribed to "InDesign talk" on Google Groups, to post: send
>email to indesi...@googlegroups.com, to unsubscribe: send email to
>indesign-tal...@googlegroups.com, for more options visit
>http://groups.google.com/group/indesign-talk
This seems to work in AppleScript:
tell application "Adobe InDesign CS5.5"
set find text preferences to nothing
set change text preferences to nothing
set applied paragraph style of find text preferences to "[name of your style]"
set theFinds to find text document 1
repeat with j from (count of theFinds) to 1 by -1
considering case
changecase item j of theFinds using lowercase
end considering
end repeat
set find text preferences to nothing
set change text preferences to nothing
end tell
Roy
William's solution would work well, except that the font in use is a PostScript Type 1 font and not an Opentype font, but it's good to know about this feature.
Rebecca's pointer to Harb's script (and the whole thread there) was enlightening, but before I could try anything suggested there, I saw Roy's script and used that. It worked like a charm for my situation. I am going to go back and reread the indesignsecrets.com discussion. It might be necessary if I were to be working with a more complex text file. But for now -- problem solved.
Hooray and thanks again. --walton
***
On Nov 18, 2011, at 3:26 PM, Walton Harris wrote:
> I have a lengthy book I'm working on that has several thousand entries that all need to be changed from Title Case to all small caps. Each entry has the same paragraph style (and no other text in the book uses this same paragraph style).
>
> I can find each of these by performing a find/change operation for the particular paragraph style and I can assign all of these a character style for small caps so that part would go fast. What I cannot figure out is how to easily take the phrases that are entered as Title Case and make them all lowercase before I turn them all to small caps.
>
> Can anyone point me to a script that would do this, or does anyone know how to do this with a GREP find/change or some other method so that I don't have to convert each of these individually?
>
> Any help would be appreciated.
>
> --walton