3 Replies Latest reply on Oct 28, 2016 8:45 AM by PoorOldGrandad

    How to get GREP styles to work within Running Header Text Variables (IDCS5 & 5.5)

    Mattwbrt

      How do you get a GREP style to work within the Running Header (Paragrpah Style) Text Variable? My GREP style is working fine is every other paragraph style sheet in my file but I need it to work within my running heads as well.

       

      Mac OS 10.5.8

      ID 7.0.4 and 7.5

        • 1. Re: How to get GREP styles to work within Running Header Text Variables (IDCS5 & 5.5)
          BobLevine MVP & Adobe Community Professional

          Running heads and other text variables are considered a single character. There’s really no way around that without converting them all to real text.

           

           

           

          Bob

          • 2. Re: How to get GREP styles to work within Running Header Text Variables (IDCS5 & 5.5)
            Eugene Tyson Adobe Community Professional & MVP

            You could make various Running Head Character Styles - then insert them all in the Running Head in the correct order.

             

            You would then be able to GREP each variable.

             

            If that makes sense.

            1 person found this helpful
            • 3. Re: How to get GREP styles to work within Running Header Text Variables (IDCS5 & 5.5)
              PoorOldGrandad

              Create a paragraph style and three character styles. The first character style will be an empty style named after the text you don't want to change. For the second character style, it will be named after the text you want to change once it becomes a running header. Create GREP styles within the first paragraph style to sort out your source running header title appropriately into the two character styles.

               

              In my case I want to sort the text from TM and R symbols, so the GREP I have is:

              Apple Style: R and TM Header

              To Text: ~r|~d

              Apple Style: Header

              To Text: [\l\u]

               

              Then what you'll do is go to text variables and define two Running Header (Character Style) variables with the first two character styles. From there you can insert both running headers and then define one more character style with the formatting changes that you'll want applied to the text needing formatting. Apply this character style to the running header text that needs formatting within the master page or on a spread and save it as a library item for later use.

               

              I know this is an old post but I hope this helps anyone still looking for answers!