Structure Application Developer’s Guide vi
Read/write rules and the new DTD . . . . . . . 105
Creating a DTD from an EDD . . . . . . . . . . . 106
What happens during translation . . . . . . . . . 106
SGML declarations . . . . . . . . . . . . . . . . . . . .107
Log files for a translated EDD. . . . . . . . . . . .107
Sample documents and EDDs . . . . . . . . . . . . .107
Chapter 9 Structure Rules for Containers, Tables, and Footnotes - - - - - 109
In this chapter. . . . . . . . . . . . . . . . . . . . . . . . . . 109
Overview of EDD structure rules . . . . . . . . . . . 110
Writing an EDD general rule. . . . . . . . . . . . . . . 111
Syntax of a general rule for EDD elements . 112
Restrictions on general rules for tables . . . . 114
Default general rules for EDD elements. . . . 115
Specifying validity at the highest level in a flow 116
Adding inclusions and exclusions. . . . . . . . . . . 116
Inclusions. . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Exclusions . . . . . . . . . . . . . . . . . . . . . . . . . . 118
How content rules translate to markup data . . .118
Inserting descendants automatically in containers .
119
Inserting table parts automatically in tables . . .120
Initial structure pattern . . . . . . . . . . . . . . . . .121
Default initial structure . . . . . . . . . . . . . . . . .122
Inserting Rubi elements automatically in Rubi
groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Initial structure pattern . . . . . . . . . . . . . . . . .123
Debugging structure rules. . . . . . . . . . . . . . . . .123
Chapter 10 Text Format Rules for Containers, Tables, and Footnotes - - 125
In this chapter. . . . . . . . . . . . . . . . . . . . . . . . . . 125
Overview of text format rules . . . . . . . . . . . . . . 126
How elements inherit formatting information . . 127
The general case . . . . . . . . . . . . . . . . . . . . . 128
Inheritance in a table or footnote . . . . . . . . . 130
Inheritance in a document within a book . . . 131
Specifying an element paragraph format . . . . . 132
Writing context-dependent format rules . . . . . . 132
All-contexts rules . . . . . . . . . . . . . . . . . . . . . 133
Context-specific rules. . . . . . . . . . . . . . . . . . 134
Level rules . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Nested format rules . . . . . . . . . . . . . . . . . . . 140
Multiple format rules. . . . . . . . . . . . . . . . . . . 141
Context labels . . . . . . . . . . . . . . . . . . . . . . . 142
Defining the formatting changes in a rule. . . . . 143
Paragraph formatting . . . . . . . . . . . . . . . . . . 143
Text range formatting. . . . . . . . . . . . . . . . . . 144
No additional formatting . . . . . . . . . . . . . . . . 145
Specifications for individual format properties. .146
Basic properties . . . . . . . . . . . . . . . . . . . . . .147
Font properties . . . . . . . . . . . . . . . . . . . . . . .150
Pagination properties . . . . . . . . . . . . . . . . . .152
Numbering properties . . . . . . . . . . . . . . . . . .153
Advanced properties. . . . . . . . . . . . . . . . . . .154
Table Cell properties. . . . . . . . . . . . . . . . . . .155
Asian Text Spacing properties . . . . . . . . . . .155
Writing first and last format rules. . . . . . . . . . . .156
How first and last rules are applied. . . . . . . .157
A first or last rule with an autonumber . . . . .157
Defining prefixes and suffixes . . . . . . . . . . . . . .158
How prefix and suffix format rules are applied . .
158
A prefix or suffix for a text range. . . . . . . . . .159
A prefix or suffix for a paragraph. . . . . . . . . .159
A prefix or suffix for a sequence of paragraphs .
160
A prefix or suffix for a text range or a paragraph
161