Home arrow XML arrow Page 11 - Understanding and Creating FrameMaker Templates

Understanding and Creating FrameMaker Templates

Brush up on FrameMaker template components, including the Paragraph and Character Designer, and then dive into details on how to create your own custom template (from the book XML and FrameMaker by Kay Ethier, ISBN: 159059276X, Apress).

Author Info:
By: Kay Ethier
Rating: 5 stars5 stars5 stars5 stars5 stars / 18
July 20, 2004
  1. · Understanding and Creating FrameMaker Templates
  2. · Paragraph Formats
  3. · Pagination Properties and Numbering Properties
  4. · Advanced Properties of the Paragraph Designer
  5. · Designing Character Formats with the Character Designer
  6. · Master Page Layouts
  7. · Reference Pages
  8. · Table Formats
  9. · Cross-Reference Formats, Conditional Text and Creating a Simple Template
  10. · Creating Character Formats and Cross-Reference Formats
  11. · Modifying and Adding Master Pages
  12. · Creating a Double-sided Document
  13. · Adjusting Document Properties
  14. · Reviewing the Import Formats Feature

print this article

Understanding and Creating FrameMaker Templates - Modifying and Adding Master Pages
(Page 11 of 14 )

Modifying and Adding Master Pages

With the text formats done, it is now time to create the master pages for your cookbook. To make adjustments, select View>Master Pages to go to the master pages.

Because this document started as a new portrait document, there is one master page—Right. The default for portrait documents is to be single sided. After you get the Right page set up, the instructions will explain how to change the document to be double sided.

On the Right master page, you can see a large frame taking up most of the page. This is a template for a body page text frame. When you are on the body pages of a document, this is the text frame in which you create your document.

If you place your insertion point inside this frame, you will see 
 along the status bar (lower left corner of your document window). The flow is all of the frames connected together. On the body pages, this allows you to have many pages of a document connected, allowing text to flow from one page to the next while you type. Most documents are just one flow, and Flow A is the default.

NOTE If you plan to export to XML, keep all of your content in one connected flow. The Save As XML command only sends out your primary flow, and content in other flows is ignored.

Move your insertion point into the thin frame near the top of the page. This is an area you can use for your page header. It is a background frame, designed to be editable only on the master pages. Whatever is typed in this frame will appear at the top of every body page that uses this master page.

With your insertion point still inside the header background frame, type My Sample Cookbook, followed by a space.

Figure 3–20.
This shows text being entered in the master page header.

By default, the text in the header frame is using a Header paragraph tag, although this format does not have a matching definition in the Paragraph Catalog (which is why an asterisk appears in front of its name). Select the text (leaving the space not selected) and apply the Bold character format. Your header text should now be bold.

NOTE The purpose of leaving a space at the end of the paragraph is to have a cushion to keep the character format from running all the way to the end of paragraph mark. If a character tag is applied on an entire paragraph, it can sometimes cause an asterisk to appear—as if there is an override on the format. The space keeps the asterisk from appearing.

Hit the Tab key twice to move to the right edge of the frame. Type Page followed by a space. From the Special>Variable dialog box, insert the Current Page Number variable, followed by a space, the word of, and another space. Go to Special>Variable again and insert the Page Count variable. This will automatically display the page number and total page count in the header.

Figure 3–21.
A look at the finished header.

Open the graphics tools palette by clicking the  button along the right edge of your document window.

Select the Line tool, which is the second button down on the left side. Draw a line underneath the header background frame from edge to edge. To draw the line, click down at one edge of the frame and hold the mouse button down until it reaches the other edge. Then, release the mouse button to complete the line.

NOTE To keep the line flat, hold down the Shift key while drawing.

Add the footer information in the small frame at the bottom of the Right master page using the following instructions:

  1. Place your insertion point inside the text frame.

    Notice that the paragraph format is Footer on the status bar. It has an asterisk in front of its name because Footer is not in the Paragraph Catalog. Since it is only used on the master pages, it does not need to be listed in the catalog where those creating the document body might inadvertently use it.
  2. Click Tab once to move to the center of the frame.

  3. Type Copyright 2003 in the frame.

  4. Save your file.

This chapter is from XML and FrameMaker, by Kay Ethier (Apress, 2004, ISBN: 159059276X). Check it out at your favorite bookstore today. Buy this book now.

blog comments powered by Disqus

- Open XML Finally Supported by MS Office
- XML Features Added to Two Systems
- Using Regions with XSL Formatting Objects
- Using XSL Formatting Objects
- More Schematron Features
- Schematron Patterns and Validation
- Using Schematron
- Datatypes and More in RELAX NG
- Providing Options in RELAX NG
- An Introduction to RELAX NG
- Path, Predicates, and XQuery
- Using Predicates with XQuery
- Navigating Input Documents Using Paths
- XML Basics
- Introduction to XPath

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials