From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23383 invoked from network); 18 Dec 2023 16:14:48 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 18 Dec 2023 16:14:48 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 51746483B63 for ; Mon, 18 Dec 2023 09:13:11 +0100 (CET) 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 zGKyEYbuigxd for ; Mon, 18 Dec 2023 09:13:11 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 380C6483CC3 for ; Mon, 18 Dec 2023 09:12:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6CB96482631 for ; Mon, 18 Dec 2023 09:11:39 +0100 (CET) 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 J7_u56jM_-TI for ; Mon, 18 Dec 2023 09:11:37 +0100 (CET) Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.70.2]) (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 DE8ED4822E3 for ; Mon, 18 Dec 2023 09:11:36 +0100 (CET) Received: from carbonpad.cim.mcgill.ca (alille-655-1-37-200.w90-7.abo.wanadoo.fr [90.7.138.200]) (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) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id DD6001DD887 for ; Mon, 18 Dec 2023 03:13:01 -0500 (EST) Date: Mon, 18 Dec 2023 09:11:31 +0100 (CET) From: Aditya Mahajan X-X-Sender: adityam@carbonpad.cim.mcgill.ca To: mailing list for ConTeXt users In-Reply-To: Message-ID: References: <87bkaqlfxe.fsf@a16n.net> <8c93365b-d2d7-4e81-8f09-93560ffcc250@freedom.nl> <87ttoh6vrh.fsf@a16n.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463808767-810269238-1702887093=:257923" Message-ID-Hash: ZLPCE4L65W4S7WUHG6SKJ3REHI6YNWKW X-Message-ID-Hash: ZLPCE4L65W4S7WUHG6SKJ3REHI6YNWKW 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: error with definestartstop and startmode List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463808767-810269238-1702887093=:257923 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 17 Dec 2023, Wolfgang Schuster wrote: > Peter M=C3=BCnster schrieb am 17.12.2023 um 10:09: > > On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > > > >> \usemodule[abbreviations-logos] > >> \defineblock [H] [before=3D\startcolor[blue],after=3D\stopcolor] > >> \keepblocks[H] > > Thanks for this solution. > > > > Is there also something for inline-mode? Example: > > > > test \beginH TEST\endH test >=20 > You can create different versions of your environment and let context cho= ose > one whether the mode is enabled or disabled. >=20 > %\enablemode[H] >=20 > \startmode [H] > =C2=A0 \definestartstop [H] [color=3Dblue] > \stopmode >=20 > \startnotmode [H] > =C2=A0 \define\startH{\ignoreupto\stopH} > \stopnotmode >=20 > \starttext >=20 > xxx \startH yyy \stopH zzz >=20 > \stoptext I do something similar: \definebuffer[H] \startmode[H] \definestartstop[H][color=3Dblue] \stopmode Aditya ---1463808767-810269238-1702887093=:257923 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 ___________________________________________________________________________________ ---1463808767-810269238-1702887093=:257923--