Page 1 of 1

DITA-OT PDF output indices

Posted: Mon Nov 14, 2016 4:10 pm
by SimonH
Hi,

I've noticed in an Index you can end up with entries like

Histogram 11, 11, 24

This is due to 2 topics with the same indexterm been put on the same page in the output. Anyone have a hack for the XSLT to drop duplicate page numbers in an index entry?

Regards,
Simon

Re: DITA-OT PDF output indices

Posted: Tue Nov 15, 2016 1:03 pm
by radu_pisoi
Hi,

This is a known issue and it is related to the fact that Apache FOP processor does not support the XSL-FO elements for indexing, see the Formatting Objects for Indexing section from the Apache FOP documentation https://xmlgraphics.apache.org/fop/comp ... ber-prefix.

To avoid this limitation, the DITA Map PDF transformation generates a synthetic XSL-FO structure that represents the index section, and there is no way to customize the Apache FOP processor to keep only a link for a page.
A solution is to use a commercial XSL-FO processors that has support for XSL-FO index elements:
* Antenna House - https://www.antennahouse.com/antenna1/
* RenderX XEP - http://www.renderx.com/tools/xep.html