Highlighted

Please Help - Custom Variable format question

Explorer ,
Sep 16, 2016

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Barb Binder | Adobe Community Professional

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

Views

144

Likes

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

Please Help - Custom Variable format question

Explorer ,
Sep 16, 2016

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Barb Binder | Adobe Community Professional

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

Views

145

Likes

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
Sep 16, 2016 0
Adobe Community Professional ,
Sep 16, 2016

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Sep 16, 2016 1
Explorer ,
Sep 19, 2016

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Sep 19, 2016 1
Adobe Community Professional ,
Sep 19, 2016

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
Sep 19, 2016 0
Adobe Community Professional ,
Sep 19, 2016

Copy link to clipboard

Copied

You are very welcome, Diane.

Likes

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
Reply
Loading...
Sep 19, 2016 0