1
XSL-FO Documentation
2
Attribute Sets
.. contents:: Table of Contents
3
Root Attribute Sets
Attribute sets root elements. Use these attribute sets to format
the defaults in a document, such as font, font-size, or line-height.
3
Page Attribute Sets
Attribute sets for page. These attributes control the formatting of
the actual pages: the paper size and margins.
3
Bibliograhic Fields Attribute Sets
Attribute sets for the bibliograhic fields. These attributes control the formatting of
bibliographic fields.
3
Front Matter Attribute Sets
Attribute sets for the dedication and abstract.
3
Header and Footer Attribute Sets
Attribute sets for the headers and footers. Since headers and footers often need
very special formatting, the stylesheets allow for the formatting of up to three
paragraphs for each header and footer. The first refers to the first that occurrs in
the document, the second to the second, and the third to the third.
3
TOC Matter Attribute Sets
Attribute sets for the TOC.
3
Section Attribute Sets
Attribute sets for the section titles.
3
Body Elements
Attribute sets for body elements, including the document title and subtitle; the
default paragraph; the transition element; and the literal block.
3
bullet list
Attribute sets for the bullet list.
3
enumerated list
Attribute sets for the enumerated list.
3
definition list
Attribute sets for the definition list.
3
field list
Attribute sets for the field list.
3
option list as list
Since an option list can be rendered as either a traditonal list, or a
definition list, there are two sets of attribute sets. These attribute sets
are used for the options list when it is rendered as a list.
3
Line Block
Attribute sets for the line block.
3
Table
Attribute sets for the Table.
3
Table Extended
Attribute sets for the Extended Tables.
3
Table Extended 2 (Borderless)
Attribute sets for the Extended 2 (Borderless) Tables.
3
Table Long
Attribute sets for the Long Tables.
3
Footnote
Attribute sets for footnotes, endnotes, and the endnotes title.
3
Admonitions
Attribute sets for Admonitions. By default, the admontioins have a
border around them. Each admonition gets its title from the parameter
of that name. For example, the danger admonitions title gets its title
from the 'danger-title' parameter, the caution from the `caution-title`
paramter, and so fourth.
Although each admonition and each admonition title has its own attribute-set,
by default they all inherit these values from two default attribute sets. (See
below.) Each of these areas can thus be customized. In contrast, all the paragrahs
in each admonition are identical.
3
Image and Figure
Attribute sets for Images and Figures. The image property of
``alt`` and ``target`` are ignored by the stylesheets, since
they have no use in PDF. In addtion, if the ``align`` is set
to ``top`` or ``bottom``, both properties that have no meaning
for PDF, the stylesheets will report an error, and if
``strict`` is set to ``true``, quit.
Likwise, the figure ``figwidth`` property will be ignored, since there
is not way to implement this property directy in FO.
In order to control the scaling, alignment, and width of images and
figures, it is better to use the attribute sets than to try to set these
properties in RST. The regions of 'image', 'figure', 'caption', and 'legend'
are all wrapped in blocks. Use the attribute sets for these blocks to control the
properties.
3
Body Elements Directives
Attribute sets for Body Elements Directives.
3
Inline
Attribute sets for all the inline elements. The parameter 'footnote-style'
controls the style of the footnote. The paramater 'footnote-placement' determines
whether the footnotes that are numbered will be placed as footnotes or endnotes.
The parameter 'space-between-foototes' controls the space between footnotes.
(Becuase of a flaw(?) in FOP, an attribute set could not be used.) This parameter
has no effect on the space between endnotes.
no match for "
"