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

Live Captions and GREP to change first line

Return to Member Forum

  • Author
    Posts
    • #14360252
      Jerad Walters
      Participant

      Friday, March 11, 2022

      Hello,

      I am laying out an art book where each tiff file I place has the following data, each appearing on a different line:
      Title of work
      Year painted
      Medium and size
      Usage

      for example:

      Mirador
      1981
      Inks. 60 x 100 cm.
      (Publisher: Pace-Minerva, 1983 calendar.)

      I have the Caption linked to a style sheet that formats everything the way I want except the first line, the name of the painting, needs to be ALL-CAPS and in the bold version. I have a character style for this, but I do not know of a way to have Grep apply that style to the first graph.

      For the record, the Photoshop metadata for each image is stored:
      Document title: Painting name
      Copyright notice: Year
      Description: medium and size
      Keywords: first usage

      I’ve tried nested styles, line styles, all sorts of things and I can’t get it to format just the document title to the bold all-caps. Am I just missing something obvious?

      Thank you!

      Best Regards,

      Jerad

    • #14360253
      David Blatner
      Keymaster

      Is all of that in a single paragraph, with forced line breaks? Or is each line a different paragraph? If the latter, then just make a “Title” paragraph all-caps and bold.

      You might want to use the “apply ___ then next style” feature if you have 4 different paragraph styles:

      Styles That Apply Themselves

    • #14360254
      Jerad Walters
      Participant

      Friday, March 11, 2022

      Dear Mr Blatner:

      Thank you for your quick reply. Each line is its own paragraph. So Live Captions are their own graphs? The issue is that with InDesign CS5 when I set up styles it looks like the one paragraph style gets applied to each piece of metadata. There’s no way to apply individual styles to each metadata as it comes in.

      I linked an image here. If it might help! Thank you!

      Best Regards,

      Jerad

    • #14360256
      Jerad Walters
      Participant

      Huzzah! Figured it out! All right!

      • #14360271
        David Blatner
        Keymaster

        I apologize because I did not catch that you were trying to do this with the Captions feature. That makes sense.
        Very glad you figured it out! What did you end up doing?

    • #14360312
      Jerad Walters
      Participant

      Hi Mr Blatner!

      I set it all as book face and put bullets in front of and after the painting title. Then in the style I added a GREP command:

      apply BOLD to
      ~8.+?~8

      then I applied the style “Very Small Bullet” to
      text: ~8

      with “Very small bullet” being .1 point, 1% width, no character color!

      Thank you again for your help!

      Best Regards,

      Jerad

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