O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Put header or footer content on multiple lines

Split lengthy header or footer information into multiple lines.

So far, all the header and footer information has been on a single line. What if you want to split the information across multiple lines, like so:

Figure 21. Page footer with multiple lines
../images/footer_multiple_lines.png

To do this you need more than one fo:block element. Each fo:block element represents, in the very simplest terms, a hard return.

  1. Open static-content.xsl.
  2. Find the insertBodyEvenFooter template.
  3. Edit the template to match this example:
    <xsl:template name="insertBodyEvenFooter"> <fo:static-content flow-name="even-body-footer"> <fo:block ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required