Skip to content

Table of Contents and Index

Cristian Talau edited this page May 20, 2017 · 3 revisions

For the TOC and Index, we wanted to change the color of the main chapters in the TOC and the color of the grouping letter in the Index.

Both customizations are quite easy to implement by specifying the color XSL-FO property in some attributes sets that are already defined in the DITA-OT PDF plugin.

The customization for the TOC is implemented in the fo/attrs/toc-attr.xsl stylesheet. For the Index, it is implemented in the fo/attrs/index-attr.xsl stylesheet.

Clone this wiki locally