Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 991 Bytes

custom_pdf.md

File metadata and controls

29 lines (23 loc) · 991 Bytes
ID author publisher
custom_pdf
Larry Kollar
Oje Media

Customizing PDF Output

The bad news is, the default DITA-OT PDF plugin is incredibly complex, and… let us say, the output leaves somewhat to be desired. The good news is, it provides an excellent framework for customizations. You can make basic changes without much knowledge of XSLT or XSL:FO. With some knowledge of each, you can tailor the output exactly as needed.

Teaching XSLT and XSL:FO is far beyond the scope of this manual. To get started, try these links:

We provide two examples:

  • Simple PDF plugin—a very basic plugin, changing only DITA-OT properties and the page size.
  • Extended PDF plugin—an extension of the simple plugin, changing a few attributes and the page headers.