Next / Previous / Contents / Shipman's homepage

5.3. The report format

Each line of the report displays one DocBook section element. We use a FO block element to format each entry, and an inline to mark up the ID in a different font. Here is a diagram showing the block and inline elements indented 0, 1, and 2 levels.

The names in capital letters are manifest constants in the script that specify dimensions using the usual XSL-FO conventions.

The shape of these blocks uses what is called a “hanging indent.” This technique is discussed on page 86 of Pawson's book. In an FO block element, the indentation of the second and successive lines is set by the start-indent property; to “outdent” the first line by some amount, one sets the text-indent property to the negative of that amount.

Relevant online files: