ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with an enumeration
@ 2018-07-31 10:18 Fabrice Couvreur
  2018-07-31 11:31 ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur @ 2018-07-31 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

Thanks
Fabrice


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

\setupitemgroup
   [itemize][2]
   [color=darkred,
    distance=\spaceamount,
    option={packed,fit,intext,a}]

[-- Attachment #1.2: Type: text/html, Size: 1209 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with an enumeration
  2018-07-31 10:18 Problem with an enumeration Fabrice Couvreur
@ 2018-07-31 11:31 ` Pablo Rodriguez
  2018-07-31 21:58   ` Fabrice Couvreur
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2018-07-31 11:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with an enumeration
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrice Couvreur @ 2018-07-31 21:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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
> ____________________________________________________________
> _______________________

[-- Attachment #1.2: Type: text/html, Size: 3927 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with an enumeration
  2018-07-31 21:58   ` Fabrice Couvreur
@ 2018-08-01  8:55     ` Pablo Rodriguez
  2018-08-01 19:21     ` Wolfgang Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2018-08-01  8:55 UTC (permalink / raw)
  To: ntg-context

On 07/31/2018 11:58 PM, Fabrice Couvreur wrote:
> 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

Hi Fabrice,

this is the best I get:

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

    \setupitemgroup
       [itemize][2]
       [color=darkred,
        distance=\spaceamount,
        option={packed,fit,intext,a}]

Otherwise, deploying the option "intext" seems to handle the width of
first itemization level as zero.

Just in case 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with an enumeration
  2018-07-31 21:58   ` Fabrice Couvreur
  2018-08-01  8:55     ` Pablo Rodriguez
@ 2018-08-01 19:21     ` Wolfgang Schuster
  2018-08-01 22:11       ` Fabrice Couvreur
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2018-08-01 19:21 UTC (permalink / raw)
  To: mailing users


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problem with an enumeration
  2018-08-01 19:21     ` Wolfgang Schuster
@ 2018-08-01 22:11       ` Fabrice Couvreur
  0 siblings, 0 replies; 6+ messages in thread
From: Fabrice Couvreur @ 2018-08-01 22:11 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing users


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

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=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/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-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: 7215 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-01 22:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 10:18 Problem with an enumeration 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
2018-08-01 22:11       ` Fabrice Couvreur

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).