L SEP in PDF (css/html5) bookmarks
Post here questions and problems related to editing and publishing DITA content.
L SEP in PDF (css/html5) bookmarks
I have a css style that moves the chapter number above the chapter title in our PDFs:
This does what I want, but it has a side effect of adding 2 "L SEP" images after the chapter number in our bookmarks (see attachment).
I'm hoping someone knows how to fix this. Thanks in adavance.
Code: Select all
*[class ~= "map/map"][numbering ^= "deep"] *[class ~= "topic/topic"][is-chapter]:not([is-part]) > *[class ~= "topic/title"]::before {
content: "Chapter " counter(chapter) " " "\A\A";
white-space: pre;
font-size: 18px;
font-weight: bold;
display: block;
}
I'm hoping someone knows how to fix this. Thanks in adavance.
- 2024-07-30_8-28-50.jpg (5.35 KiB) Viewed 407 times
Adam Myers
Technical Publications Manager
MATRIXX Software
Technical Publications Manager
MATRIXX Software
-
- Posts: 559
- Joined: Wed Oct 16, 2019 3:47 pm
Re: L SEP in PDF (css/html5) bookmarks
Post by julien_lacour »
Hi Adam,
You can simply replace the "\A" characters by a space created in a margin:
Regards,
Julien
You can simply replace the "\A" characters by a space created in a margin:
Code: Select all
*[class ~= "map/map"][numbering ^= "deep"] *[class ~= "topic/topic"][is-chapter]:not([is-part]) > *[class ~= "topic/title"]::before {
content: "Chapter " counter(chapter) " ";
white-space: pre;
font-size: 18px;
font-weight: bold;
display: block;
margin-bottom: 54px;
}
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