ToC hiding Chapter level pagenumber
Posted: Thu Jan 24, 2019 4:46 pm
When rendering with DITA 3.2.1 to PDF by FOP using customization plugin, my generated topic.fo has TOC entries, all ending on
In the resulting PDF, all lower level topics are shown as expected. But Chapter and Appendix level topics show leader-dots without a pagenumber.
I have modified __toc__page-number with @border="1px solid orange" to highlight the block, but nothing apparently off-page.
I have search all org.dita.pdf2 and org.dita.pdf2.fop folders.
Where to look to fix this?
Code: Select all
<fo:basic-link ...>
...
<fo:inline xsl:use-attribute-sets="__toc__page-number">
<fo:leader xsl:use-attribute-sets="__toc__leader"/>
<fo:page-number-citation>
<xsl:attribute name="ref-id">
<xsl:call-template name="generate-toc-id"/>
</xsl:attribute>
</fo:page-number-citation>
</fo:inline>
</fo:basic-link>
In the resulting PDF, all lower level topics are shown as expected. But Chapter and Appendix level topics show leader-dots without a pagenumber.
I have modified __toc__page-number with @border="1px solid orange" to highlight the block, but nothing apparently off-page.
I have search all org.dita.pdf2 and org.dita.pdf2.fop folders.
Where to look to fix this?