FO Parameter Reference

Norman Walsh

$Id: param.xweb 7583 2007-12-03 17:02:33Z mzjn $

Abstract

This is reference documentation for all user-configurable parameters in the DocBook XSL FO stylesheets (for generating XSL-FO output destined for final print/PDF output).


Table of Contents

I. Admonitions
admon.graphics — Use graphics in admonitions?
admon.graphics.extension — Filename extension for admonition graphics
admon.graphics.path — Path to admonition graphics
admon.textlabel — Use text label in admonitions?
admonition.title.properties — To set the style for admonitions titles.
admonition.properties — To set the style for admonitions.
graphical.admonition.properties — To add properties to the outer block of a graphical admonition.
nongraphical.admonition.properties — To add properties to the outer block of a nongraphical admonition.
II. Callouts
callout.defaultcolumn — Indicates what column callouts appear in by default
callout.graphics — Use graphics for callouts?
callout.graphics.extension — Filename extension for callout graphics
callout.graphics.number.limit — Number of the largest callout graphic
callout.graphics.path — Path to callout graphics
callout.icon.size — Specifies the size of callout marker icons
callout.unicode — Use Unicode characters rather than images for callouts.
callout.unicode.font — Specify a font for Unicode glyphs
callout.unicode.number.limit — Number of the largest unicode callout character
callout.unicode.start.character — First Unicode character to use, decimal value.
callouts.extension — Enable the callout extension
III. ToC/LoT/Index Generation
autotoc.label.separator — Separator between labels and titles in the ToC
process.empty.source.toc — Generate automated TOC if toc element occurs in a source document?
process.source.toc — Process a non-empty toc element if it occurs in a source document?
generate.toc — Control generation of ToCs and LoTs
generate.index — Do you want an index?
make.index.markup — Generate XML index markup in the index?
index.method — Select method used to group index entries in an index
index.on.type — Select indexterms based on type attribute value
index.on.role — Select indexterms based on role value
index.preferred.page.properties — Properties used to emphasize page number references for significant index terms
index.entry.properties — Properties applied to the formatted entries in an index
index.div.title.properties — Properties associated with the letter headings in an index
index.number.separator — Override for punctuation separating page numbers in index
index.range.separator — Override for punctuation separating the two numbers in a page range in index
index.term.separator — Override for punctuation separating an index term from its list of page references in an index
xep.index.item.properties — Properties associated with XEP index-items
toc.section.depth — How deep should recursive sections appear in the TOC?
toc.max.depth — How many levels should be created for each TOC?
toc.indent.width — Amount of indentation for TOC entries
toc.line.properties — Properties for lines in ToC and LoTs
toc.margin.properties — Margin properties used on Tables of Contents
bridgehead.in.toc — Should bridgehead elements appear in the TOC?
simplesect.in.toc — Should simplesect elements appear in the TOC?
generate.section.toc.level — Control depth of TOC generation in sections
IV. Processor Extensions
arbortext.extensions — Enable Arbortext extensions?
axf.extensions — Enable XSL Formatter extensions?
fop.extensions — Enable extensions for FOP version 0.20.5 and earlier
fop1.extensions — Enable extensions for FOP version 0.90 and later
passivetex.extensions — Enable PassiveTeX extensions?
tex.math.in.alt — TeX notation used for equations
tex.math.delims — Should equations output for processing by TeX be surrounded by math mode delimiters?
xep.extensions — Enable XEP extensions?
V. Stylesheet Extensions
linenumbering.everyNth — Indicate which lines should be numbered
linenumbering.extension — Enable the line numbering extension
linenumbering.separator — Specify a separator between line numbers and lines
linenumbering.width — Indicates the width of line numbers
tablecolumns.extension — Enable the table columns extension function
textinsert.extension — Enables the textinsert extension element
textdata.default.encoding — Default encoding of external text files which are included using textdata element
use.extensions — Enable extensions
VI. Automatic labelling
appendix.autolabel — Specifies the labeling format for Appendix titles
chapter.autolabel — Specifies the labeling format for Chapter titles
part.autolabel — Specifies the labeling format for Part titles
reference.autolabel — Specifies the labeling format for Reference titles
preface.autolabel — Specifices the labeling format for Preface titles
section.autolabel — Are sections enumerated?
section.autolabel.max.depth — The deepest level of sections that are numbered.
section.label.includes.component.label — Do section labels include the component label?
label.from.part — Renumber components in each part?
component.label.includes.part.label — Do component labels include the part label?
VII. XSLT Processing
rootid — Specify the root element to format
VIII. Meta/*Info
make.single.year.ranges — Print single-year ranges (e.g., 1998-1999)
make.year.ranges — Collate copyright years into ranges?
author.othername.in.middle — Is othername in author a middle name?
IX. Reference Pages
funcsynopsis.decoration — Decorate elements of a funcsynopsis?
funcsynopsis.style — What style of funcsynopsis should be generated?
function.parens — Generate parens after a function?
refentry.generate.name — Output NAME header before 'RefName'(s)?
refentry.generate.title — Output title before 'RefName'(s)?
refentry.pagebreak — Start each refentry on a new page
refentry.title.properties — Title properties for a refentry title
refentry.xref.manvolnum — Output manvolnum as part of refentry cross-reference?
refclass.suppress — Suppress display of refclass contents?
X. Tables
default.table.width — The default width of tables
nominal.table.width — The (absolute) nominal width of tables
default.table.frame — The default framing of tables
table.cell.padding — Specifies the padding of table cells
table.frame.border.thickness — Specifies the thickness of the frame border
table.frame.border.style — Specifies the border style of table frames
table.frame.border.color — Specifies the border color of table frames
table.cell.border.thickness — Specifies the thickness of table cell borders
table.cell.border.style — Specifies the border style of table cells
table.cell.border.color — Specifies the border color of table cells
table.table.properties — Properties associated with a table
XI. Linking
current.docid — targetdoc identifier for the document being processed
collect.xref.targets — Controls whether cross reference data is collected
insert.olink.page.number — Turns page numbers in olinks on and off
insert.olink.pdf.frag — Add fragment identifiers for links into PDF files
olink.base.uri — Base URI used in olink hrefs
olink.debug — Turn on debugging messages for olinks
olink.doctitle — show the document title for external olinks?
olink.lang.fallback.sequence — look up translated documents if olink not found?
olink.properties — Properties associated with the cross-reference text of an olink.
prefer.internal.olink — Prefer a local olink reference to an external reference
target.database.document — Name of master database file for resolving olinks
targets.filename — Name of cross reference targets data file
use.local.olink.style — Process olinks using xref style of current document
XII. Cross References
insert.xref.page.number — Turns page numbers in xrefs on and off
xref.properties — Properties associated with cross-reference text
xref.label-title.separator — Punctuation or space separating label from title in xref
xref.label-page.separator — Punctuation or space separating label from page number in xref
xref.title-page.separator — Punctuation or space separating title from page number in xref
insert.link.page.number — Turns page numbers in link elements on and off
XIII. Lists
compact.list.item.spacing — What space do you want between list items (when spacing="compact")?
itemizedlist.properties — Properties that apply to each list-block generated by itemizedlist.
itemizedlist.label.properties — Properties that apply to each label inside itemized list.
itemizedlist.label.width — The default width of the label (bullet) in an itemized list.
list.block.properties — Properties that apply to each list-block generated by list.
list.block.spacing — What spacing do you want before and after lists?
list.item.spacing — What space do you want between list items?
orderedlist.properties — Properties that apply to each list-block generated by orderedlist.
orderedlist.label.properties — Properties that apply to each label inside ordered list.
orderedlist.label.width — The default width of the label (number) in an ordered list.
variablelist.max.termlength — Specifies the longest term in variablelists
variablelist.term.separator — Text to separate terms within a multi-term varlistentry
variablelist.term.break.after — Generate line break after each term within a multi-term varlistentry?
XIV. QAndASet
qandadiv.autolabel — Are divisions in QAndASets enumerated?
qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements?
qanda.defaultlabel — Sets the default for defaultlabel on QandASet.
qanda.in.toc — Should qandaentry questions appear in the document table of contents?
qanda.nested.in.toc — Should nested answer/qandaentry instances appear in TOC?
XV. Bibliography
bibliography.style — Style used for formatting of biblioentries.
biblioentry.item.separator — Text to separate bibliography entries
bibliography.collection — Name of the bibliography collection file
bibliography.numbered — Should bibliography entries be numbered?
biblioentry.properties — To set the style for biblioentry.
XVI. Glossary
glossterm.auto.link — Generate links from glossterm to glossentry automatically?
firstterm.only.link — Does automatic glossterm linking only apply to firstterms?
glossary.collection — Name of the glossary collection file
glossterm.separation — Separation between glossary terms and descriptions in list mode
glossterm.width — Width of glossterm in list presentation mode
glossary.as.blocks — Present glossarys using blocks instead of lists?
glosslist.as.blocks — Use blocks for glosslists?
glossentry.show.acronym — Display glossentry acronyms?
glossary.sort — Sort glossentry elements?
XVII. Miscellaneous
formal.procedures — Selects formal or informal procedures
formal.title.placement — Specifies where formal object titles should occur
runinhead.default.title.end.punct — Default punctuation character on a run-in-head
runinhead.title.end.punct — Characters that count as punctuation on a run-in-head
show.comments — Display remark elements?
punct.honorific — Punctuation after an honorific in a personal name.
segmentedlist.as.table — Format segmented lists as tables?
variablelist.as.blocks — Format variablelists lists as blocks?
blockquote.properties — To set the style for block quotations.
ulink.show — Display URLs after ulinks?
ulink.footnotes — Generate footnotes for ulinks?
ulink.hyphenate — Allow URLs to be automatically hyphenated
ulink.hyphenate.chars — List of characters to allow ulink URLs to be automatically hyphenated on
shade.verbatim — Should verbatim environments be shaded?
shade.verbatim.style — Properties that specify the style of shaded verbatim listings
hyphenate.verbatim — Should verbatim environments be hyphenated on space characters?
hyphenate.verbatim.characters — List of characters after which line break can occur in listings
use.svg — Allow SVG in the result tree?
use.role.as.xrefstyle — Use role attribute for xrefstyle on xref?
menuchoice.separator — Separator between items of a menuchoice other than guimenuitem and guisubmenu
menuchoice.menu.separator — Separator between items of a menuchoice with guimenuitem or guisubmenu
default.float.class — Specifies the default float class
footnote.number.format — Identifies the format used for footnote numbers
table.footnote.number.format — Identifies the format used for footnote numbers in tables
footnote.number.symbols — Special characters to use as footnote markers
table.footnote.number.symbols — Special characters to use a footnote markers in tables
footnote.properties — Properties applied to each footnote body
table.footnote.properties — Properties applied to each table footnote body
footnote.mark.properties — Properties applied to each footnote mark
footnote.sep.leader.properties — Properties associated with footnote separators
xref.with.number.and.title — Use number and title in cross references
superscript.properties — Properties associated with superscripts
subscript.properties — Properties associated with subscripts
pgwide.properties — Properties to make a figure or table page wide.
highlight.source — Should the content of programlisting be syntactically highlighted?
highlight.default.language — Default language of programlisting
email.delimiters.enabled — Generate delimiters around email addresses?
section.container.element — Select XSL-FO element name to contain sections
XVIII. Graphics
graphic.default.extension — Default extension for graphic filenames
default.image.width — The default width of images
preferred.mediaobject.role — Select which mediaobject to use based on this value of an object's role attribute.
use.role.for.mediaobject — Use role attribute value for selecting which of several objects within a mediaobject to use.
ignore.image.scaling — Tell the stylesheets to ignore the author's image scaling attributes
img.src.path — Path to HTML/FO image files
keep.relative.image.uris — Should image URIs be resolved against xml:base?
XIX. Pagination and General Styles
page.height — The height of the physical page
page.height.portrait — Specify the physical size of the long edge of the page
page.margin.bottom — The bottom margin of the page
page.margin.inner — The inner page margin
page.margin.outer — The outer page margin
page.margin.top — The top margin of the page
page.orientation — Select the page orientation
page.width — The width of the physical page
page.width.portrait — Specify the physical size of the short edge of the page
paper.type — Select the paper type
double.sided — Is the document to be printed double sided?
body.margin.bottom — The bottom margin of the body text
body.margin.top — To specify the size of the top margin of a page
body.start.indent — The start-indent for the body text
body.end.indent — The end-indent for the body text
alignment — Specify the default text alignment
hyphenate — Specify hyphenation behavior
line-height — Specify the line-height property
column.count.back — Number of columns on back matter pages
column.count.body — Number of columns on body pages
column.count.front — Number of columns on front matter pages
column.count.index — Number of columns on index pages
column.count.lot — Number of columns on a 'List-of-Titles' page
column.count.titlepage — Number of columns on a title page
column.gap.back — Gap between columns in back matter
column.gap.body — Gap between columns in the body
column.gap.front — Gap between columns in the front matter
column.gap.index — Gap between columns in the index
column.gap.lot — Gap between columns on a 'List-of-Titles' page
column.gap.titlepage — Gap between columns on title pages
region.after.extent — Specifies the height of the footer.
region.before.extent — Specifies the height of the header
default.units — Default units for an unqualified dimension
normal.para.spacing — What space do you want between normal paragraphs
body.font.master — Specifies the default point size for body text
body.font.size — Specifies the default font size for body text
footnote.font.size — The font size for footnotes
title.margin.left — Adjust the left margin for titles
draft.mode — Select draft mode
draft.watermark.image — The URI of the image to be used for draft watermarks
headers.on.blank.pages — Put headers on blank pages?
footers.on.blank.pages — Put footers on blank pages?
header.rule — Rule under headers?
footer.rule — Rule over footers?
header.column.widths — Specify relative widths of header areas
footer.column.widths — Specify relative widths of footer areas
header.table.properties — Apply properties to the header layout table
header.table.height — Specify the minimum height of the table containing the running page headers
footer.table.properties — Apply properties to the footer layout table
footer.table.height — Specify the minimum height of the table containing the running page footers
header.content.properties — Properties of page header content
footer.content.properties — Properties of page footer content
marker.section.level — Control depth of sections shown in running headers or footers
XX. Font Families
body.font.family — The default font family for body text
dingbat.font.family — The font family for copyright, quotes, and other symbols
monospace.font.family — The default font family for monospace environments
sans.font.family — The default sans-serif font family
title.font.family — The default font family for titles
symbol.font.family — The font families to be searched for symbols outside of the body font
XXI. Property Sets
formal.object.properties — Properties associated with a formal object such as a figure, or other component that has a title
formal.title.properties — Style the title element of formal object such as a figure.
informal.object.properties — Properties associated with an informal (untitled) object, such as an informalfigure
monospace.properties — Properties of monospaced content
verbatim.properties — Properties associated with verbatim text
monospace.verbatim.properties — What font and size do you want for monospaced content?
sidebar.properties — Attribute set for sidebar properties
sidebar.title.properties — Attribute set for sidebar titles
sidebar.float.type — Select type of float for sidebar elements
sidebar.float.width — Set the default width for sidebars
margin.note.properties — Attribute set for margin.note properties
margin.note.title.properties — Attribute set for margin note titles
margin.note.float.type — Select type of float for margin note customizations
margin.note.width — Set the default width for margin notes
component.title.properties — Properties for component titles
component.titlepage.properties — Properties for component titlepages
section.title.properties — Properties for section titles
section.title.level1.properties — Properties for level-1 section titles
section.title.level2.properties — Properties for level-2 section titles
section.title.level3.properties — Properties for level-3 section titles
section.title.level4.properties — Properties for level-4 section titles
section.title.level5.properties — Properties for level-5 section titles
section.title.level6.properties — Properties for level-6 section titles
section.properties — Properties for all section levels
section.level1.properties — Properties for level-1 sections
section.level2.properties — Properties for level-2 sections
section.level3.properties — Properties for level-3 sections
section.level4.properties — Properties for level-4 sections
section.level5.properties — Properties for level-5 sections
section.level6.properties — Properties for level-6 sections
figure.properties — Properties associated with a figure
example.properties — Properties associated with a example
equation.properties — Properties associated with a equation
table.properties — Properties associated with the block surrounding a table
informalfigure.properties — Properties associated with an informalfigure
informalexample.properties — Properties associated with an informalexample
informalequation.properties — Properties associated with an informalequation
informaltable.properties — Properties associated with the block surrounding an informaltable
procedure.properties — Properties associated with a procedure
root.properties — The properties of the fo:root element
qanda.title.properties — Properties for qanda set titles
qanda.title.level1.properties — Properties for level-1 qanda set titles
qanda.title.level2.properties — Properties for level-2 qanda set titles
qanda.title.level3.properties — Properties for level-3 qanda set titles
qanda.title.level4.properties — Properties for level-4 qanda set titles
qanda.title.level5.properties — Properties for level-5 qanda set titles
qanda.title.level6.properties — Properties for level-6 qanda set titles
article.appendix.title.properties — Properties for appendix titles that appear in an article
abstract.properties — Properties associated with the block surrounding an abstract
abstract.title.properties — Properties for abstract titles
index.page.number.properties — Properties associated with index page numbers
revhistory.table.properties — The properties of table used for formatting revhistory
revhistory.table.cell.properties — The properties of table cells used for formatting revhistory
revhistory.title.properties — The properties of revhistory title
XXII. Profiling
profile.arch — Target profile for arch attribute
profile.audience — Target profile for audience attribute
profile.condition — Target profile for condition attribute
profile.conformance — Target profile for conformance attribute
profile.lang — Target profile for lang attribute
profile.os — Target profile for os attribute
profile.revision — Target profile for revision attribute
profile.revisionflag — Target profile for revisionflag attribute
profile.role — Target profile for role attribute
profile.security — Target profile for security attribute
profile.status — Target profile for status attribute
profile.userlevel — Target profile for userlevel attribute
profile.vendor — Target profile for vendor attribute
profile.wordsize — Target profile for wordsize attribute
profile.attribute — Name of user-specified profiling attribute
profile.value — Target profile for user-specified attribute
profile.separator — Separator character for compound profile values
XXIII. Localization
l10n.gentext.language — Sets the gentext language
l10n.gentext.default.language — Sets the default language for generated text
l10n.gentext.use.xref.language — Use the language of target when generating cross-reference text?
l10n.lang.value.rfc.compliant — Make value of lang attribute RFC compliant?
XXIV. EBNF
ebnf.assignment — The EBNF production assignment operator
ebnf.statement.terminator — Punctuation that ends an EBNF statement.
XXV. Prepress
crop.marks — Output crop marks?
crop.mark.width — Width of crop marks.
crop.mark.offset — Length of crop marks.
crop.mark.bleed — Length of invisible part of crop marks.
A. The Stylesheet

List of Figures

1. Page Model

Admonitions


Table of Contents

admon.graphics — Use graphics in admonitions?
admon.graphics.extension — Filename extension for admonition graphics
admon.graphics.path — Path to admonition graphics
admon.textlabel — Use text label in admonitions?
admonition.title.properties — To set the style for admonitions titles.
admonition.properties — To set the style for admonitions.
graphical.admonition.properties — To add properties to the outer block of a graphical admonition.
nongraphical.admonition.properties — To add properties to the outer block of a nongraphical admonition.

Name

admon.graphics — Use graphics in admonitions?

Synopsis

<xsl:param name="admon.graphics" select="0"></xsl:param>

Description

If true (non-zero), admonitions are presented in an alternate style that uses a graphic. Default graphics are provided in the distribution.


Name

admon.graphics.extension — Filename extension for admonition graphics

Synopsis

<xsl:param name="admon.graphics.extension">.png</xsl:param>

Description

Sets the filename extension to use on admonition graphics.


Name

admon.graphics.path — Path to admonition graphics

Synopsis

<xsl:param name="admon.graphics.path">images/</xsl:param>

Description

Sets the path to the directory containing the admonition graphics (caution.png, important.png etc). This location is normally relative to the output html directory. See base.dir


Name

admon.textlabel — Use text label in admonitions?

Synopsis

<xsl:param name="admon.textlabel" select="1"></xsl:param>

Description

If 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.


Name

admonition.title.properties — To set the style for admonitions titles.

Synopsis

<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>

Description

How do you want admonitions titles styled?

Set the font-size, weight etc to the style required.


Name

admonition.properties — To set the style for admonitions.

Synopsis

<xsl:attribute-set name="admonition.properties"></xsl:attribute-set>

Description

How do you want admonitions styled?

Set the font-size, weight, etc. to the style required


Name

graphical.admonition.properties — To add properties to the outer block of a graphical admonition.

Synopsis

<xsl:attribute-set name="graphical.admonition.properties">
  <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>

Description

These properties are added to the outer block containing the entire graphical admonition, including its title. It is used when the parameter admon.graphics is set to nonzero. Use this attribute-set to set the space above and below, and any indent for the whole admonition.

In addition to these properties, a graphical admonition also applies the admonition.title.properties attribute-set to the title, and applies the admonition.properties attribute-set to the rest of the content.


Name

nongraphical.admonition.properties — To add properties to the outer block of a nongraphical admonition.

Synopsis

<xsl:attribute-set name="nongraphical.admonition.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="margin-left">0.25in</xsl:attribute>
  <xsl:attribute name="margin-right">0.25in</xsl:attribute>
</xsl:attribute-set>

Description

These properties are added to the outer block containing the entire nongraphical admonition, including its title. It is used when the parameter admon.graphics is set to zero. Use this attribute-set to set the space above and below, and any indent for the whole admonition.

In addition to these properties, a nongraphical admonition also applies the admonition.title.properties attribute-set to the title, and the admonition.properties attribute-set to the rest of the content.

Callouts


Table of Contents

callout.defaultcolumn — Indicates what column callouts appear in by default
callout.graphics — Use graphics for callouts?
callout.graphics.extension — Filename extension for callout graphics
callout.graphics.number.limit — Number of the largest callout graphic
callout.graphics.path — Path to callout graphics
callout.icon.size — Specifies the size of callout marker icons
callout.unicode — Use Unicode characters rather than images for callouts.
callout.unicode.font — Specify a font for Unicode glyphs
callout.unicode.number.limit — Number of the largest unicode callout character
callout.unicode.start.character — First Unicode character to use, decimal value.
callouts.extension — Enable the callout extension

Name

callout.defaultcolumn — Indicates what column callouts appear in by default

Synopsis

<xsl:param name="callout.defaultcolumn">60</xsl:param>

Description

If a callout does not identify a column (for example, if it uses the linerange unit), it will appear in the default column.


Name

callout.graphics — Use graphics for callouts?

Synopsis

<xsl:param name="callout.graphics" select="1"></xsl:param>

Description

If 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.


Name

callout.graphics.extension — Filename extension for callout graphics

Synopsis


<xsl:param name="callout.graphics.extension">.svg</xsl:param>

Description

Sets the filename extension to use on callout graphics.

The Docbook XSL distribution provides callout graphics in the following formats:

  • SVG (extension: .svg)

  • PNG (extension: .png)

  • GIF (extension: .gif)


Name

callout.graphics.number.limit — Number of the largest callout graphic

Synopsis


<xsl:param name="callout.graphics.number.limit">30</xsl:param>

Description

If callout.graphics is non-zero, graphics are used to represent callout numbers instead of plain text. 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 "(plain text instead of a graphic)" will be used.


Name

callout.graphics.path — Path to callout graphics

Synopsis

<xsl:param name="callout.graphics.path">images/callouts/</xsl:param>

Description

Sets the path to the directory holding the callout graphics. his location is normally relative to the output html directory. see base.dir. Always terminate the directory with / since the graphic file is appended to this string, hence needs the separator.


Name

callout.icon.size — Specifies the size of callout marker icons

Synopsis

<xsl:param name="callout.icon.size">7pt</xsl:param>

Description

Specifies the size of the callout marker icons. The default size is 7 points.


Name

callout.unicode — Use Unicode characters rather than images for callouts.

Synopsis

<xsl:param name="callout.unicode" select="0"></xsl:param>

Description

The 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.


Name

callout.unicode.font — Specify a font for Unicode glyphs

Synopsis

<xsl:param name="callout.unicode.font">ZapfDingbats</xsl:param>

Description

The name of the font to specify around Unicode callout glyphs. If set to the empty string, no font change will occur.


Name

callout.unicode.number.limit — Number of the largest unicode callout character

Synopsis

<xsl:param name="callout.unicode.number.limit">10</xsl:param>

Description

If 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.


Name

callout.unicode.start.character — First Unicode character to use, decimal value.

Synopsis

<xsl:param name="callout.unicode.start.character">10102</xsl:param>

Description

If 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.


Name

callouts.extension — Enable the callout extension

Synopsis

<xsl:param name="callouts.extension" select="1"></xsl:param>

Description

The callouts extension processes areaset elements in ProgramListingCO and other text-based callout elements.

ToC/LoT/Index Generation


Table of Contents

autotoc.label.separator — Separator between labels and titles in the ToC
process.empty.source.toc — Generate automated TOC if toc element occurs in a source document?
process.source.toc — Process a non-empty toc element if it occurs in a source document?
generate.toc — Control generation of ToCs and LoTs
generate.index — Do you want an index?
make.index.markup — Generate XML index markup in the index?
index.method — Select method used to group index entries in an index
index.on.type — Select indexterms based on type attribute value
index.on.role — Select indexterms based on role value
index.preferred.page.properties — Properties used to emphasize page number references for significant index terms
index.entry.properties — Properties applied to the formatted entries in an index
index.div.title.properties — Properties associated with the letter headings in an index
index.number.separator — Override for punctuation separating page numbers in index
index.range.separator — Override for punctuation separating the two numbers in a page range in index
index.term.separator — Override for punctuation separating an index term from its list of page references in an index
xep.index.item.properties — Properties associated with XEP index-items
toc.section.depth — How deep should recursive sections appear in the TOC?
toc.max.depth — How many levels should be created for each TOC?
toc.indent.width — Amount of indentation for TOC entries
toc.line.properties — Properties for lines in ToC and LoTs
toc.margin.properties — Margin properties used on Tables of Contents
bridgehead.in.toc — Should bridgehead elements appear in the TOC?
simplesect.in.toc — Should simplesect elements appear in the TOC?
generate.section.toc.level — Control depth of TOC generation in sections

Name

autotoc.label.separator — Separator between labels and titles in the ToC

Synopsis

<xsl:param name="autotoc.label.separator">. </xsl:param>

Description

String used to separate labels and titles in a table of contents.


Name

process.empty.source.toc — Generate automated TOC if toc element occurs in a source document?

Synopsis

<xsl:param name="process.empty.source.toc" select="0"></xsl:param>

Description

Specifies that if an empty toc element is found in a source document, an automated TOC is generated at this point in the document.

Note

Depending on what the value of the generate.toc parameter is, setting this parameter to 1 could result in generation of duplicate automated TOCs. So the process.empty.source.toc is primarily useful as an "override": by placing an empty toc in your document and setting this parameter to 1, you can force a TOC to be generated even if generate.toc says not to.


Name

process.source.toc — Process a non-empty toc element if it occurs in a source document?

Synopsis

<xsl:param name="process.source.toc" select="0"></xsl:param>

Description

Specifies that the contents of a non-empty "hard-coded" toc element in a source document are processed to generate a TOC in output.

Note

This parameter has no effect on automated generation of TOCs. An automated TOC may still be generated along with the "hard-coded" TOC. To suppress automated TOC generation, adjust the value of the generate.toc paramameter.

The process.source.toc parameter also has no effect if the toc element is empty; handling for empty toc is controlled by the process.empty.source.toc parameter.


Name

generate.toc — Control generation of ToCs and LoTs

Synopsis


<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
reference toc,title
/sect1    toc
/sect2    toc
/sect3    toc
/sect4    toc
/sect5    toc
/section  toc
set       toc,title
</xsl:param>

Description

This 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,figure

This indicates that whenever a book is formatted, a Table Of Contents and a List of Figures should be generated. Similarly,

/chapter toc

indicates that whenever a document that has a root of chapter 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 toc

Note 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 nop

Do 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.


Name

generate.index — Do you want an index?

Synopsis

<xsl:param name="generate.index" select="1"></xsl:param>

Description

Specify if an index should be generated.


Name

make.index.markup — Generate XML index markup in the index?

Synopsis

<xsl:param name="make.index.markup" select="0"></xsl:param>

Description

This 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:

A. ap1, 1, 2, 3

you get one that looks like this:

<indexdiv>A</indexdiv>
<indexentry>
<primaryie>ap1</primaryie>,
<phrase role="pageno">1</phrase>,
<phrase role="pageno">2</phrase>,
<phrase role="pageno">3</phrase>
</indexentry>

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”!


Name

index.method — Select method used to group index entries in an index

Synopsis

<xsl:param name="index.method">basic</xsl:param>

Description

This parameter lets you select which method to use for sorting and grouping index entries in an index. Indexes in Latin-based languages that have accented characters typically sort together accented words and unaccented words. Thus “Á” (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together with “A” (U+0041 LATIN CAPITAL LETTER A), so both would appear in the “A” section of the index. Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) and languages using ideographic chararacters (such as Japanese) require grouping specific to the languages and alphabets.

The default indexing method is limited. It can group accented characters in Latin-based languages only. It cannot handle non-Latin alphabets or ideographic languages. The other indexing methods require extensions of one type or another, and do not work with all XSLT processors, which is why they are not used by default.

The three choices for indexing method are:

basic

(default) Sort and groups words based only on the Latin alphabet. Words with accented Latin letters will group and sort with their respective primary letter, but words in non-Latin alphabets will be put in the “Symbols” section of the index.

kosek

This method sorts and groups words based on letter groups configured in the DocBook locale file for the given language. See, for example, the French locale file common/fr.xml. This method requires that the XSLT processor supports the EXSLT extensions (most do). It also requires support for using user-defined functions in xsl:key (xsltproc does not).

This method is suitable for any language for which you can list all the individual characters that should appear in each letter group in an index. It is probably not practical to use it for ideographic languages such as Chinese that have hundreds or thousands of characters.

To use the kosek method, you must:

  1. Use a processor that supports its extensions, such as Saxon 6 or Xalan (xsltproc and Saxon 8 do not).

  2. Set the index.method parameter's value to “kosek”.

  3. Import the appropriate index extensions stylesheet module fo/autoidx-kosek.xsl or html/autoidx-kosek.xsl into your customization.

kimber

This method uses extensions to the Saxon processor to implement sophisticated indexing processes. It uses its own configuration file, which can include information for any number of languages. Each language's configuration can group words using one of two processes. In the enumerated process similar to that used in the kosek method, you indicate the groupings character-by-character. In the between-key process, you specify the break-points in the sort order that should start a new group. The latter configuration is useful for ideographic languages such as Chinese, Japanese, and Korean. You can also define your own collation algorithms and how you want mixed Latin-alphabet words sorted.

To use the kimber method, you must:

  1. Use Saxon (version 6 or 8) as your XSLT processor.

  2. Install and configure the Innodata Isogen library, using the documentation that comes with it.

  3. Set the index.method parameter's value to “kimber”.

  4. Import the appropriate index extensions stylesheet module fo/autoidx-kimber.xsl or html/autoidx-kimber.xsl into your customization.


Name

index.on.type — Select indexterms based on type attribute value

Synopsis

<xsl:param name="index.on.type" select="0"></xsl:param>

Description

If non-zero, then an index element that has a type attribute value will contain only those indexterm elements with a matching type attribute value. If an index has no type attribute or it is blank, then the index will contain all indexterms in the current scope.

If index.on.type is zero, then the type attribute has no effect on selecting indexterms for an index.

For those using DocBook version 4.2 or earlier, the type attribute is not available for index terms. However, you can achieve the same effect by using the role attribute in the same manner on indexterm and index, and setting the stylesheet parameter index.on.role to a nonzero value.


Name

index.on.role — Select indexterms based on role value

Synopsis

<xsl:param name="index.on.role" select="0"></xsl:param>

Description

If non-zero, then an index element that has a role attribute value will contain only those indexterm elements with a matching role value. If an index has no role attribute or it is blank, then the index will contain all indexterms in the current scope.

If index.on.role is zero, then the role attribute has no effect on selecting indexterms for an index.

If you are using DocBook version 4.3 or later, you should use the type attribute instead of role on indexterm and index, and set the index.on.type to a nonzero value.


Name

index.preferred.page.properties — Properties used to emphasize page number references for significant index terms

Synopsis

<xsl:attribute-set name="index.preferred.page.properties">
  <xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>

Description

Properties used to emphasize page number references for significant index terms (significance=preffered). Currently works only with XEP.


Name

index.entry.properties — Properties applied to the formatted entries in an index

Synopsis

<xsl:attribute-set name="index.entry.properties">
  <xsl:attribute name="start-indent">0pt</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is applied to the block containing the entries in a letter division in an index. It can be used to set the font-size, font-family, and other inheritable properties that will be applied to all index entries.


Name

index.div.title.properties — Properties associated with the letter headings in an index

Synopsis

<xsl:attribute-set name="index.div.title.properties">
  <xsl:attribute name="margin-left">0pt</xsl:attribute>
  <xsl:attribute name="font-size">14.4pt</xsl:attribute>
  <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="start-indent">0pt</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is used on the letter headings that separate the divisions in an index.


Name

index.number.separator — Override for punctuation separating page numbers in index

Synopsis

<xsl:param name="index.number.separator"></xsl:param>

Description

This parameter permits you to override the text to insert between page references in a formatted index entry. Typically that would be a comma and a space.

Because this text may be locale dependent, this parameter's value is normally taken from a gentext template named 'number-separator' in the context 'index' in the stylesheet locale file for the language of the current document. This parameter can be used to override the gentext string, and would typically be used on the command line. This parameter would apply to all languages.

So this text string can be customized in two ways. You can reset the default gentext string using the local.l10n.xml parameter, or you can override the gentext with the content of this parameter. The content can be a simple string, or it can be something more complex such as a call-template.

In HTML index output, section title references are used instead of page number references. This punctuation appears between such section titles in an HTML index.


Name

index.range.separator — Override for punctuation separating the two numbers in a page range in index

Synopsis

<xsl:param name="index.range.separator"></xsl:param>

Description

This parameter permits you to override the text to insert between the two numbers of a page range in an index. This parameter is only used by those XSL-FO processors that support an extension for generating such page ranges (such as XEP).

Because this text may be locale dependent, this parameter's value is normally taken from a gentext template named 'range-separator' in the context 'index' in the stylesheet locale file for the language of the current document. This parameter can be used to override the gentext string, and would typically be used on the command line. This parameter would apply to all languages.

So this text string can be customized in two ways. You can reset the default gentext string using the local.l10n.xml parameter, or you can override the gentext with the content of this parameter. The content can be a simple string, or it can be something more complex such as a call-template.

In HTML index output, section title references are used instead of page number references. So there are no page ranges and this parameter has no effect.


Name

index.term.separator — Override for punctuation separating an index term from its list of page references in an index

Synopsis

<xsl:param name="index.term.separator"></xsl:param>

Description

This parameter permits you to override the text to insert between the end of an index term and its list of page references. Typically that might be a comma and a space.

Because this text may be locale dependent, this parameter's value is normally taken from a gentext template named 'term-separator' in the context 'index' in the stylesheet locale file for the language of the current document. This parameter can be used to override the gentext string, and would typically be used on the command line. This parameter would apply to all languages.

So this text string can be customized in two ways. You can reset the default gentext string using the local.l10n.xml parameter, or you can fill in the content for this normally empty override parameter. The content can be a simple string, or it can be something more complex such as a call-template. For fo output, it could be an fo:leader element to provide space of a specific length, or a dot leader.


Name

xep.index.item.properties — Properties associated with XEP index-items

Synopsis

<xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties">
  <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
  <xsl:attribute name="link-back">true</xsl:attribute>
</xsl:attribute-set>

Description

Properties associated with XEP index-items, which generate page numbers in an index processed by XEP. For more info see the XEP documentation section "Indexes" in http://www.renderx.com/reference.html#Indexes.

This attribute-set also adds by default any properties from the index.page.number.properties attribute-set.


Name

toc.section.depth — How deep should recursive sections appear in the TOC?

Synopsis

<xsl:param name="toc.section.depth">2</xsl:param>

Description

Specifies the depth to which recursive sections should appear in the TOC.


Name

toc.max.depth — How many levels should be created for each TOC?

Synopsis

<xsl:param name="toc.max.depth">8</xsl:param>

Description

Specifies the maximal depth of TOC on all levels.


Name

toc.indent.width — Amount of indentation for TOC entries

Synopsis

<xsl:param name="toc.indent.width">24</xsl:param>
<!-- inconsistant point specification? -->

Description

Specifies, 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.


Name

toc.line.properties — Properties for lines in ToC and LoTs

Synopsis

<xsl:attribute-set name="toc.line.properties">
  <xsl:attribute name="text-align-last">justify</xsl:attribute>
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute>
</xsl:attribute-set>

Description

Properties which are applied to every line in ToC (or LoT). You can modify them in order to change appearance of all, or some lines. For example in order to make lines for chapters in bold specify the following in your customization layer.

<xsl:attribute-set name="toc.line.properties">
  <xsl:attribute name="font-weight">
    <xsl:when test="self::chapter | self::preface | self::appendix">bold</xsl:when>
    <xsl:otherwise>normal</xsl:otherwise>
  </xsl:attribute>
</xsl:attribute-set>

Name

toc.margin.properties — Margin properties used on Tables of Contents

Synopsis

<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>

Description

This 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.


Name

bridgehead.in.toc — Should bridgehead elements appear in the TOC?

Synopsis

<xsl:param name="bridgehead.in.toc" select="0"></xsl:param>

Description

If 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.


Name

simplesect.in.toc — Should simplesect elements appear in the TOC?

Synopsis

<xsl:param name="simplesect.in.toc" select="0"></xsl:param>

Description

If non-zero, simplesects will be included in the TOC.


Name

generate.section.toc.level — Control depth of TOC generation in sections

Synopsis

<xsl:param name="generate.section.toc.level" select="0"></xsl:param>

Description

The 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 Extensions


Table of Contents

arbortext.extensions — Enable Arbortext extensions?
axf.extensions — Enable XSL Formatter extensions?
fop.extensions — Enable extensions for FOP version 0.20.5 and earlier
fop1.extensions — Enable extensions for FOP version 0.90 and later
passivetex.extensions — Enable PassiveTeX extensions?
tex.math.in.alt — TeX notation used for equations
tex.math.delims — Should equations output for processing by TeX be surrounded by math mode delimiters?
xep.extensions — Enable XEP extensions?

Name

arbortext.extensions — Enable Arbortext extensions?

Synopsis

<xsl:param name="arbortext.extensions" select="0"></xsl:param>

Description

If non-zero, Arbortext extensions will be used.

This parameter can also affect which graphics file formats are supported


Name

axf.extensions — Enable XSL Formatter extensions?

Synopsis

<xsl:param name="axf.extensions" select="0"></xsl:param>

Description

If non-zero, XSL Formatter extensions will be used. XSL Formatter extensions consists of PDF bookmarks, document information and better index processing.

This parameter can also affect which graphics file formats are supported


Name

fop.extensions — Enable extensions for FOP version 0.20.5 and earlier

Synopsis

<xsl:param name="fop.extensions" select="0"></xsl:param>

Description

If non-zero, extensions intended for FOP version 0.20.5 and earlier will be used. At present, this consists of PDF bookmarks.

This parameter can also affect which graphics file formats are supported.

If you are using a version of FOP beyond version 0.20.5, then use the fop1.extensions parameter instead.


Name

fop1.extensions — Enable extensions for FOP version 0.90 and later

Synopsis

<xsl:param name="fop1.extensions" select="0"></xsl:param>

Description

If non-zero, extensions for FOP version 0.90 and later will be used.

This parameter can also affect which graphics file formats are supported.

The original fop.extensions parameter should still be used for FOP version 0.20.5 and earlier.


Name

passivetex.extensions — Enable PassiveTeX extensions?

Synopsis

<xsl:param name="passivetex.extensions" select="0"></xsl:param>

Description

If non-zero, PassiveTeX extensions will be used. At present, this consists of PDF bookmarks and sorted index terms.

This parameter can also affect which graphics file formats are supported

Note

PassiveTeX is incomplete and development has ceased. In most cases, another XSL-FO engine is probably a better choice.


Name

tex.math.in.alt — TeX notation used for equations

Synopsis

<xsl:param name="tex.math.in.alt"></xsl:param>

Description

If 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.

Warning

This feature is useful for print/PDF output only if you use the obsolete and now unsupported PassiveTeX XSL-FO engine.

Related Parameters

tex.math.delims, passivetex.extensions, tex.math.file

More information

For how-to documentation on embedding TeX equations and generating output from them, see DBTeXMath.


Name

tex.math.delims — Should equations output for processing by TeX be surrounded by math mode delimiters?

Synopsis

<xsl:param name="tex.math.delims" select="1"></xsl:param>

Description

For compatibility with DSSSL based DBTeXMath from Allin Cottrell you should set this parameter to 0.

Related Parameters

tex.math.in.alt, passivetex.extensions

See Also

You can also use the <?dbtex delims?> processing instruction to control whether delimiters are output.

More information

For how-to documentation on embedding TeX equations and generating output from them, see DBTeXMath.


Name

xep.extensions — Enable XEP extensions?

Synopsis

<xsl:param name="xep.extensions" select="0"></xsl:param>

Description

If non-zero, XEP extensions will be used. XEP extensions consists of PDF bookmarks, document information and better index processing.

This parameter can also affect which graphics file formats are supported

Stylesheet Extensions


Table of Contents

linenumbering.everyNth — Indicate which lines should be numbered
linenumbering.extension — Enable the line numbering extension
linenumbering.separator — Specify a separator between line numbers and lines
linenumbering.width — Indicates the width of line numbers
tablecolumns.extension — Enable the table columns extension function
textinsert.extension — Enables the textinsert extension element
textdata.default.encoding — Default encoding of external text files which are included using textdata element
use.extensions — Enable extensions

Name

linenumbering.everyNth — Indicate which lines should be numbered

Synopsis

<xsl:param name="linenumbering.everyNth">5</xsl:param>

Description

If line numbering is enabled, everyNth line will be numbered. Note that numbering is one based, not zero based.


Name

linenumbering.extension — Enable the line numbering extension

Synopsis

<xsl:param name="linenumbering.extension" select="1"></xsl:param>

Description

If non-zero, verbatim environments (address, literallayout, programlisting, screen, synopsis) that specify line numbering will have line numbers.


Name

linenumbering.separator — Specify a separator between line numbers and lines

Synopsis

<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param>

Description

The separator is inserted between line numbers and lines in the verbatim environment. The default value is a single white space. Note the interaction with linenumbering.width


Name

linenumbering.width — Indicates the width of line numbers

Synopsis

<xsl:param name="linenumbering.width">3</xsl:param>

Description

If line numbering is enabled, line numbers will appear right justified in a field "width" characters wide.


Name

tablecolumns.extension — Enable the table columns extension function

Synopsis

<xsl:param name="tablecolumns.extension" select="1"></xsl:param>

Description

The table columns extension function adjusts the widths of table columns in the HTML result to more accurately reflect the specifications in the CALS table.


Name

textinsert.extension — Enables the textinsert extension element

Synopsis

  <xsl:param name="textinsert.extension" select="1"></xsl:param>

Description

The textinsert extension element inserts the contents of a file into the result tree (as text).

Note

To use the textinsert extension element, you must use either Saxon or Xalan as your XSLT processor (it doesn’t work with xsltproc), along with either the DocBook Saxon extensions or DocBook Xalan extensions (for more information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both the use.extensions and textinsert.extension parameters to 1.

As an alternative to using the textinsert element, consider using an Xinclude element with the parse="text" attribute and value specified, as detailed in Using XInclude for text inclusions.

See Also

You can also use the <?dbhtml-include href?> processing instruction to insert external files — both files containing plain text and files with markup content (including HTML content).

More information

For how-to documentation on inserting contents of external code files and other text files into output, see External code files.

For guidelines on inserting contents of HTML files into output, see Inserting external HTML code.


Name

textdata.default.encoding — Default encoding of external text files which are included using textdata element

Synopsis

<xsl:param name="textdata.default.encoding"></xsl:param>

Description

Specifies the encoding of any external text files included using textdata element. This value is used only when you do not specify encoding by the appropriate attribute directly on textdata. An empty string is interpreted as the system default encoding.


Name

use.extensions — Enable extensions

Synopsis

<xsl:param name="use.extensions" select="0"></xsl:param>

Description

If 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 labelling


Table of Contents

appendix.autolabel — Specifies the labeling format for Appendix titles
chapter.autolabel — Specifies the labeling format for Chapter titles
part.autolabel — Specifies the labeling format for Part titles
reference.autolabel — Specifies the labeling format for Reference titles
preface.autolabel — Specifices the labeling format for Preface titles
section.autolabel — Are sections enumerated?
section.autolabel.max.depth — The deepest level of sections that are numbered.
section.label.includes.component.label — Do section labels include the component label?
label.from.part — Renumber components in each part?
component.label.includes.part.label — Do component labels include the part label?

Name

appendix.autolabel — Specifies the labeling format for Appendix titles

Synopsis

<xsl:param name="appendix.autolabel">A</xsl:param>

Description

If non-zero, then appendices will be numbered using the parameter value as the number format if the value matches one of the following:

1 or arabic

Arabic numeration (1, 2, 3 ...).

A or upperalpha

Uppercase letter numeration (A, B, C ...).

a or loweralpha

Lowercase letter numeration (a, b, c ...).

I or upperroman

Uppercase roman numeration (I, II, III ...).

i or lowerroman

Lowercase roman letter numeration (i, ii, iii ...).

Any nonzero value other than the above will generate the default number format (upperalpha).


Name

chapter.autolabel — Specifies the labeling format for Chapter titles

Synopsis

<xsl:param name="chapter.autolabel" select="1"></xsl:param>

Description

If non-zero, then chapters will be numbered using the parameter value as the number format if the value matches one of the following:

1 or arabic

Arabic numeration (1, 2, 3 ...).

A or upperalpha

Uppercase letter numeration (A, B, C ...).

a or loweralpha

Lowercase letter numeration (a, b, c ...).

I or upperroman

Uppercase roman numeration (I, II, III ...).

i or lowerroman

Lowercase roman letter numeration (i, ii, iii ...).

Any nonzero value other than the above will generate the default number format (arabic).


Name

part.autolabel — Specifies the labeling format for Part titles

Synopsis

<xsl:param name="part.autolabel">I</xsl:param>

Description

If non-zero, then parts will be numbered using the parameter value as the number format if the value matches one of the following:

1 or arabic

Arabic numeration (1, 2, 3 ...).

A or upperalpha

Uppercase letter numeration (A, B, C ...).

a or loweralpha

Lowercase letter numeration (a, b, c ...).

I or upperroman

Uppercase roman numeration (I, II, III ...).

i or lowerroman

Lowercase roman letter numeration (i, ii, iii ...).

Any nonzero value other than the above will generate the default number format (upperroman).


Name

reference.autolabel — Specifies the labeling format for Reference titles

Synopsis

  <xsl:param name="reference.autolabel">I</xsl:param>

Description

If non-zero, references will be numbered using the parameter value as the number format if the value matches one of the following:

1 or arabic

Arabic numeration (1, 2, 3 ...).

A or upperalpha

Uppercase letter numeration (A, B, C ...).

a or loweralpha

Lowercase letter numeration (a, b, c ...).

I or upperroman

Uppercase roman numeration (I, II, III ...).

i or lowerroman

Lowercase roman letter numeration (i, ii, iii ...).

Any non-zero value other than the above will generate the default number format (upperroman).


Name

preface.autolabel — Specifices the labeling format for Preface titles

Synopsis

<xsl:param name="preface.autolabel" select="0"></xsl:param>

Description

If non-zero then prefaces will be numbered using the parameter value as the number format if the value matches one of the following:

1 or arabic

Arabic numeration (1, 2, 3 ...).

A or upperalpha

Uppercase letter numeration (A, B, C ...).

a or loweralpha

Lowercase letter numeration (a, b, c ...).

I or upperroman

Uppercase roman numeration (I, II, III ...).

i or lowerroman

Lowercase roman letter numeration (i, ii, iii ...).

Any nonzero value other than the above will generate the default number format (arabic).


Name

section.autolabel — Are sections enumerated?

Synopsis

<xsl:param name="section.autolabel" select="0"></xsl:param>

Description

If true (non-zero), unlabeled sections will be enumerated.


Name

section.autolabel.max.depth — The deepest level of sections that are numbered.

Synopsis

<xsl:param name="section.autolabel.max.depth">8</xsl:param>

Description

When section numbering is turned on by the section.autolabel parameter, then this parameter controls the depth of section nesting that is numbered. Sections nested to a level deeper than this value will not be numbered.


Name

section.label.includes.component.label — Do section labels include the component label?

Synopsis

<xsl:param name="section.label.includes.component.label" select="0"></xsl:param>

Description

If non-zero, section labels are prefixed with the label of the component that contains them.


Name

label.from.part — Renumber components in each part?

Synopsis

<xsl:param name="label.from.part" select="0"></xsl:param>

Description

If label.from.part is non-zero, then numbering of components — preface, chapter, appendix, and reference (when reference occurs at the component level) — is re-started within each part.

If label.from.part is zero (the default), numbering of components is not re-started within each part; instead, components are numbered sequentially throughout each book, regardless of whether or not they occur within part instances.


Name

component.label.includes.part.label — Do component labels include the part label?

Synopsis

<xsl:param name="component.label.includes.part.label" select="0"></xsl:param>

Description

If non-zero, number labels for chapter, appendix, and other component elements are prefixed with the label of the part element that contains them. So you might see Chapter II.3 instead of Chapter 3. Also, the labels for formal elements such as table and figure will include the part label. If there is no part element container, then no prefix is generated.

This feature is most useful when the label.from.part parameter is turned on. In that case, there would be more than one chapter1”, and the extra part label prefix will identify each chapter unambiguously.

XSLT Processing


Table of Contents

rootid — Specify the root element to format

Name

rootid — Specify the root element to format

Synopsis

<xsl:param name="rootid"></xsl:param>

Description

If rootid is not empty, 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/*Info


Table of Contents

make.single.year.ranges — Print single-year ranges (e.g., 1998-1999)
make.year.ranges — Collate copyright years into ranges?
author.othername.in.middle — Is othername in author a middle name?

Name

make.single.year.ranges — Print single-year ranges (e.g., 1998-1999)

Synopsis

<xsl:param name="make.single.year.ranges" select="0"></xsl:param>

Description

If non-zero, year ranges that span a single year will be printed in range notation (1998-1999) instead of discrete notation (1998, 1999).


Name

make.year.ranges — Collate copyright years into ranges?

Synopsis

<xsl:param name="make.year.ranges" select="0"></xsl:param>

Description

If non-zero, multiple copyright year elements will be collated into ranges. This works only if each year number is put into a separate year element. The copyright element permits multiple year elements. The stylesheet will not successfully parse a complex year element such as <year>2001,2002,2003</year> into a range.


Name

author.othername.in.middle — Is othername in author a middle name?

Synopsis

<xsl:param name="author.othername.in.middle" select="1"></xsl:param>

Description

If non-zero, the othername of an author appears between the firstname and surname. Otherwise, othername is suppressed.

Reference Pages


Table of Contents

funcsynopsis.decoration — Decorate elements of a funcsynopsis?
funcsynopsis.style — What style of funcsynopsis should be generated?
function.parens — Generate parens after a function?
refentry.generate.name — Output NAME header before 'RefName'(s)?
refentry.generate.title — Output title before 'RefName'(s)?
refentry.pagebreak — Start each refentry on a new page
refentry.title.properties — Title properties for a refentry title
refentry.xref.manvolnum — Output manvolnum as part of refentry cross-reference?
refclass.suppress — Suppress display of refclass contents?

Name

funcsynopsis.decoration — Decorate elements of a funcsynopsis?

Synopsis

<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param>

Description

If non-zero, elements of the funcsynopsis will be decorated (e.g. rendered as bold or italic text). The decoration is controlled by templates that can be redefined in a customization layer.


Name

funcsynopsis.style — What style of funcsynopsis should be generated?

Synopsis

<xsl:param name="funcsynopsis.style">kr</xsl:param>

Description

If funcsynopsis.style is ansi, ANSI-style function synopses are generated for a funcsynopsis, otherwise K&R-style function synopses are generated.


Name

function.parens — Generate parens after a function?

Synopsis

<xsl:param name="function.parens" select="0"></xsl:param>

Description

If non-zero, the formatting of a function element will include generated parentheses.


Name

refentry.generate.name — Output NAME header before 'RefName'(s)?

Synopsis

<xsl:param name="refentry.generate.name" select="1"></xsl:param>

Description

If 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 non-zero unless you want get quite strange output.


Name

refentry.generate.title — Output title before 'RefName'(s)?

Synopsis

<xsl:param name="refentry.generate.title" select="0"></xsl:param>

Description

If 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 non-zero, you should set refentry.generate.name to zero unless you want get quite strange output.


Name

refentry.pagebreak — Start each refentry on a new page

Synopsis

<xsl:param name="refentry.pagebreak" select="1"></xsl:param>

Description

If non-zero (the default), each refentry element will start on a new page. If zero, a page break will not be generated between refentry elements. The exception is when the refentry elements are children of a part element, in which case the page breaks are always retained. That is because a part element does not generate a page-sequence for its children, so each refentry must start its own page-sequence.


Name

refentry.title.properties — Title properties for a refentry title

Synopsis

<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 name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
</xsl:attribute-set>

Description

Formatting properties applied to the title generated for the refnamediv part of output for refentry when the value of the refentry.generate.title parameter is non-zero. The font size is supplied by the appropriate section.levelX.title.properties attribute-set, computed from the location of the refentry in the section hierarchy.

Note

This parameter has no effect on the the title generated for the refnamediv part of output for refentry when the value of the refentry.generate.name parameter is non-zero. By default, that title is formatted with the same properties as the titles for all other first-level children of refentry.


Name

refentry.xref.manvolnum — Output manvolnum as part of refentry cross-reference?

Synopsis

<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param>

Description

if non-zero, the manvolnum is used when cross-referencing refentrys, either with xref or citerefentry.


Name

refclass.suppress — Suppress display of refclass contents?

Synopsis

<xsl:param name="refclass.suppress" select="0"></xsl:param>

Description

If the value of refclass.suppress is non-zero, then display of refclass contents is suppressed in output.

Tables


Table of Contents

default.table.width — The default width of tables
nominal.table.width — The (absolute) nominal width of tables
default.table.frame — The default framing of tables
table.cell.padding — Specifies the padding of table cells
table.frame.border.thickness — Specifies the thickness of the frame border
table.frame.border.style — Specifies the border style of table frames
table.frame.border.color — Specifies the border color of table frames
table.cell.border.thickness — Specifies the thickness of table cell borders
table.cell.border.style — Specifies the border style of table cells
table.cell.border.color — Specifies the border color of table cells
table.table.properties — Properties associated with a table

Name

default.table.width — The default width of tables

Synopsis

<xsl:param name="default.table.width"></xsl:param>

Description

If non-zero, this value will be used for the width attribute on tables that do not specify an alternate width (with the <?dbhtml table-width?> or <?dbfo table-width?> processing instruction).


Name

nominal.table.width — The (absolute) nominal width of tables

Synopsis

<xsl:param name="nominal.table.width">6in</xsl:param>

Description

In 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 percentage).


Name

default.table.frame — The default framing of tables

Synopsis

<xsl:param name="default.table.frame">all</xsl:param>

Description

This value will be used when there is no frame attribute on the table.


Name

table.cell.padding — Specifies the padding of table cells

Synopsis

<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>

Description

Specifies the padding of table cells.


Name

table.frame.border.thickness — Specifies the thickness of the frame border

Synopsis

<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>

Description

Specifies the thickness of the border on the table's frame.


Name

table.frame.border.style — Specifies the border style of table frames

Synopsis

<xsl:param name="table.frame.border.style">solid</xsl:param>

Description

Specifies the border style of table frames.


Name

table.frame.border.color — Specifies the border color of table frames

Synopsis


<xsl:param name="table.frame.border.color">black</xsl:param>

Description

Specifies the border color of table frames.


Name

table.cell.border.thickness — Specifies the thickness of table cell borders

Synopsis

<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>

Description

If non-zero, specifies the thickness of borders on table cells. The units are points. See CSS

Note

To control properties of cell borders in HTML output, you must also turn on the table.borders.with.css parameter.


Name

table.cell.border.style — Specifies the border style of table cells

Synopsis

<xsl:param name="table.cell.border.style">solid</xsl:param>

Description

Specifies the border style of table cells.

Note

To control properties of cell borders in HTML output, you must also turn on the table.borders.with.css parameter.


Name

table.cell.border.color — Specifies the border color of table cells

Synopsis


<xsl:param name="table.cell.border.color">black</xsl:param>

Description

Set the color of table cell borders. If non-zero, the value is used for the border coloration. See CSS. A color is either a keyword or a numerical RGB specification. Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow.

Note

To control properties of cell borders in HTML output, you must also turn on the table.borders.with.css parameter.


Name

table.table.properties — Properties associated with a table

Synopsis

<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>

Description

The styling for tables. This parameter should really have been called table.properties, but that parameter name was inadvertently established for the block-level properties of the table as a whole.

See also table.properties.

Linking


Table of Contents

current.docid — targetdoc identifier for the document being processed
collect.xref.targets — Controls whether cross reference data is collected
insert.olink.page.number — Turns page numbers in olinks on and off
insert.olink.pdf.frag — Add fragment identifiers for links into PDF files
olink.base.uri — Base URI used in olink hrefs
olink.debug — Turn on debugging messages for olinks
olink.doctitle — show the document title for external olinks?
olink.lang.fallback.sequence — look up translated documents if olink not found?
olink.properties — Properties associated with the cross-reference text of an olink.
prefer.internal.olink — Prefer a local olink reference to an external reference
target.database.document — Name of master database file for resolving olinks
targets.filename — Name of cross reference targets data file
use.local.olink.style — Process olinks using xref style of current document

Name

current.docid — targetdoc identifier for the document being processed

Synopsis

<xsl:param name="current.docid"></xsl:param>

Description

When 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.


Name

collect.xref.targets — Controls whether cross reference data is collected

Synopsis

<xsl:param name="collect.xref.targets">no</xsl:param>

Description

In order to resolve olinks efficiently, the stylesheets can generate an external data file containing information about all potential cross reference endpoints in a document. This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. See also targets.filename.


Name

insert.olink.page.number — Turns page numbers in olinks on and off

Synopsis

<xsl:param name="insert.olink.page.number">no</xsl:param>

Description

The value of this parameter determines if cross references made between documents with olink will include page number citations. In most cases this is only applicable to references in printed output.

The parameter has three possible values.

no

No page number references will be generated for olinks.

yes

Page number references will be generated for all olink references. The style of page reference may be changed if an xrefstyle attribute is used.

maybe

Page number references will not be generated for an olink element unless it has an xrefstyle attribute whose value specifies a page reference.

Olinks that point to targets within the same document are treated as xrefs, and controlled by the insert.xref.page.number parameter.

Page number references for olinks to external documents can only be inserted if the information exists in the olink database. This means each olink target element (div or obj) must have a page attribute whose value is its page number in the target document. The XSL stylesheets are not able to extract that information during processing because pages have not yet been created in XSLT transformation. Only the XSL-FO processor knows what page each element is placed on. Therefore some postprocessing must take place to populate page numbers in the olink database.


Name

insert.olink.pdf.frag — Add fragment identifiers for links into PDF files

Synopsis

<xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param>

Description

The value of this parameter determines whether the cross reference URIs to PDF documents made with olink will include fragment identifiers.

When forming a URI to link to a PDF document, a fragment identifier (typically a '#' followed by an id value) appended to the PDF filename can be used by the PDF viewer to open the PDF file to a location within the document instead of the first page. However, not all PDF files have id values embedded in them, and not all PDF viewers can handle fragment identifiers.

If insert.olink.pdf.frag is set to a non-zero value, then any olink targeting a PDF file will have the fragment identifier appended to the URI. The URI is formed by concatenating the value of the olink.base.uri parameter, the value of the baseuri attribute from the document element in the olink database with the matching targetdoc value, and the value of the href attribute for the targeted element in the olink database. The href attribute contains the fragment identifier.

If insert.olink.pdf.frag is set to zero (the default value), then the href attribute from the olink database is not appended to PDF olinks, so the fragment identifier is left off. A PDF olink is any olink for which the baseuri attribute from the matching document element in the olink database ends with '.pdf'. Any other olinks will still have the fragment identifier added.


Name

olink.base.uri — Base URI used in olink hrefs

Synopsis

<xsl:param name="olink.base.uri"></xsl:param>

Description

When cross reference data is collected for resolving olinks, it may be necessary to prepend a base URI to each target's href. This parameter lets you set that base URI when cross reference data is collected. This feature is needed when you want to link to a document that is processed without chunking. The output filename for such a document is not known to the XSL stylesheet; the only target information consists of fragment identifiers such as #idref. To enable the resolution of olinks between documents, you should pass the name of the HTML output file as the value of this parameter. Then the hrefs recorded in the cross reference data collection look like outfile.html#idref, which can be reached as links from other documents.


Name

olink.debug — Turn on debugging messages for olinks

Synopsis

<xsl:param name="olink.debug" select="0"></xsl:param>

Description

If non-zero, then each olink will generate several messages about how it is being resolved during processing. This is useful when an olink does not resolve properly and the standard error messages are not sufficient to find the problem.

You may need to read through the olink XSL templates to understand the context for some of the debug messages.


Name

olink.doctitle — show the document title for external olinks?

Synopsis

<xsl:param name="olink.doctitle">no</xsl:param> 

Description

When olinks between documents are resolved, 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.

  • This olink.doctitle parameter should be set to either yes or maybe to enable this feature.

  • And you should also set the current.docid parameter to the document id for the document currently being processed for output.

Then if an olink's targetdoc id differs from the current.docid value, the stylesheet knows that it is a reference to another document and can append the target document's title to the generated olink text.

The text for the target document's title is copied from the olink database from the ttl element of the top-level div for that document. If that ttl element is missing or empty, no title is output.

The supported values for olink.doctitle are:

yes

Always insert the title to the target document if it is not the current document.

no

Never insert the title to the target document, even if requested in an xrefstyle attribute.

maybe

Only insert the title to the target document, if requested in an xrefstyle attribute.

An xrefstyle attribute may override the global setting for individual olinks. The following values are supported in an xrefstyle attribute using the select: syntax:

docname

Insert the target document name for this olink using the docname gentext template, but only if the value of olink.doctitle is not no.

docnamelong

Insert the target document name for this olink using the docnamelong gentext template, but only if the value of olink.doctitle is not no.

nodocname

Omit the target document name even if the value of olink.doctitle is yes.

Another way of inserting the target document name for a single olink is to employ an xrefstyle attribute using the template: syntax. The %o placeholder (the letter o, not zero) in such a template will be filled in with the target document's title when it is processed. This will occur regardless of the value of olink.doctitle.

Note that prior to version 1.66 of the XSL stylesheets, the allowed values for this parameter were 0 and 1. Those values are still supported and mapped to 'no' and 'yes', respectively.


Name

olink.lang.fallback.sequence — look up translated documents if olink not found?

Synopsis

<xsl:param name="olink.lang.fallback.sequence"></xsl:param>

Description

This parameter defines a list of lang values to search among to resolve olinks.

Normally an olink tries to resolve to a document in the same language as the olink itself. The language of an olink is determined by its nearest ancestor element with a lang attribute, otherwise the value of the l10n.gentext.default.lang parameter.

An olink database can contain target data for the same document in multiple languages. Each set of data has the same value for the targetdoc attribute in the document element in the database, but with a different lang attribute value.

When an olink is being resolved, the target is first sought in the document with the same language as the olink. If no match is found there, then this parameter is consulted for additional languages to try.

The olink.lang.fallback.sequence must be a whitespace separated list of lang values to try. The first one with a match in the olink database is used. The default value is empty.

For example, a document might be written in German and contain an olink with targetdoc="adminguide". When the document is processed, the processor first looks for a target dataset in the olink database starting with:

<document targetdoc="adminguide" lang="de">.

If there is no such element, then the olink.lang.fallback.sequence parameter is consulted. If its value is, for example, “fr en”, then the processor next looks for targetdoc="adminguide" lang="fr", and then for targetdoc="adminguide" lang="en". If there is still no match, it looks for targetdoc="adminguide" with no lang attribute.

This parameter is useful when a set of documents is only partially translated, or is in the process of being translated. If a target of an olink has not yet been translated, then this parameter permits the processor to look for the document in other languages. This assumes the reader would rather have a link to a document in a different language than to have a broken link.


Name

olink.properties — Properties associated with the cross-reference text of an olink.

Synopsis

<xsl:attribute-set name="olink.properties">
  <xsl:attribute name="show-destination">replace</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is applied to the fo:basic-link element of an olink. It is not applied to the optional page number or optional title of the external document.


Name

prefer.internal.olink — Prefer a local olink reference to an external reference

Synopsis

<xsl:param name="prefer.internal.olink" select="0"></xsl:param>

Description

If you are re-using XML content modules in multiple documents, you may want to redirect some of your olinks. This parameter permits you to redirect an olink to the current document.

For example: you are writing documentation for a product, which includes 3 manuals: a little installation booklet (booklet.xml), a user guide (user.xml), and a reference manual (reference.xml). All 3 documents begin with the same introduction section (intro.xml) that contains a reference to the customization section (custom.xml) which is included in both user.xml and reference.xml documents.

How do you write the link to custom.xml in intro.xml so that it is interpreted correctly in all 3 documents?

  • If you use xref, it will fail in user.xml.

  • If you use olink (pointing to reference.xml), the reference in user.xml will point to the customization section of the reference manual, while it is actually available in user.xml.

If you set the prefer.internal.olink parameter to a non-zero value, then the processor will first look in the olink database for the olink's targetptr attribute value in document matching the current.docid parameter value. If it isn't found there, then it tries the document in the database with the targetdoc value that matches the olink's targetdoc attribute.

This feature permits an olink reference to resolve to the current document if there is an element with an id matching the olink's targetptr value. The current document's olink data must be included in the target database for this to work.

Caution

There is a potential for incorrect links if the same id attribute value is used for different content in different documents. Some of your olinks may be redirected to the current document when they shouldn't be. It is not possible to control individual olink instances.


Name

target.database.document — Name of master database file for resolving olinks

Synopsis

 <xsl:param name="target.database.document">olinkdb.xml</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.


Name

targets.filename — Name of cross reference targets data file

Synopsis

<xsl:param name="targets.filename">target.db</xsl:param>

Description

In order to resolve olinks efficiently, the stylesheets can generate an external data file containing information about all potential cross reference endpoints in a document. This parameter lets you change the name of the generated file from the default name target.db. The name must agree with that used in the target database used to resolve olinks during processing. See also target.database.document.


Name

use.local.olink.style — Process olinks using xref style of current document

Synopsis

<xsl:param name="use.local.olink.style" select="0"></xsl:param> 

Description

When 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.

Cross References


Table of Contents

insert.xref.page.number — Turns page numbers in xrefs on and off
xref.properties — Properties associated with cross-reference text
xref.label-title.separator — Punctuation or space separating label from title in xref
xref.label-page.separator — Punctuation or space separating label from page number in xref
xref.title-page.separator — Punctuation or space separating title from page number in xref
insert.link.page.number — Turns page numbers in link elements on and off

Name

insert.xref.page.number — Turns page numbers in xrefs on and off

Synopsis

<xsl:param name="insert.xref.page.number">no</xsl:param>

Description

The value of this parameter determines if cross references (xrefs) in printed output will include page number citations. It has three possible values.

no

No page number references will be generated.

yes

Page number references will be generated for all xref elements. The style of page reference may be changed if an xrefstyle attribute is used.

maybe

Page number references will not be generated for an xref element unless it has an xrefstyle attribute whose value specifies a page reference.


Name

xref.properties — Properties associated with cross-reference text

Synopsis

<xsl:attribute-set name="xref.properties">
</xsl:attribute-set>

Description

This attribute set is used to set properties on cross reference text.


Name

xref.label-title.separator — Punctuation or space separating label from title in xref

Synopsis

<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.


Name

xref.label-page.separator — Punctuation or space separating label from page number in xref

Synopsis

<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.


Name

xref.title-page.separator — Punctuation or space separating title from page number in xref

Synopsis

<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.


Name

insert.link.page.number — Turns page numbers in link elements on and off

Synopsis

<xsl:param name="insert.link.page.number">no</xsl:param>

Description

The value of this parameter determines if cross references using the link element in printed output will include standard page number citations. It has three possible values.

no

No page number references will be generated.

yes

Page number references will be generated for all link elements. The style of page reference may be changed if an xrefstyle attribute is used.

maybe

Page number references will not be generated for a link element unless it has an xrefstyle attribute whose value specifies a page reference.

Although the xrefstyle attribute can be used to turn the page reference on or off, it cannot be used to control the formatting of the page number as it can in xref. In link it will always format with the style established by the gentext template with name="page.citation" in the l:context name="xref".

Lists


Table of Contents

compact.list.item.spacing — What space do you want between list items (when spacing="compact")?
itemizedlist.properties — Properties that apply to each list-block generated by itemizedlist.
itemizedlist.label.properties — Properties that apply to each label inside itemized list.
itemizedlist.label.width — The default width of the label (bullet) in an itemized list.
list.block.properties — Properties that apply to each list-block generated by list.
list.block.spacing — What spacing do you want before and after lists?
list.item.spacing — What space do you want between list items?
orderedlist.properties — Properties that apply to each list-block generated by orderedlist.
orderedlist.label.properties — Properties that apply to each label inside ordered list.
orderedlist.label.width — The default width of the label (number) in an ordered list.
variablelist.max.termlength — Specifies the longest term in variablelists
variablelist.term.separator — Text to separate terms within a multi-term varlistentry
variablelist.term.break.after — Generate line break after each term within a multi-term varlistentry?

Name

compact.list.item.spacing — What space do you want between list items (when spacing="compact")?

Synopsis

<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>

Description

Specify what spacing you want between each list item when spacing is “compact”.


Name

itemizedlist.properties — Properties that apply to each list-block generated by itemizedlist.

Synopsis

<xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties">
</xsl:attribute-set>

Description

Properties that apply to each fo:list-block generated by itemizedlist.


Name

itemizedlist.label.properties — Properties that apply to each label inside itemized list.

Synopsis

<xsl:attribute-set name="itemizedlist.label.properties">
</xsl:attribute-set>

Description

Properties that apply to each label inside itemized list. E.g.:

<xsl:attribute-set name="itemizedlist.label.properties">
  <xsl:attribute name="text-align">right</xsl:attribute>
</xsl:attribute-set>

Name

itemizedlist.label.width — The default width of the label (bullet) in an itemized list.

Synopsis

    <xsl:param name="itemizedlist.label.width">1.0em</xsl:param>
  

Description

Specifies the default width of the label (usually a bullet or other symbol) in an itemized list. You can override the default value on any particular list with the “dbfo” processing instruction using the “label-width” pseudoattribute.


Name

list.block.properties — Properties that apply to each list-block generated by list.

Synopsis

<xsl:attribute-set name="list.block.properties">
  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
  <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
</xsl:attribute-set>

Description

Properties that apply to each fo:list-block generated by itemizedlist/orderedlist.


Name

list.block.spacing — What spacing do you want before and after lists?

Synopsis

<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>

Description

Specify 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.


Name

list.item.spacing — What space do you want between list items?

Synopsis

<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>

Description

Specify what spacing you want between each list item.


Name

orderedlist.properties — Properties that apply to each list-block generated by orderedlist.

Synopsis

<xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties">
  <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute>
</xsl:attribute-set>

Description

Properties that apply to each fo:list-block generated by orderedlist.


Name

orderedlist.label.properties — Properties that apply to each label inside ordered list.

Synopsis

<xsl:attribute-set name="orderedlist.label.properties">
</xsl:attribute-set>

Description

Properties that apply to each label inside ordered list. E.g.:

<xsl:attribute-set name="orderedlist.label.properties">
  <xsl:attribute name="text-align">right</xsl:attribute>
</xsl:attribute-set>

Name

orderedlist.label.width — The default width of the label (number) in an ordered list.

Synopsis

<xsl:param name="orderedlist.label.width">1.2em</xsl:param>

Description

Specifies the default width of the label (usually a number or sequence of numbers) in an ordered list. You can override the default value on any particular list with the “dbfo” processing instruction using the “label-width” pseudoattribute.


Name

variablelist.max.termlength — Specifies the longest term in variablelists

Synopsis

<xsl:param name="variablelist.max.termlength">24</xsl:param>

Description

In 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.


Name

variablelist.term.separator — Text to separate terms within a multi-term varlistentry

Synopsis

<xsl:param name="variablelist.term.separator">, </xsl:param>

Description

When a varlistentry contains multiple term elements, the string specified in the value of the variablelist.term.separator parameter is placed after each term except the last.

Note

To generate a line break between multiple terms in a varlistentry, set a non-zero value for the variablelist.term.break.after parameter. If you do so, you may also want to set the value of the variablelist.term.separator parameter to an empty string (to suppress rendering of the default comma and space after each term).


Name

variablelist.term.break.after — Generate line break after each term within a multi-term varlistentry?

Synopsis

<xsl:param name="variablelist.term.break.after">0</xsl:param>

Description

Set a non-zero value for the variablelist.term.break.after parameter to generate a line break between terms in a multi-term varlistentry.

Note

If you set a non-zero value for variablelist.term.break.after, you may also want to set the value of the variablelist.term.separator parameter to an empty string (to suppress rendering of the default comma and space after each term).

QAndASet


Table of Contents

qandadiv.autolabel — Are divisions in QAndASets enumerated?
qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements?
qanda.defaultlabel — Sets the default for defaultlabel on QandASet.
qanda.in.toc — Should qandaentry questions appear in the document table of contents?
qanda.nested.in.toc — Should nested answer/qandaentry instances appear in TOC?

Name

qandadiv.autolabel — Are divisions in QAndASets enumerated?

Synopsis

<xsl:param name="qandadiv.autolabel" select="1"></xsl:param>

Description

If non-zero, unlabeled qandadivs will be enumerated.


Name

qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements?

Synopsis

<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param>

Description

If non-zero, numbered qandadiv elements and question and answer inherit the enumeration of the ancestors of the qandaset.


Name

qanda.defaultlabel — Sets the default for defaultlabel on QandASet.

Synopsis

<xsl:param name="qanda.defaultlabel">number</xsl:param>

Description

If no defaultlabel attribute is specified on a qandaset, this value is used. It must be one of the legal values for the defaultlabel attribute, one from none, number or qanda. The default value is 'number'.

Meaning

qanda - questions are labeled “Q:” and answers are labeled “A:”.

number - The entries are enumerated.

none - No distinguishing label precedes Questions or Answers.


Name

qanda.in.toc — Should qandaentry questions appear in the document table of contents?

Synopsis

<xsl:param name="qanda.in.toc" select="0"></xsl:param>

Description

If true (non-zero), then the generated table of contents for a document will include qandaset titles, qandadiv titles, and question elements. The default value (zero) excludes them from the TOC.

This parameter does not affect any tables of contents that may be generated inside a qandaset or qandadiv.


Name

qanda.nested.in.toc — Should nested answer/qandaentry instances appear in TOC?

Synopsis

<xsl:param name="qanda.nested.in.toc" select="0"></xsl:param>

Description

If non-zero, instances of qandaentry that are children of answer elements are shown in the TOC.

Bibliography


Table of Contents

bibliography.style — Style used for formatting of biblioentries.
biblioentry.item.separator — Text to separate bibliography entries
bibliography.collection — Name of the bibliography collection file
bibliography.numbered — Should bibliography entries be numbered?
biblioentry.properties — To set the style for biblioentry.

Name

bibliography.style — Style used for formatting of biblioentries.

Synopsis

<xsl:param name="bibliography.style">normal</xsl:param>

Description

Currently only normal and iso690 styles are supported.

In order to use ISO690 style to the full extent you might need to use additional markup described on the following WiKi page.


Name

biblioentry.item.separator — Text to separate bibliography entries

Synopsis

<xsl:param name="biblioentry.item.separator">. </xsl:param>

Description

Text to separate bibliography entries


Name

bibliography.collection — Name of the bibliography collection file

Synopsis

<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param>

Description

Maintaining 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 empty bibliomixed 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.


Name

bibliography.numbered — Should bibliography entries be numbered?

Synopsis

<xsl:param name="bibliography.numbered" select="0"></xsl:param>

Description

If non-zero bibliography entries will be numbered


Name

biblioentry.properties — To set the style for biblioentry.

Synopsis

<xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing">
  <xsl:attribute name="start-indent">0.5in</xsl:attribute>
  <xsl:attribute name="text-indent">-0.5in</xsl:attribute>
</xsl:attribute-set>

Description

How do you want biblioentry styled?

Set the font-size, weight, space-above and space-below, indents, etc. to the style required

Glossary


Table of Contents

glossterm.auto.link — Generate links from glossterm to glossentry automatically?
firstterm.only.link — Does automatic glossterm linking only apply to firstterms?
glossary.collection — Name of the glossary collection file
glossterm.separation — Separation between glossary terms and descriptions in list mode
glossterm.width — Width of glossterm in list presentation mode
glossary.as.blocks — Present glossarys using blocks instead of lists?
glosslist.as.blocks — Use blocks for glosslists?
glossentry.show.acronym — Display glossentry acronyms?
glossary.sort — Sort glossentry elements?

Name

glossterm.auto.link — Generate links from glossterm to glossentry automatically?

Synopsis

<xsl:param name="glossterm.auto.link" select="0"></xsl:param>

Description

If non-zero, links from inline glossterms to the corresponding glossentry elements in a glossary or glosslist will be automatically generated. This is useful when your glossterms are consistent and you don't want to add links manually.

The automatic link generation feature is not used on glossterm elements that have a linkend attribute.


Name

firstterm.only.link — Does automatic glossterm linking only apply to firstterms?

Synopsis

<xsl:param name="firstterm.only.link" select="0"></xsl:param>

Description

If non-zero, only firstterms will be automatically linked to the glossary. If glossary linking is not enabled, this parameter has no effect.


Name

glossary.collection — Name of the glossary collection file

Synopsis

<xsl:param name="glossary.collection"></xsl:param>

Description

Glossaries 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 Database

First, 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 Terms

That 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 Glossary

The 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 Document

Finally, 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.

Limitations

Glossary 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:

  1. 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>
  2. Make sure there is at least one glossterm reference to gloss-2 in 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>

Name

glossterm.separation — Separation between glossary terms and descriptions in list mode

Synopsis

<xsl:param name="glossterm.separation">0.25in</xsl:param>

Description

Specifies the separation between glossary terms and descriptions when glossarys are presented using lists.


Name

glossterm.width — Width of glossterm in list presentation mode

Synopsis

<xsl:param name="glossterm.width">2in</xsl:param>

Description

This parameter specifies the width reserved for glossary terms when a list presentation is used.


Name

glossary.as.blocks — Present glossarys using blocks instead of lists?

Synopsis

<xsl:param name="glossary.as.blocks" select="0"></xsl:param>

Description

If 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"?>


Name

glosslist.as.blocks — Use blocks for glosslists?

Synopsis

<xsl:param name="glosslist.as.blocks" select="0"></xsl:param>

Description

See glossary.as.blocks.


Name

glossentry.show.acronym — Display glossentry acronyms?

Synopsis

<xsl:param name="glossentry.show.acronym">no</xsl:param>

Description

A 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.

Note

This setting controls both acronym and abbrev elements in the glossentry.


Name

glossary.sort — Sort glossentry elements?

Synopsis

<xsl:param name="glossary.sort" select="0"></xsl:param>

Description

If non-zero, then the glossentry elements within a glossary, glossdiv, or glosslist are sorted on the glossterm, using the current lang setting. If zero (the default), then glossentry elements are not sorted and are presented in document order.

Miscellaneous


Table of Contents

formal.procedures — Selects formal or informal procedures
formal.title.placement — Specifies where formal object titles should occur
runinhead.default.title.end.punct — Default punctuation character on a run-in-head
runinhead.title.end.punct — Characters that count as punctuation on a run-in-head
show.comments — Display remark elements?
punct.honorific — Punctuation after an honorific in a personal name.
segmentedlist.as.table — Format segmented lists as tables?
variablelist.as.blocks — Format variablelists lists as blocks?
blockquote.properties — To set the style for block quotations.
ulink.show — Display URLs after ulinks?
ulink.footnotes — Generate footnotes for ulinks?
ulink.hyphenate — Allow URLs to be automatically hyphenated
ulink.hyphenate.chars — List of characters to allow ulink URLs to be automatically hyphenated on
shade.verbatim — Should verbatim environments be shaded?
shade.verbatim.style — Properties that specify the style of shaded verbatim listings
hyphenate.verbatim — Should verbatim environments be hyphenated on space characters?
hyphenate.verbatim.characters — List of characters after which line break can occur in listings
use.svg — Allow SVG in the result tree?
use.role.as.xrefstyle — Use role attribute for xrefstyle on xref?
menuchoice.separator — Separator between items of a menuchoice other than guimenuitem and guisubmenu
menuchoice.menu.separator — Separator between items of a menuchoice with guimenuitem or guisubmenu
default.float.class — Specifies the default float class
footnote.number.format — Identifies the format used for footnote numbers
table.footnote.number.format — Identifies the format used for footnote numbers in tables
footnote.number.symbols — Special characters to use as footnote markers
table.footnote.number.symbols — Special characters to use a footnote markers in tables
footnote.properties — Properties applied to each footnote body
table.footnote.properties — Properties applied to each table footnote body
footnote.mark.properties — Properties applied to each footnote mark
footnote.sep.leader.properties — Properties associated with footnote separators
xref.with.number.and.title — Use number and title in cross references
superscript.properties — Properties associated with superscripts
subscript.properties — Properties associated with subscripts
pgwide.properties — Properties to make a figure or table page wide.
highlight.source — Should the content of programlisting be syntactically highlighted?
highlight.default.language — Default language of programlisting
email.delimiters.enabled — Generate delimiters around email addresses?
section.container.element — Select XSL-FO element name to contain sections

Name

formal.procedures — Selects formal or informal procedures

Synopsis

<xsl:param name="formal.procedures" select="1"></xsl:param>

Description

Formal procedures are numbered and always have a title.


Name

formal.title.placement — Specifies where formal object titles should occur

Synopsis

<xsl:param name="formal.title.placement">
figure before
example before
equation before
table before
procedure before
task before
</xsl:param>

Description

Specifies 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”.


Name

runinhead.default.title.end.punct — Default punctuation character on a run-in-head

Synopsis

<xsl:param name="runinhead.default.title.end.punct">.</xsl:param>

Description

If non-zero, For a formalpara, use the specified string as the separator between the title and following text. The period is the default value.


Name

runinhead.title.end.punct — Characters that count as punctuation on a run-in-head

Synopsis

<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param>

Description

Specify which characters are to be counted as punctuation. These characters are checked for a match with the last character of the title. If no match is found, the runinhead.default.title.end.punct contents are inserted. This is to avoid duplicated punctuation in the output.


Name

show.comments — Display remark elements?

Synopsis

<xsl:param name="show.comments" select="1"></xsl:param>

Description

If non-zero, comments will be displayed, otherwise they are suppressed. Comments here refers to the remark element (which was called comment prior to DocBook 4.0), not XML comments (<-- like this -->) which are unavailable.


Name

punct.honorific — Punctuation after an honorific in a personal name.

Synopsis

<xsl:param name="punct.honorific">.</xsl:param>

Description

This parameter specifies the punctuation that should be added after an honorific in a personal name.


Name

segmentedlist.as.table — Format segmented lists as tables?

Synopsis

<xsl:param name="segmentedlist.as.table" select="0"></xsl:param>

Description

If non-zero, segmentedlists will be formatted as tables.


Name

variablelist.as.blocks — Format variablelists lists as blocks?

Synopsis

<xsl:param name="variablelist.as.blocks" select="0"></xsl:param>

Description

If 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"?>.

When using list-presentation="list", you can also control the amount of space used for the terms with the <?dbfo term-width=".25in"?> processing instruction, the termlength attribute on variablelist, or allow the stylesheets to attempt to calculate the amount of space to leave based on the number of letters in the longest term.

  <variablelist>
        <?dbfo list-presentation="list"?>
        <?dbfo term-width="1.5in"?>
        <?dbhtml list-presentation="table"?>
        <?dbhtml term-width="1.5in"?>
        <varlistentry>
          <term>list</term>
          <listitem>
                <para>
                  Formatted as a list even if variablelist.as.blocks is set to 1.
                </para>
          </listitem>
        </varlistentry>
  </variablelist>

Name

blockquote.properties — To set the style for block quotations.

Synopsis

<xsl:attribute-set name="blockquote.properties">
<xsl:attribute name="margin-left">0.5in</xsl:attribute>
<xsl:attribute name="margin-right">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>

Description

The blockquote.properties attribute set specifies the formating properties of block quotations.


Name

ulink.show — Display URLs after ulinks?

Synopsis

<xsl:param name="ulink.show" select="1"></xsl:param>

Description

If 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.

See also ulink.footnotes.

Note

DocBook 5 does not have an ulink element. When processing DocBoook 5 documents, ulink.show applies to all inline elements that are marked up with xlink:href attributes that point to external resources.


Name

ulink.footnotes — Generate footnotes for ulinks?

Synopsis

<xsl:param name="ulink.footnotes" select="0"></xsl:param>

Description

If non-zero, and if ulink.show also is non-zero, the URL of each ulink will appear as a footnote.

Note

DocBook 5 does not have an ulink element. When processing DocBoook 5 documents, ulink.footnotes applies to all inline elements that are marked up with xlink:href attributes that point to external resources.


Name

ulink.hyphenate — Allow URLs to be automatically hyphenated

Synopsis

<xsl:param name="ulink.hyphenate"></xsl:param>

Description

If not empty, the specified character (or more generally, content) is added to URLs after every character included in the string in the ulink.hyphenate.chars parameter (default is “/”). If the character in this parameter 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.


Name

ulink.hyphenate.chars — List of characters to allow ulink URLs to be automatically hyphenated on

Synopsis

<xsl:param name="ulink.hyphenate.chars">/</xsl:param>

Description

If the ulink.hyphenate is not empty, then hyphenation of ulinks is turned on, and any character contained in this parameter is treated as an allowable hyphenation point.

The default value is “/”, but the parameter could be customized to contain other URL characters, as for example:

<xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param>

Name

shade.verbatim — Should verbatim environments be shaded?

Synopsis

<xsl:param name="shade.verbatim" select="0"></xsl:param>

Description

In the FO stylesheet, if this parameter is non-zero then the shade.verbatim.style properties will be applied to verbatim environments.

In the HTML stylesheet, this parameter is now deprecated. Use CSS instead.


Name

shade.verbatim.style — Properties that specify the style of shaded verbatim listings

Synopsis


<xsl:attribute-set name="shade.verbatim.style">
  <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
</xsl:attribute-set>

Description

Properties that specify the style of shaded verbatim listings. The parameters specified (the border and background color) are added to the styling of the xsl-fo output. A border might be specified as "thin black solid" for example. See xsl-fo


Name

hyphenate.verbatim — Should verbatim environments be hyphenated on space characters?

Synopsis

<xsl:param name="hyphenate.verbatim" select="0"></xsl:param>

Description

If the lines of program listing are too long to fit into one line it is quite common to split them at space and indicite by hook arrow that code continues on the next line. You can turn on this behaviour for programlisting, screen and synopsis elements by using this parameter.

Note that you must also enable line wrapping for verbatim environments and select appropriate hyphenation character (e.g. hook arrow). This can be done using monospace.verbatim.properties attribute set:

<xsl:attribute-set name="monospace.verbatim.properties" 
                   use-attribute-sets="verbatim.properties monospace.properties">
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
  <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute>
</xsl:attribute-set>

For a list of arrows available in Unicode see http://www.unicode.org/charts/PDF/U2190.pdf and http://www.unicode.org/charts/PDF/U2900.pdf and make sure that selected character is available in the font you are using for verbatim environments.


Name

hyphenate.verbatim.characters — List of characters after which line break can occur in listings

Synopsis

<xsl:param name="hyphenate.verbatim.characters"></xsl:param>

Description

If you enable hyphenate.verbatim line breaks are allowed only on space characters. If this is not enough for your document, you can specify list of additional characters after which line break is allowed in this parameter.


Name

use.svg — Allow SVG in the result tree?

Synopsis

<xsl:param name="use.svg" select="1"></xsl:param>

Description

If 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.


Name

use.role.as.xrefstyle — Use role attribute for xrefstyle on xref?

Synopsis

<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param>

Description

If 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.

Example

The 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.


Name

menuchoice.separator — Separator between items of a menuchoice other than guimenuitem and guisubmenu

Synopsis

<xsl:param name="menuchoice.separator">+</xsl:param>

Description

Separator used to connect items of a menuchoice other than guimenuitem and guisubmenu. The latter elements are linked with menuchoice.menu.separator.


Name

menuchoice.menu.separator — Separator between items of a menuchoice with guimenuitem or guisubmenu

Synopsis

<xsl:param name="menuchoice.menu.separator"> → </xsl:param>

Description

Separator used to connect items of a menuchoice with guimenuitem or guisubmenu. Other elements are linked with menuchoice.separator.

The default value is &#x2192;, which is the &rarr; (right arrow) character entity. The current FOP (0.20.5) requires setting the font-family explicitly.

The default value also includes spaces around the arrow, which will allow a line to break. Replace the spaces with &#xA0; (nonbreaking space) if you don't want those spaces to break.


Name

default.float.class — Specifies the default float class

Synopsis

<xsl:param name="default.float.class">
  <xsl:choose>
    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
    <xsl:otherwise>before</xsl:otherwise>
  </xsl:choose>
</xsl:param>

Description

Selects the direction in which a float should be placed. for xsl-fo this is before, for html it is left. For Western texts, the before direction is the top of the page.


Name

footnote.number.format — Identifies the format used for footnote numbers

Synopsis

<xsl:param name="footnote.number.format">1</xsl:param>

Description

The footnote.number.format specifies the format to use for footnote numeration (1, i, I, a, or A).


Name

table.footnote.number.format — Identifies the format used for footnote numbers in tables

Synopsis

<xsl:param name="table.footnote.number.format">a</xsl:param>

Description

The table.footnote.number.format specifies the format to use for footnote numeration (1, i, I, a, or A) in tables.


Name

footnote.number.symbols — Special characters to use as footnote markers

Synopsis

<xsl:param name="footnote.number.symbols"></xsl:param>

Description

If footnote.number.symbols is not the empty string, footnotes will use the characters it contains as footnote symbols. For example, “*&#x2020;&#x2021;&#x25CA;&#x2720;” 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.


Name

table.footnote.number.symbols — Special characters to use a footnote markers in tables

Synopsis

<xsl:param name="table.footnote.number.symbols"></xsl:param>

Description

If table.footnote.number.symbols is not the empty string, table footnotes will use the characters it contains as footnote symbols. For example, “*&#x2020;&#x2021;&#x25CA;&#x2720;” 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.


Name

footnote.properties — Properties applied to each footnote body

Synopsis

<xsl:attribute-set name="footnote.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="$footnote.font.size"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="font-weight">normal</xsl:attribute>
  <xsl:attribute name="font-style">normal</xsl:attribute>
  <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="start-indent">0pt</xsl:attribute>
  <xsl:attribute name="text-indent">0pt</xsl:attribute>
  <xsl:attribute name="hyphenate"><xsl:value-of select="$hyphenate"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
  <xsl:attribute name="linefeed-treatment">treat-as-space</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is applied to the footnote-block for each footnote. It can be used to set the font-size, font-family, and other inheritable properties that will be applied to all footnotes.


Name

table.footnote.properties — Properties applied to each table footnote body

Synopsis

<xsl:attribute-set name="table.footnote.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="$footnote.font.size"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="font-weight">normal</xsl:attribute>
  <xsl:attribute name="font-style">normal</xsl:attribute>
  <xsl:attribute name="space-before">2pt</xsl:attribute>
  <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is applied to the footnote-block for each table footnote. It can be used to set the font-size, font-family, and other inheritable properties that will be applied to all table footnotes.


Name

footnote.mark.properties — Properties applied to each footnote mark

Synopsis

<xsl:attribute-set name="footnote.mark.properties">
  <xsl:attribute name="font-size">75%</xsl:attribute>
  <xsl:attribute name="font-weight">normal</xsl:attribute>
  <xsl:attribute name="font-style">normal</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is applied to the footnote mark used for each footnote. It should contain only inline properties.

The property to make the mark a superscript is contained in the footnote template itself, because the current version of FOP reports an error if baseline-shift is used.


Name

footnote.sep.leader.properties — Properties associated with footnote separators

Synopsis

<xsl:attribute-set name="footnote.sep.leader.properties">
  <xsl:attribute name="color">black</xsl:attribute>
  <xsl:attribute name="leader-pattern">rule</xsl:attribute>
  <xsl:attribute name="leader-length">1in</xsl:attribute>
</xsl:attribute-set>

Description

The styling for the rule line that separates the footnotes from the body text. These are properties applied to the fo:leader used as the separator.

If you want to do more than just set properties on the leader element, then you can customize the template named footnote.separator in fo/pagesetup.xsl.


Name

xref.with.number.and.title — Use number and title in cross references

Synopsis

<xsl:param name="xref.with.number.and.title" select="1"></xsl:param>

Description

A cross reference may include the number (for example, the number of an example or figure) and the title which is a required child of some targets. This parameter inserts both the relevant number as well as the title into the link.


Name

superscript.properties — Properties associated with superscripts

Synopsis

<xsl:attribute-set name="superscript.properties">
  <xsl:attribute name="font-size">75%</xsl:attribute>
</xsl:attribute-set>

Description

Specifies styling properties for superscripts.


Name

subscript.properties — Properties associated with subscripts

Synopsis

<xsl:attribute-set name="subscript.properties">
  <xsl:attribute name="font-size">75%</xsl:attribute>
</xsl:attribute-set>

Description

Specifies styling properties for subscripts.


Name

pgwide.properties — Properties to make a figure or table page wide.

Synopsis

<xsl:attribute-set name="pgwide.properties">
  <xsl:attribute name="start-indent">0pt</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is used to set the properties that make a figure or table "page wide" in fo output. It comes into effect when an attribute pgwide="1" is used.

By default, it sets start-indent to 0pt. In a stylesheet that sets the parameter body.start.indent to a non-zero value in order to indent body text, this attribute set can be used to outdent pgwide figures to the left margin.

If a document uses a multi-column page layout, then this attribute set could try setting span to a value of all. However, this may not work with some processors because a span property must be on an fo:block that is a direct child of fo:flow. It may work in some processors anyway.


Name

highlight.source — Should the content of programlisting be syntactically highlighted?

Synopsis

<xsl:param name="highlight.source" select="0"></xsl:param>

Description

When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the content of the programlisting element. The highlighting is done by the XSLTHL extension module. This is an external Java library which is not part of the DocBook XSL distribution.

In order to use this extension, you must add xslthl.jar to your Java classpath. You can download this software from the XSLT syntax highlighting project at SourceForge.

The configuration of syntax highlighting is stored in highlighting/xslthl-config.xml. The Java property xslthl.config must point to this file (using URL syntax).

This extension is known to work with Saxon 6.5.x. Here is an example of a modified Saxon command:

java -cp c:\batch\;…;c:\path\to\xslthl.jar -Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml … com.icl.saxon.StyleSheet …

You can specify the language for each programlisting by using the language attribute. The highlighting.default.language parameter can be used for specifying the language to be used for programlistings without a language attribute.


Name

highlight.default.language — Default language of programlisting

Synopsis

<xsl:param name="highlight.default.language"></xsl:param>

Description

This language is used when there is no language attribute on programlisting.


Name

email.delimiters.enabled — Generate delimiters around email addresses?

Synopsis

<xsl:param name="email.delimiters.enabled" select="1"></xsl:param>

Description

If non-zero, delimiters [1] are generated around e-mail addresses (the output of the email element).



[1] For delimiters, the stylesheets are currently hard-coded to output angle brackets.


Name

section.container.element — Select XSL-FO element name to contain sections

Synopsis

<xsl:param name="section.container.element">block</xsl:param>

Description

Selects the element name for outer container of each section. The choices are block (default) or wrapper. The fo: namespace prefix is added by the stylesheet to form the full element name.

This element receives the section id attribute and the appropriate section level attribute-set.

Changing this parameter to wrapper is only necessary when producing multi-column output that contains page-wide spans. Using fo:wrapper avoids the nesting of fo:block elements that prevents spans from working (the standard says a span must be on a block that is a direct child of fo:flow).

If set to wrapper, the section attribute-sets only support properties that are inheritable. That's because there is no block to apply them to. Properties such as font-family are inheritable, but properties such as border are not.

Only some XSL-FO processors need to use this parameter. The Antenna House processor, for example, will handle spans in nested blocks without changing the element name. The RenderX XEP product and FOP follow the XSL-FO standard and need to use wrapper.

Graphics


Table of Contents

graphic.default.extension — Default extension for graphic filenames
default.image.width — The default width of images
preferred.mediaobject.role — Select which mediaobject to use based on this value of an object's role attribute.
use.role.for.mediaobject — Use role attribute value for selecting which of several objects within a mediaobject to use.
ignore.image.scaling — Tell the stylesheets to ignore the author's image scaling attributes
img.src.path — Path to HTML/FO image files
keep.relative.image.uris — Should image URIs be resolved against xml:base?

Name

graphic.default.extension — Default extension for graphic filenames

Synopsis

<xsl:param name="graphic.default.extension"></xsl:param>

Description

If 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.


Name

default.image.width — The default width of images

Synopsis

<xsl:param name="default.image.width"></xsl:param>

Description

If specified, this value will be used for the width attribute on images that do not specify any viewport dimensions.


Name

preferred.mediaobject.role — Select which mediaobject to use based on this value of an object's role attribute.

Synopsis

<xsl:param name="preferred.mediaobject.role"></xsl:param>

Description

A 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.


Name

use.role.for.mediaobject — Use role attribute value for selecting which of several objects within a mediaobject to use.

Synopsis

<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param>

Description

If 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:

  1. If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected.

  2. 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.

  3. 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.


Name

ignore.image.scaling — Tell the stylesheets to ignore the author's image scaling attributes

Synopsis

<xsl:param name="ignore.image.scaling" select="0"></xsl:param>

Description

If non-zero, the scaling attributes on graphics and media objects are ignored.


Name

img.src.path — Path to HTML/FO image files

Synopsis

<xsl:param name="img.src.path"></xsl:param>

Description

Add a path prefix to the value of the fileref attribute of graphic, inlinegraphic, and imagedata elements. The resulting compound path is used in the output as the value of the src attribute of img (HTML) or external-graphic (FO).

The path given by img.src.path could be relative to the directory where the HTML/FO files are created, or it could be an absolute URI. The default value is empty. Be sure to include a trailing slash if needed.

This prefix is not applied to any filerefs that start with "/" or contain "//:".


Name

keep.relative.image.uris — Should image URIs be resolved against xml:base?

Synopsis


<xsl:param name="keep.relative.image.uris" select="0"></xsl:param>

Description

If non-zero, relative URIs (in, for example fileref attributes) will be used in the generated output. Otherwise, the URIs will be made absolute with respect to the base URI.

Note that the stylesheets calculate (and use) the absolute form for some purposes, this only applies to the resulting output.

Pagination and General Styles


Understanding XSL FO Margins

To make sense of the parameters in this section, it's useful to consider Figure 1, “Page Model”.

Figure 1. Page Model

Figure showing page margins

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:

  1. The page-master margin-top.

  2. The region-before extent.

  3. The region-body margin-top.

  4. The region-after extent.

  5. The page-master margin-bottom.

  6. The region-body margin-bottom.

  7. 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.

  8. 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.

Table of Contents

page.height — The height of the physical page
page.height.portrait — Specify the physical size of the long edge of the page
page.margin.bottom — The bottom margin of the page
page.margin.inner — The inner page margin
page.margin.outer — The outer page margin
page.margin.top — The top margin of the page
page.orientation — Select the page orientation
page.width — The width of the physical page
page.width.portrait — Specify the physical size of the short edge of the page
paper.type — Select the paper type
double.sided — Is the document to be printed double sided?
body.margin.bottom — The bottom margin of the body text
body.margin.top — To specify the size of the top margin of a page
body.start.indent — The start-indent for the body text
body.end.indent — The end-indent for the body text
alignment — Specify the default text alignment
hyphenate — Specify hyphenation behavior
line-height — Specify the line-height property
column.count.back — Number of columns on back matter pages
column.count.body — Number of columns on body pages
column.count.front — Number of columns on front matter pages
column.count.index — Number of columns on index pages
column.count.lot — Number of columns on a 'List-of-Titles' page
column.count.titlepage — Number of columns on a title page
column.gap.back — Gap between columns in back matter
column.gap.body — Gap between columns in the body
column.gap.front — Gap between columns in the front matter
column.gap.index — Gap between columns in the index
column.gap.lot — Gap between columns on a 'List-of-Titles' page
column.gap.titlepage — Gap between columns on title pages
region.after.extent — Specifies the height of the footer.
region.before.extent — Specifies the height of the header
default.units — Default units for an unqualified dimension
normal.para.spacing — What space do you want between normal paragraphs
body.font.master — Specifies the default point size for body text
body.font.size — Specifies the default font size for body text
footnote.font.size — The font size for footnotes
title.margin.left — Adjust the left margin for titles
draft.mode — Select draft mode
draft.watermark.image — The URI of the image to be used for draft watermarks
headers.on.blank.pages — Put headers on blank pages?
footers.on.blank.pages — Put footers on blank pages?
header.rule — Rule under headers?
footer.rule — Rule over footers?
header.column.widths — Specify relative widths of header areas
footer.column.widths — Specify relative widths of footer areas
header.table.properties — Apply properties to the header layout table
header.table.height — Specify the minimum height of the table containing the running page headers
footer.table.properties — Apply properties to the footer layout table
footer.table.height — Specify the minimum height of the table containing the running page footers
header.content.properties — Properties of page header content
footer.content.properties — Properties of page footer content
marker.section.level — Control depth of sections shown in running headers or footers

Name

page.height — The height of the physical page

Synopsis

<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>

Description

The page height is generally calculated from the paper.type and page.orientation.


Name

page.height.portrait — Specify the physical size of the long edge of the page

Synopsis

<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>

Description

The portrait page height is the length of the long edge of the physical page.


Name

page.margin.bottom — The bottom margin of the page

Synopsis

<xsl:param name="page.margin.bottom">0.5in</xsl:param>

Description

The bottom page margin is the distance from the bottom of the region-after to the physical bottom of the page.


Name

page.margin.inner — The inner page margin

Synopsis

<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>

Description

The 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.


Name

page.margin.outer — The outer page margin

Synopsis

<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>

Description

The 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.


Name

page.margin.top — The top margin of the page

Synopsis

<xsl:param name="page.margin.top">0.5in</xsl:param>

Description

The top page margin is the distance from the physical top of the page to the top of the region-before.


Name

page.orientation — Select the page orientation

Synopsis

<xsl:param name="page.orientation">portrait</xsl:param>

Description

Select one from portrait or landscape. In portrait orientation, the short edge is horizontal; in landscape orientation, it is vertical.


Name

page.width — The width of the physical page

Synopsis

<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>

Description

The page width is generally calculated from the paper.type and page.orientation.


Name

page.width.portrait — Specify the physical size of the short edge of the page

Synopsis

<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>

Description

The portrait page width is the length of the short edge of the physical page.


Name

paper.type — Select the paper type

Synopsis

<xsl:param name="paper.type">USletter</xsl:param>

Description

The 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.


Name

double.sided — Is the document to be printed double sided?

Synopsis

<xsl:param name="double.sided" select="0"></xsl:param>

Description

Double-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.


Name

body.margin.bottom — The bottom margin of the body text

Synopsis

<xsl:param name="body.margin.bottom">0.5in</xsl:param>

Description

The body bottom margin is the distance from the last line of text in the page body to the bottom of the region-after.


Name

body.margin.top — To specify the size of the top margin of a page

Synopsis

<xsl:param name="body.margin.top">0.5in</xsl:param>

Description

The body top margin is the distance from the top of the region-before to the first line of text in the page body.


Name

body.start.indent — The start-indent for the body text

Synopsis

<xsl:param name="body.start.indent">
  <xsl:choose>
    <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
    <xsl:otherwise>4pc</xsl:otherwise>
  </xsl:choose>
</xsl:param>

Description

This parameter provides one means of indenting the body text relative to the left page margin. It is used in place of the title.margin.left for all XSL-FO processors except FOP. It enables support for side floats to appear in the indented margin area.

This start-indent property is added to the fo:flow for certain page sequences. Which page-sequences it is applied to is determined by the template named set.flow.properties. By default, that template adds it to the flow for page-sequences using the “body” master-reference, as well as appendixes and prefaces.

If this parameter is used, section titles should have a start-indent value of 0pt if they are to be outdented relative to the body text.

If you are using FOP, then set this parameter to a zero width value and set the title.margin.left parameter to the negative value of the desired indent.

See also body.end.indent and title.margin.left.


Name

body.end.indent — The end-indent for the body text

Synopsis

<xsl:param name="body.end.indent">0pt</xsl:param>

Description

This end-indent property is added to the fo:flow for certain page sequences. Which page-sequences it is applied to is determined by the template named set.flow.properties. By default, that template adds it to the flow for page-sequences using the “body” master-reference, as well as appendixes and prefaces.

See also body.start.indent.


Name

alignment — Specify the default text alignment

Synopsis

<xsl:param name="alignment">justify</xsl:param>

Description

The default text alignment is used for most body text.


Name

hyphenate — Specify hyphenation behavior

Synopsis

<xsl:param name="hyphenate">true</xsl:param>

Description

If true, words may be hyphenated. Otherwise, they may not.


Name

line-height — Specify the line-height property

Synopsis

<xsl:param name="line-height">normal</xsl:param>

Description

Sets the line-height property.


Name

column.count.back — Number of columns on back matter pages

Synopsis

<xsl:param name="column.count.back" select="1"></xsl:param>

Description

Number of columns on back matter (appendix, glossary, etc.) pages.


Name

column.count.body — Number of columns on body pages

Synopsis

<xsl:param name="column.count.body" select="1"></xsl:param>

Description

Number of columns on body pages.


Name

column.count.front — Number of columns on front matter pages

Synopsis

<xsl:param name="column.count.front" select="1"></xsl:param>

Description

Number of columns on front matter (dedication, preface, etc.) pages.


Name

column.count.index — Number of columns on index pages

Synopsis

<xsl:param name="column.count.index">2</xsl:param>

Description

Number of columns on index pages.


Name

column.count.lot — Number of columns on a 'List-of-Titles' page

Synopsis

<xsl:param name="column.count.lot" select="1"></xsl:param>

Description

Number of columns on a page sequence containing the Table of Contents, List of Figures, etc.


Name

column.count.titlepage — Number of columns on a title page

Synopsis

<xsl:param name="column.count.titlepage" select="1"></xsl:param>

Description

Number of columns on a title page


Name

column.gap.back — Gap between columns in back matter

Synopsis

<xsl:param name="column.gap.back">12pt</xsl:param>

Description

Specifies the gap between columns in back matter (if column.count.back is greater than one).


Name

column.gap.body — Gap between columns in the body

Synopsis

<xsl:param name="column.gap.body">12pt</xsl:param>

Description

Specifies the gap between columns in body matter (if column.count.body is greater than one).


Name

column.gap.front — Gap between columns in the front matter

Synopsis

<xsl:param name="column.gap.front">12pt</xsl:param>

Description

Specifies the gap between columns in front matter (if column.count.front is greater than one).


Name

column.gap.index — Gap between columns in the index

Synopsis

<xsl:param name="column.gap.index">12pt</xsl:param>

Description

Specifies the gap between columns in indexes (if column.count.index is greater than one).


Name

column.gap.lot — Gap between columns on a 'List-of-Titles' page

Synopsis

<xsl:param name="column.gap.lot">12pt</xsl:param>

Description

Specifies the gap between columns on 'List-of-Titles' pages (if column.count.lot is greater than one).


Name

column.gap.titlepage — Gap between columns on title pages

Synopsis

<xsl:param name="column.gap.titlepage">12pt</xsl:param>

Description

Specifies the gap between columns on title pages (if column.count.titlepage is greater than one).


Name

region.after.extent — Specifies the height of the footer.

Synopsis

<xsl:param name="region.after.extent">0.4in</xsl:param>

Description

The region after extent is the height of the area where footers are printed.


Name

region.before.extent — Specifies the height of the header

Synopsis

<xsl:param name="region.before.extent">0.4in</xsl:param>

Description

The region before extent is the height of the area where headers are printed.


Name

default.units — Default units for an unqualified dimension

Synopsis

<xsl:param name="default.units">pt</xsl:param>

Description

If 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.


Name

normal.para.spacing — What space do you want between normal paragraphs

Synopsis

<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>

Description

Specify the spacing required between normal paragraphs


Name

body.font.master — Specifies the default point size for body text

Synopsis

<xsl:param name="body.font.master">10</xsl:param>

Description

The 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.


Name

body.font.size — Specifies the default font size for body text

Synopsis

<xsl:param name="body.font.size">
 <xsl:value-of select="$body.font.master"></xsl:value-of><xsl:text>pt</xsl:text>
</xsl:param>

Description

The 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.


Name

footnote.font.size — The font size for footnotes

Synopsis

<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>

Description

The footnote font size is used for...footnotes!


Name

title.margin.left — Adjust the left margin for titles

Synopsis

<xsl:param name="title.margin.left">
  <xsl:choose>
    <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
    <xsl:otherwise>0pt</xsl:otherwise>
  </xsl:choose>
</xsl:param>

Description

This parameter provides one means of adjusting the left margin for titles. The left margin of the body region is calculated to include this space, and titles are outdented to the left by this amount, effectively leaving titles at the left margin and the body text indented. Currently this method is only used for FOP because it cannot properly use the body.start.indent parameter. the relative

The default value for FOP is -4pc, which means the body text is indented 4 picas relative to the titles. The default value for other processors is 0pt, and the body indent is provided by the body.start.indent parameter.

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 must be 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.


Name

draft.mode — Select draft mode

Synopsis

<xsl:param name="draft.mode">maybe</xsl:param>

Description

Selects 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.


Name

draft.watermark.image — The URI of the image to be used for draft watermarks

Synopsis

<xsl:param name="draft.watermark.image">http://docbook.sourceforge.net/release/images/draft.png</xsl:param>

Description

The image to be used for draft watermarks.


Name

headers.on.blank.pages — Put headers on blank pages?

Synopsis

<xsl:param name="headers.on.blank.pages" select="1"></xsl:param>

Description

If non-zero, headers will be placed on blank pages.


Name

footers.on.blank.pages — Put footers on blank pages?

Synopsis

<xsl:param name="footers.on.blank.pages" select="1"></xsl:param>

Description

If non-zero, footers will be placed on blank pages.


Name

header.rule — Rule under headers?

Synopsis

<xsl:param name="header.rule" select="1"></xsl:param>

Description

If non-zero, a rule will be drawn below the page headers.


Name

footer.rule — Rule over footers?

Synopsis

<xsl:param name="footer.rule" select="1"></xsl:param>

Description

If non-zero, a rule will be drawn above the page footers.


Name

header.column.widths — Specify relative widths of header areas

Synopsis

<xsl:param name="header.column.widths">1 1 1</xsl:param>

Description

Page 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.


Name

footer.column.widths — Specify relative widths of footer areas

Synopsis

<xsl:param name="footer.column.widths">1 1 1</xsl:param>

Description

Page 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.


Name

header.table.properties — Apply properties to the header layout table

Synopsis

<xsl:attribute-set name="header.table.properties">
  <xsl:attribute name="table-layout">fixed</xsl:attribute>
  <xsl:attribute name="width">100%</xsl:attribute>
</xsl:attribute-set>

Description

Properties applied to the table that lays out the page header.


Name

header.table.height — Specify the minimum height of the table containing the running page headers

Synopsis

<xsl:param name="header.table.height">14pt</xsl:param>

Description

Page 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 minimum height of the single row in the table. Since this specifies only the minimum height, the table should automatically grow to fit taller content. The default value is "14pt".


Name

footer.table.properties — Apply properties to the footer layout table

Synopsis

<xsl:attribute-set name="footer.table.properties">
  <xsl:attribute name="table-layout">fixed</xsl:attribute>
  <xsl:attribute name="width">100%</xsl:attribute>
</xsl:attribute-set>

Description

Properties applied to the table that lays out the page footer.


Name

footer.table.height — Specify the minimum height of the table containing the running page footers

Synopsis

<xsl:param name="footer.table.height">14pt</xsl:param>

Description

Page 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 minimum height of the single row in the table. Since this specifies only the minimum height, the table should automatically grow to fit taller content. The default value is "14pt".


Name

header.content.properties — Properties of page header content

Synopsis

<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>

Description

Properties of page header content.


Name

footer.content.properties — Properties of page footer content

Synopsis

<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>

Description

Properties of page footer content.


Name

marker.section.level — Control depth of sections shown in running headers or footers

Synopsis

<xsl:param name="marker.section.level">2</xsl:param>

Description

The 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 Families


Table of Contents

body.font.family — The default font family for body text
dingbat.font.family — The font family for copyright, quotes, and other symbols
monospace.font.family — The default font family for monospace environments
sans.font.family — The default sans-serif font family
title.font.family — The default font family for titles
symbol.font.family — The font families to be searched for symbols outside of the body font

Name

body.font.family — The default font family for body text

Synopsis

<xsl:param name="body.font.family">serif</xsl:param>

Description

The body font family is the default font used for text in the page body.


Name

dingbat.font.family — The font family for copyright, quotes, and other symbols

Synopsis

<xsl:param name="dingbat.font.family">serif</xsl:param>

Description

The dingbat font family is used for dingbats. If it is defined as the empty string, no font change is effected around dingbats.


Name

monospace.font.family — The default font family for monospace environments

Synopsis

<xsl:param name="monospace.font.family">monospace</xsl:param>

Description

The monospace font family is used for verbatim environments (program listings, screens, etc.).


Name

sans.font.family — The default sans-serif font family

Synopsis

<xsl:param name="sans.font.family">sans-serif</xsl:param>

Description

The default sans-serif font family. At the present, this isn't actually used by the stylesheets.


Name

title.font.family — The default font family for titles

Synopsis

<xsl:param name="title.font.family">sans-serif</xsl:param>

Description

The title font family is used for titles (chapter, section, figure, etc.)


Name

symbol.font.family — The font families to be searched for symbols outside of the body font

Synopsis

<xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param>

Description

A 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.

Property Sets


Table of Contents

formal.object.properties — Properties associated with a formal object such as a figure, or other component that has a title
formal.title.properties — Style the title element of formal object such as a figure.
informal.object.properties — Properties associated with an informal (untitled) object, such as an informalfigure
monospace.properties — Properties of monospaced content
verbatim.properties — Properties associated with verbatim text
monospace.verbatim.properties — What font and size do you want for monospaced content?
sidebar.properties — Attribute set for sidebar properties
sidebar.title.properties — Attribute set for sidebar titles
sidebar.float.type — Select type of float for sidebar elements
sidebar.float.width — Set the default width for sidebars
margin.note.properties — Attribute set for margin.note properties
margin.note.title.properties — Attribute set for margin note titles
margin.note.float.type — Select type of float for margin note customizations
margin.note.width — Set the default width for margin notes
component.title.properties — Properties for component titles
component.titlepage.properties — Properties for component titlepages
section.title.properties — Properties for section titles
section.title.level1.properties — Properties for level-1 section titles
section.title.level2.properties — Properties for level-2 section titles
section.title.level3.properties — Properties for level-3 section titles
section.title.level4.properties — Properties for level-4 section titles
section.title.level5.properties — Properties for level-5 section titles
section.title.level6.properties — Properties for level-6 section titles
section.properties — Properties for all section levels
section.level1.properties — Properties for level-1 sections
section.level2.properties — Properties for level-2 sections
section.level3.properties — Properties for level-3 sections
section.level4.properties — Properties for level-4 sections
section.level5.properties — Properties for level-5 sections
section.level6.properties — Properties for level-6 sections
figure.properties — Properties associated with a figure
example.properties — Properties associated with a example
equation.properties — Properties associated with a equation
table.properties — Properties associated with the block surrounding a table
informalfigure.properties — Properties associated with an informalfigure
informalexample.properties — Properties associated with an informalexample
informalequation.properties — Properties associated with an informalequation
informaltable.properties — Properties associated with the block surrounding an informaltable
procedure.properties — Properties associated with a procedure
root.properties — The properties of the fo:root element
qanda.title.properties — Properties for qanda set titles
qanda.title.level1.properties — Properties for level-1 qanda set titles
qanda.title.level2.properties — Properties for level-2 qanda set titles
qanda.title.level3.properties — Properties for level-3 qanda set titles
qanda.title.level4.properties — Properties for level-4 qanda set titles
qanda.title.level5.properties — Properties for level-5 qanda set titles
qanda.title.level6.properties — Properties for level-6 qanda set titles
article.appendix.title.properties — Properties for appendix titles that appear in an article
abstract.properties — Properties associated with the block surrounding an abstract
abstract.title.properties — Properties for abstract titles
index.page.number.properties — Properties associated with index page numbers
revhistory.table.properties — The properties of table used for formatting revhistory
revhistory.table.cell.properties — The properties of table cells used for formatting revhistory
revhistory.title.properties — The properties of revhistory title

Name

formal.object.properties — Properties associated with a formal object such as a figure, or other component that has a title

Synopsis

<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>

Description

The styling for formal objects in docbook. Specify the spacing before and after the object.


Name

formal.title.properties — Style the title element of formal object such as a figure.

Synopsis

<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>

Description

Specify how the title should be styled. Specify the font size and weight of the title of the formal object.


Name

informal.object.properties — Properties associated with an informal (untitled) object, such as an informalfigure

Synopsis

<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>

Description

The styling for informal objects in docbook. Specify the spacing before and after the object.


Name

monospace.properties — Properties of monospaced content

Synopsis

<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>

Description

Specifies 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.


Name

verbatim.properties — Properties associated with verbatim text

Synopsis

<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 name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
  <xsl:attribute name="white-space-collapse">false</xsl:attribute>
  <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>
  <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
  <xsl:attribute name="text-align">start</xsl:attribute>
</xsl:attribute-set>

Description

This attribute set is used on all verbatim environments.


Name

monospace.verbatim.properties — What font and size do you want for monospaced content?

Synopsis

<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
</xsl:attribute-set>

Description

Specify the font name and size you want for monospaced output


Name

sidebar.properties — Attribute set for sidebar properties

Synopsis

<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">0pt</xsl:attribute>
  <xsl:attribute name="margin-right">0pt</xsl:attribute>
<!--
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
-->
</xsl:attribute-set>

Description

The styling for sidebars.


Name

sidebar.title.properties — Attribute set for sidebar titles

Synopsis

<xsl:attribute-set name="sidebar.title.properties">
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>

Description

The styling for sidebars titles.


Name

sidebar.float.type — Select type of float for sidebar elements

Synopsis

<xsl:param name="sidebar.float.type">none</xsl:param>

Description

Selects the type of float for sidebar elements.

  • If sidebar.float.type is “none”, then no float is used.

  • If sidebar.float.type is “before”, then the float appears at the top of the page. On some processors, that may be the next page rather than the current page.

  • If sidebar.float.type is “left” or “start”, then a left side float is used.

  • If sidebar.float.type is “right” or “end”, then a right side float is used.

  • If your XSL-FO processor supports floats positioned on the “inside” or “outside” of double-sided pages, then you have those two options for side floats as well.


Name

sidebar.float.width — Set the default width for sidebars

Synopsis

<xsl:param name="sidebar.float.width">1in</xsl:param>

Description

Sets the default width for sidebars when used as a side float. The width determines the degree to which the sidebar block intrudes into the text area.

If sidebar.float.type is “before” or “none”, then this parameter is ignored.


Name

margin.note.properties — Attribute set for margin.note properties

Synopsis

<xsl:attribute-set name="margin.note.properties">
  <xsl:attribute name="font-size">90%</xsl:attribute>
  <xsl:attribute name="text-align">start</xsl:attribute>
</xsl:attribute-set>

Description

The styling for margin notes. By default, margin notes are not implemented for any element. A stylesheet customization is needed to make use of this attribute-set.

You can use a template named “floater” to create the customization. That template can create side floats by specifying the content and characteristics as template parameters.

For example:

<xsl:template match="para[@role='marginnote']">
  <xsl:call-template name="floater">
    <xsl:with-param name="position">
      <xsl:value-of select="$margin.note.float.type"/>
    </xsl:with-param>
    <xsl:with-param name="width">
      <xsl:value-of select="$margin.note.width"/>
    </xsl:with-param>
    <xsl:with-param name="content">
      <xsl:apply-imports/>
    </xsl:with-param>
  </xsl:call-template>
</xsl:template>

Name

margin.note.title.properties — Attribute set for margin note titles

Synopsis

<xsl:attribute-set name="margin.note.title.properties">
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
</xsl:attribute-set>

Description

The styling for margin note titles.


Name

margin.note.float.type — Select type of float for margin note customizations

Synopsis

<xsl:param name="margin.note.float.type">none</xsl:param>

Description

Selects the type of float for margin notes. DocBook does not define a margin note element, so this feature must be implemented as a customization of the stylesheet. See margin.note.properties for an example.

  • If margin.note.float.type is “none”, then no float is used.

  • If margin.note.float.type is “before”, then the float appears at the top of the page. On some processors, that may be the next page rather than the current page.

  • If margin.note.float.type is “left” or “start”, then a left side float is used.

  • If margin.note.float.type is “right” or “end”, then a right side float is used.

  • If your XSL-FO processor supports floats positioned on the “inside” or “outside” of double-sided pages, then you have those two options for side floats as well.


Name

margin.note.width — Set the default width for margin notes

Synopsis

<xsl:param name="margin.note.width">1in</xsl:param>

Description

Sets the default width for margin notes when used as a side float. The width determines the degree to which the margin note block intrudes into the text area.

If margin.note.float.type is “before” or “none”, then this parameter is ignored.


Name

component.title.properties — Properties for component titles

Synopsis

<xsl:attribute-set name="component.title.properties">
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="text-align">
    <xsl:choose>
      <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))         or (parent::slides | parent::slidesinfo)">center</xsl:when>
      <xsl:otherwise>left</xsl:otherwise>
    </xsl:choose>
  </xsl:attribute>
  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
</xsl:attribute-set>

Description

The properties common to all component titles.


Name

component.titlepage.properties — Properties for component titlepages

Synopsis

<xsl:attribute-set name="component.titlepage.properties">
</xsl:attribute-set>

Description

The properties that are applied to the outer block containing all the component title page information. Its main use is to set a span="all" property on the block that is a direct child of the flow.

This attribute-set is empty by default.


Name

section.title.properties — Properties for section titles

Synopsis

<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 name="text-align">left</xsl:attribute>
  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute>
</xsl:attribute-set>

Description

The properties common to all section titles.


Name

section.title.level1.properties — Properties for level-1 section titles

Synopsis

<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>

Description

The properties of level-1 section titles.


Name

section.title.level2.properties — Properties for level-2 section titles

Synopsis

<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>

Description

The properties of level-2 section titles.


Name

section.title.level3.properties — Properties for level-3 section titles

Synopsis

<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>

Description

The properties of level-3 section titles.


Name

section.title.level4.properties — Properties for level-4 section titles

Synopsis

<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>

Description

The properties of level-4 section titles.


Name

section.title.level5.properties — Properties for level-5 section titles

Synopsis

<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>

Description

The properties of level-5 section titles.


Name

section.title.level6.properties — Properties for level-6 section titles

Synopsis

<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>

Description

The properties of level-6 section titles. This property set is actually used for all titles below level 5.


Name

section.properties — Properties for all section levels

Synopsis

<xsl:attribute-set name="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level1.properties — Properties for level-1 sections

Synopsis

<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level2.properties — Properties for level-2 sections

Synopsis

<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level3.properties — Properties for level-3 sections

Synopsis

<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level4.properties — Properties for level-4 sections

Synopsis

<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level5.properties — Properties for level-5 sections

Synopsis

<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

section.level6.properties — Properties for level-6 sections

Synopsis

<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties">
</xsl:attribute-set>

Description

The 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.


Name

figure.properties — Properties associated with a figure

Synopsis

<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>

Description

The styling for figures.


Name

example.properties — Properties associated with a example

Synopsis

<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>

Description

The styling for examples.


Name

equation.properties — Properties associated with a equation

Synopsis

<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set>

Description

The styling for equations.


Name

table.properties — Properties associated with the block surrounding a table

Synopsis

<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties">
  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
</xsl:attribute-set>

Description

Block 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.


Name

informalfigure.properties — Properties associated with an informalfigure

Synopsis

<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>

Description

The styling for informalfigures.


Name

informalexample.properties — Properties associated with an informalexample

Synopsis

<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>

Description

The styling for informalexamples.


Name

informalequation.properties — Properties associated with an informalequation

Synopsis

<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>

Description

The styling for informalequations.


Name

informaltable.properties — Properties associated with the block surrounding an informaltable

Synopsis

<xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set>

Description

Block styling properties for informaltables. This parameter should really have been called informaltable.block.properties or something like that, but we’re leaving it to avoid backwards-compatibility problems.

See also table.table.properties.


Name

procedure.properties — Properties associated with a procedure

Synopsis

<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties">
  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
</xsl:attribute-set>

Description

The styling for procedures.


Name

root.properties — The properties of the fo:root element

Synopsis

<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>

Description

This property set is used on the fo:root element of an FO file. It defines a set of default, global parameters.


Name

qanda.title.properties — Properties for qanda set titles

Synopsis

<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>

Description

The properties common to all qanda set titles.


Name

qanda.title.level1.properties — Properties for level-1 qanda set titles

Synopsis

<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>

Description

The properties of level-1 qanda set titles.


Name

qanda.title.level2.properties — Properties for level-2 qanda set titles

Synopsis

<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>

Description

The properties of level-2 qanda set titles.


Name

qanda.title.level3.properties — Properties for level-3 qanda set titles

Synopsis

<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>

Description

The properties of level-3 qanda set titles.


Name

qanda.title.level4.properties — Properties for level-4 qanda set titles

Synopsis

<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>

Description

The properties of level-4 qanda set titles.


Name

qanda.title.level5.properties — Properties for level-5 qanda set titles

Synopsis

<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>

Description

The properties of level-5 qanda set titles.


Name

qanda.title.level6.properties — Properties for level-6 qanda set titles

Synopsis

<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>

Description

The properties of level-6 qanda set titles. This property set is actually used for all titles below level 5.


Name

article.appendix.title.properties — Properties for appendix titles that appear in an article

Synopsis

<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>

Description

The properties for the title of an appendix that appears inside an article. The default is to use the properties of sect1 titles.


Name

abstract.properties — Properties associated with the block surrounding an abstract

Synopsis

<xsl:attribute-set name="abstract.properties">
  <xsl:attribute name="start-indent">0.0in</xsl:attribute>
  <xsl:attribute name="end-indent">0.0in</xsl:attribute>
</xsl:attribute-set>

Description

Block styling properties for abstract.

See also abstract.title.properties.


Name

abstract.title.properties — Properties for abstract titles

Synopsis

<xsl:attribute-set name="abstract.title.properties">
  <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="font-weight">bold</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute>
  <xsl:attribute name="hyphenate">false</xsl:attribute>
  <xsl:attribute name="text-align">center</xsl:attribute>
</xsl:attribute-set>

Description

The properties for abstract titles.

See also abstract.properties.


Name

index.page.number.properties — Properties associated with index page numbers

Synopsis

<xsl:attribute-set name="index.page.number.properties">
</xsl:attribute-set>

Description

Properties associated with page numbers in indexes. Changing color to indicate the page number is a link is one possibility.


Name

revhistory.table.properties — The properties of table used for formatting revhistory

Synopsis

<xsl:attribute-set name="revhistory.table.properties">
</xsl:attribute-set>

Description

This property set defines appearance of revhistory table.


Name

revhistory.table.cell.properties — The properties of table cells used for formatting revhistory

Synopsis

<xsl:attribute-set name="revhistory.table.cell.properties">
</xsl:attribute-set>

Description

This property set defines appearance of individual cells in revhistory table.


Name

revhistory.title.properties — The properties of revhistory title

Synopsis

<xsl:attribute-set name="revhistory.title.properties">
</xsl:attribute-set>

Description

This property set defines appearance of revhistory title.

Profiling


The following parameters can be used for attribute-based profiling of your document. For more information about profiling, see Profiling (conditional text).

Table of Contents

profile.arch — Target profile for arch attribute
profile.audience — Target profile for audience attribute
profile.condition — Target profile for condition attribute
profile.conformance — Target profile for conformance attribute
profile.lang — Target profile for lang attribute
profile.os — Target profile for os attribute
profile.revision — Target profile for revision attribute
profile.revisionflag — Target profile for revisionflag attribute
profile.role — Target profile for role attribute
profile.security — Target profile for security attribute
profile.status — Target profile for status attribute
profile.userlevel — Target profile for userlevel attribute
profile.vendor — Target profile for vendor attribute
profile.wordsize — Target profile for wordsize attribute
profile.attribute — Name of user-specified profiling attribute
profile.value — Target profile for user-specified attribute
profile.separator — Separator character for compound profile values

Name

profile.arch — Target profile for arch attribute

Synopsis

<xsl:param name="profile.arch"></xsl:param>

Description

The 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, …).


Name

profile.audience — Target profile for audience attribute

Synopsis

<xsl:param name="profile.audience"></xsl:param>

Description

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, …).


Name

profile.condition — Target profile for condition attribute

Synopsis

<xsl:param name="profile.condition"></xsl:param>

Description

The 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, …).


Name

profile.conformance — Target profile for conformance attribute

Synopsis

<xsl:param name="profile.conformance"></xsl:param>

Description

The 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, …).


Name

profile.lang — Target profile for lang attribute

Synopsis

<xsl:param name="profile.lang"></xsl:param>

Description

The 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, …).


Name

profile.os — Target profile for os attribute

Synopsis

<xsl:param name="profile.os"></xsl:param>

Description

The 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, …).


Name

profile.revision — Target profile for revision attribute

Synopsis

<xsl:param name="profile.revision"></xsl:param>

Description

The 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, …).


Name

profile.revisionflag — Target profile for revisionflag attribute

Synopsis

<xsl:param name="profile.revisionflag"></xsl:param>

Description

The 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, …).


Name

profile.role — Target profile for role attribute

Synopsis

<xsl:param name="profile.role"></xsl:param>

Description

The 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, …).

Warning

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.


Name

profile.security — Target profile for security attribute

Synopsis

<xsl:param name="profile.security"></xsl:param>

Description

The 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, …).


Name

profile.status — Target profile for status attribute

Synopsis

<xsl:param name="profile.status"></xsl:param>

Description

The 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, …).


Name

profile.userlevel — Target profile for userlevel attribute

Synopsis

<xsl:param name="profile.userlevel"></xsl:param>

Description

The 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, …).


Name

profile.vendor — Target profile for vendor attribute

Synopsis

<xsl:param name="profile.vendor"></xsl:param>

Description

The 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, …).


Name

profile.wordsize — Target profile for wordsize attribute

Synopsis

<xsl:param name="profile.wordsize"></xsl:param>

Description

The 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, …).


Name

profile.attribute — Name of user-specified profiling attribute

Synopsis

<xsl:param name="profile.attribute"></xsl:param>

Description

This 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, …).


Name

profile.value — Target profile for user-specified attribute

Synopsis

<xsl:param name="profile.value"></xsl:param>

Description

When you are using this parameter you must also specify name of profiling attribute with parameter profile.attribute.

The 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, …).


Name

profile.separator — Separator character for compound profile values

Synopsis

<xsl:param name="profile.separator">;</xsl:param>

Description

Separator character used for compound profile values. See profile.arch

Localization


Table of Contents

l10n.gentext.language — Sets the gentext language
l10n.gentext.default.language — Sets the default language for generated text
l10n.gentext.use.xref.language — Use the language of target when generating cross-reference text?
l10n.lang.value.rfc.compliant — Make value of lang attribute RFC compliant?

Name

l10n.gentext.language — Sets the gentext language

Synopsis

<xsl:param name="l10n.gentext.language"></xsl:param>

Description

If 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.


Name

l10n.gentext.default.language — Sets the default language for generated text

Synopsis

<xsl:param name="l10n.gentext.default.language">en</xsl:param>

Description

The 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.


Name

l10n.gentext.use.xref.language — Use the language of target when generating cross-reference text?

Synopsis

<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param>

Description

If 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:

See also Kapital 3.

Where the more traditional rendering would be:

See also Chapter 3.


Name

l10n.lang.value.rfc.compliant — Make value of lang attribute RFC compliant?

Synopsis

<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param>

Description

If non-zero, ensure that the values for all lang attributes in HTML output are RFC compliant[2]. by taking any underscore characters in any lang values found in source documents, and replacing them with hyphen characters in output HTML files. For example, zh_CN in a source document becomes zh-CN in the HTML output form that source.

Note

This parameter does not cause any case change in lang values, because RFC 1766 explicitly states that all "language tags" (as it calls them) "are to be treated as case insensitive".



[2] Section 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that:

[RFC1766] defines and explains the language codes that must be used in HTML documents.

Briefly, language codes consist of a primary code and a possibly empty series of subcodes:

language-code = primary-code ( "-" subcode )*

And in RFC 1766, Tags for the Identification of Languages, the EBNF for "language tag" is given as:

Language-Tag = Primary-tag *( "-" Subtag )
Primary-tag = 1*8ALPHA
Subtag = 1*8ALPHA

EBNF


Table of Contents

ebnf.assignment — The EBNF production assignment operator
ebnf.statement.terminator — Punctuation that ends an EBNF statement.

Name

ebnf.assignment — The EBNF production assignment operator

Synopsis


<xsl:param name="ebnf.assignment">
  <fo:inline font-family="{$monospace.font.family}">
    <xsl:text>::=</xsl:text>
  </fo:inline>
</xsl:param>

Description

The ebnf.assignment parameter determines what text is used to show “assignment” in productions in productionsets.

While “::=” is common, so are several other operators.


Name

ebnf.statement.terminator — Punctuation that ends an EBNF statement.

Synopsis


<xsl:param name="ebnf.statement.terminator"></xsl:param>

Description

The ebnf.statement.terminator parameter determines what text is used to terminate each production in productionset.

Some notations end each statement with a period.

Prepress


Table of Contents

crop.marks — Output crop marks?
crop.mark.width — Width of crop marks.
crop.mark.offset — Length of crop marks.
crop.mark.bleed — Length of invisible part of crop marks.

Name

crop.marks — Output crop marks?

Synopsis

<xsl:param name="crop.marks" select="0"></xsl:param>

Description

If non-zero, crop marks will be added to each page. Currently this works only with XEP if you have xep.extensions set.


Name

crop.mark.width — Width of crop marks.

Synopsis

<xsl:param name="crop.mark.width">0.5pt</xsl:param>

Description

Width of crop marks. Crop marks are controlled by crop.marks parameter.


Name

crop.mark.offset — Length of crop marks.

Synopsis

<xsl:param name="crop.mark.offset">24pt</xsl:param>

Description

Length of crop marks. Crop marks are controlled by crop.marks parameter.


Name

crop.mark.bleed — Length of invisible part of crop marks.

Synopsis

<xsl:param name="crop.mark.bleed">6pt</xsl:param>

Description

Length of invisible part of crop marks. Crop marks are controlled by crop.marks parameter.

Appendix A. The Stylesheet

The param.xsl stylesheet is just a wrapper around all these parameters.

<xsl:stylesheet exclude-result-prefixes="src" version="1.0">

<!-- This file is generated from param.xweb -->

<!-- ********************************************************************
     $Id: param.xweb 7583 2007-12-03 17:02:33Z mzjn $
     ********************************************************************

     This file is part of the XSL DocBook Stylesheet distribution.
     See ../README or http://docbook.sf.net/release/xsl/current/ for
     copyright and other information.

     ******************************************************************** -->

<src:fragref linkend="abstract.properties.frag"></src:fragref>
<src:fragref linkend="abstract.title.properties.frag"></src:fragref>
<src:fragref linkend="admon.graphics.extension.frag"></src:fragref>
<src:fragref linkend="admon.graphics.frag"></src:fragref>
<src:fragref linkend="admon.graphics.path.frag"></src:fragref>
<src:fragref linkend="admon.textlabel.frag"></src:fragref>
<src:fragref linkend="admonition.properties.frag"></src:fragref>
<src:fragref linkend="admonition.title.properties.frag"></src:fragref>
<src:fragref linkend="graphical.admonition.properties.frag"></src:fragref>
<src:fragref linkend="nongraphical.admonition.properties.frag"></src:fragref>
<src:fragref linkend="alignment.frag"></src:fragref>
<src:fragref linkend="appendix.autolabel.frag"></src:fragref>
<src:fragref linkend="arbortext.extensions.frag"></src:fragref>
<src:fragref linkend="article.appendix.title.properties.frag"></src:fragref>
<src:fragref linkend="author.othername.in.middle.frag"></src:fragref>
<src:fragref linkend="autotoc.label.separator.frag"></src:fragref>
<src:fragref linkend="axf.extensions.frag"></src:fragref>
<src:fragref linkend="biblioentry.item.separator.frag"></src:fragref>
<src:fragref linkend="biblioentry.properties.frag"></src:fragref>
<src:fragref linkend="bibliography.collection.frag"></src:fragref>
<src:fragref linkend="bibliography.numbered.frag"></src:fragref>
<src:fragref linkend="bibliography.style.frag"></src:fragref>
<src:fragref linkend="blockquote.properties.frag"></src:fragref>
<src:fragref linkend="body.font.family.frag"></src:fragref>
<src:fragref linkend="body.font.master.frag"></src:fragref>
<src:fragref linkend="body.font.size.frag"></src:fragref>
<src:fragref linkend="body.margin.bottom.frag"></src:fragref>
<src:fragref linkend="body.margin.top.frag"></src:fragref>
<src:fragref linkend="body.start.indent.frag"></src:fragref>
<src:fragref linkend="body.end.indent.frag"></src:fragref>
<src:fragref linkend="bridgehead.in.toc.frag"></src:fragref>
<src:fragref linkend="callout.defaultcolumn.frag"></src:fragref>
<src:fragref linkend="callout.graphics.extension.frag"></src:fragref>
<src:fragref linkend="callout.graphics.frag"></src:fragref>
<src:fragref linkend="callout.icon.size.frag"></src:fragref>
<src:fragref linkend="callout.graphics.number.limit.frag"></src:fragref>
<src:fragref linkend="callout.graphics.path.frag"></src:fragref>
<src:fragref linkend="callout.unicode.font.frag"></src:fragref>
<src:fragref linkend="callout.unicode.frag"></src:fragref>
<src:fragref linkend="callout.unicode.number.limit.frag"></src:fragref>
<src:fragref linkend="callout.unicode.start.character.frag"></src:fragref>
<src:fragref linkend="callouts.extension.frag"></src:fragref>
<src:fragref linkend="chapter.autolabel.frag"></src:fragref>
<src:fragref linkend="collect.xref.targets.frag"></src:fragref>
<src:fragref linkend="column.count.back.frag"></src:fragref>
<src:fragref linkend="column.count.body.frag"></src:fragref>
<src:fragref linkend="column.count.front.frag"></src:fragref>
<src:fragref linkend="column.count.index.frag"></src:fragref>
<src:fragref linkend="column.count.lot.frag"></src:fragref>
<src:fragref linkend="column.count.titlepage.frag"></src:fragref>
<src:fragref linkend="column.gap.back.frag"></src:fragref>
<src:fragref linkend="column.gap.body.frag"></src:fragref>
<src:fragref linkend="column.gap.front.frag"></src:fragref>
<src:fragref linkend="column.gap.index.frag"></src:fragref>
<src:fragref linkend="column.gap.lot.frag"></src:fragref>
<src:fragref linkend="column.gap.titlepage.frag"></src:fragref>
<src:fragref linkend="compact.list.item.spacing.frag"></src:fragref>
<src:fragref linkend="component.label.includes.part.label.frag"></src:fragref>
<src:fragref linkend="component.title.properties.frag"></src:fragref>
<src:fragref linkend="component.titlepage.properties.frag"></src:fragref>
<src:fragref linkend="crop.marks.frag"></src:fragref>
<src:fragref linkend="crop.mark.width.frag"></src:fragref>
<src:fragref linkend="crop.mark.offset.frag"></src:fragref>
<src:fragref linkend="crop.mark.bleed.frag"></src:fragref>
<src:fragref linkend="current.docid.frag"></src:fragref>
<src:fragref linkend="default.float.class.frag"></src:fragref>
<src:fragref linkend="default.image.width.frag"></src:fragref>
<src:fragref linkend="default.table.width.frag"></src:fragref>
<src:fragref linkend="default.table.frame.frag"></src:fragref>
<src:fragref linkend="default.units.frag"></src:fragref>
<src:fragref linkend="dingbat.font.family.frag"></src:fragref>
<src:fragref linkend="double.sided.frag"></src:fragref>
<src:fragref linkend="draft.mode.frag"></src:fragref>
<src:fragref linkend="draft.watermark.image.frag"></src:fragref>
<src:fragref linkend="ebnf.assignment.frag"></src:fragref>
<src:fragref linkend="ebnf.statement.terminator.frag"></src:fragref>
<src:fragref linkend="email.delimiters.enabled.frag"></src:fragref>
<src:fragref linkend="equation.properties.frag"></src:fragref>
<src:fragref linkend="example.properties.frag"></src:fragref>
<src:fragref linkend="figure.properties.frag"></src:fragref>
<src:fragref linkend="firstterm.only.link.frag"></src:fragref>
<src:fragref linkend="footer.content.properties.frag"></src:fragref>
<src:fragref linkend="footer.rule.frag"></src:fragref>
<src:fragref linkend="footer.column.widths.frag"></src:fragref>
<src:fragref linkend="footer.table.height.frag"></src:fragref>
<src:fragref linkend="footer.table.properties.frag"></src:fragref>
<src:fragref linkend="footers.on.blank.pages.frag"></src:fragref>
<src:fragref linkend="footnote.font.size.frag"></src:fragref>
<src:fragref linkend="footnote.number.format.frag"></src:fragref>
<src:fragref linkend="footnote.number.symbols.frag"></src:fragref>
<src:fragref linkend="footnote.mark.properties.frag"></src:fragref>
<src:fragref linkend="footnote.properties.frag"></src:fragref>
<src:fragref linkend="footnote.sep.leader.properties.frag"></src:fragref>
<src:fragref linkend="fop.extensions.frag"></src:fragref>
<src:fragref linkend="fop1.extensions.frag"></src:fragref>
<src:fragref linkend="formal.object.properties.frag"></src:fragref>
<src:fragref linkend="formal.procedures.frag"></src:fragref>
<src:fragref linkend="formal.title.placement.frag"></src:fragref>
<src:fragref linkend="formal.title.properties.frag"></src:fragref>
<src:fragref linkend="funcsynopsis.decoration.frag"></src:fragref>
<src:fragref linkend="funcsynopsis.style.frag"></src:fragref>
<src:fragref linkend="function.parens.frag"></src:fragref>
<src:fragref linkend="generate.index.frag"></src:fragref>
<src:fragref linkend="generate.section.toc.level.frag"></src:fragref>
<src:fragref linkend="generate.toc.frag"></src:fragref>
<src:fragref linkend="glossary.as.blocks.frag"></src:fragref>
<src:fragref linkend="glossary.collection.frag"></src:fragref>
<src:fragref linkend="glossary.sort.frag"></src:fragref>
<src:fragref linkend="glossentry.show.acronym.frag"></src:fragref>
<src:fragref linkend="glosslist.as.blocks.frag"></src:fragref>
<src:fragref linkend="glossterm.auto.link.frag"></src:fragref>
<src:fragref linkend="glossterm.separation.frag"></src:fragref>
<src:fragref linkend="glossterm.width.frag"></src:fragref>
<src:fragref linkend="graphic.default.extension.frag"></src:fragref>
<src:fragref linkend="header.content.properties.frag"></src:fragref>
<src:fragref linkend="header.rule.frag"></src:fragref>
<src:fragref linkend="header.column.widths.frag"></src:fragref>
<src:fragref linkend="header.table.height.frag"></src:fragref>
<src:fragref linkend="header.table.properties.frag"></src:fragref>
<src:fragref linkend="headers.on.blank.pages.frag"></src:fragref>
<src:fragref linkend="highlight.default.language.frag"></src:fragref>
<src:fragref linkend="highlight.source.frag"></src:fragref>
<src:fragref linkend="hyphenate.frag"></src:fragref>
<src:fragref linkend="hyphenate.verbatim.frag"></src:fragref>
<src:fragref linkend="hyphenate.verbatim.characters.frag"></src:fragref>
<src:fragref linkend="ignore.image.scaling.frag"></src:fragref>
<src:fragref linkend="img.src.path.frag"></src:fragref>
<src:fragref linkend="index.method.frag"></src:fragref>
<src:fragref linkend="index.on.role.frag"></src:fragref>
<src:fragref linkend="index.on.type.frag"></src:fragref>
<src:fragref linkend="index.page.number.properties.frag"></src:fragref>
<src:fragref linkend="informalequation.properties.frag"></src:fragref>
<src:fragref linkend="informalexample.properties.frag"></src:fragref>
<src:fragref linkend="informalfigure.properties.frag"></src:fragref>
<src:fragref linkend="informal.object.properties.frag"></src:fragref>
<src:fragref linkend="informaltable.properties.frag"></src:fragref>
<src:fragref linkend="index.preferred.page.properties.frag"></src:fragref>
<src:fragref linkend="index.div.title.properties.frag"></src:fragref>
<src:fragref linkend="index.entry.properties.frag"></src:fragref>
<src:fragref linkend="index.number.separator.frag"></src:fragref>
<src:fragref linkend="index.range.separator.frag"></src:fragref>
<src:fragref linkend="index.term.separator.frag"></src:fragref>
<src:fragref linkend="insert.link.page.number.frag"></src:fragref>
<src:fragref linkend="insert.xref.page.number.frag"></src:fragref>
<src:fragref linkend="itemizedlist.properties.frag"></src:fragref>
<src:fragref linkend="itemizedlist.label.properties.frag"></src:fragref>
<src:fragref linkend="itemizedlist.label.width.frag"></src:fragref>
<src:fragref linkend="keep.relative.image.uris.frag"></src:fragref>
<src:fragref linkend="l10n.gentext.default.language.frag"></src:fragref>
<src:fragref linkend="l10n.gentext.language.frag"></src:fragref>
<src:fragref linkend="l10n.gentext.use.xref.language.frag"></src:fragref>
<src:fragref linkend="l10n.lang.value.rfc.compliant.frag"></src:fragref>
<src:fragref linkend="label.from.part.frag"></src:fragref>
<src:fragref linkend="line-height.frag"></src:fragref>
<src:fragref linkend="linenumbering.everyNth.frag"></src:fragref>
<src:fragref linkend="linenumbering.extension.frag"></src:fragref>
<src:fragref linkend="linenumbering.separator.frag"></src:fragref>
<src:fragref linkend="linenumbering.width.frag"></src:fragref>
<src:fragref linkend="list.block.properties.frag"></src:fragref>
<src:fragref linkend="list.block.spacing.frag"></src:fragref>
<src:fragref linkend="list.item.spacing.frag"></src:fragref>
<src:fragref linkend="make.index.markup.frag"></src:fragref>
<src:fragref linkend="make.single.year.ranges.frag"></src:fragref>
<src:fragref linkend="make.year.ranges.frag"></src:fragref>
<src:fragref linkend="margin.note.properties.frag"></src:fragref>
<src:fragref linkend="margin.note.title.properties.frag"></src:fragref>
<src:fragref linkend="margin.note.float.type.frag"></src:fragref>
<src:fragref linkend="margin.note.width.frag"></src:fragref>
<src:fragref linkend="marker.section.level.frag"></src:fragref>
<src:fragref linkend="menuchoice.menu.separator.frag"></src:fragref>
<src:fragref linkend="menuchoice.separator.frag"></src:fragref>
<src:fragref linkend="monospace.font.family.frag"></src:fragref>
<src:fragref linkend="monospace.properties.frag"></src:fragref>
<src:fragref linkend="monospace.verbatim.properties.frag"></src:fragref>
<src:fragref linkend="nominal.table.width.frag"></src:fragref>
<src:fragref linkend="normal.para.spacing.frag"></src:fragref>
<src:fragref linkend="olink.doctitle.frag"></src:fragref>
<src:fragref linkend="olink.base.uri.frag"></src:fragref>
<src:fragref linkend="olink.debug.frag"></src:fragref>
<src:fragref linkend="olink.properties.frag"></src:fragref>
<src:fragref linkend="olink.lang.fallback.sequence.frag"></src:fragref>
<src:fragref linkend="orderedlist.properties.frag"></src:fragref>
<src:fragref linkend="orderedlist.label.properties.frag"></src:fragref>
<src:fragref linkend="orderedlist.label.width.frag"></src:fragref>
<src:fragref linkend="prefer.internal.olink.frag"></src:fragref>
<src:fragref linkend="insert.olink.page.number.frag"></src:fragref>
<src:fragref linkend="insert.olink.pdf.frag.frag"></src:fragref>
<src:fragref linkend="page.height.frag"></src:fragref>
<src:fragref linkend="page.height.portrait.frag"></src:fragref>
<src:fragref linkend="page.margin.bottom.frag"></src:fragref>
<src:fragref linkend="page.margin.inner.frag"></src:fragref>
<src:fragref linkend="page.margin.outer.frag"></src:fragref>
<src:fragref linkend="page.margin.top.frag"></src:fragref>
<src:fragref linkend="page.orientation.frag"></src:fragref>
<src:fragref linkend="page.width.frag"></src:fragref>
<src:fragref linkend="page.width.portrait.frag"></src:fragref>
<src:fragref linkend="paper.type.frag"></src:fragref>
<src:fragref linkend="part.autolabel.frag"></src:fragref>
<src:fragref linkend="passivetex.extensions.frag"></src:fragref>
<src:fragref linkend="pgwide.properties.frag"></src:fragref>
<src:fragref linkend="preface.autolabel.frag"></src:fragref>
<src:fragref linkend="preferred.mediaobject.role.frag"></src:fragref>
<src:fragref linkend="procedure.properties.frag"></src:fragref>
<src:fragref linkend="process.empty.source.toc.frag"></src:fragref>
<src:fragref linkend="process.source.toc.frag"></src:fragref>
<src:fragref linkend="profile.arch.frag"></src:fragref>
<src:fragref linkend="profile.audience.frag"></src:fragref>
<src:fragref linkend="profile.attribute.frag"></src:fragref>
<src:fragref linkend="profile.condition.frag"></src:fragref>
<src:fragref linkend="profile.conformance.frag"></src:fragref>
<src:fragref linkend="profile.lang.frag"></src:fragref>
<src:fragref linkend="profile.os.frag"></src:fragref>
<src:fragref linkend="profile.revision.frag"></src:fragref>
<src:fragref linkend="profile.revisionflag.frag"></src:fragref>
<src:fragref linkend="profile.role.frag"></src:fragref>
<src:fragref linkend="profile.security.frag"></src:fragref>
<src:fragref linkend="profile.separator.frag"></src:fragref>
<src:fragref linkend="profile.status.frag"></src:fragref>
<src:fragref linkend="profile.userlevel.frag"></src:fragref>
<src:fragref linkend="profile.value.frag"></src:fragref>
<src:fragref linkend="profile.vendor.frag"></src:fragref>
<src:fragref linkend="profile.wordsize.frag"></src:fragref>
<src:fragref linkend="punct.honorific.frag"></src:fragref>
<src:fragref linkend="qanda.defaultlabel.frag"></src:fragref>
<src:fragref linkend="qanda.in.toc.frag"></src:fragref>
<src:fragref linkend="qanda.nested.in.toc.frag"></src:fragref>
<src:fragref linkend="qanda.inherit.numeration.frag"></src:fragref>
<src:fragref linkend="qandadiv.autolabel.frag"></src:fragref>
<src:fragref linkend="qanda.title.level1.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.level2.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.level3.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.level4.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.level5.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.level6.properties.frag"></src:fragref>
<src:fragref linkend="qanda.title.properties.frag"></src:fragref>
<src:fragref linkend="refentry.generate.name.frag"></src:fragref>
<src:fragref linkend="refentry.generate.title.frag"></src:fragref>
<src:fragref linkend="refentry.pagebreak.frag"></src:fragref>
<src:fragref linkend="refentry.title.properties.frag"></src:fragref>
<src:fragref linkend="refentry.xref.manvolnum.frag"></src:fragref>
<src:fragref linkend="reference.autolabel.frag"></src:fragref>
<src:fragref linkend="refclass.suppress.frag"></src:fragref>
<src:fragref linkend="region.after.extent.frag"></src:fragref>
<src:fragref linkend="region.before.extent.frag"></src:fragref>
<src:fragref linkend="revhistory.table.properties.frag"></src:fragref>
<src:fragref linkend="revhistory.table.cell.properties.frag"></src:fragref>
<src:fragref linkend="revhistory.title.properties.frag"></src:fragref>
<src:fragref linkend="root.properties.frag"></src:fragref>
<src:fragref linkend="rootid.frag"></src:fragref>
<src:fragref linkend="runinhead.default.title.end.punct.frag"></src:fragref>
<src:fragref linkend="runinhead.title.end.punct.frag"></src:fragref>
<src:fragref linkend="sans.font.family.frag"></src:fragref>
<src:fragref linkend="section.autolabel.frag"></src:fragref>
<src:fragref linkend="section.autolabel.max.depth.frag"></src:fragref>
<src:fragref linkend="section.container.element.frag"></src:fragref>
<src:fragref linkend="section.label.includes.component.label.frag"></src:fragref>
<src:fragref linkend="section.title.level1.properties.frag"></src:fragref>
<src:fragref linkend="section.title.level2.properties.frag"></src:fragref>
<src:fragref linkend="section.title.level3.properties.frag"></src:fragref>
<src:fragref linkend="section.title.level4.properties.frag"></src:fragref>
<src:fragref linkend="section.title.level5.properties.frag"></src:fragref>
<src:fragref linkend="section.title.level6.properties.frag"></src:fragref>
<src:fragref linkend="section.title.properties.frag"></src:fragref>
<src:fragref linkend="section.level1.properties.frag"></src:fragref>
<src:fragref linkend="section.level2.properties.frag"></src:fragref>
<src:fragref linkend="section.level3.properties.frag"></src:fragref>
<src:fragref linkend="section.level4.properties.frag"></src:fragref>
<src:fragref linkend="section.level5.properties.frag"></src:fragref>
<src:fragref linkend="section.level6.properties.frag"></src:fragref>
<src:fragref linkend="section.properties.frag"></src:fragref>
<src:fragref linkend="segmentedlist.as.table.frag"></src:fragref>
<src:fragref linkend="shade.verbatim.frag"></src:fragref>
<src:fragref linkend="shade.verbatim.style.frag"></src:fragref>
<src:fragref linkend="show.comments.frag"></src:fragref>
<src:fragref linkend="sidebar.properties.frag"></src:fragref>
<src:fragref linkend="sidebar.title.properties.frag"></src:fragref>
<src:fragref linkend="sidebar.float.type.frag"></src:fragref>
<src:fragref linkend="sidebar.float.width.frag"></src:fragref>
<src:fragref linkend="simplesect.in.toc.frag"></src:fragref>
<src:fragref linkend="subscript.properties.frag"></src:fragref>
<src:fragref linkend="superscript.properties.frag"></src:fragref>
<src:fragref linkend="symbol.font.family.frag"></src:fragref>
<src:fragref linkend="table.cell.border.color.frag"></src:fragref>
<src:fragref linkend="table.cell.border.style.frag"></src:fragref>
<src:fragref linkend="table.cell.border.thickness.frag"></src:fragref>
<src:fragref linkend="table.cell.padding.frag"></src:fragref>
<src:fragref linkend="table.footnote.number.format.frag"></src:fragref>
<src:fragref linkend="table.footnote.number.symbols.frag"></src:fragref>
<src:fragref linkend="table.footnote.properties.frag"></src:fragref>
<src:fragref linkend="table.frame.border.color.frag"></src:fragref>
<src:fragref linkend="table.frame.border.style.frag"></src:fragref>
<src:fragref linkend="table.frame.border.thickness.frag"></src:fragref>
<src:fragref linkend="table.properties.frag"></src:fragref>
<src:fragref linkend="tablecolumns.extension.frag"></src:fragref>
<src:fragref linkend="table.table.properties.frag"></src:fragref>
<src:fragref linkend="target.database.document.frag"></src:fragref>
<src:fragref linkend="targets.filename.frag"></src:fragref>
<src:fragref linkend="textdata.default.encoding.frag"></src:fragref>
<src:fragref linkend="tex.math.delims.frag"></src:fragref>
<src:fragref linkend="tex.math.in.alt.frag"></src:fragref>
<src:fragref linkend="textinsert.extension.frag"></src:fragref>
<src:fragref linkend="title.font.family.frag"></src:fragref>
<src:fragref linkend="title.margin.left.frag"></src:fragref>
<src:fragref linkend="toc.indent.width.frag"></src:fragref>
<src:fragref linkend="toc.line.properties.frag"></src:fragref>
<src:fragref linkend="toc.margin.properties.frag"></src:fragref>
<src:fragref linkend="toc.max.depth.frag"></src:fragref>
<src:fragref linkend="toc.section.depth.frag"></src:fragref>
<src:fragref linkend="ulink.footnotes.frag"></src:fragref>
<src:fragref linkend="ulink.hyphenate.frag"></src:fragref>
<src:fragref linkend="ulink.hyphenate.chars.frag"></src:fragref>
<src:fragref linkend="ulink.show.frag"></src:fragref>
<src:fragref linkend="use.extensions.frag"></src:fragref>
<src:fragref linkend="use.local.olink.style.frag"></src:fragref>
<src:fragref linkend="use.role.as.xrefstyle.frag"></src:fragref>
<src:fragref linkend="use.role.for.mediaobject.frag"></src:fragref>
<src:fragref linkend="use.svg.frag"></src:fragref>
<src:fragref linkend="variablelist.as.blocks.frag"></src:fragref>
<src:fragref linkend="variablelist.max.termlength.frag"></src:fragref>
<src:fragref linkend="variablelist.term.separator.frag"></src:fragref>
<src:fragref linkend="variablelist.term.break.after.frag"></src:fragref>
<src:fragref linkend="verbatim.properties.frag"></src:fragref>
<src:fragref linkend="xep.extensions.frag"></src:fragref>
<src:fragref linkend="xep.index.item.properties.frag"></src:fragref>
<src:fragref linkend="xref.label-page.separator.frag"></src:fragref>
<src:fragref linkend="xref.label-title.separator.frag"></src:fragref>
<src:fragref linkend="xref.properties.frag"></src:fragref>
<src:fragref linkend="xref.title-page.separator.frag"></src:fragref>
<src:fragref linkend="xref.with.number.and.title.frag"></src:fragref>

</xsl:stylesheet>