Topic's links as their numbers
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Topic's links as their numbers
I use:
oXygen XML Editor 22.1, build 2020100710,
transformation scenario - "DITA Map PDF - based on XSL-FO",
For numbering topics, I use the "dita-ot-numbering-master" plugin.
I use custom.xsl against css.
I need links to topics to be displayed not as their titles, but as their numbers in pdf.
For example, instead of the link "Main characteristics" there was a number of this topic - 2.1.
I am trying to use the following files for this:
\plugins\org.dita.pdf2\xsl\fo\links.xsl
\plugins\dita-ot-numbering-master\dita-ot-numbering-master\customization.xsl.
Need help, advice .
Thanks in advance.
oXygen XML Editor 22.1, build 2020100710,
transformation scenario - "DITA Map PDF - based on XSL-FO",
For numbering topics, I use the "dita-ot-numbering-master" plugin.
I use custom.xsl against css.
I need links to topics to be displayed not as their titles, but as their numbers in pdf.
For example, instead of the link "Main characteristics" there was a number of this topic - 2.1.
I am trying to use the following files for this:
\plugins\org.dita.pdf2\xsl\fo\links.xsl
\plugins\dita-ot-numbering-master\dita-ot-numbering-master\customization.xsl.
Need help, advice .
Thanks in advance.
Re: Topic's links as their numbers
Hi,
In the past years our focus has been towards using CSS for styling and producing PDF.
I'm afraid I do not know the answer to your question, it's probably feasible, indeed you probably need to find the place where the xsl-fo link elements are generated in the "fo\links.xsl" and compute the target text in a different way, using maybe an xslt function to compute a counter value for a target topic.
You should also try to ask around on the DITA Users List, maybe there are users who already did something similar and have XSLT snippets to share:
https://dita-users.groups.io/g/main
Regards,
Radu
In the past years our focus has been towards using CSS for styling and producing PDF.
I'm afraid I do not know the answer to your question, it's probably feasible, indeed you probably need to find the place where the xsl-fo link elements are generated in the "fo\links.xsl" and compute the target text in a different way, using maybe an xslt function to compute a counter value for a target topic.
You should also try to ask around on the DITA Users List, maybe there are users who already did something similar and have XSLT snippets to share:
https://dita-users.groups.io/g/main
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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