From: Jeong Dal <haksan@me.com>
To: ntg-context@ntg.nl
Subject: question about the layer.
Date: Tue, 28 May 2013 22:08:43 +0900 [thread overview]
Message-ID: <8A7711AF-C626-4E25-9D99-E05951DF5AF8@me.com> (raw)
Dear Wolfgang,
I read your detailed explanation about the difference between "overlay" and "layer".
Here is your sample code using layer.
\starttext
\definelayer[test]
\setlayer[test][x=3cm,y=6cm]{ONE}
\setlayer[test][x=8cm,y=2cm]{TWO}
\setlayer[test][x=2cm,y=9cm]{THREE}
\flushlayer[test]
\stoptext
It shows ONE, TWO, and THREE in the same page.
I'd like to show each word one by one when I click, so I tested the following code.
\setupinteraction[state=start]
\usemodule[pre-60]
\starttext
\definelayer[test1]
\definelayer[test2]
\definelayer[test3]
\setlayer[test1][x=3cm,y=6cm]{ONE}
\setlayer[test2][x=8cm,y=2cm]{TWO}
\setlayer[test3][x=2cm,y=9cm]{THREE}
\StartSteps
\flushlayer[test1] \FlushStep
\flushlayer[test2] \FlushStep
\flushlayer[test3] \FlushStep
\StopSteps
\stoptext
This code produces 3 page output one word per each page. There is no need to click the mouse.
I may misunderstand about the layer.
However, is there a way to show each word one by one in the same page when I click.
Best regards,
Thank you.
Dalyoung
___________________________________________________________________________________
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:[~2013-05-28 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 13:08 Jeong Dal [this message]
2013-05-28 20:41 ` Wolfgang Schuster
2013-05-29 8:42 Jeong Dal
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=8A7711AF-C626-4E25-9D99-E05951DF5AF8@me.com \
--to=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).