Generating Thumb Index (dropping folio) - Link to Chapters
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 53
- Joined: Wed Mar 27, 2019 10:12 am
Generating Thumb Index (dropping folio) - Link to Chapters
Post by Manohar_1024 »
Hi,
I have a requirement for generating Links for chapters on the right margin and Chapter Name as anchor text.
I don't want links on body but on right side of the margin.
I'm using DITA and want PDF output using css.
I'm using Oxygen XML Author version 22.1.
Thanks & Regards,
Ananth.
I have a requirement for generating Links for chapters on the right margin and Chapter Name as anchor text.
I don't want links on body but on right side of the margin.
I'm using DITA and want PDF output using css.
I'm using Oxygen XML Author version 22.1.
Thanks & Regards,
Ananth.
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Generating Thumb Index (dropping folio) - Link to Chapters
Post by julien_lacour »
Hello,
At the moment we do not support dynamic links inside page-margin boxes, but you can already add the chapter number by using the following CSS:
Regards,
Julien
At the moment we do not support dynamic links inside page-margin boxes, but you can already add the chapter number by using the following CSS:
Code: Select all
*[class ~= "topic/topic"][is-chapter] {
string-set: side-label
oxy_label(text, oxy_xpath("1 + count(preceding::*[contains(@class,'topic/topic')][@is-chapter])"),
styles, "color:white;background-color:gray;"),
side-top-padding
oxy_xpath("for $i in (1 to count(preceding::*[contains(@class,'topic/topic')][@is-chapter]) mod 10) return '\A'");
}
@page chapter:right {
@right-top {
content: string(side-top-padding) string(side-label);
vertical-align: top;
font-size:3em;
}
}
@page chapter:left {
@left-top {
content: string(side-top-padding) string(side-label);
vertical-align: top;
font-size:3em;
}
}
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