How to remove PDF bookmarks for task headings
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 40
- Joined: Tue Oct 30, 2018 10:49 am
How to remove PDF bookmarks for task headings
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
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
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to remove PDF bookmarks for task headings
Post by julien_lacour »
Hello Tanja,
Sure you can disable the bookmarks for task label using the following code in your CSS:
Regards,
Julien
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;
}
Julien
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to remove PDF bookmarks for task headings
Post 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
This behavior is now set as default in the version 22 of Oxygen (released on February 12, 2020).
Regards,
Julien
Return to “DITA (Editing and Publishing DITA Content)”
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