Exclude some indexes from topic numbering
Posted: Wed Aug 31, 2022 10:49 am
I use:
*.ditamap
transformation scenario - "DITA Map PDF - based on XSL-FO",
For numbering topics, I use "generate numbers before the topic's title" plugin from raducoravu.
I use custom.xsl against css.
I need to exclude some Cyrillic indexes from my topic numbering (I use xml:lang="ru" in my topics ).
For example - I don't need letters "Ъ" and "З".
I am using the following count in the file plugins\org.dita.pdf2\xsl\fo\topic.xsl (some template's part):
where format="А" - Cyrillic.
In the plugins\org.dita.pdf2\cfg\common\index\ru.xml I exclude letters "Ъ" and "З" (their <index.group>) but it doen't work: letters are present in the numbering of my PDF file.
It looks like the file is not used when generating the PDF.
Need help, advice
.
Thanks in advance.
*.ditamap
transformation scenario - "DITA Map PDF - based on XSL-FO",
For numbering topics, I use "generate numbers before the topic's title" plugin from raducoravu.
I use custom.xsl against css.
I need to exclude some Cyrillic indexes from my topic numbering (I use xml:lang="ru" in my topics ).
For example - I don't need letters "Ъ" and "З".
I am using the following count in the file plugins\org.dita.pdf2\xsl\fo\topic.xsl (some template's part):
Code: Select all
<xsl:number
count="*[contains(@class, ' map/topicref ') and starts-with(topicmeta/navtitle/text(), 'Приложение')]"
format="А"/>
In the plugins\org.dita.pdf2\cfg\common\index\ru.xml I exclude letters "Ъ" and "З" (their <index.group>) but it doen't work: letters are present in the numbering of my PDF file.
It looks like the file is not used when generating the PDF.
Need help, advice

Thanks in advance.