Context Labels - 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
W r i t i n g c o n t e x t - d e p e n d e n t f o r m a t r u l e s
Element (Container): Head
General rule: <TEXT>
Text format rules
Rather than repeating the Bold specification, you can break out that part into a separate
rule for all contexts:
Text format rules
Keep in mind that FrameMaker applies format rules in the order they appear in the
definition, so it is possible for a format rule to override an earlier rule. For example, if rule
1 changes the weight of text in all contexts and rule 2 applies a different paragraph format
in certain contexts, the paragraph format overrides the change in the font weight.

Context labels

In some dialog boxes, FrameMaker displays a list of element tags for an end user to select
from. For example, a user selects element tags in the Set Up dialog box (Generate
command) to set up a generated file such as an index or a table of contents.
You may want FrameMaker to distinguish among instances of some elements in these lists.
For example, an end user might include Head elements in a table of contents when the
parent of the Head is a first- or second-level Section, but not when the parent is a more
deeply nested Section. To allow FrameMaker to distinguish element instances, you
provide a context label with formatting variations of the element.
In a dialog box, the end user sees an element once for each context label it can have and
once for all contexts in which no label applies. The user selects an element with a label to
work with all instances of the element from the context associated with the label.
Text Format Rules for Containers, Tables, and Footnotes
1. If context is: Section < Section
Default font properties
Weight: Bold
Numbering properties
Autonumber format: <n>.<n+>\t
Else:
Default font properties
Weight: Bold
Numbering properties
Autonumber format: <n+>\t
1. In all contexts.
Default font properties
Weight: Bold
2. If context is: Section < Section
Numbering properties
Autonumber: <n>.<n+>\t
Else:
Numbering properties
Autonumber: <n+>\t
These font properties
can be combined.
The first rule sets the
weight to Bold for every
Head element.
142

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents