Skip to content
Radu Coravu edited this page May 22, 2020 · 28 revisions

The scope of this plugin is to help people that want to create a PDF customization. Before starting development, it is recommended that you understand how the plugin is organized, which technologies you need to know, and where you can find more information.

Customizations covered in this plugin

PDF output can be customized in many ways. This plugin only covers few of them, but if you understand how these particular customizations work, it will be easy for you to customize other parts of the PDF.

This plugin includes the following customizations for particular parts of the PDF:

  1. Custom fonts

    This customization shows you how to use your own custom fonts in the PDF output.

  2. Cover page

    This customization shows you how to add your own logo and configure the colors for the PDF's cover page.

  3. Page headers and footers

    By default, the DITA-OT PDF plugin generates chapter titles and page numbers in the header area. This customization shows you how to move them to the footer area as well as some other small customizations.

  4. First page in a chapter

    This customization shows you how to change the layout of the first page in each chapter.

  5. TOC and Index

    This customization shows you how to change the color for the chapter title in the Table of Contents and the grouping letter in the Index.

This project uses Travis CI for continuous integration, so a PDF sample is generated whenever the customization is modified. You can view the results of this customization by opening one of the following recently generated PDFs:

Note This customization was tested with DITA-OT 2.4.