From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69926 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: interfaces.definecommand Date: Tue, 12 Jul 2011 18:24:06 +0200 Message-ID: <812F66CC-6394-4146-9E2A-A111F1C284A9@googlemail.com> References: <95778D9B-0202-48B7-9EB2-E702E64BB13A@googlemail.com> <4E1C7090.7000004@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310487870 4379 80.91.229.12 (12 Jul 2011 16:24:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2011 16:24:30 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 12 18:24:25 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qgfl3-0002I9-N4 for gctc-ntg-context-518@m.gmane.org; Tue, 12 Jul 2011 18:24:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1DC30CADEF; Tue, 12 Jul 2011 18:24:24 +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 ABeP2LOabDIX; Tue, 12 Jul 2011 18:24:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8119ECADF1; Tue, 12 Jul 2011 18:24:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77CADCADF1 for ; Tue, 12 Jul 2011 18:24:18 +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 jjW5O4rGk0o2 for ; Tue, 12 Jul 2011 18:24:14 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 93A78CADEF for ; Tue, 12 Jul 2011 18:24:14 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6CGOArI008359 for ; Tue, 12 Jul 2011 18:24:14 +0200 Original-Received: by fxe23 with SMTP id 23so4935556fxe.15 for ; Tue, 12 Jul 2011 09:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=NkvcBFK7kixtIWRvLqlwUoYXCgD7Tq99xvB/W05jTSs=; b=lxStrVNZr1dTsqCleZXaZcj+IffjCz6LExTLAhC3qkv10iTK+c3AYbsiS49mBfWBJ5 WlP9nUd6EfzsDwI2SYoNL1nKZHIzsJ1PvjF0IqPG3O984WvTI9Vn+BYzXjC8pPeMe9Kr 4mdFX75tLEN0NGZVy0qzJ2jURc5Kpm6MGtfO4= Original-Received: by 10.223.65.74 with SMTP id h10mr185236fai.10.1310487850073; Tue, 12 Jul 2011 09:24:10 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B0EEA91.dip.t-dialin.net [91.14.234.145]) by mx.google.com with ESMTPS id k26sm9954564fak.24.2011.07.12.09.24.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jul 2011 09:24:09 -0700 (PDT) In-Reply-To: <4E1C7090.7000004@wxs.nl> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eF74oa8v - 01d639881216 - 20110712 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69926 Archived-At: Am 12.07.2011 um 18:04 schrieb Hans Hagen: > hm, isn't that what > = > interfaces.definecommand { > name =3D "simpleone", > macro =3D simpleone, > } > = > does? This creates a command without *any* arguments but i=92m interested how to = create a command with mandatory arguments only, e.g. \test{One}{Two}. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________