Automating Master Page Usage
You can automatically apply master page layouts to body pages in a document that contains particular paragraph tags (unstructured) or elements (structured). For this example, let's suppose that a master page named First is applied each time text tagged with the paragraph tag Heading1 appears in a document.
Using the Mapping Table
Use the mapping table found on reference pages to specify those master pages you want applied to body pages containing particular paragraph tags. If you begin a new FrameMaker document, the mapping table may not be present.
To create a mapping table, follow these steps:
Select Format, Page Layout, Apply Master Pages. A message window appears as a reminder that all master pages will be reapplied, overriding manually applied master page layouts. Because the mapping table does not exist yet, no changes occur.
Click OK to continue. A mapping table (see Figure 4) is created on the next available reference page.
Figure 4 A mapping table enables you to automate master page usage in a document.
To set up the mapping table, do the following:
Switch to reference page view (choose View, Reference Pages). Page forward to the reference page named MasterPageMaps.
The mapping table includes a one-header row and a one-body row. To add additional rows, click in the body row and press Ctrl + Enter (Win); or select Table, Add Rows or Columns.
If you plan to automate master pages with book file updates, type Yes next to Book Update (Yes is the default).
Paragraph Tag Name: Type the paragraph tag name that you want to correspond to a particular master page. Pay attention to paragraph tag name spelling and case.
Right-Handed Master Page: Type the master page name you want applied to a right-hand body page each time a paragraph tagged with Heading1 is found in a document on a right-hand page. If documents are double-sided, you must also type a master page name under the Left-Handed Master Page column, or else the Right-Handed Master Page you specified is used. Pay attention to master page name spelling and case.
Left-Handed Master Page: Type the master page name that you want applied to a left-hand body page each time a paragraph tagged with Heading1 is found in a document on a left-hand page. If a left-handed master page is not specified, the right-handed master page is used.
Range Indicator: Type either Single, Span pages, or Until changed.
Applying Master Pages in a Single Document File
When the mapping table editing is complete, you can automatically apply master pages at any time in a document. If you make changes to the mapping table later, you must reapply master pages to update the document.
To apply master pages, follow these steps:
Select Format, Page Layout, Apply Master Pages. A message window appears as a reminder that all master pages will be reapplied.
Click OK to continue. The master pages are applied to body pages containing paragraph tags, as specified in the mapping table.
Applying Master Pages In a Book File
You can automatically apply master pages to one or more files included in a book file.
To automatically apply master pages in a book file, do either of the following from a book file window:
Press Ctrl, and click one time on each file in the book list to select it; then choose Format, Page Layout, Apply Master Pages. Use this method to apply master pages to selected files only.
Select Edit, Update Book. The Update Book window appears. Click Apply Master Pages to toggle on and then click Update. Use this method to apply master pages to all the files included in book.