• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Variable not detecting the chapter title

New Here ,
Oct 02, 2024 Oct 02, 2024

Copy link to clipboard

Copied

Hello, all,

I'm editing a book with multiple chapters. In order to use the chapter files as templates for similarly named chapters in other books in the series, I'm putting each chapter title (using the Heading 1 paragraph style) in a text frame on the first master page. To get the chapter number and title to appear in the footer on each even-numbered body page, I created the variable "Running H/F 1", and defined it as follows: 

Chapter <$paranumonly[Heading 1]>: <$paratext[Heading 1]>

 

This definition works perfectly in Chapter 1, but in chapter 2 what appears at the bottom of each even-numbered body page is  "Chapter : " obviously the variable isn't seeing the chapter number and title. I've tried a number of things, including importing all formats from Chapter 1 into the Chapter 2 file, but the problem persists. Can anyone tell me what I'm doing wrong?

 

All suggestions gratefully appreciated.

TOPICS
Formatting and numbering , Getting started

Views

131

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2024 Oct 02, 2024

Copy link to clipboard

Copied

Something on the Master page for that second chapter?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

Hi, @gary_3792 ,

having a look on your chapter 1 and chapter 2 files would be helpful.

For download would be best.

 

And beside the question of @Jeff_Coatsworth why are you putting a heading-text on a masterpage?

Anything you put on a master-page will appear on every body-page connected to that master-page.

And a "Running H/F" is looking for text on a body-page not a master-page-element.

So what are you trying to achieve with putting the heading on the master-page?

 

Regards

Stephan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

LATEST

Hi Gary:

 

It sounds like chapter 2 isn't finding the exact paragraph style match—remember that FrameMaker has zero tolerance for typos/type inconsistencies. The first thing to double check is that Headling1 is spelled exactly the same way in both documents. (Heading 1,  heading1 and Heading1 are all seen as different styles to FrameMaker). And then double check that the first paragraph is actually been assigned the correct spelling of Heading1.

 

There should be an easy fix so if that's not enough information, definitely either share a file or share screenshots that document the spellings.

 

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines