Part III. Customizing DocBook XSL

Table of Contents

Chapter 9. Customization methods
Customization layer
Writing a customization layer
Using a customization layer
Customizing both HTML and FO
Using catalogs with customizations
Setting parameters
Attribute sets
Completing placeholder templates
Generating new templates
Generated text
Default generated text
Customizing generated text
Replacing templates
Finding the right template
Import precedence
Passing parameters
Utility templates and modes
Adding new templates
Formatting determined by attribute value
Adding processing steps
Handling new elements
Template selection rules
Processing instructions
Customizing DocBook 5 XSL
DocBook 5 customization details
Annotations customization
Chapter 10. General customizations
Custom section numbering
Label punctuation
Tables of contents (TOC)
Which components have a TOC
Levels in book and chapter TOCs
Customized TOC levels
Set TOC
Turning on section TOCs
Keeping selected titles out of the TOC
Adding elements to a TOC
Customizing TOC presentation
Customizing by TOC context
Figure, table, and other titles
Formal title placement
Formal title numbering
Formal title customization
Person names
Chapter 11. Title page customization
Create a titlepage spec file
HTML titlepage specs
Special titlepages
Generate custom XSL templates
Add to customization layer
Modify individual element templates
Chapter 12. HTML customizations
Generate custom class values
HTML headers and footers
Adding extra lines
Navigational labels or graphics
Brief headers and footers
Bread crumbs
Replace headers and footers
Server-side includes
Inserting external HTML code
In the page header
In the HEAD element
In the page content
HTML HEAD elements
Adding CSS style rules
Embedding CSS styles
Adding a date timestamp
Removing the HEAD element
BODY attributes
Changing the <h> levels
HTML frameset
Chunking customization
How chunking works
Chunking templates
Separate legalnotice
Filename of the legalnotice chunk
Footer link to legalnotice
More than one legalnotice
Head links for legalnotice
Separate revhistory
Return to top
Customized hrefs
Chapter 13. Print customizations
Document level properties
Hyphenation
Title fonts and sizes
Book titles
Chapter titles
Other component titles
Section titles
Figure, table, and other titles
Print title pages
Title page attribute-sets
Title page spec file
Title page element templates
Custom title page layout
Template sequence for book title pages
Additional front or back matter
Book covers
Custom page design
Default page masters
Declaring custom page masters
Using custom page masters
Landscape pages
Custom page sequences
Print TOC control
TOC Page margins
TOC title
Styling print TOC entries
TOC page numbering
Part TOC on part titlepage
Editable table of contents
Running headers and footers
Default headers and footers
Changing the header or footer text
Running section titles
Graphic in header or footer
Multi-line header or footer
Changing header or footer styles
Allocating widths in the headers and footers
Allocating height for headers and footers
Page numbering style
Borders and background shading
Customizing inline text
Subscripts and superscripts
Underline and strike-through
Customizing admonitions
Side-by-side formatting
Side floats
A sidebar as side float
Margin notes
Custom margin notes
Custom side float
Clearing a side float
Multi-columns and spans
Page column spans
Adding a font
Locate the font file
Configuring fonts in XSL-FO
Adding a new font to FO output
Numbering paragraphs
Adding line breaks