Everything preceding an em dash (including the em dash and two spaces after the em dash) would be set to bold-italic, AND everything in the paragraph that begins with the word ''NOTE:'' until the end of the paragraph would be regular-italic.
Here is a sample of the kind of text I want to format with one style:
OPERATOR PANEL - The operator panel is located on the right-hand electrical enclosure. NOTE: Not all equipment will have the same operator panel. Refer to schematics for additional information.
''OPERATOR PANEL - '' would be all bold (or bold italic). The body text is regular. the ''NOTE: Not all .... '' to the end would be regular-italic.
Any help or direction to a web-site with examples would be appreciated.
Thanks in advance.
RPP
Creating a GREP style Help Needed
I've not done any GREP styles yet, but I'm not sure you can do both things with a single style. You can, however, do the first part using a regular nested style, leaving just the Note stuff to GREP.
For the first part, your first nested style would apply through 1 em dash. Then repeat that style through two spaces.
Peter
Creating a GREP style Help Needed
It's easier than you think.
Peter's suggestion of a regular nesting style might work, except that it's
i always
applied to each paragraph you apply it to. That's just what the Grep styles are for:
i conditional
stuff.
The 1st half: Apply Style: Bolded To Text: ^.*? ~=
(there should be another space after the '=')
The 2nd half: Apply Style: Italicized To Text: NOTE:.*$
These are both pretty much basic GREP expressions -- except for the ''~='', that's Adobe's --, so just about any google to a GREP repository can explain them. I already knew the basics, but
this page taught me some new tricks.
Thanks for info. I will try this as soon as I can.
RPP
Peter-
A number of times you have replied to my posts, and I want to thank you for you assistance.
Regarding GREP for creating custom paragraph styles, you are mistaken (sorry to say, because you are so helpful).
jongware's post was just what I needed.
With GREP styles you can have all kinds of conditions in your paragraph styles.
there is an interesting video at: http://www.creativetechs.com/iq/video_clip_indesign_cs4_grep_styles.html
Thanks again.
RPP
jongware-
Thanks again. It worked perfectly!
RPP
Thanks for letting me know. In my defense, I did say I haven't used GREP styles yet, but I'm finding GREP in general to be really useful.
Peter
Hi everyone,
I recently updated my GREP cheatsheet, and it is posted for download here:
http://www.jetsetcom.net/images/downloads/list_of_grep_symbols.pdf
I hope this helps everyone come to know GREP better,
Mike Witherell in Maryland
Wow, Mike. Thanks!
No comments:
Post a Comment