How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Hi all!
I 'm done the following steps and have a problem:
1. sub-map (with dictionary items) inserted into main map;
2. each item has a "key", therefore each of them can be accessed from the "DITA Reusable Components"
3. some of the items inserted into content as a keyrefs/abbreviated form
4. each items attribute ''toc" - toggled into ''no" (to hide them from toc).
But there is a problem: I can't hide this items, inserted as a abbreviated form - from toc (in bookmarks)! (Despite to toc=no toggled attribute).
How i can fix this? Thanks in advance, for attention to my question!
I 'm done the following steps and have a problem:
1. sub-map (with dictionary items) inserted into main map;
2. each item has a "key", therefore each of them can be accessed from the "DITA Reusable Components"
3. some of the items inserted into content as a keyrefs/abbreviated form
4. each items attribute ''toc" - toggled into ''no" (to hide them from toc).
But there is a problem: I can't hide this items, inserted as a abbreviated form - from toc (in bookmarks)! (Despite to toc=no toggled attribute).
How i can fix this? Thanks in advance, for attention to my question!
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Post by julien_lacour »
Hello,
Could you give us more information:
Julien
Could you give us more information:
- Which version of Oxygen are you using?
- Which transformation scenario are you using? (DITA Map PDF - based on XSL-FO or DITA Map PDF - based on HTML5 & CSS)
Julien
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Post by julien_lacour »
Hello,
If you just want to remove the <glossAcronym> element from the bookmarks you can use the following CSS rule:
Regards,
Julien
If you just want to remove the <glossAcronym> element from the bookmarks you can use the following CSS rule:
Code: Select all
*[class ~= "glossentry/glossAcronym"] {
bookmark-label: none !important;
}
Julien
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: How to hide dictionary items from TOC if they are inserted into content as a abbreviated form?
Post by julien_lacour »
Hello,
Since Oxygen 25.0 this rule has been added to the default CSS rules for the DITA Map PDF - based on HTML5 & CSS.
Regards,
Julien
Since Oxygen 25.0 this rule has been added to the default CSS rules for the DITA Map PDF - based on HTML5 & CSS.
Regards,
Julien
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