Skip to main content
Participant
April 1, 2025
Question

Running Header in FrameMaker — Subchapter Files Need Chapter Title

  • April 1, 2025
  • 2 replies
  • 348 views

Hi all, I’m using a .book file setup where each chapter and subchapter is its own file.

Here’s the challenge:

  • Each chapter file starts with a Heading1 paragraph for the chapter title.

  • Subchapter files do not contain a Heading1 — just content that belongs to the chapter. Each subchapter is Heading2. Heading3, etc.

  • I want a running header on each page (including in subchapter files) that displays the current chapter title.

I understand that the default running header variable (<$paratext[Heading1]>) only works within a single file, so in subchapter files it shows up blank because there's no Heading1.

What I’ve done so far:

  • Added a cross-reference on the Reference Page of each subchapter file that points to the Heading1 in the related chapter file.

  • Inserted the variable (<$paratext[Heading1]>) into the header frame on the Master Page.

  • After updating the book, this works: the header in the subchapter shows the correct chapter title.

The tedious part:

I have to manually insert a cross-reference in every subchapter file, pointing to its chapter file. This works great, but it feels repetitive — like something FrameMaker should be able to handle more easily, especially across a book file.

My question:

Is there a way to make this cleaner or more scalable?
For example:

  • Can I define a variable that’s truly book-scoped?

  • Or set this up once per chapter instead of repeating it per subchapter?

  • Or automate this somehow?

Any insight or best practices would be appreciated. Thanks in advance!

    2 replies

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    April 1, 2025

    I'm a low-tech type of person so I would use a low-tech solution.

    In the Subchapters, create a really small paragraph style in 2 pt (smallest you can go) white type that repeats the chapter title. Set the linespacing (leading) to 1 pt and 0 paragraph space above and below. 

    Create your running header/footer to use either style. For example:

    <$paratext[Heading1,Heading2]> 

     

    David Creamer: Community Expert (ACI and ACE 1995-2023)
    Participant
    April 1, 2025

    Additional context, apologies.

    The version of FrameMaker I am using is 17.0.5.

    Chapter 4 Title, with the Running Header variable.

     


    Subchapter 4.0.1 with the Running Header variable.

     

    Subchapter 4.1 With the cross reference described above.

     

    frameexpert
    Community Expert
    Community Expert
    April 1, 2025

    Only structured FrameMaker documents can carry Running H/F variables over from file to file in a book. This could be done with a script where you would use a Running H/F variable with a H/F marker. The script would walk through the book, and pick up the previous Heading 1 and insert a H/F marker with the correct text. Let me see if I can mock up an example and post a video.

    Bob_Niland
    Community Expert
    Community Expert
    April 1, 2025

    Perhaps Xref to chapter file where initially defined?