Pdf inline links to definition table not working

Post here questions and problems related to editing and publishing DITA content.
ejsumi
Posts: 11
Joined: Wed Dec 18, 2019 9:20 am

Pdf inline links to definition table not working

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

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

Re: Pdf inline links to definition table not working

Post 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
ejsumi
Posts: 11
Joined: Wed Dec 18, 2019 9:20 am

Re: Pdf inline links to definition table not working

Post by ejsumi »

Thanks for the help, it resolved the issue.
Post Reply