From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59628 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Removing Introduction section number Date: Mon, 14 Jun 2010 15:40:13 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201006141540.14065.alan.braslau@cea.fr> References: <4C153ACA.2000209@gmail.com> <201006141230.30408.alan.braslau@cea.fr> <4C160FE2.4000409@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276522832 21819 80.91.229.12 (14 Jun 2010 13:40:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 13:40:32 +0000 (UTC) To: Taco Hoekwater , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 14 15:40:29 2010 connect(): No such file or directory 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 1OO9tt-0003lL-Bl for gctc-ntg-context-518@m.gmane.org; Mon, 14 Jun 2010 15:40:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 328FFC9A1F; Mon, 14 Jun 2010 15:40:29 +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 TjA+8L3Dnd3t; Mon, 14 Jun 2010 15:40:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF1C6C9A41; Mon, 14 Jun 2010 15:40:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7133AC9A41 for ; Mon, 14 Jun 2010 15:40: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 FyT6COTQYRei for ; Mon, 14 Jun 2010 15:40:21 +0200 (CEST) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.166.172.107]) by balder.ntg.nl (Postfix) with ESMTP id B0716C9A1F for ; Mon, 14 Jun 2010 15:40:21 +0200 (CEST) Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o5EDeLiG023041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Jun 2010 15:40:21 +0200 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o5EDeK8T016067; Mon, 14 Jun 2010 15:40:21 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-ha-003840.localnet (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id o5EDeKJx022501; Mon, 14 Jun 2010 15:40:20 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.32; KDE/4.4.4; x86_64; ; ) In-Reply-To: <4C160FE2.4000409@elvenkind.com> 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:59628 Archived-At: On Monday 14 June 2010 13:17:54 Taco Hoekwater wrote: > Hi Alan, > > Alan BRASLAU wrote: > > I have to say that I am now a bit confused about the use of arguments in > > ConTeXt. > > The general rule is quite straightforward: > > * arguments in {} pairs are typeset material > * arguments in [] are setup instructions and metadata > > Whether or not an argument is optional has nothing to > do with the used delimiters. Quite logical and straightforward. It is useful to read the manual (section 1.3): "A command is often followed by setups or by text. Setups are placed between brackets ([]). The scope or range of the command, the text acted upon, is placed between curly brackets ({})." ... I see that my reflexes have been spoiled by years of practice with LaTeX - old habits die hard. Lamport (section 2.5): "Command arguments are enclosed in curly braces { and }, except for optional arguments, which are enclosed in square brackets [ and ]." So I added a paragraph to http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt#Command_syntax Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________