Page Linking via CSS
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Sat Mar 02, 2019 3:57 am
Page Linking via CSS
I'm using the paged-media CSS option of the below:
in order to add page links to my Index. It works like a charm.
However, this also adds a page number after any element that contains an @href. For instance, I have figure/table links throughout the document, this will add a page number after that link (which I don't want and looks pretty bad):
AGIL, shown in Figure 2.123 - The figure is 2.1 and "23" is the page number.
Can I only output the page numbers for the Index links and suppress them for the figure/table links?
Code: Select all
a:after {
content: target-counter(attr(href), page);
}
However, this also adds a page number after any element that contains an @href. For instance, I have figure/table links throughout the document, this will add a page number after that link (which I don't want and looks pretty bad):
AGIL, shown in Figure 2.123 - The figure is 2.1 and "23" is the page number.
Can I only output the page numbers for the Index links and suppress them for the figure/table links?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Page Linking via CSS
Hello,
In order to better notice what happens, please send us some sample files that we could use to reproduce this behavior, on our official support email: support@oxygenxml.com
Please send a DITA Map with in an as minimal form as possible, together with the customization CSS you are using.
Best Regards,
Costin
In order to better notice what happens, please send us some sample files that we could use to reproduce this behavior, on our official support email: support@oxygenxml.com
Please send a DITA Map with in an as minimal form as possible, together with the customization CSS you are using.
Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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