Skip navigation
Phil Handley
Currently Being Moderated

Can I edit the running head variable to select first word only?

May 23, 2013 2:30 AM

Tags: #variables #framemaker_9 #running_head #modifiers

We are using Framemaker 9.0 to generate a Company names Index as part of a large directory of manufacturers. I have set up master pages to automatically generate the first company name on left-hand pages and the last company name on right hand pages, which works fine.

 

Some of the company names are very long so my question is, can I modify the variable to place just the first word of the company name in the running head each time rather than the entire company name? Are there other modifiers similar to '+,' (selects the last entry on a page) that would create the desired result?

 

Thanks

 

Company_Names_Running_Head.jpg

 
Replies
  • Currently Being Moderated
    May 23, 2013 5:53 AM   in reply to Phil Handley

    > ... can I modify the variable to place just the first word ...

     

    Not that I know of.
    If I had this requirement, I'd take a look at either:

    • Use Running H/F 3 or Running H/F 4 to pick up abbreviated names from <$marker1> or <$marker2> at each name instance.
    • Use a uniquely-named run-in or side-head paragraph format, invisible text, to store the abbreviated name at each name instance, and pick that up with the Running H/F.

    You'll have to type in the abbreviated names in either case.

     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2013 7:42 AM   in reply to Phil Handley

    Consider dividing company names into two paragraph formats. Set the paragraph format for the short first part of the name to have the Run-in property. This makes the following paragraph start on the same line immediately after the run-in paragraph.

     

    The running head variable can capture the run-in paragraph. I don't have FM available, and I'm quite rusty on how to set up the Running H/F variable to pick up one of several specified paragraph formats, depending on which is present, but if it is endded possible to make this work, I'm sure someone with the expertise will step in and help with that. You'd want the beginning and ending variables to pick up the paragraph format that is applied to complete names that you don't want to abbreviate, except they should pick up the run-in paragraph format if it is present in the first and last entries on the page or spread.

     

    Yes, you'd have to apply the run-in paragraph format manually to company names you want to abbreviate. This is almost the same amount of work as creating <$marker1> markers and typing the short version of a name, but it avoids possible errors when typing names manually.

     

     

    HTH

     

     

    Regards,

     

     

    Peter

    _______________________

    Peter Gold

    KnowHow ProServices

     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2013 11:17 PM   in reply to peter at knowhowpro
    I'm quite rusty on how to set up the Running H/F variable to pick up one of several specified paragraph formats, depending on which is present

    Not something I do often either, with my current documents, but when I pluck my trusty FM 7.0 User Guide from the books next to me it shows up as style names separated by a comma. In the example, SectTitle and AppendixTitle are the style names

    <paratext[SectTitle,AppendixTitle]>

    Other contributors will, I'm sure, flesh out this basic info with explanations about which style is used if they both occur on the page, what happens when one of them appears halfway down the page, and so on …

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points