From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101756 Path: news.gmane.org!.POSTED!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \startuserdata syntax questions Date: Wed, 29 Aug 2018 13:29:04 -0400 (EDT) Message-ID: References: <00d41d63-0ba0-1049-9119-b42835b18df7@rik.users.panix.com> <536e1256-2f37-c9b3-99a1-551f05b97de6@xs4all.nl> <80fca181-ee5e-a059-622e-645a9c69b572@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-830189494-1265313133-1535563745=:25695" X-Trace: blaine.gmane.org 1535563685 2210 195.159.176.226 (29 Aug 2018 17:28:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 17:28:05 +0000 (UTC) User-Agent: Alpine 2.21.99 (LNX 239 2017-12-04) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 29 19:28:01 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv4G8-0000Pw-1z for gctc-ntg-context-518@m.gmane.org; Wed, 29 Aug 2018 19:28:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6B69D5A760; Wed, 29 Aug 2018 19:29:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yzr4kNyF1Nzb; Wed, 29 Aug 2018 19:29:54 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 85F735A757; Wed, 29 Aug 2018 19:29:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AD4CB5A757 for ; Wed, 29 Aug 2018 19:29:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gfrg_XtfQ6yz for ; Wed, 29 Aug 2018 19:29:52 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6D7435A756 for ; Wed, 29 Aug 2018 19:29:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1535563781; bh=LIi9vhaezNhsggGRgiCTtE1reuVJNtYRDuDaRzFqpA8=; h=Date:From:To:Subject:In-Reply-To:References; b=C10YLIh/2DhrtzOqkK2UxonilRXLnyJh5bfJVZKor1k5a0tSDZESY6z9KPbgzXJCz MYPZrdamEh0d9xhRWzYasQ8GKJRzg8KVwWx5+5NWoDfou6vZ2TyDCHxUVTe4XEMbpS p9WUwrvsi4F2jXcT6kooAFRmVkNxM+U76fvnwLbdeDFrqnEdKqHpgv9mh/vnh6CUkX RKE3SA322xaGmePbPgO84AgsTjb0Ddmvk+hSihRibkkLteJGTGU7WoAo+J79tDRZzu E5aJ9d5hp41PAklwEerhnfUAzr2Sv8Ve03CXAjZ1zIa7r+NxPe9/PZepAioX9ib6PW La1y+pBeKLrrw== Authentication-Results: tombraider.mr.itd.umich.edu; iprev=pass policy.iprev=132.206.74.80 (reinforce.cim.mcgill.ca); auth=pass smtp.auth=adityam Original-Received: FROM reinforce.cim.mcgill.ca (reinforce.cim.mcgill.ca [132.206.74.80]) By tombraider.mr.itd.umich.edu ID 5B86D804.D0759.2864; Authuser adityam; Wed, 29 Aug 2018 13:29:40 -0400 In-Reply-To: <80fca181-ee5e-a059-622e-645a9c69b572@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:101756 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---830189494-1265313133-1535563745=:25695 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 29 Aug 2018, Wolfgang Schuster wrote: >> The second question: Is there the possibility to enhance the syntax so= =20 >> that one can write >>> >>> \startMyStuff [optionalkey=3Dvalue, anotherkey=3Dvalue] >>> stuff >>> \stopMyStuff >>> >>> instead of >>> >>> \startuserdata [MyStuff] [optionalkey=3Dvalue, anotherkey=3Dvalue] >>> stuff >>> \stopuserdata > > I can generated environment commands but I haven=E2=80=99t done this at t= he=20 > beginning because I prefer to pass the name of the environment as=20 > argument because this allows me to check if the used instance exists. Perhaps adding a `command=3Dyes` key, which can be set to `no` by default. Aditya ---830189494-1265313133-1535563745=:25695 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f ---830189494-1265313133-1535563745=:25695--