Chapter 2. Common Customizations

Some typical problems are independent from their target formats. This chapter gives you some information on what falls into this category.

Table of Contents
2.1. Introduction
2.2. Finding Professional Fonts
2.3. Writing Customization Layers
2.4. Inserting Date and Time
2.5. Accessing Title Contents
2.6. Getting the Documentation Title
2.7. Extracting Information from Your Own Processing Instructions
2.8. Retrieving XPath
2.9. Extending Language Files with Your Own Text
2.10. Extracting Language Information
2.11. Extracting and Formatting Person and Author Information
2.12. Splitting Header Into Label and Title With Modes
2.13. Numbering Figures and the Like Consistently Throughout your Document
2.14. Converting Lowercase to Uppercase or Vice Versa
2.15. Append Text or Graphics in Cross-References

A lot of customizations can be shared between different output formats. As such, it is probably a good idea to think about how to structure and store your customizations before starting. The following directories are a good start, especially if you want to support different output formats:

mycustomizations/
  +-- common/
  +-- fo/
  +-- html/
  +-- futher formats...

The common directory contains all the stylesheets which are not specific to any formats. On the contrary, fo, html, etc. contain the customizations for the respective target format.

Furthermore, it is recommended to use the original file name as used by the DocBook XSL stylesheets. This makes it easier to recognize, what your files are likely to change.


Project@GitHubIssue#7