FO Parameter Reference
$Id$
WalshNorman199920002001Norman WalshIntroductionThis is technical reference documentation for the DocBook XSL
Stylesheets; it documents (some of) the parameters, templates, and
other elements of the stylesheets.This reference describes each of the XSL FO Stylesheet parameters.
These are the easily customizable parts of the stylesheet.
If you want to specify an alternate value for one or more of these
parameters, you can do so in a driver stylesheet.For example, if you want to change the html.stylesheet
to reference.css, you might create a driver
stylesheet like this:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
<xsl:param name="html.stylesheet">reference.css</xsl:param>
</xsl:stylesheet>Naturally, you have to change the
href attribute on
<xsl:import> to point to
docbook.xsl on your system. (Or
chunk.xsl, if you're using chunking.)This is not intended to be user documentation.
It is provided for developers writing customization layers for the
stylesheets, and for anyone who's interested in how it
works.Although I am trying to be thorough, this documentation is known
to be incomplete. Don't forget to read the source, too :-)Admonitionsadmon.graphicsbooleanadmon.graphicsUse graphics in admonitions?
<xsl:param name="admon.graphics" select="0"></xsl:param>
DescriptionIf true (non-zero), admonitions are presented in an alternate style that uses
a graphic. Default graphics are provided in the distribution.
admon.graphics.extensionstringadmon.graphics.extensionExtension for admonition graphics<xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>DescriptionSets the extension to use on admonition graphics.admon.graphics.pathstringadmon.graphics.pathPath to admonition graphics<xsl:param name="admon.graphics.path">images/</xsl:param>DescriptionSets the path, probably relative to the directory where the HTML
files are created, to the admonition graphics.
admon.textlabelbooleanadmon.textlabelUse text label in admonitions?
<xsl:param name="admon.textlabel" select="1"></xsl:param>
DescriptionIf true (non-zero), admonitions are presented with a generated
text label such as Note or Warning in the appropriate language.
If zero, such labels are turned off, but any title child
of the admonition element are still output.
The default value is 1.
admonition.title.propertiesTo set the style for admonitions titles.
<xsl:attribute-set name="admonition.title.properties">
<xsl:attribute name="font-size">14pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="hyphenate">false</xsl:attribute>
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>
DescriptionHow do you want admonitions titles styled? Set the font-size, weight etc to the style required.admonition.propertiesTo set the style for admonitions.<xsl:attribute-set name="admonition.properties"></xsl:attribute-set>
DescriptionHow do you want admonitions styled? Set the font-size, weight, etc. to the style requiredCalloutscallout.defaultcolumnintegercallout.defaultcolumnIndicates what column callouts appear in by default<xsl:param name="callout.defaultcolumn" select="'60'"></xsl:param>DescriptionIf a callout does not identify a column (for example, if it uses
the linerangeunit),
it will appear in the default column.
callout.graphicsbooleancallout.graphicsUse graphics for callouts?
<xsl:param name="callout.graphics" select="'1'"></xsl:param>
DescriptionIf non-zero, callouts are presented with graphics (e.g., reverse-video
circled numbers instead of "(1)", "(2)", etc.).
Default graphics are provided in the distribution.
callout.graphics.extensionstringcallout.graphics.extensionExtension for callout graphics<xsl:param name="callout.graphics.extension" select="'.png'"></xsl:param>DescriptionSets the extension to use on callout graphics.callout.graphics.number.limitintegercallout.graphics.number.limitNumber of the largest callout graphic<xsl:param name="callout.graphics.number.limit" select="'10'"></xsl:param>DescriptionIf callout.graphics
is non-zero, graphics are used to represent
callout numbers. The value of
callout.graphics.number.limit
is
the largest number for which a graphic exists. If the callout number
exceeds this limit, the default presentation "(nnn)" will always
be used.
callout.graphics.pathstringcallout.graphics.pathPath to callout graphics
<xsl:param name="callout.graphics.path" select="'images/callouts/'"></xsl:param>
DescriptionSets the path, probably relative to the directory where the HTML
files are created, to the callout graphics.
callout.unicodebooleancallout.unicodeUse Unicode characters rather than images for callouts.<xsl:param name="callout.unicode" select="0"></xsl:param>DescriptionThe stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option.
callout.unicode.fontcallout.unicode.fontSpecify a font for Unicode glyphs<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"></xsl:param>DescriptionThe name of the font to specify around Unicode callout glyphs.
If set to the empty string, no font change will occur.
callout.unicode.number.limitintegercallout.unicode.number.limitNumber of the largest callout graphic<xsl:param name="callout.unicode.number.limit" select="'10'"></xsl:param>DescriptionIf callout.unicode
is non-zero, unicode characters are used to represent
callout numbers. The value of
callout.unicode.number.limit
is
the largest number for which a unicode character exists. If the callout number
exceeds this limit, the default presentation "(nnn)" will always
be used.
callout.unicode.start.characterintegercallout.unicode.start.characterFirst Unicode character to use, decimal value.<xsl:param name="callout.unicode.start.character" select="10102"></xsl:param>DescriptionIf callout.graphics is zero and callout.unicode
is non-zero, unicode characters are used to represent
callout numbers. The value of
callout.unicode.start.character
is the decimal unicode value used for callout number one. Currently,
only 10102 is supported in the stylesheets for this parameter.
callouts.extensionbooleancallouts.extensionEnable the callout extension<xsl:param name="callouts.extension" select="'1'"></xsl:param>DescriptionThe callouts extension processes areaset
elements in ProgramListingCO and other text-based
callout elements.
ToC/LoT/Index Generationautotoc.label.separatorstringautotoc.label.separatorSeparator between labels and titles in the ToC<xsl:param name="autotoc.label.separator" select="'. '"></xsl:param>DescriptionString to use to seperate labels and title in a table of contents.process.empty.source.tocbooleanprocess.empty.source.tocFIXME:<xsl:param name="process.empty.source.toc" select="0"></xsl:param>DescriptionFIXME:
process.source.tocbooleanprocess.source.tocFIXME:<xsl:param name="process.source.toc" select="0"></xsl:param>DescriptionFIXME:
generate.toctablegenerate.tocControl generation of ToCs and LoTs
<xsl:param name="generate.toc">
/appendix toc,title
article/appendix nop
/article toc,title
book toc,title,figure,table,example,equation
/chapter toc,title
part toc,title
/preface toc,title
qandadiv toc
qandaset toc
reference toc,title
/sect1 toc
/sect2 toc
/sect3 toc
/sect4 toc
/sect5 toc
/section toc
set toc,title
</xsl:param>
DescriptionThis parameter has a structured value. It is a table of space-delimited
path/value pairs. Each path identifies some element in the source document
using a restricted subset of XPath (only the implicit child axis, no wildcards,
no predicates). Paths can be either relative or absolute.When processing a particular element, the stylesheets consult this table to
determine if a ToC (or LoT(s)) should be generated.For example, consider the entry:book toc,figureThis indicates that whenever a book is formatted, a
Table Of Contents and a List of Figures should be generated. Similarly,/chapter tocindicates that whenever a document that has a root
ofchapter is formatted, a Table of
Contents should be generated. The entry chapter would match
all chapters, but /chapter matches only chapter
document elements.Generally, the longest match wins. So, for example, if you want to distinguish
articles in books from articles in parts, you could use these two entries:book/article toc,figure
part/article tocNote that an article in a part can never match a book/article,
so if you want nothing to be generated for articles in parts, you can simply leave
that rule out.If you want to leave the rule in, to make it explicit that you're turning
something off, use the value nop. For example, the following
entry disables ToCs and LoTs for articles:article nopDo not simply leave the word article in the file
without a matching value. That'd be just begging the silly little
path/value parser to get confused.Section ToCs are further controlled by the
generate.section.toc.level parameter.
For a given section level to have a ToC, it must have both an entry in
generate.toc and be within the range enabled by
generate.section.toc.level.generate.indexbooleangenerate.indexDo you want an index?<xsl:param name="generate.index" select="1"></xsl:param>DescriptionSpecify if an index should be generated. make.index.markupbooleanmake.index.markupGenerate XML index markup in the index?
<xsl:param name="make.index.markup" select="0"></xsl:param>
DescriptionThis parameter enables a very neat trick for getting properly
merged, collated back-of-the-book indexes. G. Ken Holman suggested
this trick at Extreme Markup Languages 2002 and I'm indebted to him
for it.Jeni Tennison's excellent code in
autoidx.xsl does a great job of merging and
sorting indexterms in the document and building a
back-of-the-book index. However, there's one thing that it cannot
reasonably be expected to do: merge page numbers into ranges. (I would
not have thought that it could collate and suppress duplicate page
numbers, but in fact it appears to manage that task somehow.)Ken's trick is to produce a document in which the index at the
back of the book is displayed in XML. Because the index
is generated by the FO processor, all of the page numbers have been resolved.
It's a bit hard to explain, but what it boils down to is that instead of having
an index at the back of the book that looks like this:
After building a PDF file with this sort of odd-looking index, you can
extract the text from the PDF file and the result is a proper index expressed in
XML.Now you have data that's amenable to processing and a simple Perl script
(such as fo/pdf2index) can
merge page ranges and generate a proper index.Finally, reformat your original document using this literal index instead of
an automatically generated one and bingo!index.preferred.page.propertiesProperties used to emphasize page number references for
significant index terms
<xsl:attribute-set name="index.preferred.page.properties">
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>
DescriptionProperties used to emphasize page number references for
significant index terms (significance=preffered). Currently works only with
XEP.xep.index.item.propertiesProperties associated with XEP index-items
<xsl:attribute-set name="xep.index.item.properties">
<xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
<xsl:attribute name="link-back">true</xsl:attribute>
</xsl:attribute-set>
DescriptionProperties associated with XEP index-items. For more info see
the section "Indexes" in
.toc.section.depthintegertoc.section.depthHow deep should recursive sections appear
in the TOC?<xsl:param name="toc.section.depth">2</xsl:param>DescriptionSpecifies the depth to which recursive sections should appear in the
TOC.
toc.indent.widthfloattoc.indent.widthAmount of indentation for TOC entries
<xsl:param name="toc.indent.width" select="24"></xsl:param>
DescriptionSpecifies, in points, the distance by which each level of the
TOC is indented from its parent.This value is expressed in points, without
a unit (in other words, it is a bare number). Using a bare number allows the stylesheet
to perform calculations that would otherwise have to be performed by the FO processor
because not all processors support expressions.toc.margin.propertiesMargin properties used on Tables of Contents
<xsl:attribute-set name="toc.margin.properties">
<xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">2em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
</xsl:attribute-set>
DescriptionThis attribute set is used on Tables of Contents. These attributes are set
on the wrapper that surrounds the ToC block, not on each individual lines.bridgehead.in.tocbooleanbridgehead.in.tocShould bridgehead elements appear in the TOC?<xsl:param name="bridgehead.in.toc" select="0"></xsl:param>DescriptionIf non-zero, bridgeheads appear in the TOC. Note that this option
is not fully supported and may be removed in a future version of the
stylesheets.
generate.section.toc.levelintegergenerate.section.toc.levelControl depth of TOC generation in sections
<xsl:param name="generate.section.toc.level" select="0"></xsl:param>
DescriptionThe generate.section.toc.level parameter
controls the depth of section in which TOCs will be generated. Note
that this is related to, but not the same as
toc.section.depth, which controls the depth to
which TOC entries will be generated in a given TOC.If, for example, generate.section.toc.level
is 3, TOCs will be generated in first, second, and third
level sections, but not in fourth level sections.
Processor Extensionsarbortext.extensionsbooleanarbortext.extensionsEnable Arbortext extensions?<xsl:param name="arbortext.extensions" select="0"></xsl:param>DescriptionIf non-zero,
Arbortext
extensions will be used.
axf.extensionsbooleanaxf.extensionsEnable XSL Formatter extensions?
<xsl:param name="axf.extensions" select="0"></xsl:param>
DescriptionIf non-zero,
XSL Formatter
extensions will be used. XSL Formatter extensions consists of PDF bookmarks,
document information and better index processing.fop.extensionsbooleanfop.extensionsEnable FOP extensions?<xsl:param name="fop.extensions" select="0"></xsl:param>DescriptionIf non-zero,
FOP
extensions will be used. At present, this consists of PDF bookmarks.
passivetex.extensionsbooleanpassivetex.extensionsEnable PassiveTeX extensions?<xsl:param name="passivetex.extensions" select="0"></xsl:param>DescriptionIf non-zero,
PassiveTeX
extensions will be used. At present, this consists of PDF bookmarks
and sorted index terms.
tex.math.in.altstringtex.math.in.altTeX notation used for equations
<xsl:param name="tex.math.in.alt" select="''"></xsl:param>
DescriptionIf you want type math directly in TeX notation in equations,
this parameter specifies notation used. Currently are supported two
values -- plain and latex. Empty
value means that you are not using TeX math at all.Preferred way for including TeX alternative of math is inside of
textobject element. Eg.:<inlineequation>
<inlinemediaobject>
<imageobject>
<imagedata fileref="eq1.gif"/>
</imageobject>
<textobject><phrase>E=mc squared</phrase></textobject>
<textobject role="tex"><phrase>E=mc^2</phrase></textobject>
</inlinemediaobject>
</inlineequation>If you are using graphic element, you can
store TeX inside alt element:<inlineequation>
<alt role="tex">a^2+b^2=c^2</alt>
<graphic fileref="a2b2c2.gif"/>
</inlineequation>If you want use this feature, you should process your FO with
PassiveTeX, which only supports TeX math notation. When calling
stylsheet, don't forget to specify also
passivetex.extensions=1.If you want equations in HTML, just process generated file
tex-math-equations.tex by TeX or LaTeX. Then run
dvi2bitmap program on result DVI file. You will get images for
equations in your document.tex.math.delimsbooleantex.math.delimsShould be equations outputed for processing by TeX
automatically surrounded by math mode delimiters
<xsl:param name="tex.math.delims" select="'1'"></xsl:param>
DescriptionFor compatibility with DSSSL based DBTeXMath from Allin Cottrell
you should set this parameter to 0.xep.extensionsbooleanxep.extensionsEnable XEP extensions?<xsl:param name="xep.extensions" select="0"></xsl:param>DescriptionIf non-zero,
XEP
extensions will be used. XEP extensions consists of PDF bookmarks,
document information and better index processing.
Stylesheet Extensionslinenumbering.everyNthintegerlinenumbering.everyNthIndicate which lines should be numbered<xsl:param name="linenumbering.everyNth" select="'5'"></xsl:param>DescriptionIf line numbering is enabled, everyNth line will be numbered.
linenumbering.extensionbooleanlinenumbering.extensionEnable the line numbering extension<xsl:param name="linenumbering.extension" select="'1'"></xsl:param>DescriptionIf true, verbatim environments (elements that have the
format='linespecific' notation attribute: address, literallayout,
programlisting, screen, synopsis) that specify line numbering will
have, surprise, line numbers.
linenumbering.separatorstringlinenumbering.separatorSpecify a separator between line numbers and lines<xsl:param name="linenumbering.separator" select="' '"></xsl:param>DescriptionThe separator is inserted between line numbers and lines in
the verbatim environment.
linenumbering.widthintegerlinenumbering.widthIndicates the width of line numbers<xsl:param name="linenumbering.width" select="'3'"></xsl:param>DescriptionIf line numbering is enabled, line numbers will appear right
justified in a field "width" characters wide.
tablecolumns.extensionbooleantablecolumns.extensionEnable the table columns extension function<xsl:param name="tablecolumns.extension" select="'1'"></xsl:param>DescriptionThe table columns extension function adjusts the widths of table
columns in the HTML result to more accurately reflect the specifications
in the CALS table.
textinsert.extensionbooleantextinsert.extensionEnable the textinsert extension element<xsl:param name="textinsert.extension" select="'1'"></xsl:param>DescriptionThe textinsert extension element inserts the contents of a
a file into the result tree (as text).
use.extensionsbooleanuse.extensionsEnable extensions<xsl:param name="use.extensions" select="'0'"></xsl:param>DescriptionIf non-zero, extensions may be used. Each extension is
further controlled by its own parameter. But if
use.extensions is zero, no extensions will
be used.
Automatic labellingappendix.autolabelbooleanappendix.autolabelAre Appendixes automatically enumerated?<xsl:param name="appendix.autolabel" select="1"></xsl:param>DescriptionIf true (non-zero), unlabeled appendixes will be
enumerated.
chapter.autolabelbooleanchapter.autolabelAre chapters automatically enumerated?<xsl:param name="chapter.autolabel" select="1"></xsl:param>DescriptionIf true (non-zero), unlabeled chapters will be enumerated.
part.autolabelbooleanpart.autolabelAre parts and references enumerated?<xsl:param name="part.autolabel" select="1"></xsl:param>DescriptionIf true (non-zero), unlabeled parts and references will be enumerated.
preface.autolabelbooleanpreface.autolabelAre prefaces enumerated?<xsl:param name="preface.autolabel" select="0"></xsl:param>DescriptionIf true (non-zero), unlabeled prefaces will be enumerated.
section.autolabelbooleansection.autolabelAre sections enumerated?<xsl:param name="section.autolabel" select="0"></xsl:param>DescriptionIf true (non-zero), unlabeled sections will be enumerated.
section.label.includes.component.labelbooleansection.label.includes.component.labelDo section labels include the component label?<xsl:param name="section.label.includes.component.label" select="0"></xsl:param>DescriptionIf true (non-zero), section labels are prefixed with the label of the
component that contains them.
label.from.partbooleanlabel.from.partRenumber chapters in each part?<xsl:param name="label.from.part" select="'0'"></xsl:param>DescriptionIf label.from.part is non-zero, components
(chapters, appendixes, etc.)
will be numbered from 1 in each part. Otherwise,
they will be numbered monotonically throughout each
book.
XSLT ProcessingrootidstringrootidSpecify the root element to format<xsl:param name="rootid" select="''"></xsl:param>DescriptionIf rootid is specified, it must be the
value of an ID that occurs in the document being formatted. The entire
document will be loaded and parsed, but formatting will begin at the
element identified, rather than at the root. For example, this allows
you to process only chapter 4 of a book.Because the entire document is available to the processor, automatic
numbering, cross references, and other dependencies are correctly
resolved.Meta/*Infomake.single.year.rangesbooleanmake.single.year.rangesPrint single-year ranges (e.g., 1998-1999)<xsl:param name="make.single.year.ranges" select="0"></xsl:param>DescriptionIf non-zero, year ranges that span a single year will be printed
in range notation (1998-1999) instead of discrete notation
(1998, 1999).make.year.rangesbooleanmake.year.rangesCollate copyright years into ranges?<xsl:param name="make.year.ranges" select="0"></xsl:param>DescriptionIf non-zero, copyright years will be collated into ranges.author.othername.in.middlebooleanauthor.othername.in.middleIs othername in author a
middle name?<xsl:param name="author.othername.in.middle" select="1"></xsl:param>DescriptionIf true (non-zero), the othername of an author
appears between the firstname and
surname. Otherwise, othername
is suppressed.
Reference Pagesfuncsynopsis.decorationbooleanfuncsynopsis.decorationDecorate elements of a FuncSynopsis?<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param>DescriptionIf true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or
italic). The decoration is controlled by functions that can be redefined
in a customization layer.
funcsynopsis.stylelistansikrfuncsynopsis.styleWhat style of 'FuncSynopsis' should be generated?<xsl:param name="funcsynopsis.style">kr</xsl:param>DescriptionIf funcsynopsis.style is ansi,
ANSI-style function synopses are generated for a
funcsynopsis, otherwise K&R-style
function synopses are generated.
function.parensbooleanfunction.parensGenerate parens after a function?<xsl:param name="function.parens">0</xsl:param>DescriptionIf not 0, the formatting of
a function element will include
generated parenthesis.
refentry.generate.namebooleanrefentry.generate.nameOutput NAME header before 'RefName'(s)?<xsl:param name="refentry.generate.name" select="1"></xsl:param>DescriptionIf true (non-zero), a "NAME" section title is output before the list
of 'RefName's. This parameter and
refentry.generate.title are mutually
exclusive. This means that if you change this parameter to zero, you
should set refentry.generate.title to 1 unless
you want get quite strange output.
refentry.generate.titlebooleanrefentry.generate.titleOutput title before 'RefName'(s)?
<xsl:param name="refentry.generate.title" select="0"></xsl:param>
DescriptionIf true (non-zero), the reference page title or first name is
output before the list of 'RefName's. This parameter and
refentry.generate.name are mutually exclusive.
This means that if you change this parameter to 1, you
should set refentry.generate.name to 0 unless
you want get quite strange output.refentry.pagebreakbooleanrefentry.pagebreakStart each refentry on a new page<xsl:param name="refentry.pagebreak" select="1"></xsl:param>DescriptionIf non-zero (the default), each refentry
element will start on a new page. If zero, a page
break will not be generated.
refentry.title.propertiesattribute setrefentry.title.propertiesTitle properties for a refentry title
<xsl:attribute-set name="refentry.title.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$title.font.family"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="font-size">18pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="space-after">1em</xsl:attribute>
<xsl:attribute name="hyphenate">false</xsl:attribute>
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
<xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
<xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
</xsl:attribute-set>
DescriptionFormatting properties applied to refentry titles,
including refnamediv, refsect1 through 3, and refsection.
The font size is supplied by the appropriate
section.levelX.title.properties
attribute-set,
computed from its location in the section hierarchy.
refentry.xref.manvolnumbooleanrefentry.xref.manvolnumOutput manvolnum as part of
refentry cross-reference?<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param>Descriptionif true (non-zero), the manvolnum is used when cross-referencing
refentrys, either with xref
or citerefentry.
Tablesdefault.table.widthlengthdefault.table.widthThe default width of tables<xsl:param name="default.table.width" select="''"></xsl:param>DescriptionIf specified, this value will be used for the WIDTH attribute on
tables that do not specify an alternate width (with the dbhtml processing
instruction).nominal.table.widthlengthnominal.table.widthThe (absolute) nominal width of tables<xsl:param name="nominal.table.width" select="'6in'"></xsl:param>DescriptionIn order to convert CALS column widths into HTML column widths, it
is sometimes necessary to have an absolute table width to use for conversion
of mixed absolute and relative widths. This value must be an absolute
length (not a percentag).table.cell.paddingtable.cell.padding
<xsl:attribute-set name="table.cell.padding">
<xsl:attribute name="padding-left">2pt</xsl:attribute>
<xsl:attribute name="padding-right">2pt</xsl:attribute>
<xsl:attribute name="padding-top">2pt</xsl:attribute>
<xsl:attribute name="padding-bottom">2pt</xsl:attribute>
</xsl:attribute-set>
DescriptionFIXME:table.frame.border.thicknesstable.frame.border.thicknessSpecifies the thickness of the frame border
<xsl:param name="table.frame.border.thickness" select="'0.5pt'"></xsl:param>
DescriptionSpecifies the thickness of the border on the table's frame.table.frame.border.styletable.frame.border.style
<xsl:param name="table.frame.border.style" select="'solid'"></xsl:param>
DescriptionFIXME:table.frame.border.colortable.frame.border.color
<xsl:param name="table.frame.border.color" select="'black'"></xsl:param>
DescriptionFIXME:table.cell.border.thicknesstable.cell.border.thickness
<xsl:param name="table.cell.border.thickness" select="'0.5pt'"></xsl:param>
DescriptionFIXME:table.cell.border.styletable.cell.border.style
<xsl:param name="table.cell.border.style" select="'solid'"></xsl:param>
DescriptionFIXME:table.cell.border.colortable.cell.border.color
<xsl:param name="table.cell.border.color" select="'black'"></xsl:param>
DescriptionFIXME:table.table.propertiesProperties associated with a table
<xsl:attribute-set name="table.table.properties">
<xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
<xsl:attribute name="border-collapse">collapse</xsl:attribute>
</xsl:attribute-set>
DescriptionThe styling for tables. This parameter should really
have been called table.properties, but that parameter
name was inadvertantly established for the block-level properties
of the table as a whole.
See also table.properties.Linkingtarget.database.documenturitarget.database.documentName of master database file for resolving
olinks
<xsl:param name="target.database.document" select="''"></xsl:param>
Description
To resolve olinks between documents, the stylesheets use
a master database document that identifies the target datafiles for all the documents within the scope
of the olinks. This parameter value is the URI of
the master document to be read during processing to resolve olinks.
The default value is olinkdb.xml.The data structure of the file is defined in the targetdatabase.dtd DTD. The database file provides the high level elements to record the identifiers, locations, and relationships of documents. The cross reference data for individual documents is generally pulled into the database using system entity references or XIncludes. See also targets.filename.
use.local.olink.stylebooleanuse.local.olink.styleProcess olinks using xref style of current
document
<xsl:param name="use.local.olink.style" select="0"></xsl:param> DescriptionWhen cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross
reference string is formed again from the target title, number, and
element name, using the stylesheet processing the targeting document.
Then olinks will match the xref style in the targeting document
rather than in the target document. If both documents are processed
with the same stylesheet, then the results will be the same.current.docidstringcurrent.docidtargetdoc identifier for the document being
processed
<xsl:param name="current.docid" select="''"></xsl:param> DescriptionWhen olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet
the targetdoc identifier of the current document, since that
identifier does not appear in the document itself. This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature.olink.doctitlebooleanolink.doctitleshow the document title for external olinks?
<xsl:param name="olink.doctitle" select="0"></xsl:param> DescriptionWhen olinks between documents are resolved for print output, the generated text may not make it clear that the reference is to another document. It is possible for the stylesheets to append the other document's title to external olinks. For this to happen, two parameters must be set. The olink.doctitle parameter should be set to nonzero to enable this
feature. And you should set the current.docid parameter to the document id for the document currently
being processed for output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's
title to the generated olink text. QAndASetqandadiv.autolabelbooleanqandadiv.autolabelAre divisions in QAndASets enumerated?<xsl:param name="qandadiv.autolabel" select="1"></xsl:param>DescriptionIf true (non-zero), unlabeled qandadivs will be enumerated.
qanda.inherit.numerationbooleanqanda.inherit.numerationDoes enumeration of QandASet components inherit the numeration of parent elements?<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param>DescriptionIf true (non-zero), numbered QandADiv elements and Questions and Answers inherit
the numeration of the ancestors of the QandASet.
qanda.defaultlabelbooleanqanda.defaultlabelSets the default for defaultlabel on QandASet.<xsl:param name="qanda.defaultlabel">number</xsl:param>DescriptionIf no defaultlabel attribute is specified on a QandASet, this
value is used. It must be one of the legal values for the defaultlabel
attribute.
Bibliographybiblioentry.item.separatorstringbiblioentry.item.separatorText to separate bibliography entries<xsl:param name="biblioentry.item.separator">. </xsl:param>DescriptionText to separate bibliography entries
bibliography.collectionstringbibliography.collectionName of the bibliography collection file<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"></xsl:param>DescriptionMaintaining bibliography entries across a set of documents is tedious, time
consuming, and error prone. It makes much more sense, usually, to store all of
the bibliography entries in a single place and simply extract
the ones you need in each document.That's the purpose of the
bibliography.collection parameter. To setup a global
bibliography database, follow these steps:First, create a stand-alone bibliography document that contains all of
the documents that you wish to reference. Make sure that each bibliography
entry (whether you use biblioentry or bibliomixed)
has an ID.My global bibliography, ~/bibliography.xml begins
like this:<!DOCTYPE bibliography
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<bibliography><title>References</title>
<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray,
Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors.
<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup
Language (XML) 1.0 Second Edition</ulink></citetitle>.
World Wide Web Consortium, 2000.
</bibliomixed>
<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray,
Dave Hollander,
and Andrew Layman, editors.
<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in
XML</ulink></citetitle>.
World Wide Web Consortium, 1999.
</bibliomixed>
<!-- ... -->
</bibliography>
When you create a bibliography in your document, simply
provide emptybibliomixed
entries for each document that you wish to cite. Make sure that these
elements have the same ID as the corresponding real
entry in your global bibliography.For example:<bibliography><title>Bibliography</title>
<bibliomixed id="xml-rec"/>
<bibliomixed id="xml-names"/>
<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and
Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley,
1986. ISBN 0-201-13437-3.
</bibliomixed>
<bibliomixed id="relaxng"/>
</bibliography>Note that it's perfectly acceptable to mix entries from your
global bibliography with normal entries. You can use
xref or other elements to cross-reference your
bibliography entries in exactly the same way you do now.Finally, when you are ready to format your document, simply set the
bibliography.collection parameter (in either a
customization layer or directly through your processor's interface) to
point to your global bibliography.The stylesheets will format the bibliography in your document as if
all of the entries referenced appeared there literally.bibliography.numberedbooleanbibliography.numberedShould bibliography entries be numbered?
<xsl:param name="bibliography.numbered" select="0"></xsl:param>
DescriptionIf non-zero bibliography entries will be numberedGlossaryglossterm.auto.linkbooleanglossterm.auto.linkGenerate links from glossterm to glossentry automaticaly?
<xsl:param name="glossterm.auto.link" select="0"></xsl:param>
DescriptionIf true, a link will be automatically created from glossterm
to glossentry for that glossary term. This is usefull when your
glossterm names are consistent and you don't want to add links
manually.If there is linkend on
glossterm then is used instead of autogeneration of
link.firstterm.only.linkbooleanfirstterm.only.linkDoes automatic glossterm linking only apply to firstterms?
<xsl:param name="firstterm.only.link" select="0"></xsl:param>
DescriptionIf true, only firstterms will be automatically linked
to the glossary. If glossary linking is not enabled, this parameter
has no effect.glossary.collectionstringglossary.collectionName of the glossary collection file
<xsl:param name="glossary.collection" select="''"></xsl:param>
DescriptionGlossaries maintained independently across a set of documents
are likely to become inconsistent unless considerable effort is
expended to keep them in sync. It makes much more sense, usually, to
store all of the glossary entries in a single place and simply
extract the ones you need in each document.That's the purpose of the
glossary.collection parameter. To setup a global
glossary database, follow these steps:Setting Up the Glossary DatabaseFirst, create a stand-alone glossary document that contains all of
the entries that you wish to reference. Make sure that each glossary
entry has an ID.Here's an example glossary:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossary
PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<glossary>
<glossaryinfo>
<editor><firstname>Eric</firstname><surname>Raymond</surname></editor>
<title>Jargon File 4.2.3 (abridged)</title>
<releaseinfo>Just some test data</releaseinfo>
</glossaryinfo>
<glossdiv><title>0</title>
<glossentry>
<glossterm>0</glossterm>
<glossdef>
<para>Numeric zero, as opposed to the letter `O' (the 15th letter of
the English alphabet). In their unmodified forms they look a lot
alike, and various kluges invented to make them visually distinct have
compounded the confusion. If your zero is center-dotted and letter-O
is not, or if letter-O looks almost rectangular but zero looks more
like an American football stood on end (or the reverse), you're
probably looking at a modern character display (though the dotted zero
seems to have originated as an option on IBM 3270 controllers). If
your zero is slashed but letter-O is not, you're probably looking at
an old-style ASCII graphic set descended from the default typewheel on
the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter,
curse this arrangement). (Interestingly, the slashed zero long
predates computers; Florian Cajori's monumental "A History of
Mathematical Notations" notes that it was used in the twelfth and
thirteenth centuries.) If letter-O has a slash across it and the zero
does not, your display is tuned for a very old convention used at IBM
and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis>
arrangement even more, because it means two of their letters collide).
Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis>
slash. Old CDC computers rendered letter O as an unbroken oval and 0
as an oval broken at upper right and lower left. And yet another
convention common on early line printers left zero unornamented but
added a tail or hook to the letter-O so that it resembled an inverted
Q or cursive capital letter-O (this was endorsed by a draft ANSI
standard for how to draw ASCII characters, but the final standard
changed the distinguisher to a tick-mark in the upper-left corner).
Are we sufficiently confused yet?</para>
</glossdef>
</glossentry>
<glossentry>
<glossterm>1TBS</glossterm>
<glossdef>
<para role="accidence">
<phrase role="pronounce"></phrase>
<phrase role="partsofspeach">n</phrase>
</para>
<para>The "One True Brace Style"</para>
<glossseealso>indent style</glossseealso>
</glossdef>
</glossentry>
<!-- ... -->
</glossdiv>
<!-- ... -->
</glossary>Marking Up Glossary TermsThat takes care of the glossary database, now you have to get the entries
into your document. Unlike bibliography entries, which can be empty, creating
placeholder glossary entries would be very tedious. So instead,
support for glossary.collection relies on implicit linking.In your source document, simply use firstterm and
glossterm to identify the terms you wish to have included
in the glossary. The stylesheets assume that you will either set the
baseform attribute correctly, or that the
content of the element exactly matches a term in your glossary.If you're using a glossary.collection, don't
make explicit links on the terms in your document.So, in your document, you might write things like this:<para>This is dummy text, without any real meaning.
The point is simply to reference glossary terms like <glossterm>0</glossterm>
and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>.
The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly
religious issue.</para>If you set the firstterm.only.link parameter,
only the terms marked with firstterm will be links.
Otherwise, all the terms will be linked.Marking Up the GlossaryThe glossary itself has to be identified for the stylesheets. For lack
of a better choice, the role is used.
To identify the glossary as the target for automatic processing, set
the role to auto. The title of this
glossary (and any other information from the glossaryinfo
that's rendered by your stylesheet) will be displayed, but the entries will
come from the database.
Unfortunately, the glossary can't be empty, so you must put in
at least one glossentry. The content of this entry
is irrelevant, it will not be rendered:<glossary role="auto">
<glossentry>
<glossterm>Irrelevant</glossterm>
<glossdef>
<para>If you can see this, the document was processed incorrectly. Use
the <parameter>glossary.collection</parameter> parameter.</para>
</glossdef>
</glossentry>
</glossary>What about glossary divisions? If your glossary database has glossary
divisions and your automatic glossary contains at least
one glossdiv, the automic glossary will have divisions.
If the glossdiv is missing from either location, no divisions
will be rendered.Glossary entries (and divisions, if appropriate) in the glossary will
occur in precisely the order they occur in your database.Formatting the DocumentFinally, when you are ready to format your document, simply set the
glossary.collection parameter (in either a
customization layer or directly through your processor's interface) to
point to your global glossary.The stylesheets will format the glossary in your document as if
all of the entries implicilty referenced appeared there literally.LimitationsGlossary cross-references within the glossary are
not supported. For example, this will not work:<glossentry>
<glossterm>gloss-1</glossterm>
<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
<glossseealso>gloss-2</glossseealso>
</glossdef>
</glossentry>If you put glossary cross-references in your glossary that way,
you'll get the cryptic error: Warning:
glossary.collection specified, but there are 0 automatic
glossaries.Instead, you must do two things:Markup your glossary using glossseealso:<glossentry>
<glossterm>gloss-1</glossterm>
<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
<glossseealso>gloss-2</glossseealso>
</glossdef>
</glossentry>Make sure there is at least one glossterm reference to
gloss-2in your document. The
easiest way to do that is probably within a remark in your
automatic glossary:<glossary role="auto">
<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark>
<glossentry>
<glossterm>Irrelevant</glossterm>
<glossdef>
<para>If you can see this, the document was processed incorrectly. Use
the <parameter>glossary.collection</parameter> parameter.</para>
</glossdef>
</glossentry>
</glossary>glossterm.separationlengthglossterm.separationSeparation between glossary terms and descriptions in list mode
<xsl:param name="glossterm.separation" select="'0.25in'"></xsl:param>
DescriptionSpecifies the separation between glossary terms and descriptions when
glossarys are presented using lists.glossterm.widthlengthglossterm.widthWidth of glossterm in list presentation mode
<xsl:param name="glossterm.width" select="'2in'"></xsl:param>
DescriptionThis parameter specifies the width reserved for glossary terms when
a list presentation is used.glossary.as.blocksbooleanglossary.as.blocksPresent glossarys using blocks instead of lists?
<xsl:param name="glossary.as.blocks" select="0"></xsl:param>
DescriptionIf non-zero, glossarys will be formatted as
blocks.If you have long glossterms, proper list
markup in the FO case may produce unattractive lists. By setting this
parameter, you can force the stylesheets to produce block markup
instead of proper lists.You can override this setting with a processing instruction as the
child of glossary: dbfo
glossary-presentation="blocks" or dbfo
glossary-presentation="list"glosslist.as.blocksbooleanglosslist.as.blocksUse blocks for glosslists?
<xsl:param name="glosslist.as.blocks" select="0"></xsl:param>
DescriptionSee glossary.as.blocks.glossentry.show.acronymlistglossentry.show.acronymDisplay glossentry acronyms?
<xsl:param name="glossentry.show.acronym" select="'no'"></xsl:param>
DescriptionA setting of yes means they should be displayed;
no means they shouldn't. If primary is used,
then they are shown as the primary text for the entry.This setting controls both acronym and
abbrev elements in the glossentry.Miscellaneousformal.proceduresbooleanformal.proceduresSelects formal or informal procedures
<xsl:param name="formal.procedures" select="1"></xsl:param>
DescriptionFormal procedures are numbered and always have a title.
formal.title.placementformal.title.placement
<xsl:param name="formal.title.placement">
figure before
example before
equation before
table before
procedure before
task before
</xsl:param>
DescriptionSpecifies where formal object titles should occur. For each formal object
type (figure,
example,
equation,
table, and procedure)
you can specify either the keyword
before or
after.runinhead.default.title.end.punctstringruninhead.default.title.end.punctDefault punctuation character on a run-in-head<xsl:param name="runinhead.default.title.end.punct" select="'.'"></xsl:param>DescriptionFIXME:
runinhead.title.end.punctstringruninhead.title.end.punctCharacters that count as punctuation on a run-in-head<xsl:param name="runinhead.title.end.punct" select="'.!?:'"></xsl:param>DescriptionFIXME:
show.commentsbooleanshow.commentsDisplay comment elements?<xsl:param name="show.comments">1</xsl:param>DescriptionIf true (non-zero), comments will be displayed, otherwise they are suppressed.
Comments here refers to the comment element,
which will be renamed remark in DocBook V4.0,
not XML comments (<-- like this -->) which are unavailable.
punct.honorificstringpunct.honorificPunctuation after an honorific in a personal name.
<xsl:param name="punct.honorific" select="'.'"></xsl:param>
DescriptionThis parameter specifies the punctuation that should be added after an
honorific in a personal name.segmentedlist.as.tablebooleansegmentedlist.as.tableFormat segmented lists as tables?
<xsl:param name="segmentedlist.as.table" select="0"></xsl:param>
DescriptionIf non-zero, segmentedlists will be formatted as
tables.variablelist.as.blocksbooleanvariablelist.as.blocksFormat variablelists lists as blocks?
<xsl:param name="variablelist.as.blocks" select="0"></xsl:param>
DescriptionIf non-zero, variablelists will be formatted as
blocks.If you have long terms, proper list markup in the FO case may produce
unattractive lists. By setting this parameter, you can force the stylesheets
to produce block markup instead of proper lists.You can override this setting with a processing instruction as the
child of variablelist: dbfo
list-presentation="blocks" or dbfo
list-presentation="list" <variablelist>
<?dbfo list-presentation="list"?>
<varlistentry>
<term>list</term>
<listitem>
<para>
Formatted as a list even if variablelist.as.blocks is set to 1.
</para>
</listitem>
</varlistentry>
</variablelist>blockquote.propertiesTo set the style for block quotations.
<xsl:attribute-set name="blockquote.properties">
<xsl:attribute name="start-indent">0.5in</xsl:attribute>
<xsl:attribute name="end-indent">0.5in</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
</xsl:attribute-set>
DescriptionThe blockquote.properties attribute set specifies
the formating properties of block quotations.ulink.showbooleanulink.showDisplay URLs after ulinks?
<xsl:param name="ulink.show" select="1"></xsl:param>
DescriptionIf non-zero, the URL of each ULink will
appear after the text of the link. If the text of the link and the URL
are identical, the URL is suppressed.ulink.footnotesbooleanulink.footnotesGenerate footnotes for ULinks?
<xsl:param name="ulink.footnotes" select="0"></xsl:param>
DescriptionIf non-zero, the URL of each ULink will
appear as a footnote.
ulink.footnote.number.formatstringulink.footnote.number.formatIdentifies the format used for ulink footnote numbers
<xsl:param name="ulink.footnote.number.format" select="'1'"></xsl:param>
DescriptionThe ulink.footnote.number.format specifies the format
to use for footnote numeration (1, i, I, a, or A).ulink.hyphenatestringulink.hyphenateAllow URLs to be automatically hyphenated
<xsl:param name="ulink.hyphenate" select="''"></xsl:param>
DescriptionIf not empty, the specified character (or more generally, content) is
added to URLs after every /. If the character specified is a
Unicode soft hyphen (0x00AD) or Unicode zero-width space (0x200B), some FO
processors will be able to reasonably hyphenate long URLs.As of 28 Jan 2002, discretionary hyphens are more widely and correctly
supported than zero-width spaces for this purpose.shade.verbatimbooleanshade.verbatimShould verbatim environments be shaded?<xsl:param name="shade.verbatim" select="0"></xsl:param>DescriptionFIXME:shade.verbatim.styleshade.verbatim.styleProperties that specify the style of shaded verbatim listings
<xsl:attribute-set name="shade.verbatim.style">
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
</xsl:attribute-set>
DescriptionFIXME:use.svgbooleanuse.svgAllow SVG in the result tree?
<xsl:param name="use.svg" select="1"></xsl:param>
DescriptionIf non-zero, SVG will be considered an acceptable image format. SVG
is passed through to the result tree, so correct rendering of the resulting
diagram depends on the formatter (FO processor or web browser) that is used
to process the output from the stylesheet.use.role.as.xrefstylebooleanuse.role.as.xrefstyleUse role attribute for
xrefstyle on xref?
<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param>
DescriptionIf non-zero, the role attribute on
xref will be used to select the cross reference style.
The DocBook
Technical Committee recently added an
xrefstyle attribute for this purpose.
If the xrefstyle attribute
is present, role will be ignored, regardless
of this setting.Until an official DocBook release that includes the new
attribute, this flag allows role
to serve that purpose.ExampleThe following small stylesheet shows how to configure the stylesheets to make
use of the cross reference style:<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="../xsl/html/docbook.xsl"/>
<xsl:output method="html"/>
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
<l:context name="xref">
<l:template name="chapter" style="title" text="Chapter %n, %t"/>
<l:template name="chapter" text="Chapter %n"/>
</l:context>
</l:l10n>
</l:i18n>
</xsl:stylesheet>With this stylesheet, the cross references in the following document:<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book id="book"><title>Book</title>
<preface>
<title>Preface</title>
<para>Normal: <xref linkend="ch1"/>.</para>
<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para>
</preface>
<chapter id="ch1">
<title>First Chapter</title>
<para>Irrelevant.</para>
</chapter>
</book>will appear as:Normal: Chapter 1.Title: Chapter 1, First Chapter.menuchoice.separatormenuchoice.separator
<xsl:param name="menuchoice.separator" select="'+'"></xsl:param>
DescriptionSeparator used to connect items of a menuchoice other
than guimenuitem and guisubmenu. The latter
elements are linked with menuchoice.menu.separator.
menuchoice.menu.separatormenuchoice.menu.separator
<xsl:param name="menuchoice.menu.separator" select="'->'"></xsl:param>
DescriptionSeparator used to connect items of a menuchoice with
guimenuitem or guisubmenu. Other elements
are linked with menuchoice.separator.
default.float.classstringdefault.float.classSpecifies the default float class
<xsl:param name="default.float.class" select="'before'"></xsl:param>
DescriptionFIXME:footnote.number.formatstringfootnote.number.formatIdentifies the format used for footnote numbers
<xsl:param name="footnote.number.format" select="'1'"></xsl:param>
DescriptionThe footnote.number.format specifies the format
to use for footnote numeration (1, i, I, a, or A).table.footnote.number.formatstringtable.footnote.number.formatIdentifies the format used for footnote numbers in tables
<xsl:param name="table.footnote.number.format" select="'a'"></xsl:param>
DescriptionThe table.footnote.number.format specifies the format
to use for footnote numeration (1, i, I, a, or A) in tables.footnote.number.symbolsfootnote.number.symbols
<xsl:param name="footnote.number.symbols" select="''"></xsl:param>
DescriptionIf footnote.number.symbols is not the empty string,
footnotes will use the characters it contains as footnote symbols. For example,
*†‡◊✠ will identify
footnotes with *, †, ‡,
◊, and ✠. If there are more footnotes
than symbols, the stylesheets will fall back to numbered footnotes using
footnote.number.format.The use of symbols for footnotes depends on the ability of your
processor (or browser) to render the symbols you select. Not all systems are
capable of displaying the full range of Unicode characters. If the quoted characters
in the preceding paragraph are not displayed properly, that's a good indicator
that you may have trouble using those symbols for footnotes.table.footnote.number.symbolstable.footnote.number.symbols
<xsl:param name="table.footnote.number.symbols" select="''"></xsl:param>
DescriptionIf table.footnote.number.symbols is not the empty string,
table footnotes will use the characters it contains as footnote symbols. For example,
*†‡◊✠ will identify
footnotes with *, †, ‡,
◊, and ✠. If there are more footnotes
than symbols, the stylesheets will fall back to numbered footnotes using
table.footnote.number.format.The use of symbols for footnotes depends on the ability of your
processor (or browser) to render the symbols you select. Not all systems are
capable of displaying the full range of Unicode characters. If the quoted characters
in the preceding paragraph are not displayed properly, that's a good indicator
that you may have trouble using those symbols for footnotes.xref.with.number.and.titlebooleanxref.with.number.and.titleUse number and title in cross references
<xsl:param name="xref.with.number.and.title" select="1"></xsl:param>
DescriptionFIXME:superscript.propertiessuperscript.propertiesProperties associated with superscripts
<xsl:attribute-set name="superscript.properties">
<xsl:attribute name="font-size">75%</xsl:attribute>
</xsl:attribute-set>
DescriptionSpecifies styling properties for superscripts.subscript.propertiessubscript.propertiesProperties associated with subscripts
<xsl:attribute-set name="subscript.properties">
<xsl:attribute name="font-size">75%</xsl:attribute>
</xsl:attribute-set>
DescriptionSpecifies styling properties for subscripts.Graphicsgraphic.default.extensionstringgraphic.default.extensionDefault extension for graphic filenames<xsl:param name="graphic.default.extension"></xsl:param>DescriptionIf a graphic or mediaobject
includes a reference to a filename that does not include an extension,
and the format attribute is
unspecified, the default extension will be used.
default.image.widthlengthdefault.image.widthThe default width of images
<xsl:param name="default.image.width" select="''"></xsl:param>
DescriptionIf specified, this value will be used for the
width attribute on
images that do not specify any
viewport
dimensions.preferred.mediaobject.rolepreferred.mediaobject.roleSelect which mediaobject to use based on
this value of an object's role attribute.
<xsl:param name="preferred.mediaobject.role"></xsl:param>
DescriptionA mediaobject may contain several objects such as imageobjects.
If the parameter use.role.for.mediaobject
is non-zero, then the role attribute on
imageobjects and other objects within a mediaobject container will be used to select which object will be
used. If one of the objects has a role value that matches the
preferred.mediaobject.role parameter, then it has first
priority for selection. If more than one has such a
role value, the first one is used.
See the use.role.for.mediaobject parameter
for the sequence of selection.use.role.for.mediaobjectbooleanuse.role.for.mediaobjectUse role attribute
value for selecting which of several objects within a mediaobject to use.
<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param>
DescriptionIf non-zero, the role attribute on
imageobjects or other objects within a mediaobject container will be used to select which object will be
used.
The order of selection when then parameter is non-zero is:
If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected.Else if an object's role attribute has a value of
html for HTML processing or
fo for FO output, then the first
of such objects is selected.
Else the first suitable object is selected.
If the value of
use.role.for.mediaobject
is zero, then role attributes are not considered
and the first suitable object
with or without a role value is used.
ignore.image.scalingbooleanignore.image.scalingTell the stylesheets to ignore the author's image scaling attributes
<xsl:param name="ignore.image.scaling" select="0"></xsl:param>
DescriptionIf non-zero, the scaling attributes on graphics and media objects are
ignored.Pagination and General StylesUnderstanding XSL FO MarginsIn order for the parameters in this section to make sense, it is useful to
consider .First, let's consider the regions on the page.The white region is the physical page. Its dimensions are determined by
the page.height and page.width
parameters.The yellow region is the region-body. The size and placement of
the region body is constrained by the dimensions labelled in the
figure.The pink region at the top of the page is the region-before. The
darker area inside the region-before is the header text. In XSL, the default
display alignment for a region is before, but the
DocBook stylesheets still explicitly make it before. That's
why the darker area is at the top.The pink region at the bottom of the page is the region-after.
The darker area is the footer text. In XSL, the default display
alignment for a region is before,
but the DocBook stylesheets explicitly make it
after. That's why the darker area is at the bottom.The dimensions in the figure are:The page-master margin-top.
The region-before extent.
The region-body margin-top.
The region-after extent.
The page-master margin-bottom.
The region-body margin-bottom.
The sum of the page-master margin-left and the
region-body margin-left. In DocBook, the region-body margin-left is
zero by default, so this is simply the page-master region-left.
The sum of the page-master margin-right and the
region-body margin-right. In DocBook, the region-body margin-right is
zero by default, so this is simply the page-master region-left.
page.heightpage.heightThe height of the physical page<xsl:param name="page.height">
<xsl:choose>
<xsl:when test="$page.orientation = 'portrait'">
<xsl:value-of select="$page.height.portrait"></xsl:value-of>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$page.width.portrait"></xsl:value-of>
</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe page height is generally calculated from the
paper.type and
page.orientation.
page.height.portraitpage.height.portraitSpecify the physical size of the long edge of the page<xsl:param name="page.height.portrait">
<xsl:choose>
<xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
<xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
<xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
<xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
<xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
<xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
<xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
<xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
<xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
<xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
<xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
<xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
<xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
<xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
<xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
<xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
<xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
<xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
<xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
<xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
<xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
<xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
<xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
<xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
<xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
<xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
<xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
<xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
<xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
<xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
<xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
<xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
<xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
<xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
<xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
<xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
<xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
<xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
<xsl:otherwise>11in</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe portrait page height is the length of the long
edge of the physical page.
page.margin.bottompage.margin.bottomThe bottom margin of the page
<xsl:param name="page.margin.bottom" select="'0.5in'"></xsl:param>
DescriptionThe bottom page margin is the distance from the bottom of the region-after
to the physical bottom of the page.
page.margin.innerpage.margin.innerThe inner page margin<xsl:param name="page.margin.inner">
<xsl:choose>
<xsl:when test="$double.sided != 0">1.25in</xsl:when>
<xsl:otherwise>1in</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe inner page margin is the distance from binding edge of the
page to the first column of text. In the left-to-right, top-to-bottom writing
direction, this is the left margin of recto pages.The inner and outer margins are usually the same unless the output
is double-sided.
page.margin.outerpage.margin.outerThe outer page margin<xsl:param name="page.margin.outer">
<xsl:choose>
<xsl:when test="$double.sided != 0">0.75in</xsl:when>
<xsl:otherwise>1in</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe outer page margin is the distance from non-binding edge of the
page to the last column of text. In the left-to-right, top-to-bottom writing
direction, this is the right margin of recto pages.The inner and outer margins are usually the same unless the output
is double-sided.
page.margin.toppage.margin.topThe top margin of the page
<xsl:param name="page.margin.top" select="'0.5in'"></xsl:param>
DescriptionThe top page margin is the distance from the physical top of the
page to the top of the region-before.page.orientationpage.orientationSelect the page orientation<xsl:param name="page.orientation" select="'portrait'"></xsl:param>DescriptionIn portrait orientation, the short edge is horizontal; in
landscape orientation, it is vertical.
page.widthpage.widthThe width of the physical page<xsl:param name="page.width">
<xsl:choose>
<xsl:when test="$page.orientation = 'portrait'">
<xsl:value-of select="$page.width.portrait"></xsl:value-of>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$page.height.portrait"></xsl:value-of>
</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe page width is generally calculated from the
paper.type and page.orientation.
page.width.portraitpage.width.portraitSpecify the physical size of the short edge of the page<xsl:param name="page.width.portrait">
<xsl:choose>
<xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
<xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
<xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
<xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
<xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
<xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
<xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
<xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
<xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
<xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
<xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
<xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
<xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
<xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
<xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
<xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
<xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
<xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
<xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
<xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
<xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
<xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
<xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
<xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
<xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
<xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
<xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
<xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
<xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
<xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
<xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
<xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
<xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
<xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
<xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
<xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
<xsl:otherwise>8.5in</xsl:otherwise>
</xsl:choose>
</xsl:param>DescriptionThe portrait page width is the length of the short
edge of the physical page.
paper.typepaper.typeSelect the paper type<xsl:param name="paper.type" select="'USletter'"></xsl:param>DescriptionThe paper type is a convenient way to specify the paper size.
The list of known paper sizes includes USletter and most of the A,
B, and C sizes. See page.width.portrait, for example.
double.sideddouble.sidedIs the document to be printed double sided?
<xsl:param name="double.sided" select="0"></xsl:param>
DescriptionDouble-sided documents are printed with a slightly wider margin
on the binding edge of the page.
FIXME: The current set of parameters does not take writing direction
into account.body.margin.bottombody.margin.bottomThe bottom margin of the body text
<xsl:param name="body.margin.bottom" select="'0.5in'"></xsl:param>
DescriptionThe body bottom margin is the distance from the last line of text
in the page body to the bottom of the region-after.
body.margin.topbody.margin.topTo specify the size of the top margin of a page
<xsl:param name="body.margin.top" select="'0.5in'"></xsl:param>
DescriptionThe body top margin is the distance from the top of the region-before
to the first line of text in the page body.
alignmentalignmentSpecify the default text alignment<xsl:param name="alignment">justify</xsl:param>DescriptionThe default text alignment is used for most body text.
hyphenatehyphenateSpecify hyphenation behavior<xsl:param name="hyphenate">true</xsl:param>DescriptionIf true, words may be hyphenated. Otherwise, they may not.
line-heightstringline-heightSpecify the line-height property
<xsl:param name="line-height" select="'normal'"></xsl:param>
DescriptionSets the line-height property.column.count.backintegercolumn.count.backNumber of columns on back matter pages
<xsl:param name="column.count.back" select="1"></xsl:param>
DescriptionNumber of columns on back matter (appendix, glossary, etc.) pages.column.count.bodyintegercolumn.count.bodyNumber of columns on body pages
<xsl:param name="column.count.body" select="1"></xsl:param>
DescriptionNumber of columns on body pages.column.count.frontintegercolumn.count.frontNumber of columns on front matter pages
<xsl:param name="column.count.front" select="1"></xsl:param>
DescriptionNumber of columns on front matter (dedication, preface, etc.) pages.column.count.indexintegercolumn.count.indexNumber of columns on index pages
<xsl:param name="column.count.index" select="2"></xsl:param>
DescriptionNumber of columns on index pages.column.count.lotintegercolumn.count.lotNumber of columns on a 'List-of-Titles' page
<xsl:param name="column.count.lot" select="1"></xsl:param>
DescriptionNumber of columns on a page sequence containing the Table of Contents,
List of Figures, etc.column.count.titlepageintegercolumn.count.titlepageNumber of columns on a title page
<xsl:param name="column.count.titlepage" select="1"></xsl:param>
DescriptionNumber of columns on a title pagecolumn.gap.backlengthcolumn.gap.backGap between columns in back matter
<xsl:param name="column.gap.back" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns in back matter (if
column.count.back is greater than one).column.gap.bodylengthcolumn.gap.bodyGap between columns in the body
<xsl:param name="column.gap.body" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns in body matter (if
column.count.body is greater than one).column.gap.frontlengthcolumn.gap.frontGap between columns in the front matter
<xsl:param name="column.gap.front" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns in front matter (if
column.count.front is greater than one).column.gap.indexlengthcolumn.gap.indexGap between columns in the index
<xsl:param name="column.gap.index" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns in indexes (if
column.count.index is greater than one).column.gap.lotlengthcolumn.gap.lotGap between columns on a 'List-of-Titles' page
<xsl:param name="column.gap.lot" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns on 'List-of-Titles' pages (if
column.count.lot is greater than one).column.gap.titlepagelengthcolumn.gap.titlepageGap between columns on title pages
<xsl:param name="column.gap.titlepage" select="'12pt'"></xsl:param>
DescriptionSpecifies the gap between columns on title pages (if
column.count.titlepage is greater than one).region.after.extentregion.after.extentSpecifies the height of the footer.
<xsl:param name="region.after.extent" select="'0.4in'"></xsl:param>
DescriptionThe region after extent is the height of the area where footers
are printed.
region.before.extentregion.before.extentSpecifies the height of the header
<xsl:param name="region.before.extent" select="'0.4in'"></xsl:param>
DescriptionThe region before extent is the height of the area where headers
are printed.
default.unitslistcmmminptpcpxemdefault.unitsDefault units for an unqualified dimension<xsl:param name="default.units" select="'pt'"></xsl:param>DescriptionIf an unqualified dimension is encountered (for example, in a
graphic width), the default-units will be used for the
units. Unqualified dimensions are not allowed in XSL Formatting Objects.
normal.para.spacingWhat space do you want between normal paragraphs<xsl:attribute-set name="normal.para.spacing">
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>DescriptionSpecify the spacing required between normal paragraphsbody.font.masterbody.font.masterSpecifies the default point size for body text
<xsl:param name="body.font.master">10</xsl:param>
DescriptionThe body font size is specified in two parameters
(body.font.master and body.font.size)
so that math can be performed on the font size by XSLT.
body.font.sizebody.font.sizeSpecifies the default font size for body text<xsl:param name="body.font.size">
<xsl:value-of select="$body.font.master"></xsl:value-of><xsl:text>pt</xsl:text>
</xsl:param>DescriptionThe body font size is specified in two parameters
(body.font.master and body.font.size)
so that math can be performed on the font size by XSLT.
footnote.font.sizefootnote.font.sizeThe font size for footnotes<xsl:param name="footnote.font.size">
<xsl:value-of select="$body.font.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text>
</xsl:param>DescriptionThe footnote font size is used for...footnotes!
title.margin.lefttitle.margin.leftAdjust the left margin for titles
<xsl:param name="title.margin.left">
<xsl:choose>
<xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
<xsl:otherwise>-4pc</xsl:otherwise>
</xsl:choose>
</xsl:param>
DescriptionThis parameter adjusts the left margin for titles,
effectively leaving the titles at the left
margin and indenting the body text.
The default value is -4pc, which means the
body text is indented 4 picas relative to
the titles.
If you set the value to zero, be sure to still include
a unit indicator such as 0pt, or
the FO processor will report errors.
This parameter is set to 0pt if the
passivetex.extensions
parameter is nonzero because PassiveTeX cannot handle
the math expression with negative values
used to calculate the indents.
draft.modelistdraft.modeSelect draft mode
<xsl:param name="draft.mode" select="'maybe'"></xsl:param>
DescriptionSelects draft mode. If draft.mode is
yes, the entire document will be treated
as a draft. If it is no, the entire document
will be treated as a final copy. If it is maybe,
individual sections will be treated as draft or final independently, depending
on how their status attribute is set.
draft.watermark.imageuridraft.watermark.imageThe URI of the image to be used for draft watermarks
<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"></xsl:param>
DescriptionThe image to be used for draft watermarks.headers.on.blank.pagesbooleanheaders.on.blank.pagesPut headers on blank pages?
<xsl:param name="headers.on.blank.pages" select="1"></xsl:param>
DescriptionIf non-zero, headers will be placed on blank pages.footers.on.blank.pagesbooleanfooters.on.blank.pagesPut footers on blank pages?
<xsl:param name="footers.on.blank.pages" select="1"></xsl:param>
DescriptionIf non-zero, footers will be placed on blank pages.header.rulebooleanheader.ruleRule under headers?
<xsl:param name="header.rule" select="1"></xsl:param>
DescriptionIf non-zero, a rule will be drawn below the page headers.footer.rulebooleanfooter.ruleRule over footers?
<xsl:param name="footer.rule" select="1"></xsl:param>
DescriptionIf non-zero, a rule will be drawn above the page footers.header.column.widthsstringheader.column.widthsSpecify relative widths of header areas
<xsl:param name="header.column.widths" select="'1 1 1'"></xsl:param>
DescriptionPage headers in print output use a three column table
to position text at the left, center, and right side of
the header on the page.
This parameter lets you specify the relative sizes of the
three columns. The default value is
"1 1 1".The parameter value must be three numbers, separated
by white space. The first number represents the relative
width of the left header for
single-sided output, or the inside header for
double-sided output. The second number is the relative
width of the center header. The third number is the
relative width of the right header for
single-sided output, or the outside header for
double-sided output.
The numbers are used to specify the column widths
for the table that makes up the header area.
In the FO output, this looks like:
<fo:table-column column-number="1"
column-width="proportional-column-width(1)"/>
The proportional-column-width()
function computes a column width by dividing its
argument by the total of the arguments for all the columns, and
then multiplying the result by the width of the whole table
(assuming all the column specs use the function).
Its argument can be any positive integer or floating point number.
Zero is an acceptable value, although some FO processors
may warn about it, in which case using a very small number might
be more satisfactory.
For example, the value "1 2 1" means the center
header should have twice the width of the other areas.
A value of "0 0 1" means the entire header area
is reserved for the right (or outside) header text.
Note that to keep the center area centered on
the page, the left and right values must be
the same. A specification like "1 2 3" means the
center area is no longer centered on the page
since the right area is three times the width of the left area.
footer.column.widthsstringfooter.column.widthsSpecify relative widths of footer areas
<xsl:param name="footer.column.widths" select="'1 1 1'"></xsl:param>
DescriptionPage footers in print output use a three column table
to position text at the left, center, and right side of
the footer on the page.
This parameter lets you specify the relative sizes of the
three columns. The default value is
"1 1 1".The parameter value must be three numbers, separated
by white space. The first number represents the relative
width of the left footer for
single-sided output, or the inside footer for
double-sided output. The second number is the relative
width of the center footer. The third number is the
relative width of the right footer for
single-sided output, or the outside footer for
double-sided output.
The numbers are used to specify the column widths
for the table that makes up the footer area.
In the FO output, this looks like:
<fo:table-column column-number="1"
column-width="proportional-column-width(1)"/>
The proportional-column-width()
function computes a column width by dividing its
argument by the total of the arguments for all the columns, and
then multiplying the result by the width of the whole table
(assuming all the column specs use the function).
Its argument can be any positive integer or floating point number.
Zero is an acceptable value, although some FO processors
may warn about it, in which case using a very small number might
be more satisfactory.
For example, the value "1 2 1" means the center
footer should have twice the width of the other areas.
A value of "0 0 1" means the entire footer area
is reserved for the right (or outside) footer text.
Note that to keep the center area centered on
the page, the left and right values must be
the same. A specification like "1 2 3" means the
center area is no longer centered on the page
since the right area is three times the width of the left area.
header.content.propertiesheader.content.properties
<xsl:attribute-set name="header.content.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$body.fontset"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="margin-left">
<xsl:value-of select="$title.margin.left"></xsl:value-of>
</xsl:attribute>
</xsl:attribute-set>
DescriptionProperties of page header content.footer.content.propertiesfooter.content.properties
<xsl:attribute-set name="footer.content.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$body.fontset"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="margin-left">
<xsl:value-of select="$title.margin.left"></xsl:value-of>
</xsl:attribute>
</xsl:attribute-set>
DescriptionProperties of page footer content.marker.section.levelintegermarker.section.levelControl depth of sections shown in running headers or footers
<xsl:param name="marker.section.level" select="2"></xsl:param>
DescriptionThe marker.section.level parameter
controls the depth of section levels that may be displayed
in running headers and footers. For example, if the value
is 2 (the default), then titles from sect1 and
sect2 or equivalent section
elements are candidates for use in running headers and
footers.
Each candidate title is marked in the FO output with a
<fo:marker marker-class-name="section.head.marker">
element.
In order for such titles to appear in headers
or footers, the header.content
or footer.content template
must be customized to retrieve the marker using
an output element such as:
<fo:retrieve-marker retrieve-class-name="section.head.marker"
retrieve-position="first-including-carryover"
retrieve-boundary="page-sequence"/>
Font Familiesbody.font.familybody.font.familyThe default font family for body text
<xsl:param name="body.font.family" select="'serif'"></xsl:param>
DescriptionThe body font family is the default font used for text in the page body.
dingbat.font.familydingbat.font.familyThe font family for copyright, quotes, and other symbols
<xsl:param name="dingbat.font.family" select="'serif'"></xsl:param>
DescriptionThe dingbat font family is used for dingbats. If it is defined
as the empty string, no font change is effected around dingbats.
monospace.font.familymonospace.font.familyThe default font family for monospace environments
<xsl:param name="monospace.font.family" select="'monospace'"></xsl:param>
DescriptionThe monospace font family is used for verbatim environments
(program listings, screens, etc.).
sans.font.familysans.font.familyThe default sans-serif font family
<xsl:param name="sans.font.family" select="'sans-serif'"></xsl:param>
DescriptionThe default sans-serif font family. At the present, this isn't
actually used by the stylesheets.
title.font.familytitle.font.familyThe default font family for titles
<xsl:param name="title.font.family" select="'sans-serif'"></xsl:param>
DescriptionThe title font family is used for titles (chapter, section, figure,
etc.)
symbol.font.familysymbol.font.familyThe font families to be searched for symbols outside
of the body font
<xsl:param name="symbol.font.family" select="'Symbol,ZapfDingbats'"></xsl:param>
DescriptionA typical body or title font does not contain all
the character glyphs that DocBook supports. This parameter
specifies additional fonts that should be searched for
special characters not in the normal font.
These symbol font names are automatically appended
to the body or title font family name when fonts
are specified in a
font-family
property in the FO output.
The symbol font names should be entered as a
comma-separated list. The default value is
Symbol,ZapfDingbats.
Listslist.block.spacingWhat spacing do you want before and after lists?<xsl:attribute-set name="list.block.spacing">
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>DescriptionSpecify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. list.item.spacingWhat space do you want between list items?<xsl:attribute-set name="list.item.spacing">
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>DescriptionSpecify what spacing you want between each list item.compact.list.item.spacingWhat space do you want between list items (when spacing=compact)?<xsl:attribute-set name="compact.list.item.spacing">
<xsl:attribute name="space-before.optimum">0em</xsl:attribute>
<xsl:attribute name="space-before.minimum">0em</xsl:attribute>
<xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
</xsl:attribute-set>DescriptionSpecify what spacing you want between each list item when
spacing is
compact.variablelist.max.termlengthvariablelist.max.termlengthSpecifies the longest term in variablelists
<xsl:param name="variablelist.max.termlength">24</xsl:param>
DescriptionIn variablelists, the listitem
is indented to leave room for the
term elements. That indent may be computed
if it is not specified with a termlength
attribute on the variablelist element.
The computation counts characters in the
term elements in the list
to find the longest term. However, some terms are very long
and would produce extreme indents. This parameter lets you
set a maximum character count. Any terms longer than the maximum
would line wrap. The default value is 24.
The character counts are converted to physical widths
by multiplying by 0.50em. There will be some variability
in how many actual characters fit in the space
since some characters are wider than others.
Cross Referencesinsert.xref.page.numberstringinsert.xref.page.numberTurns page numbers in xrefs on and off
<xsl:param name="insert.xref.page.number">no</xsl:param>
DescriptionThe value of this parameter determines if
cross references (xrefs) in
printed output will
include page number citations.
It has three possible values.
noNo page number references will be generated.
yesPage number references will be generated
for all xref elements.
The style of page reference may be changed
if an xrefstyle
attribute is used.
maybePage number references will not be generated
for an xref element unless
it has an
xrefstyle
attribute whose value specifies a page reference.
xref.propertiesProperties associated with cross-reference text
<xsl:attribute-set name="xref.properties">
</xsl:attribute-set>
DescriptionThis attribute set is used on cross reference text.xref.label-title.separatorstringxref.label-title.separatorPunctuation or space separating label from title in xref<xsl:param name="xref.label-title.separator">: </xsl:param>Description
This parameter allows you to control the punctuation of certain
types of generated cross reference text.
When cross reference text is generated for an
xref or
olink element
using an xrefstyle attribute
that makes use of the select: feature,
and the selected components include both label and title,
then the value of this parameter is inserted between
label and title in the output.
xref.label-page.separatorstringxref.label-page.separatorPunctuation or space separating label from page number in xref<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>Description
This parameter allows you to control the punctuation of certain
types of generated cross reference text.
When cross reference text is generated for an
xref or
olink element
using an xrefstyle attribute
that makes use of the select: feature,
and the selected components include both label and page
but no title,
then the value of this parameter is inserted between
label and page number in the output.
If a title is included, then other separators are used.
xref.title-page.separatorstringxref.title-page.separatorPunctuation or space separating title from page number in xref<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>Description
This parameter allows you to control the punctuation of certain
types of generated cross reference text.
When cross reference text is generated for an
xref or
olink element
using an xrefstyle attribute
that makes use of the select: feature,
and the selected components include both title and page number,
then the value of this parameter is inserted between
title and page number in the output.
Property Setsformal.object.propertiesProperties associated with a formal object such as a figure, or other component that has a title
<xsl:attribute-set name="formal.object.properties">
<xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">2em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
<xsl:attribute name="keep-together.within-column">always</xsl:attribute>
</xsl:attribute-set>
DescriptionThe styling for formal objects in docbook. Specify the spacing
before and after the object.formal.title.propertiesStyle the title element of formal object such as a figure.
<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
<xsl:attribute name="hyphenate">false</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
<xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
<xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
</xsl:attribute-set>
DescriptionSpecify how the title should be styled. Specify the font size and weight of the title of the formal object.informal.object.propertiesProperties associated with a formal object such as a figure, or other component that has a title<xsl:attribute-set name="informal.object.properties">
<xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">2em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
</xsl:attribute-set>DescriptionThe styling for informal objects in docbook. Specify the spacing before and after the object.monospace.propertiesattribute setmonospace.propertiesProperties of monospaced content
<xsl:attribute-set name="monospace.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$monospace.font.family"></xsl:value-of>
</xsl:attribute>
</xsl:attribute-set>
DescriptionSpecifies the font name for monospaced output. This property set
used to set the font-size as well, but that doesn't work very well
when different fonts are used (as they are in titles and paragraphs,
for example).If you want to set the font-size in a customization layer, it's
probably going to be more appropriate to set font-size-adjust, if your
formatter supports it.verbatim.propertiesProperties associated with verbatim text
<xsl:attribute-set name="verbatim.properties">
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
<xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>DescriptionThis attribute set is used on all verbatim environments.monospace.verbatim.propertiesWhat font and size do you want for monospaced content?
<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
<xsl:attribute name="text-align">start</xsl:attribute>
</xsl:attribute-set>
DescriptionSpecify the font name and size you want for monospaced outputsidebar.propertiesattribute setsidebar.propertiesAttribute set for sidebar properties
<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties">
<xsl:attribute name="border-style">solid</xsl:attribute>
<xsl:attribute name="border-width">1pt</xsl:attribute>
<xsl:attribute name="border-color">black</xsl:attribute>
<xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
<xsl:attribute name="padding-left">12pt</xsl:attribute>
<xsl:attribute name="padding-right">12pt</xsl:attribute>
<xsl:attribute name="padding-top">6pt</xsl:attribute>
<xsl:attribute name="padding-bottom">6pt</xsl:attribute>
<!--
<xsl:attribute name="margin-left">12pt</xsl:attribute>
<xsl:attribute name="margin-right">12pt</xsl:attribute>
<xsl:attribute name="margin-top">6pt</xsl:attribute>
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
-->
</xsl:attribute-set>
DescriptionThe styling for sidebars.section.title.propertiesattribute setsection.title.propertiesProperties for section titles
<xsl:attribute-set name="section.title.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$title.font.family"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<!-- font size is calculated dynamically by section.heading template -->
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties common to all section titles.section.title.level1.propertiesattribute setsection.title.level1.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level1.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-1 section titles.section.title.level2.propertiesattribute setsection.title.level2.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level2.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.728"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-2 section titles.section.title.level3.propertiesattribute setsection.title.level3.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level3.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.44"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-3 section titles.section.title.level4.propertiesattribute setsection.title.level4.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level4.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-4 section titles.section.title.level5.propertiesattribute setsection.title.level5.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level5.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-5 section titles.section.title.level6.propertiesattribute setsection.title.level6.propertiesProperties for level-1 section titles
<xsl:attribute-set name="section.title.level6.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-6 section titles. This property set is actually
used for all titles below level 5.section.propertiesattribute setsection.propertiesProperties for all section levels
<xsl:attribute-set name="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of all section levels, and therefore apply to
the whole section.
This attribute set is inherited by the
more specific attribute sets such as
section.level1.properties.
The default is empty.
section.level1.propertiesattribute setsection.level1.propertiesProperties for level-1 sections
<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level-1 section, and therefore apply to
the whole section. This includes sect1
elements and section elements at level 1.
For example, you could start each level-1 section on
a new page by using:<xsl:attribute-set name="section.level1.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
section.level2.propertiesattribute setsection.level2.propertiesProperties for level-2 sections
<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level-2 section, and therefore apply to
the whole section. This includes sect2
elements and section elements at level 2.
For example, you could start each level-2 section on
a new page by using:<xsl:attribute-set name="section.level2.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
section.level3.propertiesattribute setsection.level3.propertiesProperties for level-3 sections
<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level-3 section, and therefore apply to
the whole section. This includes sect3
elements and section elements at level 3.
For example, you could start each level-3 section on
a new page by using:<xsl:attribute-set name="section.level3.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
section.level4.propertiesattribute setsection.level4.propertiesProperties for level-4 sections
<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level-4 section, and therefore apply to
the whole section. This includes sect4
elements and section elements at level 4.
For example, you could start each level-4 section on
a new page by using:<xsl:attribute-set name="section.level4.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
section.level5.propertiesattribute setsection.level5.propertiesProperties for level-5 sections
<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level-5 section, and therefore apply to
the whole section. This includes sect5
elements and section elements at level 5.
For example, you could start each level-5 section on
a new page by using:<xsl:attribute-set name="section.level5.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
section.level6.propertiesattribute setsection.level6.propertiesProperties for level-6 sections
<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>
DescriptionThe properties that apply to the containing
block of a level 6 or lower section, and therefore apply to
the whole section. This includes
section elements at level 6 and lower.
For example, you could start each level-6 section on
a new page by using:<xsl:attribute-set name="section.level6.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
This attribute set inherits attributes from the
general section.properties attribute set.
figure.propertiesProperties associated with a figure
<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
DescriptionThe styling for figures.example.propertiesProperties associated with a example
<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
DescriptionThe styling for examples.equation.propertiesProperties associated with a equation
<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
DescriptionThe styling for equations.table.propertiesProperties associated with the block surrounding a table
<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
DescriptionBlock styling properties for tables. This parameter should really
have been called table.block.properties or something
like that, but we’re leaving it to avoid backwards-compatibility
problems.See also table.table.properties.procedure.propertiesProperties associated with a procedure
<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>
DescriptionThe styling for procedures.root.propertiesattribute setroot.propertiesThe properties of the fo:root element
<xsl:attribute-set name="root.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$body.fontset"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.size"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="text-align">
<xsl:value-of select="$alignment"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="line-height">
<xsl:value-of select="$line-height"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
<xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
</xsl:attribute-set>
DescriptionThis property set is used on the fo:root element of
an FO file. It defines a set of default, global parameters.qanda.title.propertiesattribute setqanda.title.propertiesProperties for qanda set titles
<xsl:attribute-set name="qanda.title.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$title.font.family"></xsl:value-of>
</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<!-- font size is calculated dynamically by qanda.heading template -->
<xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties common to all qanda set titles.qanda.title.level1.propertiesattribute setqanda.title.level1.propertiesProperties for level-1 qanda set titles
<xsl:attribute-set name="qanda.title.level1.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-1 qanda set titles.qanda.title.level2.propertiesattribute setqanda.title.level2.propertiesProperties for level-2 qanda set titles
<xsl:attribute-set name="qanda.title.level2.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.728"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-2 qanda set titles.qanda.title.level3.propertiesattribute setqanda.title.level3.propertiesProperties for level-3 qanda set titles
<xsl:attribute-set name="qanda.title.level3.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.44"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-3 qanda set titles.qanda.title.level4.propertiesattribute setqanda.title.level4.propertiesProperties for level-4 qanda set titles
<xsl:attribute-set name="qanda.title.level4.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master * 1.2"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-4 qanda set titles.qanda.title.level5.propertiesattribute setqanda.title.level5.propertiesProperties for level-5 qanda set titles
<xsl:attribute-set name="qanda.title.level5.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-5 qanda set titles.qanda.title.level6.propertiesattribute setqanda.title.level6.propertiesProperties for level-6 qanda set titles
<xsl:attribute-set name="qanda.title.level6.properties">
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master"></xsl:value-of>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties of level-6 qanda set titles.
This property set is actually
used for all titles below level 5.article.appendix.title.propertiesattribute setarticle.appendix.title.propertiesProperties for appendix titles that appear in an article
<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties section.title.level1.properties">
<xsl:attribute name="margin-left">
<xsl:value-of select="$title.margin.left"></xsl:value-of>
</xsl:attribute>
</xsl:attribute-set>
DescriptionThe properties for the title of an appendix that
appears inside an article. The default is to use
the properties of sect1 titles.ProfilingFollowing parameters can be used for attribute value based
profiling of your document. For more info about profiling look at
http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html.profile.archstringprofile.archTarget profile for arch
attribute
<xsl:param name="profile.arch" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.conditionstringprofile.conditionTarget profile for condition
attribute
<xsl:param name="profile.condition" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.conformancestringprofile.conformanceTarget profile for conformance
attribute
<xsl:param name="profile.conformance" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.langstringprofile.langTarget profile for lang
attribute
<xsl:param name="profile.lang" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.osstringprofile.osTarget profile for os
attribute
<xsl:param name="profile.os" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.revisionstringprofile.revisionTarget profile for revision
attribute
<xsl:param name="profile.revision" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.revisionflagstringprofile.revisionflagTarget profile for revisionflag
attribute
<xsl:param name="profile.revisionflag" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.rolestringprofile.roleTarget profile for role
attribute
<xsl:param name="profile.role" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).Note that role is often
used for other purposes than profiling. For example it is commonly
used to get emphasize in bold font:<emphasis role="bold">very important</emphasis>If you are using role for
these purposes do not forget to add values like bold to
value of this parameter. If you forgot you will get document with
small pieces missing which are very hard to track.For this reason it is not recommended to use role attribute for profiling. You should
rather use profiling specific attributes like userlevel, os, arch, condition, etc.profile.securitystringprofile.securityTarget profile for security
attribute
<xsl:param name="profile.security" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.userlevelstringprofile.userlevelTarget profile for userlevel
attribute
<xsl:param name="profile.userlevel" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.vendorstringprofile.vendorTarget profile for vendor
attribute
<xsl:param name="profile.vendor" select="''"></xsl:param>
DescriptionValue of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.attributestringprofile.attributeName of user-specified profiling attribute
<xsl:param name="profile.attribute" select="''"></xsl:param>
DescriptionThis parameter is used in conjuction with profile.value.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.valuestringprofile.valueTarget profile for user-specified attribute
<xsl:param name="profile.value" select="''"></xsl:param>
DescriptionWhen you are using this parameter you must also specify name of
profiling attribute with parameter profile.attribute.Value of this parameter specifies profiles which should be
included in the output. You can specify multiple profiles by
separating them by semicolon. You can change separator character by
profile.separator
parameter.This parameter has effect only when you are using profiling
stylesheets (profile-docbook.xsl,
profile-chunk.xsl, …) instead of normal
ones (docbook.xsl,
chunk.xsl, …).profile.separatorstringprofile.separatorSeparator character for compound profile values
<xsl:param name="profile.separator" select="';'"></xsl:param>
DescriptionSeparator character for compound profile values.Localizationl10n.gentext.languagestringl10n.gentext.languageSets the gentext language
<xsl:param name="l10n.gentext.language" select="''"></xsl:param>
DescriptionIf this parameter is set to any value other than the empty string, its
value will be used as the value for the language when generating text. Setting
l10n.gentext.language overrides any settings within the
document being formatted.It's much more likely that you might want to set the
l10n.gentext.default.language parameter.l10n.gentext.default.languagestringl10n.gentext.default.languageSets the default language for generated text
<xsl:param name="l10n.gentext.default.language" select="'en'"></xsl:param>
DescriptionThe value of the l10n.gentext.default.language
parameter is used as the language for generated text if no setting is provided
in the source document.l10n.gentext.use.xref.languagebooleanl10n.gentext.use.xref.languageUse the language of target when generating cross-reference text?
<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param>
DescriptionIf non-zero, the language of the target will be used when
generating cross reference text. Usually, the current
language is used when generating text (that is, the language of the
element that contains the cross-reference element). But setting this parameter
allows the language of the element pointed to to control
the generated text.Consider the following example:<para lang="en">See also <xref linkend="chap3"/>.</para>
Suppose that Chapter 3 happens to be written in German.
If l10n.gentext.use.xref.language is non-zero, the
resulting text will be something like this: