From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40832 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Itemize numbering Date: Wed, 30 Apr 2008 13:05:32 -0400 (EDT) Message-ID: References: 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: ger.gmane.org 1209575141 17130 80.91.229.12 (30 Apr 2008 17:05:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 17:05:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 30 19:06:14 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1JrFkb-0004dI-RW for gctc-ntg-context-518@m.gmane.org; Wed, 30 Apr 2008 19:05:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3E791FC5A; Wed, 30 Apr 2008 19:05:05 +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 12436-01-11; Wed, 30 Apr 2008 19:04:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A68961FC06; Wed, 30 Apr 2008 19:04:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A40321FC06 for ; Wed, 30 Apr 2008 19:04:47 +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 11390-02-12 for ; Wed, 30 Apr 2008 19:04:42 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 802A21FC01 for ; Wed, 30 Apr 2008 19:04:42 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 4818A6A7.C946.21272 ; 30 Apr 2008 13:04:39 -0400 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:40832 Archived-At: On Wed, 30 Apr 2008, Henning Hraban Ramm wrote: > Am 2008-04-29 um 17:49 schrieb Aditya Mahajan: >>> I just tried the following on Context Live: >>> >>> \starttext >>> \startitemize[n] >>> \item one >>> \item two >>> \startitemize >>> \item a >>> \item b >>> \stopitemize >>> \item three >>> \stopitemize >>> \stoptext >>> >>> and the first itemize starts at 0. Remove the inner itemize and >>> it starts >>> at 1. >>> >>> Is this a feature or a bug? How do I get around it? >> >> I can confirm that here. This is indeed a bug. > > I reported some weeks ago that numbering starts always at 0 with --once > > I guess Hans & Co went after the dictum of Dijkstra[0], as quoted > recently by Knuth[1], that counting should start at 0 ;-) > > [0] http://en.wikipedia.org/wiki/Edsger_W._Dijkstra > [1] http://www.informit.com/articles/article.aspx?p=1193856 The reason for all these bugs of starting with zero is my reqest for a reverse key to itemize and then I could not foresee all the use cases. Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________