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

Mark Burton burtoogle at gmail.com
Thu Jan 27 13:04:31 PST 2011


Hi Michael,

> 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.

Understood.

Thanks a lot for looking into that.

Cheers,

Mark


!DSPAM:87,4d41dde563731691020947!




More information about the Xep-support mailing list