Chapter 1. Building Chapters

This chapter provides an overview of the structure and usage of the paragraph and character tags used in the IRIS InSight Professional Publisher Templates. It also explains how to use Silicon Graphics implementation of certain FrameMaker features, how to build books, and how to generate and format a table of contents and lists of examples, figures and tables.

Applying the Templates to Exisiting Files

To apply the template to a document file:

  1. Open and stow the appropriate template file.

  2. Open the file to which you are applying the template.

  3. Delete all:

    • Paragraph tags (use “Delete” at the bottom of the catalog)

    • Character tags (use “Delete” at the bottom of the catalog)

    • Table formats (use Table Format dialog box)

    • Master Pages other than Right, Left and First. Clear all elements on the remaining master pages. (Page: Delete Page...)

    • Reference Pages (Page: Delete Page...)

  4. Delete unused xref formats:

    • Go to Special:Xref:Format, delete all formats and click Done.

    • Click “cancel” for all warning messages that appear asking if you would like to change all xrefs of format “x” to editable text.

    • Click Done when you return to the main xref window.

  5. Select File:Use Formats From and take all the formats from the stowed template file.

  6. If the file is an intro, chapter, appendix and glossary file, use Page:Column Layout to apply the First master page to the first page of the file.

Paragraph Tag Naming Scheme

The length of the paragraph tag list is more a result of the number of variations within basic tag groups than the number of groups themselves. These variations are necessary to indent paragraphs the proper amount, according to this indentation scheme:

  • paragraphs at the same level should be indented the same amount;

  • the left margin of the second paragraph in a list item should be indented such that it lines up with the left text margin of the previous paragraph (see “Lists” for examples).

Indentation levels for tags within a group use a standard nomenclature: Tagname for the tag that puts the paragraph at the margin; TagnameInd or TagnameInd1 for the first 1/4” indent; and TagnameInd2, 3, 4, etc for each succeeding 1/4” indent.


Note: Headings and introductory matter (AppNum, ChapNum, ChapTitle, GlossaryTitle) are exceptions to this scheme.


Chapter/Appendix Numbers and Titles

The introduction, chapters, appendices and the index all have one, and only one, ChapTitle tag. The glossary uses a similar tag, GlossaryTitle. In an introduction, appendix, glossary or index, the title tag is the first tag in the file. In chapters and appendices, ChapTitle is preceded by ChapNum and AppNum respectively. In the introduction, chapters and appendices, the ChapTitle tag should always be followed by at least one Text tag, the contents of which introduces the material in the introduction/chapter/appendix.

Headings

The template supports three levels of headings: Heading1, Heading2 and Heading3. The standard rule for nesting sections is that there should never be only one of any section level nested within next highest section. For Heading1, this means there should either none or more than one first-level section within a chapter.


Note: If you absolutely can't do without a fourth-level head, use a single line of text formatted with the Text paragraph tag and the Bold character tag.


Second-level Heading

This is a dummy paragraph.

Third-level Heading

This is a dummy paragraph.

Third Level Heading

This is a dummy paragraph.

Second-level Heading

This is a dummy paragraph.

Lists

There are six types of lists: bulleted, square-bulleted, dashed, ordered, hanging and tabular. Lists may appear at the margin or within other lists (given the specific restrictions described below). However, nesting beyond one level (ie, putting a list inside a list, inside a list) is not supported in the templates. Lists may not appear within Notes, Cautions, Warnings Hints, Tips or Shortcuts.

These further restrictions apply to lists:

  • A list must contain at least two items.

  • A bulleted list should not appear within a bulleted list. Instead of the nested bullets, use a dashed list.

  • A dashed list only appears within a bulleted list.

  • A hanging list may not appear within another hanging list.

  • The square-bulleted list for is used only for substeps within an ordered list.

  • No sublists may appear inside tabular lists.

Bulleted Lists

There are three tags for bulleted lists: Bullet, BulletInd and BulletInd4.

This is the Bullet tag:

  • Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet Bullet

  • Another Bullet

BulletInd appears here within a numbered list.

  1. First list item

    • BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd BulletInd

    • Another BullletInd

  2. Second Item Second Item Second Item Second Item Second Item Second Item Second Item Second Item Second Item Second Item Second Item

BulletInd4 is used here within a hanging list.

HangBody 

HangItem

  • BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4 BulletInd4

  • Another BulletInd4

HangBody 

HangItem

Square Bulleted Lists

Use a square bulleted list for for substeps within a numbered list.

  1. First Step

    • BulletSquareInd paragraph tag indicates a substep substep substep substep substep substep substep substep substep substep substep

    • next substep

    • last substep

  2. Next Step

Dashed Lists

Use a dashed list for lists that fall within a bulleted list.

  • First bulleted item

    • The DashInd paragraph tag is used here in place of a a bullet for a list nested within bulleted list. DashInd DashInd DashInd DashInd DashInd DashInd DashInd DashInd DashInd DashInd DashInd

    • This is another DashInd paragraph.

  • Second bulleted item

Ordered Lists and Sequential Steps

For each required level of indentation, there are two variations of the List tag: ListX and ListX1st. Use the ListX1st variation for the first item in the list, and the ListX variation for subsequent items. In all, there are six ordered list tags: List, List1st, ListInd, ListInd.1st, ListInd4, and ListInd4.1st.

This is an example of the List tags.

  1. This is the List1st paragraph tag. List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st List1st

  2. This is the List paragraph tag. List List List List List List List List List List List List List List List List List List List List List List List List List

This is an example of the ListInd tags

  • Bullet

    1. This is the ListInd1st paragraph tag. ListInd1st ListInd1st ListInd1st ListInd1st ListInd1st ListInd1st ListInd1st ListInd1st

    2. This is the ListInd tag. ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd ListInd

  • Bullet

This example uses the ListInd4 paragraph tags:

HangItem 

HangBody

  1. ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st ListInd4.1st

  2. ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4 ListInd4

HangItem 

HangBody

Hanging Lists

There are two hanging list tags: HangingList and HangingListInd. If the options or commands you wish to document are longer than the space provided, use a tab and then a forced return (<tab><r-alt><enter>) to begin a new line, rather than customize the paragraph tag.

Here is a sample hanging list:

item 

body of the hanging list item body of the hanging list item body of the hanging list item body of the hanging list item body of the hanging list item body of the hanging list item

another item 

body of the second hanging list item

Here is another sample hanging list. This one uses HangingListInd and a forced return after the tab for each item because at least one of the items is too long.

  • bullet

    thisisanitemofarbitrarylength 


    used to demonstrate what hanging lists should look like when the item to be documented hangs over the explanatory text.

    shorter item 


    another hanginglist body.

  • bullet

Tabular Lists

Tabular lists are multi-column tables that do not use the explicit markings such as headings and titles that one normally associates with tables. From a content perspective, they are either multi-column lists, or hanging lists where the item in the first column wraps. They are created using FrameMaker 's table utility. Use one of the flavors of the table format called TabularList. For the text of the Tabular list, use the paragraph tag TabularListText. Anchor the table the preceding paragraph.

This is a table that thinks it's a multi-column list.

item one

item four

item seven

item two

item five

item eight

item three

item six

item nine

Here's a table that thinks it's an indented hanging list.

  • Bullet

    item one

    Long explanation of item one. Long explanation of item one. Long explanation of item one. Long explanation of item one. Long explanation of item one. Long explanation of item one. Long explanation of item one. Long explanation of item one.

    Item two is a long one that wraps and wraps and wraps

    Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two. Long explanation of item two.


  • Bullet

This is a tabular list inside a hanging list

HangItem 

Hangbody

r1c1

r1c2

r1c3

r2c1

r2c2

r2c3

r3c1

r3c2

r3c3


Text

Text is the standard unadorned paragraph tag. Text always appears at least once following a ChapTitle or HeadingX. It can be used within any section, interspersed with Code, Example, Hint, Tip, Note, Caution, Warning, or any type of List. It can also appear as a second and following paragraph in any type of List. There are five levels of indentation for regular text: Text, TextInd, TextInd2, TextInd4, and TextInd5.

This is Text, the tag in the bulleted item is TextInd.

  • Bullet

    TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd TextInd

  • Bullet

The example below uses TextInd2.

  • Bullet

    • Dash

      TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2 TextInd2

    • Dash

  • Bullet

The following example uses TextInd4 and TextInd5

HangItem 

HangBody

TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4 TextInd4

HangItem 

HangBody

  • BulletInd4

    TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5 TextInd5

  • BulletInd4

[1] For margin comments, you can use the MarginText paratag. You'll have to create an anchored frame with a text block, as is done in the block to the the left of this paragraph, and line up the baselines of the first lines of the two blocks.

Code and Examples

The Code and Example tags both produce Courier text. The only difference between the two is the amount of spacing between paragraphs: Code produces less, Example more. The former is used mainly for blocks of programming code or output, where it's important to fit as much on the page (or screen) as possible. The latter is used mainly for single code lines (Code and Example are basically interchangealbe in this context) or for sequences of command lines. Code and Example can appear at the margin, or within Lists, but not within Hints, Tips, Notes, Cautions, or Warnings, or Shortcuts.


Caution: Code and Example tags do not contain any tabs. Do not add any tabs. If you do, you run two risks: doing a Use Formats From will blow them away; and, your code will not be formatted correctly if your book goes online. If you need to import code or example text that contains tabs, there are scripts available to convert the tabs to spaces before you import the text in FrameMaker . Contact TechPubs Production if you are interested in obtaining these scripts.



Caution: When you import code or examples, be sure to turn off Smart Spaces in the Format:Document dialog box before you begin the process. Otherwise, FrameMaker will eliminate all multi-space blocks in your imported text, and replace them with single spaces.


Examples

When you need to embed a line or two of code in regular text, use an Example tag. There are five variations: Example, ExampleInd, ExampleInd2, ExampleInd4, and ExampleInd5.

When you need to embed a line or two of code in regular text, use the Example paragraph tag:

Example

This example uses ExampleInd.

  • Bullet

    ExampleInd 
    

  • Bullet

The following example uses ExampleInd2.

  • Bullet

    • Dash

      ExampleInd2 
      

    • Dash

  • Bullet

The following example uses ExampleInd4 and ExampleInd5

HangItem 

HangBody

ExampleInd4 

HangItem 

HangBody

  • BulletInd4

    ExampleInd5 
    

  • BulletInd4

Code

For sample programs—or simply for longer code examples—use a Code paragraph tag. It uses more compact vertical spacing than Example. Use the 1st paragraph tag for the first line of code to give your sample the correct vertical spacing. There is a total of ten basic Code tags: Code1st, Code, CodeInd1st, CodeInd, CodeInd2.1st, CodeInd2, CodeInd4.1st, CodeInd4, CodeInd5.1st and CodeInd5. In addition, there are four Code tags for displaying longer lines of Code that don't fit within the margins: CodeExt1st, CodeExt, CodeMargin1st and CodeMargin.


Note: If you find it necessary to break a line of code, use the proper syntax for the programming language you are documenting.

This example uses Code1st and Code

Code1st 
Code 

The following example uses CodeInd

  • Bullet

    CodeInd1st 
    CodeInd 
    

  • Bullet

The following example uses CodeInd2

  • Bullet

    • Dash

      CodeInd2.1st 
      CodeInd2 
      

    • Dash

  • Bullet

The following example uses CodeInd4 and CodeInd5

HangItem 

HangBody

CodeInd4.1st 
CodeInd4 

HangItem 

HangBody

  • BulletInd4

    CodeInd5.1st 
    CodeInd5 
    

  • BulletInd4

If you have long lines of code that require more characters per line, you can use CodeExt1st and CodeExt tags which reduce the letterspacing and produce an 80-column line within the text margin.

long line of code that wouldn't fit in the text column and uses CodeExt1st tag
another long line that uses the CodeExt tag to keep it from breaking
12345678902234567890323456789042345678905234567890623456789072345678908234567890

You may also use the CodeMargin1st and CodeMargin paragraph tags to display long lines of code.

For *real* long lines of code, you might need to use the CodeMargin1st paratag.
It's companion, for second and following lines, is the CodeMargin paratag

Numbered Code and Example Blocks

For code and example blocks that you want to be able to cross-reference and have appear in the List of Examples at the beginning of your book, precede your block with either the CodeTitle ExampleTitle paragraph tag, depending on the paragraphs that make up your block.


Note: Both tags produce the same automatic string preceding the title, and use the same numbering scheme. The differentiation is necessary for online conversion, since Code and Example are different constructs in our SGML DTD.



Caution: Once you begin a block with an Example, Code1st, CodeExt1st or CodeMargin1st paragraph, you must tag subsequent paragraphs in the block with the appropriate variation of that tag for second and following paragraphs. If you mix and match Code and Example tags, the online tools will become confused and may mis-tag or mis-format your block.


Example 1-1. Code block beginning with the CodeTitle paragraph tag

blah, blah, blah
blah, blah, blah
blah, blah, blah


Example 1-2. Example block with the ExampleTitle paragraph tag

% su
# rm -r /*
# <Ctrl>-D
%


Messages and Explanations

These are the tags for things like error messages, etc. The sequence for error message constructs is:

  • one Msg1st (or variants) paratag

  • zero or more Msg (or variants) paratags

  • one or more MsgExpl paratags

  • zero or more paratags that can appear in the body of a hanging list

Msg1st Msg

MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl

MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl

Msg1st Msg

MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl

MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl

If you need even more, use MsgMargin1st and MsgMargin.

023456789012345678902234567890323456789042345678905234567890623456789072345678908234567890923 023456789012345678902234567890323456789042345678905234567890623456789072345678908234567890923

MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl MsgExpl

BNF Formatting

BNFTerm and BNFRule

BNFTerm 

BNFRule

BNFRule

Checkoffs

There are two tags for checkoff boxes

  • Checkoff1st

  • Checkoff

  • another Checkoff

Equations

Use the Equation paragraph tag to produce equations with titles and numbering. If you don't want the numbering, use the appropriate version of the Text tag necessary to produce the proper level of indentation. For full instructions on how to produce equations, see Using FrameMath.


Note: Equations are not currently supported online, except as snapped figures. If your document is going online and you wish to have equations in it, snap them and treat them as figures.

Guidelines for Typing Mathematical Equations

Typing math equations requires you to work in a different way than you do when typing text. The FrameMaker math editor is also a math package that evaluates and solves equations. We don't currently use this equation solving capability, but you should enter equations with the proper syntax anyway, to give them a mathematically correct look and to enable use of the equation solver in the future.

Equation objects include variables, operators, relations, and functions. Each entry that you make from the keyboard or from the Equations menu has a mathematical meaning. For example, FrameMaker assumes that a single letter is a variable. When you type one letter after another, FrameMaker assumes the variables are to be multiplied, because in mathematical notation, multiplication is implicit when variables are combined together with no spaces in between them. If what you really intend is a single variable whose name contains two or more characters, you must select "String" from the Equation menu and type the variable name between the quotes. The quotes disappear when you enter the next object in the equation. Use the space bar to select equation objects for editing, as described in "Using FrameMath".

When you use a variable from an equation in a sentence, some engineers prefer that variable to be set off from the surrounding text with a numeric space before and after it. This prevents the variable-width spacing adjustment from being applied to the spaces surrounding the variable, thus making it stand out from the surrounding text.

Symbol Usage Guidelines for All Documents

Even if you don't use equations, you should also keep in mind that the typography of mathematical symbols is different than that of letters and text symbols. For example, a minus sign has a slightly different appearance and vertical alignment than a dash symbol. A multiplication symbol is different than the letter x.

You should enter a minus symbol from the symbols font rather than a dash when you intend to indicate a negative value or a subtraction. Similary, you should enter the multiply symbol rather than the letter x when you intend to represent multiplication. The most common case of this is when quoting dimensions, as in 3x5. Do not use the letter x to represent "3 by 5".

Figures

There are two tags used for figures that appear inline in the hard copy: Fig and FigTitle. The template also uses a third tag (FigTitleMargin) for figures that appear in the margin of the hard copy. The Fig tag should not have any text in it. It's sole purpose is to serve as placeholder for the anchored frame that holds the figure. FigTitle follows immediately after Fig, and holds the title of the figure. FigTitleMargin holds the title of figure in the margin.

Use this procedure to set figures up correctly:

  1. Press <enter> to create a new paragraph.

  2. Apply the Fig paragraph tag to the paragraph.

  3. Press <enter> again to create a paragraph that automatically has the FigTitle paragraph tag applied to it and type in the figure title.

  4. Place the cursor in the Fig paragraph and select Anchored Frame from the Special menu.

  5. In the Anchored Frame dialog box, select these settings and then click on New Frame:

    • Anchoring Position: Below Current Line

    • Alignment: Right

    • Cropped, but not Floating

    • Size: your choice (the frame can be resized once it's inserted)

  6. Import your figure by reference into the anchored frame, using the File:Import dialog box. See Figure 1-1.

    Figure 1-1. Dummy Figure Title Using FigTitle Paragraph Tag



Note: To select a text object in an anchored frame, the anchored frame itself, or a text column on a page without opening the toolbox and changing to the arrow selection tool, simply hold down <Ctrl> while clicking on the object. Shift-select selects/deselects additional objects after the first object is selected.



Note: Use the micro-adjust feature to move graphic objects in incremental (smaller than grid units) steps, even when Snap to grid is turned on: hold down <Ctrl> and use the arrow keys to move objects.


Side-Column Figures

Figure 1-2. Sample Figure Using FigTitle-Margin Paratag


Side-column figures, such as Figure 1-2, are a bit more difficult to set up than in-line figures. However, once you set up your first one, you can cut out about half the steps by copying the anchored frame marker, pasting it into the appropriate spot, and adjusting the frame size to fit your new figure.


Caution: If you create additional figures using this method, be sure to delete all the text in the figure title, including any xref target marker.

To create a side-column figure, follow these steps:

  1. Place the cursor at the beginning of the paragraph containing the reference to the figure.

  2. Select Anchored Frame from the Special menu and set the following:

    • Anchor Position: left side of column

    • Width: 1.375"

    • Height: Guess and then adjust in Step 3

    • Near-Side Offset: -1.375"

    • Base-Line Offset: - (Height - .1)"

  3. Paste in your graphic and adjust frame height and baseline offset as necessary

  4. Place the cursor just after the anchored frame symbol you created and add another anchored frame with the following measurements:

    • Anchor Position: left side of column

    • Width: 1.375"

    • Height: .625" (enough for three lines of text)

    • Near-Side Offset: -1.375"

    • Base-Line Offset: Subtract .67" from baseline offset of previous frame.

  5. Draw a text box inside the lower frame so that its edges butt the edges of the frame. You may need to turn off Snap in the Graphics Menu to do this.

  6. Place the cursor in the text box, click FigTitleMargin and type in the name of the figure.

Tables

To create tables, use the FrameMaker table facility. You can access its features by selecting various menu choices in the Table menu. For complete instructions on how to create and modify FrameMaker tables, see New Features in FrameMaker.

To create a table:

  1. Place the cursor at the end of the paragraph that immediately precedes where you want the table to go.

  2. Choose Insert Table from the Table menu, select the proper Table Format and number of body rows (you can always add or delete these later), and click Insert.

The templates use three paragraph tags for text in the various parts of a table. Body cells use the TableText paragraph tag. Heading Cells use the TableHead paragraph tag. The table title goes in the table block above the table. It uses the TableTitle paratag. All these tags should be applied automatically when you create your table. Tables can be customized by adding, deleting or resizing rows and columns as needed. They should always line up with the left text margin.


Caution: Though you may use any character tags you wish within a table, do not use any paragraph tags other than those designated for each of the three table parts. In addition, if you put any equations or graphics in your tables, they will not appear online.

Table 1-1 uses the Table-5Col table format tag found in the Table Format dialog box.

Table 1-1. Real N x N Operations (TableTitle)[a]

N

Load
4, 4*N

N

Load
4, 4*N

N

128

.003

128

.003

128

256

.0105

256

.0105

256

512

.039

512[b] 312

.039

512

128

.003

128

.003

128

256

.0105

256

.0105

256

512

.039

512

.039

512

1024

.150

1024

.150

1024

[a] This is a table footnote in a table head. It uses the TableFootnote tag.

[b] This is a table footnote in a table cell. It uses the TableFootnote tag.

If you have a multi-page table, the string “(continued)” should appear after “Table X-X.” You force this string to appear by inserting the TableContinuation variable before the <Tab> in your table title. It will not appear in the first page of your table, so you may choose to insert it as a precaution even if your table currently fits on a single page.


Note: In order to facilitate the addition of the Table Continuation variable to the template, you must now add a <Tab> before your title when using the TableTitle paratag.



Note: If your table spans more than one page, you may find that the spacing between the end of the table and the beginning of the following paragraph is incorrect. This has been logged as a bug by FrameMaker. To add extra space, increase the Space After for the table itself in the Table Format dialog box.


Hints, Tips, Notes, Cautions, Warnings and Shortcuts

Hints, Tips, Notes, Cautions, Warnings and Shortcuts are used to provide short, supplemental or cautionary information. They are not meant to provide space for long blocks of interpolated information. Therefore, there is no support for second and following paragraphs either in the templates or in the online translator.


Note: The workaround if you absolutely must add a line of Code or Example after your Note is to use two forced returns. Like this

line of code


Hints

Use one of the Hint paragraph tags to provide supplemental information related to the text. There are five Hint tags: Hint, HintInd1, HintInd2, HintInd4 and HintInd5

This example uses Hint.


Tip: Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint Hint

The example below uses HintInd.

  • Bullet


    Tip: Hintnd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1 HintInd1


  • Bullet

The following example uses HintInd2.

  • Bullet

    • Dash


      Tip: Hintnd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2 HintInd2


  • Bullet

The following example uses HintInd4 and HintInd5.

HangItem 

HangBody


Tip: Hintnd4 HintInd4 HintInd4 HintInd4 HintInd4 HintInd4 HintInd4 HintInd4 HintInd4 HintInd4


HangItem 

HangBody

  • BulletInd4


    Tip: Hintnd5 HintInd5 HintInd5 HintInd5 HintInd5 HintInd5 HintInd5 HintInd5 HintInd5 HintInd5


  • BulletInd4

Tips

Use one of the Tip paragraph tags to provide supplemental information related to the text. There are five Tip tags: Tip, TipInd1, TipInd2, TipInd4 and Tipnd5

This example uses Tip.


Tip: Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip Tip

The example below uses TipInd.

  • Bullet


    Tip: Tipnd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1 TipInd1


  • Bullet

The following example uses TipInd2.

  • Bullet

    • Dash


      Tip: Tipnd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2 TipInd2


    • Dash

  • Bullet

The following example uses TipInd4 and TipInd5.

HangItem 

HangBody


Tip: Tipnd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4 TipInd4


HangItem 

HangBody

  • BulletInd4


    Tip: Tipnd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5 TipInd5


  • BulletInd4

Notes

Use one of the Note paragraph tags to provide supplemental information related to the text. There are five Note tags: Note, NoteInd1, NoteInd2, NoteInd4 and NoteInd5

This example uses Note.


Note: Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note Note

The example below uses NoteInd.

  • Bullet


    Note: NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1 NoteInd1


  • Bullet

The following example uses NoteInd2.

  • Bullet

    • Dash


      Note: NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2 NoteInd2


    • Dash

  • Bullet

The following example uses NoteInd4 and NoteInd5.

HangItem 

HangBody


Note: NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4 NoteInd4


HangItem 

HangBody

  • BulletInd4


    Note: NoteInd5 NoteInd5 NoteInd5 NoteInd5 NoteInd5 NoteInd5 NoteInd5 NoteInd5 NoteInd5


  • BulletInd4

Cautions

Use one of the Caution paragraph tags to point out actions that may cause damage to your system. There are five Caution paragraph tags: Caution, CautionInd1, CautionInd2, CautionInd4 and CautionInd5.

This example uses Caution.


Caution: Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution Caution

The next example uses CautionInd.

  • Bullet


    Caution: CautionInd1 CautionInd1 CautionInd1 CautionInd1 CautionInd1 CautionInd1 CautionInd1 CautionInd1 CautionInd1


  • Bullet

The following example uses CautionInd2.

  • Bullet

    • Dash


      Caution: CautionInd2 CautionInd2 CautionInd2 CautionInd2 CautionInd2 CautionInd2 CautionInd2 CautionInd2 CautionInd2


    • Dash

  • Bullet

The following example uses CautionInd4 and CautionInd5.

HangItem 

HangBody


Caution: CautionInd4 CautionInd4 CautionInd4 CautionInd4 CautionInd4 CautionInd4 CautionInd4


HangItem 

HangBody

  • BulletInd4


    Caution: CautionInd5 CautionInd5 CautionInd5 CautionInd5 CautionInd5 CautionInd5 CautionInd5


  • BulletInd4

Warnings

Use one of the Warning paragraph tags to call attention actions or practices that may cause physical harm to the user. There are three Warning paragraph tags: Warning, WarningInd and WarningInd2

This example uses Warning


Warning: warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning

The next example uses WarningInd

  • Bullet


    Warning: warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning


  • Bullet

The following example uses WarningInd2

  • Bullet

    • Dash


      Warning: warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning warning


    • Dash

  • Bullet

Adding the Warning Icon to Warning paragraph tags

Each of the three warning paratags has an icon to the left of it. Unfortunately, this icon must be added manually. Here is the procedure:

  1. Place the cursor at the very beginning of a warning paragraph.

    Go to the Anchored Frame option from the Special menu and select the correct settings according to the type of Warning paragraph tag you are using. See Table 1-2.

    Table 1-2. Anchored Frame Specs for Warning Tags

    Paragraph
    Tag

    Anchor
    Position

    Baseline
    Offset

    Near-Side
    Offset

    Height

    Width

    Warning

    Left side

    -0.2"

    -1.5"

    0.5"

    .05"

    WarningInd1

    Left side

    -0.2"

    -1.75"

    0.5"

    0.5"

    WarningInd2

    Left side

    -0.2"

    -2.0"

    0.5"

    0.5"

    When you complete this and reactivate the page, you will see an empty box to the left of the Warning paragraph tag.

  2. Go to the Reference Page 4 (p# may vary) and copy the warning symbol in the square box. It is clearly labelled and has an explanation with it. After you copy, go back to the Body Page.

  3. Select the anchored frame you created and use the Paste command to paste the icon into the frame. DO NOT move the icon around in the frame. It is positioned correctly and will move with the text as it shifts on the page.


Note: This procedure is not nearly as complicated as it looks and it appears to work in all cases but one. This is when the Warning paragraph is the first paragraph on the page. In this case FrameMaker bumps the anchored frame down so it doesn't run above the top of the upper margin. So, what you have to do is add an empty Text tag above the Warning tag, then set the Space Above for the Warning paragraph to 0.0". I would advise against using this workaround until you are absolutely sure that a Warning tag will fall at the top of a page.


Shortcuts

These are the shortcut tags.


Tip: Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut

Text paragraph

  • Bullet


    Tip: ShortcutInd ShortcutInd ShortcutInd ShortcutInd ShortcutInd ShortcutInd ShortcutInd ShortcutInd ShortcutInd


  • bullet

The four “flag tags” in this section have been created for writers to use in internal drafts They are based on the Warning paragraph tag from the standard IPChap.doc template.

Flag Tags

There are four Flag paratags. They are for internal use only and should be tagged with the Comment condition so they don't appear in finished books. The online translator does not currently support these tags, and the bookbuild will break if your try and pass through a file without conditionalizing them.

Examples of the four tags appear when viewing the templates through FrameMaker.

Why Should Writers Use the Flag Tags

Writers are encouraged to use these tags to communicate with their editors and reviewers, rather than inserting comments in brackets or in different fonts. The advantages of using these tags are as follows:

  • They are easy for editors and reviewers to locate and distinguish from live text.

  • They are easy to find when the document is final and it's time to remove them.

  • They might add a little interest and break up the monotony.

Adding the Appropriate Icon to a Flag Paragraph

Each of the four flag tags has an icon to the left of it. If you copy an existing flag paragraph from your document or from this template, you will copy the icon with it. Otherwise you must add the icon manually. Here is the procedure:

  1. Place the cursor at the very beginning of a flag paragraph.

  2. Select the Anchored Frame option from the Special menu and select the correct settings according to the type of flag paratag you are using. See Table 1-3.

    Table 1-3. Anchored Frame Specs for Flag Tags

    Paratag

    Anchor
    Position

    Baseline
    Offset

    Near-Side
    Offset

    Height

    Width

    FlagEditor

    Left side

    -0.4"

    -1.5"

    0.7"

    0.6"

    FlagFiction

    Left side

    -0.4"

    -1.5"

    0.7"

    0.5"

    FlagMissing

    Left side

    -0.4"

    -1.5"

    0.5"

    0.7"

    FlagNew

    Left side

    -0.2"

    -1.5"

    0.5"

    1.0"

    When you complete this and reactivate the page, you will see an empty box to the left of the flag paragraph.

  3. Go to the Reference Page 4 (the page number may vary) and copy the icon from the appropriate box. It is clearly labelled and has an explanation with it. After you copy, go back to the Body Page.

  4. Select the anchored frame you created and use the Paste command to paste the icon into the frame. DO NOT move the icon around in the frame. It is positioned correctly and will move with the text as it shifts on the page.

Managing Flag Paragraphs

Flag paragraphs are not supported in the translator, so they will not appear in the InSight versions of your documents. However, your document will build properly with flag paratags in it if you mark them as conditional text. This must be done manually.

When it's time to remove the flag paragraphs from your document, you can find them quickly by using FrameMaker's Search function:

  1. Select Search... from the Edit menu.

  2. Change the Search For popup menu to Paragraph Tag.

  3. Click the Wildcard Search button.

  4. Type flag* in the text area.

  5. Click the Search button.

Footnotes

This is an example sentence that has a footnote at the end.[4]

Page Breaks

There is a special tag called PageBreak, whose sole purpose is to break the paragraph that follows to the next page. To use it, create an empty paragraph immediately preceding the paragraph you wish to break to the next page, and apply the tag to the empty paragraph.

Character Tags

Character tags may appear within any paragraph tag. The only restriction on their use is that they should only be applied to actual visible characters or to spaces within a character-formatted string.

Many of the character tags in the character catalog are used to format non-editable text in such paragraph tags as Warning and FigTitle. Table 1-4 describes the character tags you may use for character formatting, along with their formatting specs.

Table 1-4. Character Formats

Tag

Print
Format

Online
Format

Comments

Bold

bold

bold

 

Button

italic

italic

 

Callout

Helvetica 8pt

NA

For figures only, does not appear in main text

CalloutBold

Helvetica 8pt

NA

For figures only, does not appear in main text

CalloutSmall

Helvetica 8pt

NA

For figures only, does not appear in main text

CmdLineOpt

Palatino bold

body-font bold

 

Command

italic

italic

 

DocTitle

italic

italic

 

FileName

Palatino Italic

italic

 

Function

Palatino bold

body-font bold

 

GlossaryItem

italic

underlined

 

HardwareLabel

Helvetica Bold

Helvetica Bold

 

Italics

italic

italic

 

Keyword

Palatino bold

body-font bold

 

Launchword

Palatino Regular 10pt

blue

Used for link launch
in IRIS InSight

Refpage

Palatino Regular 10pt

red

Used for man page launch
in IRIS InSight

ScreenDisplay

Courier

Courier

 

Subscript

subscript

subscript

 

Superscript

superscript

superscript

 

Symbol

Σψμβολ

Σψμβολ

 

UserInput

Courier Bold

Courier Bold

 

Variable

Palatino Italic

Italic

 


Indexing

The templates support the standard method for index creation. However, this can become tedious and error-prone if you trying to create and/or update a large set of index markers. To address this problem, an alternate method in index creation was developed. It relies upon custom macros and new conditional text format. The macros are in the IPMacros file provided with this template (for information on how to use macro files, see Using FrameMaker). The conditional text format, IndexEntry, is part of the standard set of conditional formats provided with each template file.

In addition, the IPIX.doc file for formatting generated indexes designates a small set of characters that will be ignored during index sorting. The set of ignored characters, their effect on sorting and the syntax for overriding the ignore instructions are outlined in .

Creating Index Entries


Note: The steps outlined below will not work unless you have already read in the IPMacros file.

To insert an index marker:

  1. Open the Marker window and make sure that Index is selected.

  2. Type your index entry in the paragraph where you want the marker to appear. For example, if you want an index entry "keyboard shortcuts" and you want the index marker at the beginning of a particular paragraph, put the words "keyboard shortcuts" where you want the marker to be. The paragraph might now start out "keyboard shortcutsThe keyboard shortcuts available are ...."

  3. Select the text you just typed.

  4. Press the <Esc> and I keys.

That's all it takes. You'll notice that a marker now appears at the beginning of the paragraph, and the index entry has turned underlined blue. The index entry text is conditional. To hide it, hide IndexEntry conditional text. <Esc> I is a keyboard macro that's been defined in the macros template.

Other Indexing Macros

Table 1-5 defines a few other macros that are useful for indexing.

Table 1-5. Macros

Macro

String Produced

Alt-c

<ScreenDisplay>

Alt-d

<Default Para Font>

Alt-e

<$endrange>

Alt-i

<Italics>

Alt-n

<$nopage>

Alt-s

<$startrange>

For example, if you want this entry:

shortcuts. See keyboard shortcuts

You would type:

shortcuts. Alt-iSeeAlt-d keyboard shortcutsAlt-n 

That expands to the real input for the entry:

shortcuts. <Italics>See<Default Para Font> keyboard shortcuts<$nopage>

Editing an Index Entry

  1. Select the marker character for the entry you want to edit and delete it. (Selecting marker characters is easiest with the keyboard shortcut Esc h c and the arrow keys. Use the mouse to position the insertion point at the marker character. Type Esc h c ("select the character to the right of the insertion point") and look in the Marker window to see if you got the marker character (you'll see the index entry). If not, reposition the insertion point with the right or left arrow key and type Esc h c again.)

  2. Edit the index entry in the text of the document.

  3. Select the index entry text.

  4. Press the <Esc> and I keys.

Hiding (Showing) Index Entries in Documents

  1. Click the Show/Hide... button on the Conditional Text window, select IndexEntry, click the ---> (<---) button, then click OK to hide (show) the index entries in one document.

  2. To hide (show) the index entries in the rest of the documents of your book, select Use Formats... from the File menu of your book file. Select the document from step 1 in the Use Formats from Document section, select only the Conditional Text check box, adjust the document lists if necessary, and click OK.

Tips

These are some tips to help make index creation a less painful experience:

  • Be careful about how you treat blank spaces before and after your index entries. For example, if you put an index entry at the beginning of a paragraph and put an unconditional blank between the index entry and the real beginning of the text, your paragraph will be improperly indented.

  • FrameMaker can automatically generate lists of markers that can be very handy. Use Generate... from the File menu, check List, select List of Markers or Alphabetical Marker List, click Generate... and go on from there.

  • Using the Search window to search for Any Marker, Marker of Type:, or Marker Text: is also very handy.

Template-Specific Index Entry Syntax Rules

For an explanation of the standard rules for index entry syntax, see Using FrameMaker, pp. 11-4 to 11-8. In addition, by utilizing a feature described the manual New Features in FrameMaker (p. A-6), the templates have defined the following characters as “ignored” for index sorting purposes:

$
/
.
<
"
"

So, for instance, the entry

/etc/hosts

is sorted as though the /'s were absent. The full entry (under E) appears as

E
/etc/hosts

Be aware that because all instances of an ignored character will be ignored, sequences like the following are possible:

/etc/ghosts
/etchosts
/etc/root

This is mainly a problem with the / character, since the other ignored characters rarely appear anywhere but the beginning of an index entry. In the case of the / character, it was decided that the advantage of having the leading / ignored outweighed the disadvantage of having to put up with a few cases where an ignored / in the midst of an entry caused an unusual sort order.

The following rules apply to ignored characters in index entry syntax. They are not explained anywhere in the FrameMaker manuals and were arrived at by investigation. If you find that any of them are incorrect, please notify the template keeper.

  • If an ignored character appears in brackets, it is “unignored” for sorting purposes.

    /etc/hosts[/]
    

    is sorted (under Symbols) as...

    Symbols
    /etc/hosts
    

  • If the ignored character in brackets is followed by any text, the the entry is sorted according to the full bracketed string, and the ignored character is ignored.

    /etc[/etc]
    

    is sorted as...

    E
    /etc
    

  • The unignore “flag” can be grouped with other sort instructions in brackets.

    /etc[;/;blah]
    

    is sorted as...

    Symbols
    /etc
    

    and

    B
    /etc
    

    and

    E
    /etc 
    

Cross References

There is a standard set of cross reference formats in the templates. You may use these or create your own up to a maximum of twenty-four. If you need more room, you may even delete existing tags. However, you should not change the specs for any existing tags, because your modifications will go away if you or the next author ever reapply the template defaults.

For information on how to use the FrameMaker cross-reference features, see Using FrameMaker.


Note: The online tools do not recognize cross-reference format tags. They rely solely on the cross-reference string that appears in the text. This is why you can add any new formats you wish.



Note: Crossbook links for online docs can also be created using markers (See “Markers”).



Caution: Cross-references in figures (callouts) will not automatically appear as hot links online. A tool is currently being developed to allow the writer to perform this conversion manually, but you should be aware that this will be a time-consuming procedure.


Markers

There are five custom markers:

15 

#15 is used to override DTD restrictions on certain constructs: type “override” into the marker.

16 

CrossBook Link is used to flag cross-book links for QA purposes

17 

Executable is used to execute external applications online. The syntax is either

ebt_launch:app:parms

if you want an icon in the margin, or

Launchword:app:parms

if you want hot text. For the latter, you use it in conjunction with the Launchword character tag to create a hot word, or set of words, that launches an executable. The marker should immediately precede the tagged word(s).

This paragraph contains a marker using ebt_launch. Note the icon that appears in the margin.

This paragraph contains hot text that launches an app.

18 

The 3.3tools translator will turn this construct into a crossbook link, same as what you get with the standard FrameMaker xref tool...

<marker#18>text<marker#19>

Marker#18 should have text using this syntax...

<target_book_shortname><space><target_element_unique_id>

19 

Marker#19 ends a marker-created crossbook link (See #18 above). It is empty.

Conditional Text

The templates support support five text conditions:

  • Comment

  • HelpSubTopic

  • OnlineOnly

  • IndexEntry

  • PrintOnly

InSight Inline Object Tags

The InSight inline widget allows you to use digital media in your online document.

The syntax is:

type:referenced_filename 
Movie_Title 

For the first paragraph, use the InlineObj paragraph tag. type can be SGIVIDEO, SGIRGB, SGIAUDIO or SGIINVENTOR. The title paragraph is optional. It uses the InlineTitle paragraph tag. Both InlineObj and InlineTitle must use the OnlineOnly conditional tag.

Help

Use the HelpTopic or HelpSubTopic paragraph tags for embedding help in an online doc. For instructions on creating a help doc. or embedding help in an online book, see the IRIS InSight Professional Publishers User's Guide.

Creating a Book File

The book file is really nothing more than a list of file names, each name referencing a file you wish to include in your book. The names are listed in the order in which the files should appear in your book, and attached to each name (though not appearing in the main book file window) is a collection of information concerning how the file will be paginated, and how figures, tables and heading paragraphs will be numbered. The book file contains both files you create through standard text entry (chaps, appendices, etc), and special “generated” files (Contents, Figures, Tables, Index) that you create and update using utilities in the book file.

When you access the File menu through the book file, you will notice that the selections are slightly different than for a normal file. This is because the the book file is not a a true text file that you can edit in the normal manner. It is an organizational and formatting tool for your book as a whole. Any time you want to perform operations that affect how the book file orders, paginates or generates/updates the files it contains, use the book file. If you wish to alter the content of a text file, or fiddle slightly with the output of a generated file, open that particular file.

You can create a book file as soon as you have at least one standard text file that will go into it. If you do so at this point, you will be able to take advantage of such book file utilities as automatic pagination and creation of generated files. You will also be able to open your files by double-clicking on their names in the book file. Once you have created your book file, it's a good idea to keep it open while working on any files it contains. This will help you keep track of your files and allow you immediate access to book file utilities.

To create a book file, open a text file that will be part of your book and choose “Generate” from the File menu. Choose the bottom radio button that says something like “New multi-file book, including filename.doc.” A new window should pop up on your screen within a few seconds. The header bar should have a name like “filename.book” and main window should contain the name of the file you had open when you chose “Generate”. This new window is your book file.

After you have generated a new multi-file book, “save as” your book file using a prefix that will easily identify your book, such as Prog.book for a Programmer style book This prefix will become the prefix for generated file names. FrameMaker names generated files according to the title of the book file in which they reside. So, if your book file is named Chap5.book, then you will have names like Chap5.TOC, Chap5.LOT, etc. You can't change these generated file names later.

Adding vs Generating Files

“add” and “generate” are two separate procedures in FrameMaker. “add” means add a file pointer to a book file. “generate” refers to the actual process of searching constituent files for designated para- graph tags and creating a “generated” file. Please note that the book file itself is also considered a “generated” file.

Adding Text Files to Your Book

To add names of files created through standard text entry (chaps, appendices, etc), select “Add File” from the file menu. The window that comes up has three main areas. The top portion allows you to choose the type of file you wish to add. Choose “Document File”. The left portion allows you to chose where you would like the file to go in you book file. You can highlight any file in the list and chose “Before...” or “After Current File” from the drop-down menu directly above the list. The right portion lists the files you can add. Choose the one you want and click “Add”. The name of the file should appear in the book file.

After the name of the new file appears, highlight it by clicking on it and go to Set Up File in the File menu. The window that appears allows you to set the specifications necessary for your file to have the correct page and paragraph numbering. The following lists describe the specifications that should be set for text files you add to your book depending on the combination of part tabs and tabs in your book.

Table 1-7 shows the specifications that should be set for text files that you add to your book when there are no part tabs or tabs:

Table 1-6. Page Setup for Text Files (No Part Tabs or Tabs)

Filename

First Page
Side

Page
Numbering

Paragraph
Numbering

Front.doc

right

restart

restart

Intro.doc

right

continue

restart

Chap1.doc

right

restart

restart

Chap2.doc

right

continue

continue

AppendixA.doc

right

continue

restart

AppendixB.doc

right

continue

continue

Glossary.doc

right

continue

continue

Table 1-7 shows the specifications that should be set for text files that you add to your book when there are tabs

Table 1-7. Page Setup for Text Files (With Tabs)

Filename

First Page
Side

Page
Numbering

Paragraph
Numbering

Front.doc

right

restart

restart

Intro.doc

right

continue

restart

tab1.doc

right

restart

restart

Chap1.doc

right

continue

continue

tab2.doc

right

continue

contiune

Chap2.doc

right

continue

continue

tabA.doc

right

continue

restart

AppendixA.doc

right

continue

continue

tabB.doc

right

continue

continue

AppendixB.doc

right

continue

continue

Glossary.doc

right

continue

continue

Table 1-7 describes the specifications that should be set for text files that you add to your book when there are part tabs

Table 1-8. Page Setup for Text Files (With Part Tabs)

Filename

First Page
Side

Page
Numbering

Paragraph
Numbering

Front.doc

right

restart

restart

Intro.doc

right

continue

restart

parttab1.doc

right

restart

restart

Chap1.doc

right

continue

continue

parttab2.doc

right

continue

continue

Chap2.doc

right

continue

continue

AppendixA.doc

right

continue

restart

AppendixB.doc

right

continue

continue

Glossary.doc

right

continue

continue

Table 1-7 describes the specifications that should be set for text files that you add to your book when there are part tabs and tabs

Table 1-9. Page Setup for Text Files (With Part Tabs and Tabs)

Filename

First Page
Side

Page
Numbering

Paragraph
Numbering

Front.doc

right

restart

restart

Intro.doc

right

continue

restart

parttab1.doc

right

restart

restart

tab1.doc

right

continue

continue

Chap1.doc

right

continue

continue

parttab2.doc

right

continue

continue

tab2.doc

right

continue

continue

Chap2.doc

right

continue

continue

tabA.doc

right

continue

restart

AppendixA.doc

right

continue

continue

tabB.doc

right

continue

continue

AppendixB.doc

right

continue

continue

Glossary.doc

right

continue

continue


Adding Generated Files to Your Book

To add names of files to be created through FrameMaker's file generation utility (Contents, Figures, Tables, Index):

  1. Select “Add File” from the file menu.

  2. From the top portion of the window that appears, choose the type of file you wish to add.

    • If it is a TOC, LOE, LOF or LOT, choose “Generated List” use the drop-down menu directly to the right to select the type of generated file you wish to add.

    • If it is an Index, choose “Generated Index” and use the drop-down menu directly to the right to select “Standard Index”.

  3. From the the left portion of the “Add File” window, choose where you would like the file to go in your book file. You can highlight any file in the list and chose “Before...” or “After Current File” from the drop-down menu directly above the list. When you are satisfied with your choices, click “Add”.

  4. Another menu should immediately appear. This is “Set Up File” menu for generated files, and it is designed to provide various FrameMaker utilities with the information necessary to create and paginate your new generated file. Table 1-10 describes the settings you should use for each type of generated file:

    Table 1-10. Page Setup for Generated Files

    Filename

    First Page
    Side

    Page
    Numbering

    Paragraph
    Numbering

    Prefix

    Include Paragraph
    Tagged

    TOC.doc

    right

    continue

    restart

    not used

    ChapTitle,
    GlossaryTitle,
    Heading1,
    Heading2,
    Heading3 (optional)

    LOE.doc

    right

    continue

    restart

    not used

    CodeTitle
    ExampleTitle

    LOF.doc

    right

    continue

    restart

    not used

    FigTitle,
    FigTitleMargin

    LOT.doc

    right

    continue

    restart

    not used

    TableTitle

    IX.doc

    right

    continue

    continue

    not used

    Index


  5. Once you have made your choices, press <Enter> and the new file name will appear in your book file. You can tell it is a generated file by the small cross or x that appears immediately to the right of the name.

At this point, the file itself does not actually exist. What you have done is add the name of a file that FrameMaker will create when you choose Generate/Update from the File menu. See the section “Generating TOC, LOE, LOF, LOT and Index” for instructions on how to generate these files.

Rearranging, Deleting and Checking the Setup for Your Files

FrameMaker assumes that when you finally generate your generated files (as opposed to just adding their names to the book file) all the appropriate files are in your book file in the correct order, and have been set up with the correct specifications in Set Up File.

To rearrange files so they are in the proper order, use Rearrange Files. The window that appears is self-explanitory. This window is the only place where files can be deleted from your book.

After rearranging your files, use the Set Up File option (book file must be open and filename must be highlighted) to check for the proper specs, or fix any files that weren't set up when they were originally added to te book file. See Table 1-7 and Table 1-10 for the proper specs.

Generating TOC, LOE, LOF, LOT and Index

The FrameMaker documentation says to generate your files, Use Formats From, and regenerate to allow FrameMaker to incorporate the new styles. This will not work for you.

This best way to create your generated files is to set up your book file as explained in “Adding Generated Files to Your Book”. Then, before you actually generate the files, make copies of the generated sections of the template, stick them in the directory with your document files, give them the same names that these sections have in the book file, and then generate. This way, FrameMaker assumes that it is overwriting existing files and simply dumps the generated text into a pre-formatted template section. You should then be able to open up your generated file and see it already fully formatted.

If you try this strategy, one way to tell if it hasn't worked is at the end of the generation process when you open the generated FrameMaker file it contains unformatted files. This indicates that FrameMaker did not recognize the renamed template copies you put in with your document files, probably because you misnamed them.

Troubleshooting Autonumbering Problems

The template uses an single autonumbering scheme to run Chap/AppNum, the “#-” in the footer, Headings, Tables and Figures, Examples and Equations. The scheme relies upon your having built a book, set up your files, and used Generate/Update to repaginate the files.

If your autonumbering doesn't work, here are some possible causes:

  • You haven't built the book, set up your files in your book, or repaginated using Generate/Update

  • You've hardwired the autonumbering

  • One or more chapters and/or appendices needs to have the Num or Title tag reset.

  • You're using an old or hybrid version of the template.

  • You have Freeze Pagination turned on.



[1] This is a margin note.
It uses the MarginText
paratag.

[4] This is a footnote.