Table link labelling
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Table link labelling
Hi there!
I want to change link to table. I have set "args.tablelink.style" to NUMBER and have got "В Таблица 1 представлены...". But I want the link label to be "В Табл. 1 представлены...".
I want to change link to table. I have set "args.tablelink.style" to NUMBER and have got "В Таблица 1 представлены...". But I want the link label to be "В Табл. 1 представлены...".
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Table link labelling
Post by julien_lacour »
Hello,
If you are using the DITA Map PDF - based on XSL-FO transformation scenario, you need to change the value of the <variable id="Table.title"> in org.dita.pdf2/cfg/common/vars/ru.xml.
Regards,
Julien
If you are using the DITA Map PDF - based on XSL-FO transformation scenario, you need to change the value of the <variable id="Table.title"> in org.dita.pdf2/cfg/common/vars/ru.xml.
Regards,
Julien
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: Table link labelling
No, you didn't understand. I want to change "link to table", not table title.If you are using the DITA Map PDF - based on XSL-FO transformation scenario, you need to change the value of the <variable id="Table.title"> in org.dita.pdf2/cfg/common/vars/ru.xml.
Besides, we are in the "Oxygen PDF Chemistry" forum, so XSL-FO is not applicable"In Table 1 represented...". But I want the link label to be "In Tab. 1 represented..."

Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Table link labelling
Post by julien_lacour »
Hello,
My mistake, the modification I gave you works in fact for both XSL-FO and HTML5 & CSS PDF transformations.
The "Table.title" text is used for link to tables too.
Regards,
Julien
My mistake, the modification I gave you works in fact for both XSL-FO and HTML5 & CSS PDF transformations.
The "Table.title" text is used for link to tables too.
Regards,
Julien
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: Table link labelling
But the file "org.dita.pdf2\cfg\common\vars\ru.xml" is not used in the "com.oxygenxml.pdf.css" scenerio...julien_lacour wrote: ↑Wed Sep 07, 2022 1:34 pm My mistake, the modification I gave you works in fact for both XSL-FO and HTML5 & CSS PDF transformations.
The "Table.title" text is used for link to tables too.
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
-
- Posts: 40
- Joined: Wed May 25, 2016 10:45 am
Re: Table link labelling
My fault, somehow "ru.xml" from "org.dita.pdf2" is used by "com.oxygenxml.pdf.css" scenerio. But if I do not want to tweak the oxygen internals, I have found the way:
Code: Select all
*[class ~= "map/map"] *[class ~= "topic/xref"][type = "table"] {
content: "Табл.\a0" target-counter(attr(href), tablecount, decimal);
}
Best regards,
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dr. ABacus
#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
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