Suppress Bookmarks and Index

Here should go questions about transforming XML with XSLT and FOP.
kgajda
Posts: 25
Joined: Wed Aug 16, 2017 8:07 pm

Suppress Bookmarks and Index

Post by kgajda » Wed Aug 08, 2018 11:12 pm

Hi - I would like to customize my plugin so that neither bookmarks or the Index show up in my PDF output. Can someone help me track down where to do this?
Thanks for your help! : )
Kim

Radu
Posts: 6500
Joined: Fri Jul 09, 2004 5:18 pm

Re: Suppress Bookmarks and Index

Post by Radu » Thu Aug 09, 2018 3:11 pm

Hi,

In the XSLT DITA-OT2.x\plugins\org.dita.pdf2\xsl\fo\bookmarks.xsl there is a template named "createBookmarks" which you can probably override in your XSLT stylesheet to do nothing.
And in the XSLT stylesheet DITA-OT2.x\plugins\org.dita.pdf2\xsl\fo\index.xsl there is a template called "createIndex" which you can again override and do nothing on it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply