ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing users <ntg-context@ntg.nl>
Subject: Re: Problem with an enumeration
Date: Wed, 1 Aug 2018 21:21:23 +0200	[thread overview]
Message-ID: <01a90b33-3476-b3bd-3f91-1293151cc791@gmail.com> (raw)
In-Reply-To: <CACyK-eq2-0Kixxuv1kGyCxDNkmCug7pSzraODsGbLsZ6anoNKA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3538 bytes --]

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 
> <mailto: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 <mailto:ntg-context@ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     <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/
>     <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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 6274 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2018-08-01 19:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31 10:18 Fabrice Couvreur
2018-07-31 11:31 ` Pablo Rodriguez
2018-07-31 21:58   ` Fabrice Couvreur
2018-08-01  8:55     ` Pablo Rodriguez
2018-08-01 19:21     ` Wolfgang Schuster [this message]
2018-08-01 22:11       ` Fabrice Couvreur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01a90b33-3476-b3bd-3f91-1293151cc791@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).