From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27644 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: defineenumeration and setupenumeration Date: Fri, 05 May 2006 07:57:51 +0200 Message-ID: <445AE95F.7070507@elvenkind.com> References: <4454923E.4040204@cs.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146808635 2786 80.91.229.2 (5 May 2006 05:57:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 05:57:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri May 05 07:57:13 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbtJN-0004ty-2L for gctc-ntg-context-518@m.gmane.org; Fri, 05 May 2006 07:57:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ACC85127BA; Fri, 5 May 2006 07:57:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32545-01; Fri, 5 May 2006 07:57:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86CE912797; Fri, 5 May 2006 07:57:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A39A612797 for ; Fri, 5 May 2006 07:57:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32544-01-2 for ; Fri, 5 May 2006 07:57:00 +0200 (CEST) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with SMTP id 931341277E for ; Fri, 5 May 2006 07:57:00 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:33746 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1FbtJE-000DL9-9c for ntg-context@ntg.nl; Fri, 05 May 2006 05:57:00 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4454923E.4040204@cs.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27644 Archived-At: WN wrote: > I am a bit confused, the example setups the enumaration *remark* and > specifies the location=top > > But on page 224 the command \setupenumerations is shown where one can also > specify the location among others. > > What is the difference, reason or usage for doing this ? Much of the functionality of the \define and \setup commands is using shared code (for efficiency and QA). > What is the proper Context way, should I define the location with > \defineenumeration or with \setupenumerations ? Where ConTeXt provides both, the use of \setup version depends on your input file. I've had documents where the location changed based on the placement of the enumeration in the overall document (chapters with different layout styles), so I clearly needed a \setup version for that. If you do not need that, I suggest you just put it in the \define. Otherwise you have two macros where one is enough, and at one point you may become confused when a change somewhere in your environment does not work at all. Cheers, Taco