From: Jan Heinen <JaHeinen@gmx.de>
To: ntg-context@ntg.nl
Subject: Re: interactive pdf with rotated buttons don't work
Date: Sun, 18 Mar 2012 11:09:46 +0100 [thread overview]
Message-ID: <4F65B46A.30502@gmx.de> (raw)
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
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2012-03-18 10:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-18 10:09 Jan Heinen [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-18 13:14 Jan Heinen
2012-03-18 1:30 Jan Heinen
2012-03-18 11:35 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F65B46A.30502@gmx.de \
--to=jaheinen@gmx.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).