Skip to content
Radu Pisoi edited this page Dec 12, 2016 · 28 revisions

The scope of this plugin is to help people that want to start writing a PDF2 customization plugin. Before to start developing, it is better to understand how the plugin is organized, what technologies you need to know, where to check for more information.

This project uses Travis CI for continuous integration, so a PDF sample is generated whenever the customization was changed. You can view the result of this customization by opening the last generated PDFs:

Customizations covered here

About the PDF customization, there are many customizations that can be done. This plugin covers only few of them, but it is more important to understand how to make a customization, what are the requirements for this and where to search for more information. If you understand this, it will be quite easy for everyone to customize other parts of the PDF.

This customization covers the next sections:

  1. Custom fonts

    Almost all companies have a set of fonts that they currently use and they want to use these fonts for PDF documents too.

  2. Cover page

    Is it a PDF document better with a good cover design? Yes, it is. Cover and font customizations are the most common customizations for PDF.

  3. Page headers and footers

    The DITA-OT PDF2 plugin generates chapter's title and page number in the header. We'll see how to move them to the footer and also other small customizations.

  4. Chapter's first page

    The DITA-OT PDF2 plugin generates chapter's title and page number in the page header. We'll see how to move them to the page footer and also small changes.

  5. TOC and Index

    The TOC and Index parts are generated by the PDF2 plugin quite good. We want want only to change the color for main chapters's title in TOC and the grouping letter in Index.

Note This customization was tested with DITA-OT 2.4.