From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101437 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with an enumeration Date: Wed, 1 Aug 2018 21:21:23 +0200 Message-ID: <01a90b33-3476-b3bd-3f91-1293151cc791@gmail.com> References: <9ae3a308-4b5b-a0e9-52f2-9d064b618d9c@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4652525966664364041==" X-Trace: blaine.gmane.org 1533151198 528 195.159.176.226 (1 Aug 2018 19:19:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 19:19:58 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.1 To: mailing users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 01 21:19:54 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 1fkwf3-0008SE-H6 for gctc-ntg-context-518@m.gmane.org; Wed, 01 Aug 2018 21:19:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 18D1D49D29; Wed, 1 Aug 2018 21:21:40 +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 h91kfT0budTQ; Wed, 1 Aug 2018 21:21:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5973A49D2A; Wed, 1 Aug 2018 21:21:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9C61C49D2A for ; Wed, 1 Aug 2018 21:21:38 +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 gbNQe4CdQUpE for ; Wed, 1 Aug 2018 21:21:37 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (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 D27BC49D29 for ; Wed, 1 Aug 2018 21:21:27 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id t25-v6so211509wmi.3 for ; Wed, 01 Aug 2018 12:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=+z77B1qEpxvQC+uBefeX9W3roKxOJxKNweUca0zCWYw=; b=jO+8HXzTAOqrcF0UbldnIcyD/sy1JVE8T9eCimCwQ3j/JKacRa0RbY2hVJ1+3x6UFw SWkSOEQcaje/trZWcLJ7uBpPOcd0JnmKXkgZvb502Xe2NwdVMlhlXVhsHcBfnLxgbBPd +KNa2zlhs1VrtkzjvfjWl1w2GFNFoVN+nNAhXxzE1HAWH8hskdjrkUcqoFiBiCV6WeVz mw9FivQIXAUSHBP2Qjwkh2bx7FGxmtkvj4MYMpSYXuUR3mvSz2CuY7s63b547gfcVKcO gej3NqVW7wcZWs9rMBC6Nf6THh9qtEGz2OCBA5/6DjQ1PH6oO64tOH5sxS0rdihsGU7a pcvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=+z77B1qEpxvQC+uBefeX9W3roKxOJxKNweUca0zCWYw=; b=CNPMyM0ywlTQ55T3q4Pv3+32ihr0FumUdsh2LcUqBy6RtSImCS/gpjbV4lizqAAK8G Gd3OUPbfHoyDLyeR5SHPMBhEq+1KEUZ0rRIDnSeoS57lpKywdbNLrzQzBiFlYf+6Eblq R3+PzxJ1YACSUaU4FFth43rx539OoTH/raIfdRgnkff3Iwdvf/FrvDeCJtbI+0tGImGw OCjJI0duVUjmq9K3+03AOXBdPymhQz92CvGcCvteCpAaVoBvPPpbNhAf3GlvrgZ5nyPf s4C1zotQjXxb7rKmpwMldPyR75i/9OFYk5MxTK8QHZ1p10S4OIoEZrbsCDNWNpxocHdQ dQUw== X-Gm-Message-State: AOUpUlH4uUrgfohnwas4+shBu1rSwNNhBX4aXfgmlWjcMSUY/vzN6aCC ohsNH6wtUvCDU5hkBhJMOJk= X-Google-Smtp-Source: AAOMgpdOeJb+qO9YgbkKOBFcFR4Qtz1x5lwB2SpPXMkVcr3crIAq8N5VBhydAGB7QRX/9xpLw6v4AA== X-Received: by 2002:a1c:8f0e:: with SMTP id r14-v6mr104043wmd.79.1533151286453; Wed, 01 Aug 2018 12:21:26 -0700 (PDT) Original-Received: from [192.168.1.11] (x4dbeaede.dyn.telefonica.de. [77.190.174.222]) by smtp.gmail.com with ESMTPSA id g17-v6sm164862wmh.19.2018.08.01.12.21.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 12:21:25 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:101437 Archived-At: This is a multi-part message in MIME format. --===============4652525966664364041== Content-Type: multipart/alternative; boundary="------------1F3E3A69A088DF09DFAE8C72" Content-Language: en-US This is a multi-part message in MIME format. --------------1F3E3A69A088DF09DFAE8C72 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Fabrice, I found the following example in my mail archive. %%%%%% \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, distance=0pt] \setupitemgroup [itemize:1] [option={n,packed,fit,intext}, command=\ItemCommand] \setupitemgroup [itemize:2] [lefttext=, righttext=, option={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’t get your output. I had to remove the "intext" option and I > guess > I got what you intend: > > \setupitemgroup > [itemize][1] > [color=darkred, > distance=\spaceamount, > option={packed,fit,n}] > > \setupitemgroup > [itemize][2] > [color=darkred, > distance=\spaceamount, > option={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 to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/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-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------1F3E3A69A088DF09DFAE8C72 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Fabrice,

I found the following example in my mail archive.

%%%%%%
\define\ItemCommand
  {\hskip\zeropoint\relax\autoinsertnextspace}

\setupitemgroup
  [itemize]
  [color=darkred,
   distance=0pt]

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

\setupitemgroup
  [itemize:2]
  [lefttext=,
   righttext=,
   option={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 <oinos@gmx.es>:
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’t get your output. I had to remove the "intext" option and I guess
I got what you intend:

    \setupitemgroup
       [itemize][1]
       [color=darkred,
        distance=\spaceamount,
        option={packed,fit,n}]

    \setupitemgroup
       [itemize][2]
       [color=darkred,
        distance=\spaceamount,
        option={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 to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

--------------1F3E3A69A088DF09DFAE8C72-- --===============4652525966664364041== 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 --===============4652525966664364041==--