From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68931 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \define[1]\command or \define\command[1]? (was: math: command for absolute value: `\define\abs[1]{\lvert #1 \rvert}` throws `\lvert ->\Udelimiter`.) Date: Sun, 5 Jun 2011 12:16:43 +0200 Message-ID: <6DBE182C-299D-4A18-8864-896F4B21853E@googlemail.com> References: <1307220033.4456.44.camel@mattotaupa> <1307268662.28001.2.camel@mattotaupa> 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307269019 24812 80.91.229.12 (5 Jun 2011 10:16:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2011 10:16:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 05 12:16:55 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 1QTAO7-000504-F4 for gctc-ntg-context-518@m.gmane.org; Sun, 05 Jun 2011 12:16:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38A43CAD9C; Sun, 5 Jun 2011 12:16:55 +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 jWyCstvVLmgz; Sun, 5 Jun 2011 12:16:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29804CAD90; Sun, 5 Jun 2011 12:16:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19648CAD90 for ; Sun, 5 Jun 2011 12:16:51 +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 Xxr8xYtHG9KG for ; Sun, 5 Jun 2011 12:16:49 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id F2A73CAD8D for ; Sun, 5 Jun 2011 12:16:48 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p55AGlf3008921 for ; Sun, 5 Jun 2011 12:16:48 +0200 Original-Received: by bwz17 with SMTP id 17so4318753bwz.14 for ; Sun, 05 Jun 2011 03:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=MRySt991MxXMgIHrBZMebRgI1fNKlNuto/RNzRlV50Y=; b=Mnr2zUfLqdknxtQho4/hGDqq012nySWkNVSeLPwUBDHv4esIhY5jbQkV1M959qY6Dr cBsa4MlAu/di/I7u2Z4umIDp6GG7RcwurgJxYFU7NeQpUXLGsOvHfyOc6UHnD/fWMTl0 5Ng1JjigT2A1ykXIPaenVJsidsZZU2MPzuVbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=F4QYs6cRULSN+LyOh436xZrFfVEOeDRwn7WNp5CH3AuJX462WUnsY/u3FbfHaG1fQG hbBctjhtAxXRHknRkgLBumY3WYfy+N04rQ3JfCALf9ufdEWO5U6RIxAAc5hKBuvIaFwQ myg2Ku2tH7QslkxS3cCMpSPaZ5JR7qvmbuopI= Original-Received: by 10.204.74.167 with SMTP id u39mr3797368bkj.144.1307269007798; Sun, 05 Jun 2011 03:16:47 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EFC26.dip.t-dialin.net [91.14.252.38]) by mx.google.com with ESMTPS id k10sm2515578bkq.10.2011.06.05.03.16.45 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2011 03:16:46 -0700 (PDT) In-Reply-To: <1307268662.28001.2.camel@mattotaupa> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 08EQagMBe - 79ee23b6bd89 - 20110605 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:68931 Archived-At: Am 05.06.2011 um 12:11 schrieb Paul Menzel: > thank you very much for the solution. I took my definition from the Wiki [1]. > > Could the developers please clarify the correct syntax so that it can be > updated in the source or the Wiki. The wiki entry is correct, the syntax is \define[]\{} When you want a command without argument you can omit the brackets and write \define\command{...} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________