Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

GREP for bold and italic

Return to Member Forum

  • Author
    Posts
    • #64154
      Gert Verrept
      Member

      Hi,

      I've made a grep for finding numbers followed by latin “bis, ter, etc”. I use a char style “italic” for the latin suffix. This works fine, but when the text is already “bold”, the suffixes become “italic”, but not bold (because of the char style used, indeed). Is there a way to do this in one grep (a number in char style bold followed by a latin suffix should become bolditalic), or does this need some scripting and should I post it on the other forum (or two separate greps)?

      Gert

    • #64178
      Hopsa Rijnen
      Member

      As you allready thought; build two GREPs but each in it's own paragraphstyle, much easier to my experience for a case like this.

    • #64193
      Gert Verrept
      Member

      That's the problem, things occur in the same paragraphe, so a second paragraphe style for the same paragraphe is difficult to achieve. The F&C option works fine for short documents, but for docs with over 150 pages (and an almost impossible deadline) it's much too slow.

    • #64194
      Hopsa Rijnen
      Member

      Couldn't you do it with two different searches? (or as many as the suffixes)

      The first witin the bold fontstyle?

      The second in the regular/roman fontstyle (i assume that it is like that?)

      You can GREP search in the different fontstyles, there are no Character or paragraph styles needed.

      Make sure you use a positive lookbehind for the numbers, or a streetname that called Bismarck (for instance) will have bis standing in italic.

      That must still be easier than manually changing them

Viewing 3 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads