Skip to main content
Participant
Apr 1, 2025 2:32 PM UTC
Question

Running Header in FrameMaker — Subchapter Files Need Chapter Title

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!

    5 replies

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    Apr 1, 2025 10:10 PM UTC

    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]> 

     

    Translate
    David Creamer: Community Expert (ACI and ACE 1995-2023)
    Participant
    Apr 1, 2025 2:59 PM UTC

    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.

     

    Translate
    frameexpert
    Community Expert
    Community Expert
    Apr 1, 2025 4:39 PM UTC

    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.

    Translate
    www.frameexpert.com
    Bob_Niland
    Community Expert
    Community Expert
    Apr 1, 2025 5:42 PM UTC

    Perhaps Xref to chapter file where initially defined?

    Translate