From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82662 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: question about the layer. Date: Tue, 28 May 2013 22:41:30 +0200 Message-ID: References: <8A7711AF-C626-4E25-9D99-E05951DF5AF8@me.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369773708 24931 80.91.229.3 (28 May 2013 20:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 May 2013 20:41:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 28 22:41:50 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UhQiJ-0007Gs-91 for gctc-ntg-context-518@m.gmane.org; Tue, 28 May 2013 22:41:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F3C3101EF; Tue, 28 May 2013 22:41:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UzBfNSsF6uyS; Tue, 28 May 2013 22:41:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0A816101E5; Tue, 28 May 2013 22:41:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38212101E5 for ; Tue, 28 May 2013 22:41:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SrRbkfLLZKDk for ; Tue, 28 May 2013 22:41:39 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 41FE8101E0 for ; Tue, 28 May 2013 22:41:29 +0200 (CEST) Original-Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r4SKfSsU028780 for ; Tue, 28 May 2013 22:41:28 +0200 Original-Received: by mail-ea0-f172.google.com with SMTP id d10so4870656eaj.3 for ; Tue, 28 May 2013 13:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=VFgFqE44mUY92rAFHDVMls6vB5cnvul1PWdk2lu5UdA=; b=xDnnwvdtPJ/k50fsC6bUNjDkFA6Y6yuvoQ6LVoNL+k3BOAbtm+i0PhX6ioj+0mK4Qf RFpy53w4PL6B8MKk1F5OGc5xlHh4RmTWuezqKbIYgezqUnA1zGziKuim8pK/kYY1aD81 lgYMqaBjf5KZbyy1uoHQPIxkYY6ObKJwM6olFGAL2bfYhNOwjmvkfwiF17L9SwDzdGsI HhtjXreQ45DzMjtKFmvZdj0iSS7oad7bprE8hXlfVmtjQj2uMitJ125FuaK01etk12Kd Of5vC7+Rm0i0Xq9ymEo7ZJb4ZguSahfjDFWr41JC98piwUDwOR0fGSbwnslb6pJQeTmQ 3/9Q== X-Received: by 10.14.98.71 with SMTP id u47mr60082163eef.12.1369773688455; Tue, 28 May 2013 13:41:28 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d075ec0.pool.mediaWays.net. [77.7.94.192]) by mx.google.com with ESMTPSA id h49sm17879064eew.7.2013.05.28.13.41.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 May 2013 13:41:28 -0700 (PDT) In-Reply-To: <8A7711AF-C626-4E25-9D99-E05951DF5AF8@me.com> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.8345 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22c; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJFwFsE7 - 3d5c5756fe69 - 20130528 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82662 Archived-At: 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 ___________________________________________________________________________________