-
Notifications
You must be signed in to change notification settings - Fork 2
Home
The scope of this plugin is to help people that want to start writing a PDF customization plugin. Before starting development, it is better to understand how the plugin is organized, what technologies you need to know, where to check for more information.
PDF output can be customized in any number of ways. 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 you to customize other parts of the PDF.
This customization covers the following sections:
-
Almost all companies have a set of fonts that they currently use and they want to use these fonts also for PDF documents.
-
A good cover page design with a company logo and company colors is a must have for your PDF-based documentation.
-
The DITA-OT PDF 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.
-
The DITA-OT PDF plugin generates the chapter's title and page number in the page header. This customization moves them to the footer.
-
The PDF publishing stage handles quite well the automatic TOC and Index generation. This customization changes the color for the main chapter's title in the TOC and the grouping letter in Index.
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:
Note This customization was tested with DITA-OT 2.4.