Am 28.05.2013 um 15:08 schrieb Jeong Dal :
> 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.
\setupinteraction[state=start]
\usemodule[pre-60]
\definelayer[test]
\starttext
\StartSteps
\setlayer[test][x=3cm,y=6cm]{ONE}\FlushStep
\setlayer[test][x=8cm,y=2cm]{TWO}\FlushStep
\setlayer[test][x=2cm,y=9cm]{THREE}\FlushStep
\StopSteps
\flushlayer[test]
\stoptext
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
___