Set up a header to include metadata from your map or bookmap
From our template specification, you know that the header on the body even, body last, toc even, toc last, index even and index last page masters includes the book title. You also need this information on the last TOC and index pages, but by default, the PDF plugin doesn’t include header and footer definitions for toc last or index last page masters.
Later, we’ll look at how to create new header and footer definitions, but for now, let’s just look at how to add map metadata to existing header definitions.
<xsl:template name="insertBodyEvenHeader"> <fo:static-content ...