Running header across files
For arbitrary reasons you have successive files in an FM-book which should display the same header information, which is "taken" from a "first" file.
Let's display the situation in a diagram:
first file group |
second file group |
third file group |
||||||
File number | 1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Header contents | First header |
First header |
First header |
Second header |
Second header |
Third header |
Third header |
Third header |
Wim Hooghwinkel proposes a method which is less error prone than the method I have used so far.
Proposed methods
Method Wim Hooghwinkel | Method Klaus Daube (depreciated) | |
---|---|---|
Characteristic | Use markers | Use cross references |
First file: |
Define header text in marker: In this file define the header text with a
marker The contents of the maker is the header text. |
Set the title for
the header in the first file (e.g. format |
Reference title in master page: On the master page(s) of this file define the
header with the variable |
Define header by cross reference: Define the header text on the master page as
cross reference to the title |
|
Following file(s): In the following files where you want to have the same headers as in file one. |
Both on body pages and master pages you have the same situation as in file 1 (except for the marker contents). |
On the master page
use a cross reference to the title You may whisch to import the master pages from the second file into the following files. |
File with new header needed: Assuming that with file 4 we need a new header to be used also in file 5, do this: |
From file 4 onwards you set a new text in the markers. |
|
Advantages of method |
|
|
Disadvantages of method |
|
|
Further remarks | If you know the repeated header contents in advance (like a fixed set of headers) I’d use a condition setting to display the correct heading. |