[xep-support] Re: PDF link to a table row scrolls the screen to the bottom of the row and not the top

Michael Sulyaev msulyaev at renderx.com
Thu Jan 27 11:38:03 PST 2011


On 01/20/2011 06:49 PM, Mark Burton wrote:
>> Using the docbook xsl stylesheets 1.76.1 and XEP 4.18 I have noticed
>> that when following a link in a PDF document to a row of a table, the
>> PDF viewer (both evince and acroread) show the line following the
>> target row at the top of the screen so I then have to scroll backwards
>> to see the row I want. It's as if the anchor is being positioned at
>> the bottom of the table row and not at the top. Is that possible? If
>> so, can it be told to put the anchor at the top of the row?
>
> Please could someone from RenderX answer the above question re the
> positioning of the anchor that is generated when a fo:table-row element
> is given an id attribute and is used as the target of a link.

Hello Mark,

This seems to be a bug in XEP. The only workaround is to push the id 
attribute down the tree and place it on the fo:table-cell element or 
even deeper on the first child of the cell.

Regards,
Michael Sulyaev
RenderX


More information about the Xep-support mailing list