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

Add bookmap information to the front cover

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

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

  1. Open front-matter.xsl and find the template that begins with this line:
    <xsl:template name="createFrontMatter_1.0">
    Note: Don’t confuse this template with the template that begins with the similar line: <xsl:template name="createFrontMatter">.
  2. Within the template, notice the highlighted lines:
    <fo:block xsl:use-attribute-sets="__frontmatter"> <!-- set the title --> <fo:block xsl:use-attribute-sets="__frontmatter__title"> <xsl:choose> <xsl:when test="$map/*[contains(@class,' ...

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