19 Apr
2012
19 Apr
'12
11:53 p.m.
Am 19.04.2012 um 23:42 schrieb Kip Warner:
Hey list,
I am typesetting some images with \externalfigure. I'd like to make some of them interactive such that clicking on them invokes a URL, but leaving them without borders.
Is there a recommended way to do this, such as wrapping \externalfigure in something like the following?
\def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]}
\href{www.something...}{\externalfigure[...]}
Or is there a better way?
\setupinteraction[state=start] \starttext This is a cow: \goto{\externalfigure[cow][height=2ex]}[url(http://en.wikipedia.org/wiki/Cow)] \stoptext Wolfgang