DITA-OT PDF output indices

Here should go questions about transforming XML with XSLT and FOP.
SimonH
Posts: 19

DITA-OT PDF output indices

Mon Nov 14, 2016 4:10 pm

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
radu_pisoi
Posts: 328
Location: Craiova

Re: DITA-OT PDF output indices

Tue Nov 15, 2016 1:03 pm

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
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 2 guests