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

Format content on the back cover

Format the text and other items on the back cover as part of adding a back cover to your PDF.

Complete the exercise Add content to the back cover.

Now that you’ve added content to the back cover, you need to format it using new attribute sets.

  1. In DITA-OT/plugins/com.company.custpdf/cfg/fo/attrs, create a file named back-matter-attr.xsl.
  2. Add the appropriate xsl:import statement to custom.xsl (attrs).
  3. Add the following lines to the beginning of the file:
    <?xml version='1.0'?>
    
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:fo="http://www.w3.org/1999/XSL/Format"
        version="2.0">
  4. Add the following attribute sets:
    <xsl:attribute-set name ="__backmatter__copyright"> <xsl:attribute ...

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