From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101440 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Problem with an enumeration Date: Thu, 2 Aug 2018 00:11:23 +0200 Message-ID: References: <9ae3a308-4b5b-a0e9-52f2-9d064b618d9c@gmx.es> <01a90b33-3476-b3bd-3f91-1293151cc791@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0254440847443553430==" X-Trace: blaine.gmane.org 1533161409 12692 195.159.176.226 (1 Aug 2018 22:10:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 22:10:09 +0000 (UTC) Cc: mailing users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 02 00:10:04 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkzJj-00033Y-11 for gctc-ntg-context-518@m.gmane.org; Thu, 02 Aug 2018 00:10:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0A57449C29; Thu, 2 Aug 2018 00:11:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24pbzFxVFiUE; Thu, 2 Aug 2018 00:11:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 41A7549C2C; Thu, 2 Aug 2018 00:11:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E957449C29 for ; Thu, 2 Aug 2018 00:11:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J1LCOvws17OH for ; Thu, 2 Aug 2018 00:11:34 +0200 (CEST) Original-Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B4DAE49BFC for ; Thu, 2 Aug 2018 00:11:24 +0200 (CEST) Original-Received: by mail-wr1-f43.google.com with SMTP id r16-v6so111832wrt.11 for ; Wed, 01 Aug 2018 15:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mVYaGVzAhz+Vro3ZnovO6X9cnwJe+2vsU36xaHFPSVQ=; b=R6p5bSeZyWMmWG0LkxblJjtKrnDcnPWvXmG789DtNDVKxtVFP4FZQz0MCZq2Y/T7kR e78MHLTp/Vw7zgr4IyYp3W8B3yvSeUO1TxqQkVDfkfI0uS0ok6KtLqHhz3208jlzg4n6 BNrdp3W/4BM2EUWegKR1XTywkKGbL36YSnG9pMNafWoQ5eiFV70aM1yeWEQchEehO4jP JHfPPWoopjQ+lHeXPZA37RC1mlK84j7KC5LsztWSf6WvioTfd6VKYyldNeZB8YCm3zjW NUyaF0SybLBzRkDPQ5XqWpHmnEFD2t2QwxmObRIYDGZZJGtt1euzlj7PJqtn8etgI1cR chew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mVYaGVzAhz+Vro3ZnovO6X9cnwJe+2vsU36xaHFPSVQ=; b=su5N8E9fPJPnJmU1yenaKjHwzhWXQt/N3pDNlFh2dfr/R0iSo1rLY6Nz5aIh04ysmb k0Ch4GfyvnH0xiUzF8FwvLtIphXREsA8V4XhA6+E1vyZLrz5pjs1H9d8dHuDPiAFTV4Y 3JatKeYi6W2vjE2GjF45O2ESGfuGy/Ydi3jD0Lpy5JeU9bLkkxRqJUZWOTiPVY5l0Z2s 3ni+YQJ55PK2zpTA416oBXRUTimvuEYieDoRJVf5ZLnUcQ9G1iObeqp7re8/K1Blu0z0 lHH5beeVRZ1a2BtMi8y0Zg33pgpybmmnckHdIMgYfA72g9BjyhRy9KRP9Qwml31I0KwY uLcw== X-Gm-Message-State: AOUpUlGEdGyiCUmTM08vZkRFVa7J70yuFMheJ6+8kSQPhchEHvWvFx9t b6Aj2iuKq+E7tNQwsy2NcX7byKgXhcmY1JbV1rE= X-Google-Smtp-Source: AAOMgpdDj7VJVcQNZUoWuWSIJmQdBIzy1tLXi7dWcbaWIP/g6XvVh/lkztWhkq1mmfcG2SkAF4lLVw54VnsE+S0w8/0= X-Received: by 2002:adf:c44c:: with SMTP id a12-v6mr124834wrg.20.1533161484289; Wed, 01 Aug 2018 15:11:24 -0700 (PDT) Original-Received: by 2002:adf:c4a7:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 15:11:23 -0700 (PDT) In-Reply-To: <01a90b33-3476-b3bd-3f91-1293151cc791@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:101440 Archived-At: --===============0254440847443553430== Content-Type: multipart/alternative; boundary="000000000000a78b22057266f94c" --000000000000a78b22057266f94c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Wolfgang, Thank you very much ! Fabrice 2018-08-01 21:21 GMT+02:00 Wolfgang Schuster < wolfgang.schuster.lists@gmail.com>: > Hi Fabrice, > > I found the following example in my mail archive. > > %%%%%% > \define\ItemCommand > {\hskip\zeropoint\relax\autoinsertnextspace} > > \setupitemgroup > [itemize] > [color=3Ddarkred, > distance=3D0pt] > > \setupitemgroup > [itemize:1] > [option=3D{n,packed,fit,intext}, > command=3D\ItemCommand] > > \setupitemgroup > [itemize:2] > [lefttext=3D, > righttext=3D, > option=3D{a,text}] > > \starttext > > \startitemize > > \item We thrive in \unknown > > \item \startitemize > \item \input tufte\par > \item \input tufte > \stopitemize > > \stopitemize > > \stoptext > %%%%%% > > PS. If you want an answer from me you should add me to cc because I have > problems getting mails from the list. > > Wolfgang > > > Fabrice Couvreur schrieb am 31.07.18 um 23:58: > > Hi Pablo, > That's not what I'm looking for but rather this: > > *1.a.* blablablabla > blablablabla > *b.* blablablabla > blablablabla > *c.* blablablabla > blablablabla > > Which explains the use of the key intext > Fabrice > > 2018-07-31 13:31 GMT+02:00 Pablo Rodriguez : > >> On 07/31/2018 12:18 PM, Fabrice Couvreur wrote: >> > Hello, >> > Wolfgang helped me to get this: >> > >> > 1.a. >> > b. >> > c. >> > 2.a >> > b. >> > c. >> > >> > I have unfortunately lost the code he had proposed to me. I get this: >> > >> > 1.a. >> > 1b >> > 1 C >> > 2.a >> > 2.b >> > 2.c >> >> Hi Fabrice, >> >> I don=E2=80=99t get your output. I had to remove the "intext" option and= I guess >> I got what you intend: >> >> \setupitemgroup >> [itemize][1] >> [color=3Ddarkred, >> distance=3D\spaceamount, >> option=3D{packed,fit,n}] >> >> \setupitemgroup >> [itemize][2] >> [color=3Ddarkred, >> distance=3D\spaceamount, >> option=3D{packed,fit,a}] >> >> \starttext >> \startitemize >> \item \startitemize >> \item \input zapf >> >> \item \input knuth >> >> \item \input montgomery >> \stopitemize >> \item \startitemize >> \item \input zapf >> >> \item \input knuth >> >> \item \input montgomery >> \stopitemize >> \stopitemize >> \stoptext >> >> I hope it helps, >> >> Pablo >> -- >> http://www.ousia.tk >> ____________________________________________________________ >> _______________________ >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> 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-co= ntext > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > > > --000000000000a78b22057266f94c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Wolfgang,
Thank you very much !
Fabrice

2018-08-01 21:21 GMT+0= 2:00 Wolfgang Schuster <wolfgang.schuster.lists@gmail.com<= /a>>:
Hi Fabrice,

I found the following example in my mail archive.

%%%%%%
\define\ItemCommand
=C2=A0 {\hskip\zeropoint\relax\autoinsertnextspace}

\setupitemgroup
=C2=A0 [itemize]
=C2=A0 [color=3Ddarkred,
=C2=A0=C2=A0 distance=3D0pt]

\setupitemgroup
=C2=A0 [itemize:1]
=C2=A0 [option=3D{n,packed,fit,intext},
=C2=A0=C2=A0 command=3D\ItemCommand]

\setupitemgroup
=C2=A0 [itemize:2]
=C2=A0 [lefttext=3D,
=C2=A0=C2=A0 righttext=3D,
=C2=A0=C2=A0 option=3D{a,text}]

\starttext

\startitemize

=C2=A0=C2=A0=C2=A0 \item We thrive in \unknown

=C2=A0=C2=A0=C2=A0 \item \startitemize
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \item \input tufte\par
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \item \input tufte
=C2=A0=C2=A0=C2=A0 \stopitemize

\stopitemize

\stoptext
%%%%%%

PS. If you want an answer from me you should add me to cc because I have problems getting mails from the list.

Wolfgang


Fabrice Couvreur schrieb am 31.07.18 um 23:58:

Hi Pablo,
That's not what I'm looking for but rather this:

1.a. blablablablablablablabla
b
. blablablabla
bl= ablablabla
c. blablablabla
blablablabla

Which explains the use of the key intext
Fabrice

2018-07-31 13:3= 1 GMT+02:00 Pablo Rodriguez <oinos@gmx.es>:
On 07/31/2018 12:18 PM, Fabrice=20 Couvreur wrote:
> Hello,
> Wolfgang helped me to get this:
>
> 1.a.
> b.
> c.
> 2.a
> b.
> c.
>
> I have unfortunately lost the code he had proposed to me. I get=20 this:
>
> 1.a.
> 1b
> 1 C
> 2.a
> 2.b
> 2.c

Hi Fabrice,

I don=E2=80=99t get your output. I had to remove the "intext" opt= ion and I guess
I got what you intend:

=C2=A0 =C2=A0 \setupitemgroup
=C2=A0 =C2=A0 =C2=A0 =C2=A0[itemize][1]
=C2=A0 =C2=A0 =C2=A0 =C2=A0[color=3Ddarkred,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 distance=3D\spaceamount,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option=3D{packed,fit,n}]

=C2=A0 =C2=A0 \setupitemgroup
=C2=A0 =C2=A0 =C2=A0 =C2=A0[itemize][2]
=C2=A0 =C2=A0 =C2=A0 =C2=A0[color=3Ddarkred,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 distance=3D\spaceamount,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 option=3D{packed,fit,a}]

=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \startitemize
=C2=A0 =C2=A0 \item \startitemize
=C2=A0 =C2=A0 \item \input zapf

=C2=A0 =C2=A0 \item \input knuth

=C2=A0 =C2=A0 \item \input montgomery
=C2=A0 =C2=A0 \stopitemize
=C2=A0 =C2=A0 \item \startitemize
=C2=A0 =C2=A0 \item \input zapf

=C2=A0 =C2=A0 \item \input knuth

=C2=A0 =C2=A0 \item \input montgomery
=C2=A0 =C2=A0 \stopitemize
=C2=A0 =C2=A0 \stopitemize
=C2=A0 =C2=A0 \stoptext

I hope it helps,

Pablo
--
http:/= /www.ousia.tk
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry=20 to the Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to t=
he Wiki!

maillist : ntg-context@ntg.nl / <=
a class=3D"m_983709053554769865moz-txt-link-freetext" href=3D"http://www.nt=
g.nl/mailman/listinfo/ntg-context" target=3D"_blank">http://www.ntg.nl/mail=
man/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / <=
a class=3D"m_983709053554769865moz-txt-link-freetext" href=3D"http://contex=
t.aanhet.net" target=3D"_blank">http://context.aanhet.net
archive  : https:/=
/bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_________________________________________________________________=
__________________


--000000000000a78b22057266f94c-- --===============0254440847443553430== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0254440847443553430==--