Add bookmap information to the front cover

Pull information from the metadata in your bookmap and add it to the front cover page.

Before you start

Complete the exercise Create metadata variables for headers and footers.

The book title is present on the front cover page by default. You need to add the product name, product version, product logo, and a link. Here’s how.

  1. Copy the following templates from DITA-OT/plugins/org.dita.pdf2/xsl/fo/front-matter.xsl to your copy of front-matter.xsl:
    <xsl:template name="createFrontMatter"> <xsl:if test="$generate-front-cover"> <fo:page-sequence master-reference="front-matter" xsl:use-attribute-sets= ▶"page-sequence.cover"> <xsl:call-template name="insertFrontMatterStaticContents"/> <fo:flow ...