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

Adding a DITA element to footer

Explorer ,
Sep 04, 2018 Sep 04, 2018

Copy link to clipboard

Copied

I may be getting the terms wrong, but I am wondering if it's possible to insert an element in the footer or a FrameMaker template. I would like if possible to have my document number pull from the ditamap, rather than having to manually override the the document number in the master page of my template file. Is it not possible to add a reference or a variable to the footer, then have it populate from content stored in the ditamap?

TOPICS
Structured

Views

448

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 ,
Sep 12, 2018 Sep 12, 2018

Copy link to clipboard

Copied

Hoping to give this a bump. I think there may be a way to call an attribute in the footer, but not sure. I imagine there must be a way of doing this. Template files should hold variable and references, not manually inserted text.

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
Advisor ,
Sep 12, 2018 Sep 12, 2018

Copy link to clipboard

Copied

Matt,

    Running H/F variables can use the <$attribute[attname]> building block, but that only allows a file to reference an element in the current file.

       --Lynne

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
Participant ,
Oct 31, 2018 Oct 31, 2018

Copy link to clipboard

Copied

My current solution to this is to store an fm file containing the variables that I want the book to use for title, version, release date, etc., and then use import>formats>variables only to apply this to all elements in the book as a step during publication.

This method just uses FM variables, not DITA unfortunately, and I would prefer to pull directly from the DITAMAP like you describe, but I haven't found a way yet.

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 ,
Nov 01, 2018 Nov 01, 2018

Copy link to clipboard

Copied

LATEST

Thanks for the suggestions. I am glad I'm not the only one kicking this can around. I'm still learning about all the little tweaks needed to best publish DITA out of FrameMaker. The key is not to introduce too many native FrameMaker features that are not DITA compatible.

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