Page 1 of 1
PDF index using DITA OT
Posted: Mon Jan 09, 2012 8:21 pm
by november
How can I produce an index in my PDFs? The TOC has a listing for the index, but no entries are picked up.
Re: PDF index using DITA OT
Posted: Tue Jan 10, 2012 10:21 am
by Radu
Hi,
Oxygen uses the DITA Open Toolkit to publish DITA content to various output formats.
Assuming that you have properly added index terms in your DITA topics, the default PDF rendering engine which is the open-source Apache FOP does not have support to generate the index page.
The commercial RenderX XEP supports generating PDF with an index page and it can be installed and integrated with Oxygen:
http://www.oxygenxml.com/doc/ug-oxygen/ ... essor.html
Regards,
Radu
Re: PDF index using DITA OT
Posted: Tue Jan 10, 2012 5:24 pm
by november
Thanks, for the quick response. I was afraid you were going to say that. Until I can evaluate your suggestion, how can I suppress the "Index" entry appearing in the PDF TOC?
Re: PDF index using DITA OT
Posted: Tue Jan 10, 2012 5:41 pm
by Radu
Hi,
In the XSLT stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/bookmarks_1.0.xsl
there is an xsl:if:
Code: Select all
<xsl:if test="//opentopic-index:index.groups//opentopic-index:index.entry">......</xsl:if>
which can be entirely commented out.
Regards,
Radu
Re: PDF index using DITA OT
Posted: Wed Mar 11, 2015 9:47 am
by Radu
Just to update this thread:
Using Oxygen 15.2 or newer you can generate an index page using the default PDF transformation.
Regards,
Radu