[luatex] sidewaystable + hyperref ⇒ displaced links

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Wed Nov 16 08:36:42 CET 2011


Arno Trautmann <Arno.Trautmann at gmx.de> wrote:

> another problem where LuaLaTeX behaves different from pdfLaTeX: Using
> the sidewaystable/figure environment from the rotating package, the
> position of links is totally wrong. H.-Martin Münch (author of
> tablefootnotes, as I wrote him a bug report, thinking it was his
> package's fault) provided an example like this:
> 
> \documentclass{scrartcl}
> 
> \usepackage{rotating}
> \usepackage{hyperref}
> 
> \begin{document}
> 
> Text \label{here} text.
> 
> \pagebreak
> 
> \begin{sidewaysfigure}
> %\centering
> \hyperref[here]{there}
> \end{sidewaysfigure}
> \end{document}
> 
> While pdfLaTeX is fine, the red box for the link is not quite where it
> sohuld be with LuaLaTeX. Using \centering, the positioning is
> completely different, too.
> 
> I was not able to track this down to a bug in
> rotating/hyperref/Lua(La)TeX, so I'd be happy if you could help me
> again in understanding what's going wrong.

the only thing that's different about sideways* floats is that the float
box is rotated before it's shipped out.  do you get the same effect if
you rotate an "ordinary" box?

(i would check myself, except i've not got luatex at home, and shan't be
at work for more than an hour.)

robin



More information about the luatex mailing list