Forum Replies Created
-
AuthorPosts
-
February 26, 2017 at 10:18 pm in reply to: Is it possible to control Type on a Path Options via styles? #92416
Chris Court
MemberAs an addendum to this… Object/Paths/Reverse Path seems to have the same effect as Flip in Type on a Path options. Its still not something I can control using styles (far as I can tell), but at least I can set a keyboard shortcut for it now.
C
February 13, 2017 at 11:36 am in reply to: Is it possible to control Type on a Path Options via styles? #92164Chris Court
MemberAlas, I thought as much. Thanks for the confirmation, David.
C
February 12, 2017 at 10:52 pm in reply to: Is it possible to control Type on a Path Options via styles? #92155Chris Court
MemberWhat I’d like to achieve is to be able to set the “Flip” option of the Type on a Path options via a paragraph style. I’m not seeing a way to do that (although it seems like the type of thing that ought to be controllable via styles), but hey, it wouldn’t be the first time I’ve missed something.
C
February 11, 2017 at 11:49 pm in reply to: Is it possible to control Type on a Path Options via styles? #92148Chris Court
MemberAnyone?
Chris Court
MemberThat has done the trick.
Thank you!
C
Chris Court
MemberFan of inDesign GREP that I am, this seems to me to be an ideal use-case for nested styles. Am I missing something?
C
Chris Court
MemberWell, that seemed to fix it. Thanks Michael!
C
Chris Court
MemberNo thoughts on this, guys?
C
Chris Court
MemberAlicia,
~r will search for the ® character
Then you just need to change the position attribute of the Basic Character Format panel of the Change Format field to superscript.
Off the top of my head, I can’t think of a reason not to do this as a GREP style, rather than a Find/Change, but whatever works for you, I guess :-)
Also, [bB]est [cC]hoice will be a slightly more efficient way of finding those words than (b|B)est (c|C)hoice, according to my well-thumbed copy of Peter Kahrel’s Grep in Indesign, which, incidentally, I can highly recommend as a reference for anyone wanting to learn more about GREP or using it on a regular basis.
Best
CChris Court
MemberDean… On forums like these it’s usual to start a new thread for a new question, but while we’re here…
Jdsc|Jfar|Jnl|Jsf|Tdsc|Tfar|Tnl|Tsf|Tjdsc|Tjfar|Tjnl|Tjsf|Tc|Ti|Tu
will find the codes you mention, however you will have an issue with the word “Tuesday” for example, as it contains “Tu”. To get around this try
\<Jdsc\>|\<Jfar\>|\<Jnl\>|\<Jsf\>|\<Tdsc\>|\<Tfar\>|\<Tnl\>|\<Tsf\>|\<Tjdsc\>|\<Tjfar\>|\<Tjnl\>|\<Tjsf\>|\<Tc\>|\<Ti\>|\<Tu\>
Which finds your codes only if they are discrete words, not if they are contained within other words.
Hope that helps.
C
PS. Alicia, I have a fix for your second question, but am at work right now… will answer you asap
Chris Court
MemberShould be easy. Try this GREP:
^.*your_phrase.*$
That looks for the start of a paragraph, followed by zero or more characters, followed by your phrase, followed by zero or more characters, followed by the end of the paragraph. So… if it sees your phrase, it will select the whole paragraph.
Then just tell the Change Format to set the color that you’re wanting.
Hope that helps.
CChris Court
MemberThanks for the explanation and suggestion, Peter. Every time I think I’m just getting a grip on GREP, something like this comes along and trips me up. All part of the fun :-D
C
September 2, 2015 at 4:08 pm in reply to: GREP incorrectly shifting italics over in found text #77845Chris Court
MemberIf you’re using a GREP find/replace to make changes to the captions, then I assume they must share a similar form?
In the example you gave, a Nested style like this should do the trick:
Style CAPTION_REG through 1 ,
Style CAPTION_ITAL up to 1 ,
Style CAPTION_REG through end nested style characterOf course, I’m not sure what you have named your styles, but you get the idea… apply regular caption char. style until the first comma, italic caption char. style until the next comma, then regular caption char. style until the end of the caption.
Apologies if I’m missing something.
C
September 2, 2015 at 12:23 pm in reply to: GREP incorrectly shifting italics over in found text #77839Chris Court
MemberIf you use a nested style (or GREP style, for that matter) rather than using a manual override to apply the italic character style, then it will solve your issue.
C
August 3, 2015 at 6:14 am in reply to: GREP: Different behaviour of positive lookahead/lookbehind #77097Chris Court
MemberWow, that did it. You guys are complete rockstars!!
I found that non-inDesign versions of GREP have a -v “invert switch” command, which I think may have gotten me there. However – and please correct me if I’m wrong – it doesn’t seem to be part of inDesign’s GREP spec.
Thanks again for your help, David and Jongware. This place is such a great resource.
Best
Chris -
AuthorPosts
