|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Creating FrameMaker TemplatesBy Mayur Polepalli Before You BeginThe following article is for advanced FrameMaker (FM) users. It does not talk about detailed tasks, but is conceptual in thought. Key words which display the appropriate help topic for further assistance have been included. (Key words are italicized in brackets.) A few tasks need to be completed before you begin creating an FM template. You must remember, a template needs to be robust, scalable to meet all your requirements, and easily usable by others. You need to actually answer the following questions on paper. Keep it in front of you at all times while creating your template. This is your requirement and your template MUST satisfy all the conditions. It is very likely that this list will change. You might even have to rework on the template after you create a book. QuestionnaireAnswer the following questions with utmost detail.
Starting a New TemplateIn FM, a template is no different from a document. A recap of the various elements is listed as follows:
Creating a Foundation for the TemplateThere are two ways to start creating your own template. The first is to create a template from scratch using a blank document. The second method is to take an existing template and tweak components to suit your requirement. Changing, Adding, and Applying Master PagesIn FM, you primarily work with body pages. However, while creating a template, you need to work with master pages. Following are a few tips that will help you while working with master pages:
Creating or (inconsistent use of and/or. Consider revising for consistency) Editing Custom Master PagesRefer Creating and (or?) editing custom master pages WHERE? This sub section IS about creating and editing. Check cross reference. Mismatch in flow of content. Once you create these pages, apply them to the body pages. With structured FM (7.0 or higher), you can additionally set up a master page mapping table to match the use of certain paragraphs or elements to page layouts (Master page mapping table). Working with TagsIn FM, there are three kinds of tags—paragraph, character, and table. A similar process can be followed to create these tags with some minor differences. Let me begin with the similarities. Once you have decided on the character tags that you require, name all of them. It’s a good practice to assign intuitive names. For example, a bold tag, and not Potrezebie. Also, avoid using spaces in these tags and maintain consistency in the case you use. All TagsChanging Existing Tags Instead of creating new tags, it is more practical to tweak existing ones. To change an existing tag to create a new tag, change the properties of an existing tag and rename it. Adding Custom Tags You can also create tags from scratch. (Creating new formats) Paragraph TagsChanging and Adding Paragraph Tags Some of the options that you will need to use while creating new or updating old tags are:
Creating Tags for Lists Lists, numbered or ordered, are slightly more complicated to create. The numbered1 and numbered tags might take a while to understand. However, they are required in most documents. (Formatting text as bulleted lists, Formatting text as numbered lists) Table TagsChanging and Adding Table Tags Table tags are different from paragraph and character tags. For example, tables can have different shading for heading and footing rows and you can specify where the title of the table must appear. (Creating table formats). Tables can be used as placeholders for notes and the like. Changing, Adding, and Inserting VariablesFM has two kinds of variables – system and user. As a template designer, you would need to define user variables. The most commonly used user variables are:
This is when you can design your headers and footers. Use variables to decide on the format. Create a global H/F format to support all your chapters. Adding and Applying Conditional TagsConditional tags are a powerful feature of FM. It permits you to have multiple views of the same document. For example, one view can have images and the other can exclude all of them. Conditional tags can be used to mark comments, track revisions, and insert watermarks (alpha release, beta, draft, and so on). You can Show/Hide tags to create a custom view. This avoids the need for multiple documents, and the savings in terms of maintaining, editing, and reviewing multiple documents is significant. (Conditional tags) Changing and Adding Cross-reference FormatsBuilding blocks form the core of cross-reference (XRef)
formats. Before you actually begin working with XRefs, brushing up your
knowledge on building blocks will help. (Using building blocks for
source information) For consistency, you could form complete sentences
as your XRef format. For example, “For further information, refer
Changing Document PropertiesDocument properties consist of elements such as numbering (page as well as chapters), change bars, footnotes, and text options. Some of these properties can be set at the document level. However, the book-level properties will override them. Change BarsChange bars help in tracking changes in the book. (About change bars) Footnotes(Changing footnote properties) You can also configure smart spaces and quotes (Using Smart Spaces or Smart Quotes) and the page numbering options. Constructing a Templates for a TOCs and IXsFor TOCs and IXs, it is advisable to generate junk data and then start working with the master and reference pages. Tweak them, in ways that are suitable to you. You can save space by using a two-column layout for the IX page. This article should give you a fair insight into the nuances of creating a template. You might even have to rework on the template after you create a book. Take a look at the way FM templates are shipped, you could also replicate a similar delivery method. (Mayur Polepalli is a Technical Writer with Oracle, Bangalore) STC India | Home | Contact Us © Copyright 2005, STC India chapter. All rights reserved..
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||