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

Please Help - Custom Variable format question

Participant ,
Sep 16, 2016 Sep 16, 2016

I am trying to create a custom variable that will display my custom paragraph tag ChapterTitle text in the header of my master page.

The definition of my variable is <$paratext[ChapterTitle]>   (although I've tried 72 other variations with no better luck)

The name of my variable is ChapterTitle.

When I insert this variable in the header, what it displays is:  <$paratext

Can someone tell me what I'm doing wrong? I CAN create a variable for the text of a particular paragraph tag, correct?? (I know there is a built-in chapter title variable, but I have dozens of .fm files that use this custom paragraph tag and I would rather not have to change all of them.) Built-in variables work, so it would appear that I am defining this incorrectly.

Thank you in advance!!!!

Diane

399
Translate
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

correct answers 1 Correct answer

Community Expert , Sep 16, 2016 Sep 16, 2016

Hi Diane: You want to redefine one of the Running H/F variables in this situation. If the paragraph tag is ChapterTitle, and if you redefine the first Running H/F variable (so Running H/F 1, but you can use any of the 18), it would look like this on the Master Page, and would display the text of the paragraph tagged with ChapterTitle in the running heads on the Body Pages.

VMware Fusionss_001.png

Translate
Community Expert ,
Sep 16, 2016 Sep 16, 2016

Hi Diane: You want to redefine one of the Running H/F variables in this situation. If the paragraph tag is ChapterTitle, and if you redefine the first Running H/F variable (so Running H/F 1, but you can use any of the 18), it would look like this on the Master Page, and would display the text of the paragraph tagged with ChapterTitle in the running heads on the Body Pages.

VMware Fusionss_001.png

Translate
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
Participant ,
Sep 19, 2016 Sep 19, 2016

THANK YOU!!!!! Goodness gracious. Some of the biggest problems have the simplest answers.

Translate
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 ,
Sep 19, 2016 Sep 19, 2016

re: Some of the biggest problems have the simplest answers.

But not necessarily obvious answers. The subtext here is that not all variable or general <[$]markup> constructs work in all dialogs that accept some such constructs.

I don't recall ever seeing a document that summarizes what works or doesn't work where.

When you see a literal $MyVariableName, or perhaps just nothing, on the final rendered page, you've usually (but not always) found a situation where what you're trying to do doesn't work the way you are trying to do it.

Translate
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 ,
Sep 19, 2016 Sep 19, 2016
LATEST

You are very welcome, Diane.

Translate
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