From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36281 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: itemize start=2 Date: Thu, 30 Aug 2007 07:43:06 +0200 Message-ID: <115224fb0708292243l4e0f5af1q79374c47e04c8b6a@mail.gmail.com> References: <46D5CACC.18009.363AEE@wwl.musensturm.de> 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 1188452620 2775 80.91.229.12 (30 Aug 2007 05:43:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 05:43:40 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 30 07:43:38 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 1IQcoZ-0004r5-Jz for gctc-ntg-context-518@m.gmane.org; Thu, 30 Aug 2007 07:43:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 820772013E; Thu, 30 Aug 2007 07:43:34 +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 18678-04; Thu, 30 Aug 2007 07:43:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3AD8220162; Thu, 30 Aug 2007 07:43:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EEB3220162 for ; Thu, 30 Aug 2007 07:43:16 +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 18643-03 for ; Thu, 30 Aug 2007 07:43:08 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by ronja.ntg.nl (Postfix) with ESMTP id D75072013E for ; Thu, 30 Aug 2007 07:43:07 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so444533wxd for ; Wed, 29 Aug 2007 22:43:06 -0700 (PDT) Original-Received: by 10.90.90.3 with SMTP id n3mr59313agb.1188452586257; Wed, 29 Aug 2007 22:43:06 -0700 (PDT) Original-Received: by 10.90.104.4 with HTTP; Wed, 29 Aug 2007 22:43:06 -0700 (PDT) In-Reply-To: <46D5CACC.18009.363AEE@wwl.musensturm.de> Content-Disposition: inline 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:36281 Archived-At: 2007/8/29, Wolfgang Werners-Lucchini : > > > how can I start an itemization with 2 > > > > > > I have tried snippets like > > > > > > \setupitemgroup[[itemize][start=2] > > > \startitemize[n] > > > \item zwei > > > \item drei > > > \stopitemize > > > > > > but could'nt found a solution. > > > > > > Btw.: Is there a differenz between > > > > > > \setupitemize[] > > > > > > and > > > > > > \setupitemgroup[[itemize][] > > > > > > Wolfgang > > > > Hi Wolfgang, > > > > \setupitemize is only macro for \setupitemgroup[itemize] and is > > generated with \defineitemgroup like many other setup commands. > > > > To start your enumeration with 2 you have to define your own > > number conversion. > > > > \def\nextnumber#1{\the\numexpr#1+1\relax} > > > > \defineconversion[nn][\nextnumber] > > > > \starttext > > \startitemize[nn] > > \item zwei > > \item drei > > \stopitemize > > \stoptext > > > > Wolfgang > > Hi Wolfgang! > > This works! > > But two questions remain: > > 1) I am wondering, how you find such answers. What is your strategie > searching the sources? You can the answer in the big manual (cont-enp), it explains the symbols are defined with \definesymbol and the counters values (n, r, r ... keys) with \defineconversion. > 2) What is that existing option 'start' for? Take this as an example > for question 1). If I understand the source correct it should begin the itemize with the level you give with the start value, with the value 2 in your example the outer itemize group should start with itemlevel 2 and we should get the dash symbol as item marker but either this did not work I am wrong. I tried this with the following example but the output off both items are the same. \starttext \startitemize \item Text \stopitemize \setupitemize[start=2] \startitemize \item Text \stopitemize \stoptext 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 ___________________________________________________________________________________