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

Cannot figure out how to create a variable for two paragraph styles

Explorer ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

I have two paragraph tags/styles named Title and Subtitle.

I cannot figure out how to create a custom variable with the correct syntax for each. 😞

 

I want to put them in the header of each master page.

Views

247

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 ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

If I understand what you intend, FM has a feature specifically for that:
Insert » Variables… » Running H/F #
🖉 edit var to designate para picked up

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
Explorer ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

Well I tried that but does not work.

 

master.png

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 ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

What does not work? What do you see in the header?

Do you have a paragraph with this format in your body page?

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 ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

A more brute-force method is to create two variables, each containing just the raw text for the Title & Subtitle (and no other formatting or mark-up), and use those to populate both the various title pages, and the Master Page header/footers.

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
Explorer ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

I think I will try that, Thanks!

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 ,
Dec 03, 2022 Dec 03, 2022

Copy link to clipboard

Copied

LATEST

Yet another method is that header/footer MP content can also be Cross-References, perhaps in this case to title page content, format <$paratext>.
That will, however, create hypertext links to the source page, which you may or may not desire.

If there were only one way to do it, it wouldn't be FM.

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