From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81947 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Cumulating numbered lists Date: Fri, 19 Apr 2013 07:42:24 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1378589177==" X-Trace: ger.gmane.org 1366371751 11888 80.91.229.3 (19 Apr 2013 11:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2013 11:42:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 19 13:42:33 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 1UT9i3-0002oq-M0 for gctc-ntg-context-518@m.gmane.org; Fri, 19 Apr 2013 13:42:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74C39101E9; Fri, 19 Apr 2013 13:42:31 +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 AQK+SWVBs-9W; Fri, 19 Apr 2013 13:42:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 69975101E6; Fri, 19 Apr 2013 13:42:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 133FB101E6 for ; Fri, 19 Apr 2013 13:42:28 +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 zFfuHT+u4Wyu for ; Fri, 19 Apr 2013 13:42:26 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 915A1101E4 for ; Fri, 19 Apr 2013 13:42:26 +0200 (CEST) Original-Received: from mail-vb0-x230.google.com (mail-vb0-x230.google.com [IPv6:2607:f8b0:400c:c02::230]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3JBgPDc019781 for ; Fri, 19 Apr 2013 13:42:25 +0200 Original-Received: by mail-vb0-f48.google.com with SMTP id p13so3501729vbe.35 for ; Fri, 19 Apr 2013 04:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=6Xqe+4ZUcmI3AraGgp2vbDONAagxAmGWmtyGI7V0gRU=; b=VxHNn1ZMnwKRCB6YDjIeCRm+m5mo9UHV6twws02wRtAR83cxsEcl0sx4jrFJfwXpKS VJtRvfVWOdDiX8EhwNJYlNLDXdEZHSQSPK67tYMnbo7MYep65Syg9YyQtV8Pq8M2xD9s JH3d4I8DohYBW9JkKH8Dp5FgcbzRxUBxDlsStS3ZgjenG9M/ujPND/G+in8Ig7WWYVDF 8PaAU02RcPPffkh1G8reWW0qX70K/Dtnt40feLccQsXVd+w/wbyDBBZ3XeQtbOp+DcL1 N5JAEgrEUSWg5pPVQupMQmG4aQ6lHM/8ZipCByjGE9c4lORU/tDqZIy/2Ba4Y2GTrLmr nC9A== X-Received: by 10.52.95.108 with SMTP id dj12mr9524998vdb.46.1366371744719; Fri, 19 Apr 2013 04:42:24 -0700 (PDT) Original-Received: by 10.220.58.202 with HTTP; Fri, 19 Apr 2013 04:42:24 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::230; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJpLGpKW - 3c9192e2ec02 - 20130419 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81947 Archived-At: --===============1378589177== Content-Type: multipart/alternative; boundary=20cf3071cbd679aaa804dab536df --20cf3071cbd679aaa804dab536df Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable In the simplified example, \setupitemgroup[itemize][broad] \setupitemize[itemalign=3Dflushright] \startitemize[n,repeat] \item level a \item level a \startitemize[n,repeat] \item level b \item level b \startitemize[A][prefix=3Dno] \item level c \item level c \stopitemize \stopitemize \stopitemize =93prefix=3Dno=94 does not work. I am also puzzled that =93repeat=94 must be entered at the higher levels if= it effectively means =93repeat higher-level number at lower levels, to produce e.g. 1.a.4=94 (quoting the wiki). Alan On Thu, Apr 18, 2013 at 2:43 PM, Alan Bowen wrote: > Hi, Wolfgang=97 > > Thanks for this=97I will be more careful in keeping the two apart. In thi= s > instance, however, when I make the change, the problem persists. > > I am using ConTeXt ver: 2013.04.17 18:36 MKIV beta fmt: 2013.4.17 int: > english/english > > Alan > > > On Thu, Apr 18, 2013 at 2:07 PM, Wolfgang Schuster < > schuster.wolfgang@gmail.com> wrote: > >> >> Am 18.04.2013 um 19:57 schrieb Alan Bowen : >> >> > I need a list structure that can be numbered in different ways as the >> occasion 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 >> last 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 t= o >> 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 : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> >> ________________________________________________________________________= ___________ >> > > --20cf3071cbd679aaa804dab536df Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
In the simplified example,

\s= etupitemgroup[itemize][broad]
\setupitemize[itemalign=3Dflushrigh= t]
\startitemize[n,repeat]
\item level a
\ite= m level a
\startitemize[n,rep= eat]
\item lev= el b
\item lev= el b
\startitemize[A][p= refix=3Dno]
\= item level c
= \item level c
\stopitemize
=
\stopitemize
<= div>\stopitemize

=93prefix=3Dno= =94 does not work.=A0

I am also puzzled that =93repeat=94 must be= entered at the higher levels if it effectively means =93repeat higher-le= vel number at lower levels, to produce e.g. 1.a.4=94 (quoting the wiki).

Alan



On Thu, Apr 18, 2013 at 2:07 PM, Wolfgan= g Schuster <schuster.wolfgang@gmail.com> wrote:

Am 18.04.2013 um 19:57 schrieb Alan Bowen <bowenalan03@gmail.com>:

> I need a list structure that can be numbered in different ways as the = occasion warrants.
>
> In this case, I need:
> 1. text
> 2. text
> =A0 =A0 2.1. text
> =A0 =A0 =A02.2. text
> =A0 =A0 =A0 =A0 =A0 Text
> =A0 =A0 =A0 =A0 =A0 Text
> =A0 =A0 =A0 =A0 =A0 =A0 =A0A. text
> =A0 =A0 =A0 =A0 =A0 =A0 =A0B. text
>
> The problem seem to be in turning off the cumulation of numbers in the= last entries (fourth level).
>
> \defineitemgroup[MyList]
> \setupitemgroup[MyList][1][broad,joinedup,packed,autointro]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [itemalign=3Dflushright,left=3D{},right=3D= {},stopper=3D{.},margin=3D3pc]
>
> \setupitemgroup[MyList][2][broad,joinedup,packed,autointro]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [itemalign=3Dflushright,left=3D{},right=3D= {},stopper=3D{.}]
>
> \setupitemgroup[MyList][3][broad,joinedup,packed,autointro]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [itemalign=3Dflushright,left=3D{},right=3D= {},stopper=3D{.}]
>
> \setupitemgroup[MyList][4][broad,joinedup,packed,autointro]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 [itemalign=3Dflushright,left=3D{},right=3D= {},stopper=3D{.}]
>
> \starttext
>
> \startMyList[n,repeat]
> =A0 \item First level text
> =A0 \item First level text
> =A0 =A0 =A0 \startMyList[n,repeat]
> =A0 =A0 =A0 =A0\item Second level text
> =A0 =A0 =A0 \item Second level text
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 \startMyList[symbol=3D{}]
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\item Third level text
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 \item Third level text
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \startMyList[A] =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0%<=3D=3D=3D=3D=3D
> =A0% =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\startMyList[A,prefix=3Dno= ] =A0 =A0 =A0 =A0 =A0%<=3D=3D=3D=3D=3D
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \item Fourth level text > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \item Fourth level text > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 \stopitemize
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 \stopitemize
> =A0 =A0 =A0 \stopitemize
> \stopitemize
>
>
> \stoptext
>
> With \startMyList[A], I get
> =A0 =A0 =A0 =A02.2.2.A. Fourth level text
> =A0 =A0 =A0 =A02.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:

=A0 \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-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________


--20cf3071cbd679aaa804dab536df-- --===============1378589177== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1378589177==--