From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B2BCF2164C for ; Sun, 23 Jun 2024 14:42:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 838A8484393 for ; Sun, 23 Jun 2024 14:42:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=flump.de Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51oSD8ZtqxjK for ; Sun, 23 Jun 2024 14:42:52 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3063F483CDE for ; Sun, 23 Jun 2024 14:42:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 76B1B4829EA for ; Sun, 23 Jun 2024 14:42:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xUytr5uaPxNP for ; Sun, 23 Jun 2024 14:42:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.163.118.210; helo=flump.de; envelope-from=gerion.entrup@flump.de; receiver= Received: from flump.de (flump.de [185.163.118.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 1938B4826ED for ; Sun, 23 Jun 2024 14:42:28 +0200 (CEST) Received: from falbala.localnet (ip4d1692dd.dynamic.kabel-deutschland.de [77.22.146.221]) by flump.de (Postfix) with ESMTPSA id CF39E1110AFF for ; Sun, 23 Jun 2024 14:42:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=flump.de; s=mail; t=1719146547; bh=Lngrxd8VeCikQ68bcZz2/BbVfjwEeOnHIW69PpM9ep8=; h=From:To:Subject:Date:In-Reply-To:References; b=Q4O1hlhU/7ZGiq2UTmXGlcsrPZOTri4f4tq6nD0Z/JI/R21QgM5FaJCnIPUS648vd +0N4m1kq8UlewwGEsSoW4qDbie6+CpBX7J5Ne2wArD7ILge5359z3WKhhAna6pMIrk pTL3ViU6x/07/uHT7eAyejebMY0Hc30swoOJjfnA= From: Gerion Entrup To: ntg-context@ntg.nl Date: Sun, 23 Jun 2024 14:42:27 +0200 Message-ID: <3708777.AxlXzFCzgd@falbala> In-Reply-To: References: MIME-Version: 1.0 Message-ID-Hash: B4MSMXKKAYLVOWBXYXHLMTMOCG6XS7XR X-Message-ID-Hash: B4MSMXKKAYLVOWBXYXHLMTMOCG6XS7XR X-MailFrom: gerion.entrup@flump.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: weekend update List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============3507254258816195625==" --===============3507254258816195625== Content-Type: multipart/signed; boundary="nextPart3360449.6M6d0yLqnL"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart3360449.6M6d0yLqnL Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Gerion Entrup To: ntg-context@ntg.nl Subject: Re: [NTG-context] Re: weekend update Date: Sun, 23 Jun 2024 14:42:27 +0200 Message-ID: <3708777.AxlXzFCzgd@falbala> In-Reply-To: MIME-Version: 1.0 Am Samstag, 22. Juni 2024, 02:47:31 MESZ schrieb Aditya Mahajan: > On Fri, 21 Jun 2024, Hans Hagen via ntg-context wrote: > > > Hi, > > > > -- support for stacking at the tex end (maybe for presentations) > > > > \starttext > > > > \definestacking[one] > > \definestacking[two] > > > > \startstackingsteps[one,two,{one,two}] > > \startTEXpage[offset=1ts] > > \getbuffer > > \stopTEXpage > > \stopstackingsteps > > I have crude macros which provide this features (save stuff in boxes and then unbox) for showing stuff stepwise in presentation (without relying on fancy PDF features which are viewer dependent). So, this new feature is very interesting. Thanks! > > I use stackers in the following ways: > > Case 1: Show stuff step by step > > \startstackingsteps[1,{1,2},{1,2,3},{1,2,3,4}] > > \startstacking[1] > ... > \stopstacking > > \startstacking[2] > ... > \stopstacking > > \startstacking[3] > ... > \stopstacking > > \startstacking[4] > ... > \stopstacking > > \stopstackingsteps > > > Case 2: Show stuff step by step but some things are only shown once > > \startstackingsteps[1,{1,2,2only},{1,2,3},{1,2,3,4}] > > .... > > \startstacking[2] % Show always after 2nd step > ... > \stopstacking > > \startstacking[2only] % Show only during step 2 > ... > \stopstacking > > ... > > \stopstackingsetps > > Case 3: Show stuff step by step but some things are only for specific slides > > \startstacking[2only,3only] % Show only during step 2 and 3: > ... > \stopstacking > > So, I have a few requests: > > 1. Can we add support for \startstacking[one,two]? > > 2. For case 1, could we have a shortcut to easily write \startstackingsteps[1,{1,2},{1,2,3}...]. This gets really tedious when there are say 6 or 7 steps. > > One option is: > > \startstackingsteps[criterium={1,2,3}, alternative=normal] % or sequential > > for the current implementation > > and > > \startstackingsteps[criterium={1,2,3}, alternative=cumulative] > > for the cumulative option (1,{1,2},{1,2,3}...) > > 3. It will be nice to have a syntax to easily handle case 2 and 3. > > As a bonus, I found that tex stacking plays nicely with metapost stacking! > > \starttext > > \definestacking[1] > \definestacking[2] > \definestacking[3] > > \startbuffer > \subject{How to draw a circle} > \startitemize > \startstacking[2] \startitem Pick a point \stopitem \stopstacking > \startstacking[3] \startitem Draw the circle \stopitem \stopstacking > \stopitemize > > \startplacefigure[location={here,none}] > \startMPcode[stacking={\namedstackingparameter\empty{criterium}}] > newpair A; A := origin; > newpath p; p := fullcircle scaled 3cm shifted A; > > fill fullcircle scaled 3bp shifted A withstacking 2; > > draw p withstacking 3; > > setbounds currentpicture to bbox p ; > \stopMPcode > \stopplacefigure > \stopbuffer > > \startstackingsteps[1,{1,2},{1,2,3}] > \startTEXpage[offset=1ts] > \getbuffer > \stopTEXpage > \stopstackingsteps > \stoptext > > Thanks, > Aditya Sorry, I did not read your answer before writing an own. See my other mail, it has much in common with yours. Gerion --nextPart3360449.6M6d0yLqnL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGyBAABCAAdFiEEM/tVN9WpYYHnPZHxloeAdSYJHeoFAmZ4GDMACgkQloeAdSYJ HeoVqgv45+UGD/XMSJ3g5kBzeTRowZU1qy9w+FX5Pe/Vmu27oWVVNJhVCikdtDKC V73c81FVSPiKQzN4JdphrqY9UgvB15/7VhyJUmeq2w4uuBGENZ5NyIi8SDtsmeR5 rkHALd7ClWVbMCsM6QceCikqdnsNL7t9rDxKoWCeXAQ3BbJYTbq/3poRu7PeeDwC hwnrZZwZyJGXtoepL/KtOaRNEZiV1iJnR8P5dds7/aIbctbr1eX0j2tb14jNa5dd BcYMV+oJ/nGY8X3cMIOZcdX0/oy15Aaj4669ZEGS8PBX0UmO3w1lmWOff4lVRx9y 8nnagqkZoc7BxQlbpnAvn9s0NgBqKuoaAg75bbxTdAKt7W+VuP3dxGScsxvFb6sz ReHKvft8dxQbTlIpz3UBtFU+Gx62CZT6zMWVuRD+qAE2EJIBZyBpNTU1HRJdoGsA byIPq3gxJY4pDpjoOMDWf5eReYzfmFE5veKHXCsGa4G8HoxwR2sYxxG8c8X2DdCW 9M/vECQ= =Gt4v -----END PGP SIGNATURE----- --nextPart3360449.6M6d0yLqnL-- --===============3507254258816195625== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============3507254258816195625==--