Page 1 of 1

How to remove PDF bookmarks for task headings

Posted: Tue Oct 29, 2019 3:07 pm
by tanja
Hello,

I am using Oxygen XML Editor version 21.1 to generate PDF output with the 'DITA Map PDF - based on HTML 5 & CSS' transformation.
I am using the 'args.gen.task.lbl' parameter to display the task headings (Procedure, Results, What to do next, etc.) in my content.
This is working fine.

However, the headings are also shown as bookmarks, which I don't want them to. Is there a way to set up the transformation or the
stylesheet to not generate bookmarks for task heading?

Thanks and best regards
Tanja

Re: How to remove PDF bookmarks for task headings

Posted: Wed Oct 30, 2019 2:35 pm
by julien_lacour
Hello Tanja,

Sure you can disable the bookmarks for task label using the following code in your CSS:

Code: Select all

*[class~="tasklabel"] {
	bookmark-label: none;
	-ah-bookmark-label:none;
}
Regards,
Julien

Re: How to remove PDF bookmarks for task headings

Posted: Wed Oct 30, 2019 3:48 pm
by tanja
Hello Julien,

Your solution worked like a charm. Thanks for the quick reply!

Best regards,
Tanja

Re: How to remove PDF bookmarks for task headings

Posted: Wed Feb 19, 2020 3:45 pm
by julien_lacour
Hello Tanja,

This behavior is now set as default in the version 22 of Oxygen (released on February 12, 2020).

Regards,
Julien