From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82030 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: Cumulating numbered lists Date: Mon, 22 Apr 2013 17:59:09 -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="===============1077457357==" X-Trace: ger.gmane.org 1366667967 25392 80.91.229.3 (22 Apr 2013 21:59:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2013 21:59:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 22 23:59:29 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 1UUOld-0003wu-2G for gctc-ntg-context-518@m.gmane.org; Mon, 22 Apr 2013 23:59:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EA63101F3; Mon, 22 Apr 2013 23:59:20 +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 APYedV60pVik; Mon, 22 Apr 2013 23:59:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 27981101E9; Mon, 22 Apr 2013 23:59:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8F93101E9 for ; Mon, 22 Apr 2013 23:59:15 +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 0VzVGmTb36YP for ; Mon, 22 Apr 2013 23:59:12 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 10BC5101E3 for ; Mon, 22 Apr 2013 23:59:11 +0200 (CEST) Original-Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3MLxAxp008826 for ; Mon, 22 Apr 2013 23:59:10 +0200 Original-Received: by mail-vb0-f46.google.com with SMTP id 11so6257408vbe.19 for ; Mon, 22 Apr 2013 14:59:10 -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=aVuJ+CaZP3N7e15C3FOzku3OgXaf9tiYnbE/ZboEt/4=; b=efsRMT1f9vHx9FOg7zl/bRa5YJwTGe168wZQEXcIudOYmEf6gXn/yYbU9Nj1hEDcxO MSiq2LREdoeLVZws8aFRRi9geszIfg+nXTssZZqMy3htxqo2S9eoxwVLiobPjDwXlnpP ABl4XVVE0p5P0T0QgUztQWlLkBx8lPyEcTD84zQiDGMFgFe9/AJ+Zpbx8OZVI3oJhF1q 8Kn4E7Gpn7drlWCmpZ2uGA8FkrU7GMw951V5hSVgo4D6xND3tF1GPT4s/EDrWZuq9vcO GEV55ZGd9g/90tm+VrgcH0wWrN2q8+PqHZqDdffHVDZ7qKW4nU8Eg6iwYXtaxFaNGGNw MN4g== X-Received: by 10.220.83.138 with SMTP id f10mr2981142vcl.7.1366667950048; Mon, 22 Apr 2013 14:59:10 -0700 (PDT) Original-Received: by 10.220.58.202 with HTTP; Mon, 22 Apr 2013 14:59:09 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::22e; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Jr9Xafe - cbf50a1ae927 - 20130422 (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:82030 Archived-At: --===============1077457357== Content-Type: multipart/alternative; boundary=001a11c24f5ab04adc04dafa2d24 --001a11c24f5ab04adc04dafa2d24 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Another try: Can someone explain why \setupitemgroup[itemize][broad,joinedup,packed,autointro] \setupitemize[itemalign=3Dflushright] \startitemize[n,repeat] \item level a \startitemize[n,repeat] \item level b \startitemize[A][prefix=3Dno] \item level c \stopitemize \stopitemize \stopitemize yields: 1. level a 1.1 level b 1.1.A. level c rather than 1. level a 1.1 level b A. level c ? Alan On Fri, Apr 19, 2013 at 7:42 AM, Alan Bowen wrote: > 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 produ= ce > 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 th= is >> 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 th= e >>> 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 >>> 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 >>> >>> _______________________________________________________________________= ____________ >>> >> >> > --001a11c24f5ab04adc04dafa2d24 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Another try:

Can someone explain = why

\setupitemgroup[itemize][broa= d,joinedup,packed,autointro]
\setupitemize[itemalign=3Dflushright= ]
\startitemize[n,repeat]
\item level a
\startitemize[n,repeat]
<= span class=3D"" style=3D"white-space:pre"> \item level b
<= span class=3D"" style=3D"white-space:pre"> \startitemize[A][prefix= =3Dno]
\item level c
\stopitemize
\stopitemize
=
\stopitemize

yields:

1. level a
=A0 =A0 1.1 level b
=A0 =A0 =A0 =A0 1.1.A. = level c

rather than

1. level a
=A0 =A0 1.1 level b
=A0 =A0 =A0 =A0 A. level c
?

Alan


On Fri, Apr 19, 2013 at 7:42 AM, Alan Bowen <bowenalan03@gmail.com> wrote:
In the simplified example,

\s= etupitemgroup[itemize][broad]
\setupitemize[itemalign=3Dflushrigh= t]
\startitemize[n,repeat]
\item level a
\ite= m level a
\startitemize[n,repeat]
\item level b
\item level b
\startitemize[A][prefix= =3Dno]
\item level = c
\item level c
\stopitemize
<= span style=3D"white-space:pre-wrap"> \stopitemize
\stopite= mize

=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-level number at lower levels, t= o produce e.g. 1.a.4=94 (quoting the wiki).

Ala= n





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
___________________________________________________________________________= ________



--001a11c24f5ab04adc04dafa2d24-- --===============1077457357== 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 ___________________________________________________________________________________ --===============1077457357==--