[NTG-pdftex] making links work in rotated text

Heiko Oberdiek oberdiek at uni-freiburg.de
Thu Mar 2 09:40:16 CET 2006

On Thu, Mar 02, 2006 at 08:03:16AM +0100, Pawe?? Jackowski wrote:

> Hi Vladimir,
> > if i typeset e.g. a table in LaTeX's landscape environment,
> > and there are some links in the table, they become not clickable
> > because of rotation.
> > 
> > it is a known problem, as far as i can tell (searching in google shows
> > that; the reason seems to be that the clickable areas links remain
> > where they were before the rotation, i.e. they are not affected by the
> > rotation, unlike the text)...
> Annotations position is absolute. pdfman says that is for sake of speed 
> and don't think anybody will touch it in 'not too distant future' -) You 
> can make any geometrical transformations on boxes, and once the box is 
> tranformed in the way you want, put it into the link.

The problem is not a transformation of stuff inside a link,
but of transformations of stuff that contain the link.
Transformations (scaling, rotating) is done by \pdfliteral.
pdfTeX doesn't interpret the contents of \pdfliteral, thus it
misses the transformations.
  Probably transformations should be performed by a new primititive
to pdfTeX that changes the current transfer matrix. And pdfTeX is
notified about the transformation and can use correct link and
anchor rectangles then.

The problem is known *many* years. But appearently nobody wants
to implement a solution. :-(

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

More information about the ntg-pdftex mailing list