From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81727 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: the difference between \def and \define Date: Mon, 15 Apr 2013 16:26:13 +0200 Message-ID: <20130415142613.GB5709@homerow> References: <20130415140703.GA5709@homerow> <516C0AC9.6000805@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1061992118==" X-Trace: ger.gmane.org 1366035984 4809 80.91.229.3 (15 Apr 2013 14:26:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 14:26:24 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 15 16:26:28 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 1URkMV-0008CO-Vh for gctc-ntg-context-518@m.gmane.org; Mon, 15 Apr 2013 16:26:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3988F101E3; Mon, 15 Apr 2013 16:26:27 +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 crrfOchIz1pN; Mon, 15 Apr 2013 16:26:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 75DE3101E9; Mon, 15 Apr 2013 16:26:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 664DF101E9 for ; Mon, 15 Apr 2013 16:26:23 +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 k8EjJTRE6pKy for ; Mon, 15 Apr 2013 16:26:18 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id E2237101E3 for ; Mon, 15 Apr 2013 16:26:18 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3FEQHq6023709 for ; Mon, 15 Apr 2013 16:26:18 +0200 Original-Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10]) by karen.lavabit.com (Postfix) with ESMTP id 45F1D11BD20 for ; Mon, 15 Apr 2013 09:26:16 -0500 (CDT) Original-Received: from homerow (miun107-84.dynamic.miun.se [193.10.107.84]) by lavabit.com with ESMTP id PFOLB5R1UXW5 for ; Mon, 15 Apr 2013 09:26:16 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=ZF0CXmZPeNV/vqJVaVHV/XHICPgZ+to0zEO0NznI6hcgpDbpvKCWSVpUU9a44B5Ws/KDhQFVWBZDyJAkrbvT8odKxV6atSRS4jVZoxfYD6hCuX7AauxYcPFup75rHjRK8fnCiUTNu2n9HPGPuQVZ1psL883A38+QNs+vQFYfgrw=; 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: <516C0AC9.6000805@wxs.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.9667 (Score 4.7, 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: 03JoeqhyI - 426948c60adf - 20130415 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:81727 Archived-At: --===============1061992118== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RCcFxJ34+mAtH0DM" Content-Disposition: inline --RCcFxJ34+mAtH0DM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9304=E2=80=9315 Hans Hagen wrote: > >I don't think named parameters are possible with \define, but maybe > >I'm mistaken. >=20 > just use suffix .mkvi or put "% macros=3Dmkvi" at the top of your file That's how to enable named parameters for \def. I was talking about \define. The arguments are provided as a number in brackets, which makes it hard to refer to them by name: %% fails, of course \define[2]\foo{#first, #second} Marco --RCcFxJ34+mAtH0DM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRbA4FAAoJEPGqVaNSn0iKW9AIAIHZg5pz+8EZo3cpgVvQTf9G BicRSfuAUe8qxKCCyKkYDdGIFyh1pCuXmLaqNL/gz+Dfpm8QRyLKR657BYNzTOnO lzJp/5dNUyDB4ihP4xSOAceHZlW1aK2vFn9kgymd1DrDwPqwaY/IIqJ8FHNa9jSh UCA81EHm2Rs5A76V+WXOIF4Fo1liAGqcTB3GYVJOQecQH1yZD2ULBPTsoDEBn6TV vmD5GP2E8iOIqFfscBLChnuJg13WfKxU0NFpHHPvC6y0IYQNP9LPhKr/UE67Nm3d AwMYbiEpU9P8I1mpGMaU55EhfqJ4nE/kaz5Rp+b0t56KtljhFYnQx2ccjLRGxxA= =wZ1X -----END PGP SIGNATURE----- --RCcFxJ34+mAtH0DM-- --===============1061992118== 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 ___________________________________________________________________________________ --===============1061992118==--