XML technologies / DocBook / Generating FO (PDF) / Editing headers and footers / Changing header and footer text
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The templates header.content and footer.content generate headers and footers and are called with these parameters:
Table: Header and footer parameter descriptions
Parameters | Value | Meaning |
| identifies the page type associated with a design. Each type corresponds to a set of | |
| Title page of a book, part, chapter, etc. | |
| Page for a table of contents, list of figures or tables, etc. | |
| Front matter, such as a preface or dedication | |
| Main content | |
| Pages for appendices, glossaries, etc. | |
| Index pages | |
| Within | |
| for the first page | |
| for all even pages | |
| for all odd pages | |
| for blank pages | |
| specifies the text position within the header or footer. Allowed values are | |
| expects a key contained in the language files | |
Two additional parameters guide these decisions:
double.sidedspecifies single- or double-sided layout. Double-sided layout (value
1) distinguishes front and back, with a larger binding margin. Single-sided layout (the default, value0) uses fronts only.draft.modecontrols draft mode. If
draft.modeis set toyes, the entire document is treated as a draft. With the valuenothis does not apply. To base the decision on the attributestatususe the valuemaybe(the default).
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top