Remove just the Index from pdf-css output - Chemistry
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 703
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Remove just the Index from pdf-css output - Chemistry
Post by julien_lacour »
Hello,
If you are generating PDF using the DITA Map PDF - based on HTML5 & CSS scenario, you can add the following rules into a custom CSS stylesheet:
If you are using a <bookmap>, the index is generated by the presence of the <indexlist/> element, if you remove it, it will not be generated.
Regards,
Julien
If you are generating PDF using the DITA Map PDF - based on HTML5 & CSS scenario, you can add the following rules into a custom CSS stylesheet:
Code: Select all
/* Remove the index from the TOC */
*[class ~= "map/topicref"][is-index] {
display: none;
}
/* Remove the index from the content and the bookmarks */
*[class ~= "index/groups"] {
display: none;
bookmark-level: 0;
}
Regards,
Julien
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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