Create your own PDF plugin

Create a custom PDF plugin that you can use to build PDFs with your own look and feel.

Before you start

Complete the exercise Download and install the DITA Open Toolkit.

Creating your own plugin makes it easier to move your changes to a new version of the DITA Open Toolkit and also ensures the originals (in org.dita.pdf2) remain intact in case you ever need clean copies or just want to use the default PDF processing.

  1. In DITA-OT/plugins, create a new folder named com.company.pdf.

    You could name this folder anything you want, depending on what you want to name the plugin. For the purposes of this book, I’ll use this name.

    Note: You can download a ready-to-use copy of this folder from http://xmlpress.net/publications/dita/dita-for-print/plugin ...