Page 1 of 1

Pdf inline links to definition table not working

Posted: Thu Nov 19, 2020 7:57 pm
by ejsumi
Hello Team,

We have a list of terms and descriptions defined as dlentries and we have applied the table customization while generating the pdf-css-html output.
We have taken the xlst from here

The dlentries are kept as a separate topic and referred to the required topics.
The pdf is breaking at the interlinks. It does not show the page number
image.png
How can it be resolved?

Thanks

Re: Pdf inline links to definition table not working

Posted: Fri Nov 20, 2020 2:17 pm
by julien_lacour
Hello,

You need to update the following template, it misses 2 call-templates:

Code: Select all

<xsl:template match="*[contains(@class, ' topic/dlentry ')]">
    <tr>
        <xsl:call-template name="commonattributes"/>
        <xsl:call-template name="setidaname"/>
        <xsl:apply-templates/>
    </tr>
</xsl:template>
I will update the documentation to add these lines too.

Regards,
Julien

Re: Pdf inline links to definition table not working

Posted: Tue Dec 01, 2020 9:00 am
by ejsumi
Thanks for the help, it resolved the issue.