From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81781 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: the difference between \def and \define Date: Tue, 16 Apr 2013 12:11:32 +0200 Message-ID: <20130416101132.GI5709@homerow> References: <20130415140703.GA5709@homerow> <516C0AC9.6000805@wxs.nl> <516D0EE6.2040004@wxs.nl> <20130416090552.GH5709@homerow> <516D1586.5070705@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1467427663==" X-Trace: ger.gmane.org 1366107107 13717 80.91.229.3 (16 Apr 2013 10:11:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2013 10:11:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 16 12:11:49 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1US2rc-0006ho-7r for gctc-ntg-context-518@m.gmane.org; Tue, 16 Apr 2013 12:11:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 456CC10208; Tue, 16 Apr 2013 12:11:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jACUsVGeBXNb; Tue, 16 Apr 2013 12:11:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 98F2C101EB; Tue, 16 Apr 2013 12:11:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AC5D101EB for ; Tue, 16 Apr 2013 12:11:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oau2-vocps6F for ; Tue, 16 Apr 2013 12:11:39 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 074DA101E3 for ; Tue, 16 Apr 2013 12:11:38 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3GABaY5023894 for ; Tue, 16 Apr 2013 12:11:37 +0200 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 32A0111BA84 for ; Tue, 16 Apr 2013 05:11:35 -0500 (CDT) Original-Received: from homerow (miun114-195.dynamic.miun.se [193.10.114.195]) by lavabit.com with ESMTP id DOHR4C2XDSXO for ; Tue, 16 Apr 2013 05:11:35 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=XOUEf9RSilU8PKVHQkQytPHTJKtjENZVC/AAzW/TxfABGkQKnAKydD0LVAh6PRo10tgHSVNf5stt2QYqhanREk42wIhFQ7717feoT9piIU0Z1nIkIrbu52xUVc8OZ2Uz5RR3IIjJXA13k2WO8rLLs3h9ZpxPBFNs+GkII5jOTHg=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <516D1586.5070705@uni-bonn.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJoybAuJ - 41620263bd50 - 20130416 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81781 Archived-At: --===============1467427663== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="whpHMr7UwS4k4x4q" Content-Disposition: inline --whpHMr7UwS4k4x4q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9304=E2=80=9316 Thomas A. Schmitz wrote: > I'm not lobbying for define to have something similar, I just want > to point out that it would be in the spirit of convergence between > ConTeXt and Lua. It certainly isn't an urgent need, but having >=20 > \define[one,two,three] >=20 > wouldn't be absurd, now would it? Sorry, misunderstanding on my part. That one looks fine. I thought we're talking about translating the number to words, which wouldn't make any sense: \define[3]\foo{#one, #two, #three} I still don't think it's necessary to use named parameters with \define. For modules most likely \def, \setvalue or texdefinition are being used and \define for in-document markup, wherefore numbered parameters are perfectly fine. The only thing that could be improved is a definition which doesn't interfere with \asciimode, but that's low priority and can easily be worked around. Marco --whpHMr7UwS4k4x4q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRbSPUAAoJEPGqVaNSn0iKzN0H/0uzcey9rerKf7t79e2cPymE Dh7muNYd1ewCKmOxPzWUGXyhRA1b2wV1ooigkwbmzMZdnSzBc56jg6/K7rReB21m WuEZtN8Cg5uz0O/DGALiLXPKR5Csi7Ks9LsJ8DL3kK6E4QHwduUDTe1v9LCFxZBp gIl2ns1se41DCjjoPpwFGaUnexBvCv+njNjlWZloNRcgXVxZrRefcPfwQAt0Y6Cz KyBaPKsFARe0QKLVTnd+GgwHM5mFmMD1eFRiZyRv7jiWpSzQdQnT8AVVYnB7CjbN 5m029sEt7quPJwPpKI/XnZyin4zmwFStdJPQxMxqMGriYIB2Jsc3jIMkAsPLUSs= =dhll -----END PGP SIGNATURE----- --whpHMr7UwS4k4x4q-- --===============1467427663== 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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1467427663==--