Am 18.03.2012 um 02:30 schrieb Jan Heinen:

> Hello,
> 
> I built an interactive PDF with some buttons. Without rotation everithing 
> works.
> But with rotation the hyperlinks are gone:

The hyperlinks are in the file but not at the same position as the graphics, 
move the mouse
on a line below the button at the bottom and you can see them.

> \define\navmenue{%
>  \setlayerframed [Kontaktdaten]
>    [hoffset=1cm,
>    voffset=3cm]
>  [strut=no, offset=overlay,frame=off]
>  {
> \rotate[rotation=90]{%
>    \button[
>      background=color,
>      backgroundcolor=darkgray,
>      color=white,
>      framecolor=black,
>      framecorner=round,
>      rulethickness=2pt]
>      {Go Back}
>      [PreviousJump]
>    \button[
>      background=color,
>      backgroundcolor=darkgray,
>      color=white,
>      framecolor=black,
>      framecorner=round,
>      rulethickness=2pt]
>      {Anfang}
>      [FirstPage]
>    \button[
>      background=color,
>      backgroundcolor=darkgray,
>      color=white,
>      framecolor=black,
>      framecorner=round,
>      rulethickness=2pt]
>      {Ende}
>      [LastPage]
>    \button[
>      background=color,
>      backgroundcolor=darkgray,
>      color=white,
>      framecolor=black,
>      framecorner=round,
>      rulethickness=2pt]
>      {S. 6}
>      [SeiteSechs]
>  }
>  }
> }%


Can be done with less lines and the hyperlinks are on the correct position too:

\define\navmenue
  {\setlayerframed
     [Kontaktdaten]
     [x=1cm,y=3cm]
     [offset=overlay,frame=off]
     {\vbox\bgroup
        
\setupbutton[background=color,backgroundcolor=darkgray,color=white,framecolor=black,corner=round,rulethickness=2pt,orientation=90]
        \button {Go Back} [PreviousJump]
        \button {Anfang}  [FirstPage]
        \button {Ende}    [LastPage]
        \button {S. 6}    [SeiteSechs]
      \egroup}}

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to