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,T_SCC_BODY_TEXT_LINE 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 6CFBE25693 for ; Sat, 22 Jun 2024 02:50:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 474C348435A for ; Sat, 22 Jun 2024 02:48:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=messagingengine.com 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 V7um4YDyt5jb for ; Sat, 22 Jun 2024 02:48:38 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8679F4840D7 for ; Sat, 22 Jun 2024 02:48:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 62A96483CE5 for ; Sat, 22 Jun 2024 02:47:38 +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 hbm8dAwiLYln for ; Sat, 22 Jun 2024 02:47:37 +0200 (CEST) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=103.168.172.197; helo=fforwardh2-smtp.messagingengine.com; envelope-from=adityam@umich.edu; receiver= Received: from fforwardh2-smtp.messagingengine.com (fforwardh2-smtp.messagingengine.com [103.168.172.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id B675D483CDE for ; Sat, 22 Jun 2024 02:47:35 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfforwardh.nyi.internal (Postfix) with ESMTP id C3F372920201; Fri, 21 Jun 2024 20:47:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 21 Jun 2024 20:47:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1719017254; x=1719103654; bh=yKUdlPqGhg4qEuBTF4+55wtIGCyC I5dtSTWLPOqVnyE=; b=F4/4lW3vH//nlobdW6D3bkQRCdG5iUNpdFAm8OJmkIwH BJy13EnWD0Wcg5PXQE0MGSD/sIVttp8ZnlzvYqRLvtocnEJhyvQAPzeSiwD3RR62 zU6HmCLCf9auz1keoM0dbav2BuiGiDFJBC57ST4r8lsXIAR0SqEG3Yh8kQWt8XYb xt2gXar1BjKH0MGfva8u1mIHMnWwmxjv9g1W4hcrPJrr/xtz0SPbHhsXyAlqfx7N 8bia05vv9J1MtCLcouu6e665LHTII9NAbWzTrV3ecarbHvuYa8tykTxYxPmkqeNH zutu7VV1P/Hrjy/+ho1jddkMsxbEqTuDJHzfcwc2+g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefhedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevufgjkfhfgggtsehttdertddttddvnecuhfhrohhmpeetughithih rgcuofgrhhgrjhgrnhcuoegrughithihrghmsehumhhitghhrdgvughuqeenucggtffrrg htthgvrhhnpefhtdevgfdvhfelveejtdehieehvdeuhfffveelkeefueehtedthfehleei keejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughithihrghmsehumhhitghhrdgvughu X-ME-Proxy: Feedback-ID: i00d8410d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Jun 2024 20:47:33 -0400 (EDT) Date: Sat, 22 Jun 2024 02:47:31 +0200 (CEST) From: Aditya Mahajan X-X-Sender: adityam@carbonpad.cim.mcgill.ca To: Hans Hagen via ntg-context In-Reply-To: Message-ID: References: MIME-Version: 1.0 Message-ID-Hash: YDXKFUDGDTR6V3I5OPFCCEFDXEQAP7ME X-Message-ID-Hash: YDXKFUDGDTR6V3I5OPFCCEFDXEQAP7ME X-MailFrom: adityam@umich.edu 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________