A Prefix Or Suffix For A Sequence Of Paragraphs - Adobe 65030365 - FrameMaker - PC Developer's Manual

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

10
D e f i n i n g p r e f i x e s a n d s u f f i x e s
Element (Container): Note
General rule: <TEXT>
Prefix rules
If a paragraph element also has an autonumber, the prefix appears after an autonumber at
the beginning of the paragraph, and a suffix appears before an autonumber at the end of
the paragraph.

A prefix or suffix for a sequence of paragraphs

You can define a prefix or suffix for a paragraph element that contains other paragraphs. If
the element begins with a paragraph child element, the prefix appears in a paragraph of its
own; if the element ends with a paragraph child, the suffix appears in a paragraph of its
own. This is especially useful for displaying a string with an element that has no text of its
own but is only a parent for other paragraphs.
For example, suppose you want FrameMaker to display heads automatically for syntax
descriptions that can have several paragraphs. If you have a Syntax element that is a
parent for the paragraphs in a description, you can set up a prefix that provides a head
appropriate for the context of Syntax:
Element (Container): Syntax
General rule: Para+
Prefix rule
Format rules for first paragraph in element
In each description, the boldfaced string Synopsis and contents, Arguments, or Examples
appears in a paragraph by itself above the first child Para.
Note that in a prefix or suffix rule you can specify formatting changes only to font properties.
If you are displaying a prefix or suffix in a paragraph by itself and want to apply paragraph
changes to it such as space above or below, give the parent element a first format rule (for
Text Format Rules for Containers, Tables, and Footnotes
1. In all contexts.
Prefix: Important:
1. If context is: Synopsis
Prefix: Synopsis and contents
Else, if context is: Args
Prefix: Arguments
Else, if context is: Examples
Prefix: Examples
2. In all contexts.
Text range.
Font properties
Weight: Bold
1. In all contexts
Basic properties
Paragraph spacing
Space below: 4pt
A syntax description
begins with a bold head
in a separate paragraph.
The head paragraph has
extra space below it.
160

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents