Re: [NTG-context] interactive pdf with rotated buttons don't work
Good morning :-) I am still not able to rotate the buttons without loosing the hyperlinks; see code at the bottom. And I have an extra question: How can I make a linebreak after each button. I have tried \crlf and \par before every \button ... it's not working :-( Best wishes, Janis -- copy Hello, I built an interactive PDF with some buttons. Without rotation everithing works. But with rotation the hyperlinks are gone: \definelayer [Kontaktdaten] [state=start]% \setupbackgrounds [page] [ background=Kontaktdaten, state=start]% \setupinteraction[state=start] \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] } } }% \starttext \dorecurse{5}{\navmenue \input tufte \page} \pagereference[SeiteSechs] \dorecurse{5}{\navmenue \input tufte \page} \stoptext Regards Jannis -- Better organization and integration of all ConTeXT-information: http://wiki.contextgarden.net/Category:ConTeXt ............ All information arround ConTeXt http://wiki.contextgarden.net/Category:Commands ........ Commands !!! new: "One-Click" from every command in the wiki to the rich resources of the ConTeXt-mailinglist
participants (1)
-
Jan Heinen