DITA-OT PDF output indices
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 19
- Joined: Thu Mar 29, 2012 4:45 pm
DITA-OT PDF output indices
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
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
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: DITA-OT PDF output indices
Post 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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service