From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41742 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Customizing layer stepping Date: Wed, 18 Jun 2008 09:55:50 +0200 Message-ID: <115224fb0806180055i2daf80afmfc963fc8b6305a7f@mail.gmail.com> References: <115224fb0806122345m48cda7e9w4ffad284c38d703e@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213775881 5572 80.91.229.12 (18 Jun 2008 07:58:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2008 07:58:01 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 18 09:58:44 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K8sYz-0005EM-Cr for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jun 2008 09:58:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 082BE1FD1B; Wed, 18 Jun 2008 09:57:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25455-02-3; Wed, 18 Jun 2008 09:56:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9CAFF1FC90; Wed, 18 Jun 2008 09:56:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FDC91FC83 for ; Wed, 18 Jun 2008 09:56:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25407-02-7 for ; Wed, 18 Jun 2008 09:56:00 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.154]) by ronja.ntg.nl (Postfix) with ESMTP id 289D61FC11 for ; Wed, 18 Jun 2008 09:55:55 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so137846ywm.74 for ; Wed, 18 Jun 2008 00:55:50 -0700 (PDT) Original-Received: by 10.151.114.6 with SMTP id r6mr574412ybm.153.1213775750014; Wed, 18 Jun 2008 00:55:50 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Wed, 18 Jun 2008 00:55:50 -0700 (PDT) In-Reply-To: <115224fb0806122345m48cda7e9w4ffad284c38d703e@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41742 Archived-At: Hi, nobody (Hans, Taco!) with a solution for my question, don't force me to finish my module in LaTeX (just kidding). Regards Wolfgang On Fri, Jun 13, 2008 at 8:45 AM, Wolfgang Schuster wrote: > Hi, > > how can I can change the stepper for PDF-Layers, the code from the presentation > module 60 use InvokeStepper and makes with every step only the next > layer visible > but I want to hide also a few layers in certain steps. > > In my example in the steps one to seven the layer for each step should be shown > but in the eight step layer eight should be visible and layer seven should be > deactivated at the same time. > > You could also see what I want also in the PDF file but it use fieldstacks and > is very slow for more than 100 fields for each graphic. > > \usemodule[pre-60] > > \setupinteraction[state=start,click=on] > > \def\addstone#1#2#3% > {\StartLocalStep > \position(#1,#2){#3}% > \StopLocalStep > \ignorespaces} > > \starttext > > \framed > [width=3cm, > height=3cm, > background=invoke, > offset=overlay] > {\setuppositioning[unit=mm,factor=5,xoffset=-2.5cm,yoffset=-2.5cm] > \startpositioning > \addstone12X% show layer 1 > \addstone42O% show layer 2 > \addstone23X% show layer 3 > \addstone33O% show layer 4 > \addstone21X% show layer 5 > \addstone31O% show layer 6 > \addstone32X% show layer 7 > \addstone22O% show layer 8, hide layer 7 > \addstone00X% show layer 9 > \stoppositioning} > > \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________