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

Running Headers with single characters but no duplicates

  • This topic has 4 replies, 2 voices, and was last updated 11 years ago by Anonymous.

Return to Member Forum

  • Author
    Posts
    • #70975
      Anonymous
      Inactive

      Hi,

      Has anyone ever attempted a running header of the first character of a word at the start of a page, and the first character of the last word on the same page? BUT, if the two characters are the same, only one is shown?

      For example:

      Page 1
      A

      Page 2
      B–C

      Page 3
      C-F

      Page 4
      G

      I’ve used a GREP find/replace to assign a character style (“For Running Header”) to the first letter of each word using a particular Paragraph Style. Then defined the running headers to look for the first and last “For Running Header” character style. But I’m stuck making them hide duplicates, e.g. A-A. I thought a GREP style within the paragraph style might work but it won’t apply itself to the running header text (assumedly because it’s a variable and not ‘physical’ text?

      Any ideas?

      Many thanks,

      Justy

    • #70977

      I don’t think so. I’ve had similar jobs and I created a different master page for those instances. And on that master page, I didn’t use the second variable.

      This plug-in may work for you, but note that is costs money:

      https://in-tools.com/products/plugins/power-headers/

    • #70979
      Anonymous
      Inactive

      Many thanks, Dwayne. Saves me fruitless hours. That plugin looks handy. Might have to send them a mail and see if it will do what I want.

      • #70980

        ^^Yeah, it does look like it could come in handy. I’ve been considering getting it, but I will have to find out if there will be any error messages if someone else opens the file. The company I work for has several employees, and it’s very common for someone else to work on my files after I am done. I usually do first pass pages, and then someone does the corrections/edits for second pass a few weeks later.

        The ability for it to do a an italic version of the font in the running heads would definitley be handy as I am always forced to make a separate master page for running heads with an italic word in it.

    • #71016
      Anonymous
      Inactive

      Power Headers doesn’t work with InDesign CC 2014, at the moment. So I’m testing the demo in CS6.

      I can confirm that it will indeed do what I wanted. These notes might help someone else.

      1. Create a text box on the master page where your running headers will go
      2. Create a character style for the text that sits inside it, e.g. LH Run
      3. Assign a character or paragraph style to any text in your document that will be used to provide information for your running headers, e.g. the first character of a person’s name
      4. InTools > Power Headers > Label Header Frame, to give that text box from #1 a name, e.g. Header Frame
      5. InTools > Power Headers > Define Header Variables… New

      Variable style is the character style you created
      Header Frame Label is from #4, Header Frame
      The rest of the options are reasonably self-explanatory.

      However, the import things are to:

      Place some text in the header frame – it can be anything.
      In the Define Header Variable options, click on GREP Processors… create a new one and put:

      Delete Duplicates this is the GREP name (can be anything you like)
      (.)\1+ this finds duplicate characters
      $1 this leaves just one character if there’s a duplicate
      LH Run assigns the character style you made in step 2

      Now, click OK four times to get back to InDesign.

      InTools > Power Headers > Define Global GREP Processors… create a new one and put:

      Doubles this is the GREP name (can be anything you like)
      (.)(.) this finds two characters together
      $1–$2 this adds an em-dash between those two characters
      LH Run assigns the character style you made in step 2

      So it seems quite complex but once you’ve worked it out a couple of times, it’s actually rather simple.

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