ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in interaction and button?
@ 2018-01-27 10:09 Otared Kavian
  2018-01-27 10:30 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2018-01-27 10:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

While experimenting with \button according to your suggestions, I noticed that there might be a bug somewhere between interaction and the button command: the following code (sent by you some years ago…) works fine as expected in mkii but does not work in mkiv (neither the most recent beta, nor the stable one from TeXLive 2017). The link to jump to the figure works fine, but the one to jump back (PreviousJump) does not work in mkiv.

Thanks for your attention: OK

%% begin go-back-tofig.tex
\setupinteraction[state=start]

\starttext

\dorecurse {2} {
   See \in{figure}[fig:#1].\par \input knuth.tex \page
   \placefigure
   [here]
   [fig:#1]
   {}
   {\button[offset=overlay]{\externalfigure[cow.pdf]}[PreviousJump]}
	\input ward.tex \page}

\stoptext
%% end go-back-tofig.tex
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-27 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-27 10:09 Bug in interaction and button? Otared Kavian
2018-01-27 10:30 ` Hans Hagen

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).