Page 1 of 1

Suppress Bookmarks and Index

Posted: Wed Aug 08, 2018 11:12 pm
by kgajda
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

Re: Suppress Bookmarks and Index

Posted: Thu Aug 09, 2018 3:11 pm
by Radu
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