[NTG-context] Problem with an enumeration

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Aug 1 21:21:23 CEST 2018


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 at gmx.es 
> <mailto:oinos at 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 at ntg.nl <mailto:ntg-context at 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 at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180801/5736999c/attachment.html>


More information about the ntg-context mailing list