ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: dalyoung <haksan@me.com>
Subject: Re: how to jump to figure and return to the original postion?
Date: Thu, 29 Jul 2010 20:53:37 +0200	[thread overview]
Message-ID: <4C51CE31.1050600@wxs.nl> (raw)
In-Reply-To: <17A4D7AE-00A9-4217-AA7A-6B04070D4AC3@me.com>

On 29-7-2010 5:21, dalyoung wrote:
> Dear all,
>
> In the presentation, I'd like to jump to a figure and return to the original position. For that purpose, I set a label for a figure like
>
> \placefigure[][fig:test]...
>
> and put \goto{figure}[fig:test]
>
> It works fine. It generates a ling to the figure so I click it, I can move to the figure. But I don't know how to come back.
> I tried similarly. Set a label like
>
> \item[start] ...
>
> and \goto{return}[start]
>
> It also displays "return" in changed color but the link is not working.
>
> Is there a way to come back to the original position?

\setupinteraction[state=start]

\starttext

\dorecurse {20} {
     see \in{figure}[fig:#1]
     \placefigure
     [here]
     [fig:#1]
     {}
     {\button[offset=overlay]{\externalfigure[cow.pdf]}[PreviousJump]}
}

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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	other threads:[~2010-07-29 18:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 15:21 dalyoung
2010-07-29 18:53 ` Hans Hagen [this message]
2010-07-31  3:41 dalyoung
2010-08-09 22:31 ` Hans Hagen
     [not found]   ` <437A3D26-9993-49D4-A05C-A9480E7A852E@me.com>
2010-08-10  7:53     ` Hans Hagen
2010-08-11  1:00 dalyoung
2010-08-11 12:47 dalyoung

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=4C51CE31.1050600@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=haksan@me.com \
    --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).