The Class
and FileNameKey
attributes can be given in any paragraph rule, regardless of its TYPE
.
Class
must be followed by a character string, which can be enclosed in double quotation marks or not. This string is the name of the class of all HTML tags written by this paragraph rule. If you do not provide the Class
attribute, the default class name is the name of the FrameMaker paragraph tag that was mapped to this paragraph rule. In most cases, the default is fine. See Section 12.4, "WML support for CSS".
FileNameKey
A character string to be used as a file key. This may be later passed as a parameter to the function filename(
node) to be able to point to the HTML file that is triggered by this paragraph from other places in the generated web. This character string is case-insensitive. For an example see Section 12.9.1, "Generated table of contents". This option may be specified only when
NewNode
is specified.
filename(
node)
.
Each of the three WebMaker paragraph types has attributes that provide further structural and environmental information needed for the generation of a Web. Each TYPE has a set of attributes pertaining to it:
Heading
Level
Positive integer, 1 being highest. No lower limit. The Level
must be specified; it has no default.
NewNode
The name of a previously defined node rule.
List
Level
Positive integer; 1 being highest, no lower limit. There is no default; this option must be specified.
Kind
Number
, for an Ordered List.
Bullet
, for an Unordered List. This is the default.
Glossary
, for a Definition List.
Normal
Context
Preformatted
, to be mapped to the PRE
HTML environment. Quote
, to be mapped to the BLOCKQUOTE
HTML environment. Address
, to be mapped to the ADDRESS
HTML environment. If Context
is not present, the paragraph is not within any of the three HTML environments.
Inlist
If provided, the paragraph is to be mapped into a list item, LI
, environment. If not provided, the paragraph is not to be mapped into a LI
environment.