From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27320 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: syntax for numbercommand and \gobbleoneargument Date: Thu, 20 Apr 2006 21:42:30 +0100 Message-ID: References: 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 1145565863 834 80.91.229.2 (20 Apr 2006 20:44:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Apr 2006 20:44:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 20 22:44:22 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 1FWg0h-0005fE-Ms for gctc-ntg-context-518@m.gmane.org; Thu, 20 Apr 2006 22:44:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C1851279A; Thu, 20 Apr 2006 22:44:19 +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 01870-08; Thu, 20 Apr 2006 22:44:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4D6E41279D; Thu, 20 Apr 2006 22:42:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DE0C1279D for ; Thu, 20 Apr 2006 22:42:32 +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 01891-01-2 for ; Thu, 20 Apr 2006 22:42:31 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 727131279A for ; Thu, 20 Apr 2006 22:42:31 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1FWfyw-0007kR-60; Thu, 20 Apr 2006 21:42:30 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1FWfyw-0002RL-00; Thu, 20 Apr 2006 21:42:30 +0100 Original-To: ntg-context@ntg.nl In-Reply-To: Your message of "Thu, 20 Apr 2006 21:53:53 +0200." 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:27320 Archived-At: Thanks for the useful explanations. > A newline is treated in general as a space, so you have unwanted > space in case 1. Right, but what confused me was that I expected the closing brace in numbercommand={\gobbleoneargument} to bound what numbercommand was set to. > If you really want a newline as in case 1, then consider case 4: I'm happy to put the ] on the same line. I had ended up with case 1 by mistake after a bunch of experiments with exercise numbering, and then it took me a while to figure out the change that was causing the error. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.