From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52894 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: How can I start wiith 2 in itemize? Date: Sun, 13 Sep 2009 17:02:24 +0200 Message-ID: <4AAD0980.1080104@gmx.net> References: <4A9ECDFD.10301@telefonica.net> <4A9FB82E.3020701@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252854164 16529 80.91.229.12 (13 Sep 2009 15:02:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2009 15:02:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 13 17:02:37 2009 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.50) id 1Mmqb4-0000QV-U4 for gctc-ntg-context-518@m.gmane.org; Sun, 13 Sep 2009 17:02:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E55A5C9AD9; Sun, 13 Sep 2009 17:02:33 +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 vM+XX3kwkTUr; Sun, 13 Sep 2009 17:02:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 214CDC9AAF; Sun, 13 Sep 2009 17:02:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D39DBC9AAF for ; Sun, 13 Sep 2009 17:02: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 q11fvTr3gA19 for ; Sun, 13 Sep 2009 17:02:25 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 49262C9A9C for ; Sun, 13 Sep 2009 17:02:25 +0200 (CEST) Original-Received: (qmail invoked by alias); 13 Sep 2009 15:02:25 -0000 Original-Received: from i577BCFB8.versanet.de (EHLO [192.168.1.3]) [87.123.207.184] by mail.gmx.net (mp050) with SMTP; 13 Sep 2009 17:02:25 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX19Tuoh1FJxTqiOy7ctCmx7AeQaNzB1E/qxu2IySQs 1mNfpmI+g4WQvh User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4A9FB82E.3020701@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 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:52894 Archived-At: Hi Hans, this is not fixed yet... Peter Rolf schrieb: > Xan schrieb: >> Hi, >> >> I want to start itemize with 2. >> I put \startitemize[n][start=2] but it does not work. >> > third and hopefully last try :D > > [strc-itm.mkii] > > \def\setitemlevel#1% > {\ifnum\currentitemlevel>\zerocount > \settrue\firstlistitem > % > % \expanded{\setitemparameter{\currentitemlevel}{\c!start}{1}}% *** > \doifinset{0}{#1}{\setitemparameter\currentitemlevel\c!start{0}}% > > \setcounter{\@@itemcounter\currentitemlevel}{\the\numexpr\getitemparameter\currentitemlevel\c!start-1\relax}% > *** > \doifelsenothing{\getitemparameter\currentitemlevel\c!start} > {\def\currentitemoffset{1}} > > {\def\currentitemoffset{\getitemparameter\currentitemlevel\c!start}% > \letitemparameter\currentitemlevel\c!start\empty}% > % > \def\tempnumber > {\countervalue{\@@itemcounter\currentitemlevel}}% > \doifelse{\getitemparameter\currentitemlevel\c!placestopper}\v!yes > {\def\tempsymbol{\getitemparameter\currentitemlevel\c!stopper}} > {\let\tempsymbol\empty}% > \fi} > > > I get the correct numbers with the following example. > > \starttext > > \startitemize[n][start=2] > \item foo > \item bar > \stopitemize > > > \startitemize[n] > \item foo > \item bar > \stopitemize > > \stoptext > > >> Strange? >> >> Xan. >> ___________________________________________________________________________________ >> >> 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 >> ___________________________________________________________________________________ >> >> > > ___________________________________________________________________________________ > > 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 > ___________________________________________________________________________________ > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________