Skip to main content
Known Participant
November 18, 2009
Question

Variables for all .fm files on the .book

  • November 18, 2009
  • 1 reply
  • 534 views

Is it possible to create a variable for displaying a date over all .fm files contained on a .book?

My .book structure is the next:

Catalog.book

-Title.fm

-Index.fm

-Content.fm

Each time I need to update the date of the catalog, I should edit the master page of index, and both master pages (left/right) of the content.

Is there an easier way to make those changes?

By the time I have a variable called 'revision_date' in both files, but I must change them twice.

Thanks in advance

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 18, 2009

    Is there a reason you are not using the system variable "Modification Date?"

    More direct than creating your own user variable, and system variables are present in all files -- they work automatically, but it may not update until you save the file, which confirms the modification.

    RaulM21Author
    Known Participant
    November 18, 2009

    There are two reasons for not using it:

    1: My german boss oredered us to input the date manually. They doesn't understand that if you don't modify anything, mod.date doesn't changes.

    2: If I make a change only at content, then the date is updated at content.fm but not at index.fm.

    Thank you.

    Inspiring
    November 18, 2009

    1. Educate him. Point out that the system variable is intended to overcome human mistakes....

    2. a. Either in one of your working files or In a new, separate file, create a unique paragaph tag -- ModDate, for instance --. Insert the Modification Date variable as the only content.

        b. Insert a cross-reference from your working file(s) to the ModDate para tag.

        c. Whenever you open and Save the file with the date-controlling variable, the change should ripple into all files that use that as the source for the cross-reference.