From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35595 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: itemize with zero start Date: Sat, 28 Jul 2007 16:58:45 +0200 Message-ID: <20070728165845.b38879fb.schuster.wolfgang@googlemail.com> References: <46AA11C9.17220.18F237@wwl.musensturm.de> <46AA3E66.6020804@wxs.nl> 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: sea.gmane.org 1185634762 18836 80.91.229.12 (28 Jul 2007 14:59:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2007 14:59:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 28 16:59:15 2007 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 1IEnlB-0007FI-BJ for gctc-ntg-context-518@m.gmane.org; Sat, 28 Jul 2007 16:59:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71EBA1FD8E; Sat, 28 Jul 2007 16:59:11 +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 21215-04-4; Sat, 28 Jul 2007 16:59:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D26A91FD5C; Sat, 28 Jul 2007 16:59:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFCD51FD5C for ; Sat, 28 Jul 2007 16:58:58 +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 21215-04-3 for ; Sat, 28 Jul 2007 16:58:56 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by ronja.ntg.nl (Postfix) with ESMTP id 475DC1FD24 for ; Sat, 28 Jul 2007 16:58:56 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so829356ugf for ; Sat, 28 Jul 2007 07:58:56 -0700 (PDT) Original-Received: by 10.67.95.3 with SMTP id x3mr3761939ugl.1185634735921; Sat, 28 Jul 2007 07:58:55 -0700 (PDT) Original-Received: from eve ( [217.185.118.36]) by mx.google.com with ESMTPS id h6sm3868173nfh.2007.07.28.07.58.53 (version=SSLv3 cipher=OTHER); Sat, 28 Jul 2007 07:58:55 -0700 (PDT) In-Reply-To: X-Mailer: Sylpheed 2.4.3 (GTK+ 2.10.13; i686-pc-mingw32) 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:35595 Archived-At: On Fri, 27 Jul 2007 22:47:33 -0400 "Hamid Kamrani" wrote: > Here is a minimal example of how this happens. I had posted it sometime back. > > \starttext > \setupitemize[each][][stopper=:] > \bTABLE > \bTR > \bTD > \startitemize[a] > \item Bla > \item Blub > \item Bautz > \stopitemize > \eTD > \eTR > \eTABLE > \stoptext This is a problem related to the new way with twopassdata. You can solve it by changing one line in the definition of \checkcurrentnofitems in core-itm.tex \def\checkcurrentnofitems {\splititemtwopassdata\noflists \iftwopassdatafound \ifcase\scratchcounter \let\currentnofitems \!!zerocount \let\currentminnofitems\!!zerocount the last line should be: \let\currentminnofitems\plusone \let\currentmaxnofitems\!!zerocount \else ...rest of the macor} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________