ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: about JS(Walk_Field{})
Date: Sat, 14 May 2011 14:55:36 +0200	[thread overview]
Message-ID: <B2075AFC-9565-4050-AF79-A2D155502D47@googlemail.com> (raw)
In-Reply-To: <481E993F-52FD-44C1-A377-945E92024333@me.com>


Am 14.05.2011 um 14:26 schrieb Jeong Dalyoung:

> Dear all,
> 
> I tried the following code for presentation, but not succeeded.
> It just draw a small circle without frame even "frame=on".
> The word "here" is colored green but there is no interaction when I click "here"


There is something wrong with the fieldstack mechanism.

\setupinteraction[state=start]

\starttext

\definesymbol[one][1]
\definesymbol[two][2]

\definefieldstack[some][one,two]

\defineoverlay[some][\overlaybutton{Walk{some}}]

\framed[background={foreground,some}]{\fieldstack[some]}

\stoptext

Your mail reminds me to finish my animation module which makes it simpler
to generate such animations, e.g. the above can be written as

\startanimation
  {1}
  {2}
\stopanimation

and all the necessary symbols etc. are generated by the environment.

Wolfgang

___________________________________________________________________________________
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:[~2011-05-14 12:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-14 12:26 Jeong Dalyoung
2011-05-14 12:55 ` Wolfgang Schuster [this message]
2011-05-14 14:34   ` Hans Hagen
     [not found] <mailman.934.1305388473.4231.ntg-context@ntg.nl>
2011-05-14 22:15 ` Jeong Dalyoung
2011-05-15 11:24   ` Wolfgang Schuster
     [not found] <mailman.953.1305463700.4231.ntg-context@ntg.nl>
2011-05-16 10:50 ` Jeong Dalyoung
2011-05-16 11:06   ` Wolfgang Schuster
2011-05-17 11:16 ` Jeong Dalyoung
2011-05-17 11:39   ` 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=B2075AFC-9565-4050-AF79-A2D155502D47@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).