From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81926 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Cumulating numbered lists Date: Thu, 18 Apr 2013 20:07:25 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366308457 15251 80.91.229.3 (18 Apr 2013 18:07:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 18:07:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 18 20:07:38 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UStF4-0001V3-Ix for gctc-ntg-context-518@m.gmane.org; Thu, 18 Apr 2013 20:07:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7D08101E4; Thu, 18 Apr 2013 20:07: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 pWzNKjjfuqna; Thu, 18 Apr 2013 20:07:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 09ECD101E7; Thu, 18 Apr 2013 20:07:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 752F5101E7 for ; Thu, 18 Apr 2013 20:07:26 +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 i+Yreood8krg for ; Thu, 18 Apr 2013 20:07:25 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 53197101E4 for ; Thu, 18 Apr 2013 20:07:25 +0200 (CEST) Original-Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3II7Ox5022473 for ; Thu, 18 Apr 2013 20:07:24 +0200 Original-Received: by mail-ee0-f44.google.com with SMTP id c41so1460110eek.3 for ; Thu, 18 Apr 2013 11:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=3TaFv78p7cXKttFd1aMWnIra1npvRpGqVj3SzCQthLc=; b=SEbRos/UeDjRm3nmvSTXPIQWhnZxhYf6xjIUZy/26CCwO2pVO0qyyYYZrbWQ8HMSwG ufv5Z3Wb34jVfdf/uVtdd8+DjRXmM4pTQvfQ7b7X4nTrGF19pRDknC6fYgWzDWq5jYJG A1bt7WAMLQfV7FPPS+Fd9oTmxbcNK/cDi4I/fwNRmix7XG/VwzaVDm51Imd88CWwnOX7 F00uOwZqcQHOanGQIfyShfETm4O5j93lskQFVwkEgcA9Auz3840hESY+PLVwp+/nC2zW u2RF0AQ/rufrkuYa06Bp5h4uVCV02n2ajhqZt60S4wmnPnqakUjkkBlqGCO+bwOw0Q8Z MdLQ== X-Received: by 10.14.107.69 with SMTP id n45mr32577871eeg.23.1366308444369; Thu, 18 Apr 2013 11:07:24 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf875a.pool.mediaWays.net. [77.191.135.90]) by mx.google.com with ESMTPS id a41sm17569602eei.4.2013.04.18.11.07.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 11:07:23 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.44; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJpu7oLe - 5b9f5420658b - 20130418 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81926 Archived-At: Am 18.04.2013 um 19:57 schrieb Alan Bowen : > I need a list structure that can be numbered in different ways as the occ= asion warrants. > = > In this case, I need: > 1. text > 2. text > 2.1. text > 2.2. text > Text > Text > A. text > B. text > = > The problem seem to be in turning off the cumulation of numbers in the la= st entries (fourth level). > = > \defineitemgroup[MyList] > \setupitemgroup[MyList][1][broad,joinedup,packed,autointro] > [itemalign=3Dflushright,left=3D{},right=3D{},stopper=3D{.},margin=3D3pc] > = > \setupitemgroup[MyList][2][broad,joinedup,packed,autointro] > [itemalign=3Dflushright,left=3D{},right=3D{},stopper=3D{.}] > = > \setupitemgroup[MyList][3][broad,joinedup,packed,autointro] > [itemalign=3Dflushright,left=3D{},right=3D{},stopper=3D{.}] > = > \setupitemgroup[MyList][4][broad,joinedup,packed,autointro] > [itemalign=3Dflushright,left=3D{},right=3D{},stopper=3D{.}] > = > \starttext > = > \startMyList[n,repeat] > \item First level text = > \item First level text = > \startMyList[n,repeat] > \item Second level text = > \item Second level text = > \startMyList[symbol=3D{}] > \item Third level text = > \item Third level text > \startMyList[A] %<=3D=3D=3D=3D=3D > % \startMyList[A,prefix=3Dno] %<=3D=3D=3D=3D=3D > \item Fourth level text = > \item Fourth level text > \stopitemize > \stopitemize > \stopitemize > \stopitemize > = > = > \stoptext > = > With \startMyList[A], I get = > 2.2.2.A. Fourth level text > 2.2.2.B. Fourth level text > With \startMyList[A,prefix=3Dno], I get You can=92t put keywords and assignments in the same argument. You need two= arguments where one holds the keywords and the other the assignments: \startMyList[A][prefix=3Dno] Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________