Defining A Rubi Group Element - Adobe 65030365 - FrameMaker - PC Developer's Manual

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

Advertisement

8
W r i t i n g e l e m e n t d e f i n i t i o n s
In FrameMaker, attributes can be used to record information such as the current status
of an element, to maintain IDs and ID references for cross-referencing between
elements, and to allow an element to be formatted using the current value of its attribute.
Insert an AttributeList element. The first Attribute child element is inserted
automatically. Define the first attribute, and then insert and define additional Attribute
elements as necessary. For more information, see Chapter 11, "Attribute Definitions."
8. (Optional) Write text format rules to describe how to format text in the element or
its descendants.
Text format rules can refer to a paragraph format to use as a "base" format for the
element and can specify context-dependent changes to the format in use. If you write
text format rules for a table, heading, body, footing, or row, the rules specify formatting
only for text in descendant titles and cells.
Insert a TextFormatRules element. Then to specify a paragraph format, insert an
ElementPgfFormatTag element as the first child element of TextFormatRules and
type the format tag. For each set of formatting changes, insert a context element
(AllContextsRule, ContextRule, or LevelRule), specify the context, and define
the changes for the context.
For containers, you can also write text format rules for the first and last paragraphs in
the element, and you can define and format a prefix or suffix to appear at the beginning
or end of the element. Insert FirstParagraphRules, LastParagraphRules,
PrefixRules, or SuffixRules, and define the context and formatting specifications.
For information on the syntax of text format rules and how rules can be inherited from
ancestors, see Chapter 10, "Text Format Rules for Containers, Tables, and Footnotes,"
9. (Optional) If the element is a table, write an object format rule to define an initial
table format for new instances of the table.
A table format determines the basic appearance of the table—such as indentation and
alignment, margins and shading in cells, and ruling between columns and rows.
Insert an InitialTableFormat element, and insert and define context elements as
necessary. Type the tag of a table format for each context. For more information, see
"Setting a table format" on page 190.

Defining a Rubi group element

Documents that include Japanese text most likely require Rubi to express the pronunciation
of certain words. A Rubi group is an element that contains such text. The Rubi group
includes a Rubi Group element for the base word (Oyamoji), and a Rubi element for the
phoenetic spelling (Rubi) to the Oyamoji. These elements can be used only for a Rubi
group.
The Rubi element must be the last child element of the Rubi Group element. The Rubi
Group and Rubi elements can contain other child elements. For example, the Oyamoji can
be in a container of its own, or you can insert footnotes within Oyamoji or Rubi text. Note
that the JIS rules for a Rubi group state that the group cannot extend across a line break.
Structure Application Developer's Guide
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents