Pdf inline links to definition table not working

ejsumi
Posts: 7
Joined: Wed Dec 18, 2019 9:20 am

Pdf inline links to definition table not working

Post by ejsumi » Thu Nov 19, 2020 7:57 pm

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
image.png (1.57 KiB) Viewed 231 times
How can it be resolved?

Thanks

julien_lacour
Posts: 166
Joined: Wed Oct 16, 2019 3:47 pm

Re: Pdf inline links to definition table not working

Post by julien_lacour » Fri Nov 20, 2020 2:17 pm

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

ejsumi
Posts: 7
Joined: Wed Dec 18, 2019 9:20 am

Re: Pdf inline links to definition table not working

Post by ejsumi » Tue Dec 01, 2020 9:00 am

Thanks for the help, it resolved the issue.

Post Reply