ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* question about \startitemize...\stopitemize (again)
@ 2016-11-29 18:28 Pablo Rodriguez
  2016-11-29 18:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2016-11-29 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

sorry for asking this question again, but I’m afraid I really need to
solve this as soon as possible.

I have the following sample:

    \setupwhitespace[5em]
    \startsetups[smallwspa]
        \setupwhitespace[small]
        \setupblank[small]
    \stopsetups
    \setupitemize[each][indenting=no, setups=smallwspa]

    \starttext
    \input knuth

    \startitemize
    \dorecurse{5}{\item this is my item\par
                        second paragraph\par
                        third paragraph
                        }
    \stopitemize
    \stoptext

I need a bigger whitespace outside the list that inside them. I need
\blank[medium] between each item and \blank[small] for each \par inside
the item.

setups doesn’t work for paragraphs inside list items and inbetween
doesn’t work either.

Which is the right way to setup space between ennumeration items and
also different for paragraphs inside those items?

Many thanks for your help,

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] 4+ messages in thread

* Re: question about \startitemize...\stopitemize (again)
  2016-11-29 18:28 question about \startitemize...\stopitemize (again) Pablo Rodriguez
@ 2016-11-29 18:48 ` Wolfgang Schuster
  2016-11-29 19:02   ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2016-11-29 18:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 29. November 2016 um 19:28
> Dear list,
>
> sorry for asking this question again, but I’m afraid I really need to
> solve this as soon as possible.
>
> I have the following sample:
>
> \setupwhitespace[5em]
> \startsetups[smallwspa]
> \setupwhitespace[small]
> \setupblank[small]
> \stopsetups
> \setupitemize[each][indenting=no, setups=smallwspa]
\setupitemize[each][indenting=no,inner=\directsetup{smallwspa}]

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1510 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] 4+ messages in thread

* Re: question about \startitemize...\stopitemize (again)
  2016-11-29 18:48 ` Wolfgang Schuster
@ 2016-11-29 19:02   ` Pablo Rodriguez
  2016-11-29 20:21     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2016-11-29 19:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/29/2016 07:48 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 29. November 2016 um 19:28
>> Dear list,
>>
>> sorry for asking this question again, but I’m afraid I really need to
>> solve this as soon as possible.
>>
>> I have the following sample:
>>
>> \setupwhitespace[5em]
>> \startsetups[smallwspa]
>> \setupwhitespace[small]
>> \setupblank[small]
>> \stopsetups
>> \setupitemize[each][indenting=no, setups=smallwspa]
> 
> \setupitemize[each][indenting=no,inner=\directsetup{smallwspa}]

Wolfgang,

many thanks for your ultra-fast reply and for your help.

As always, it works perfectly fine.

Sorry, but what does the key "inbetween" setup? (I thought it was
referred to items.)

Many thanks for your help,


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] 4+ messages in thread

* Re: question about \startitemize...\stopitemize (again)
  2016-11-29 19:02   ` Pablo Rodriguez
@ 2016-11-29 20:21     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2016-11-29 20:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 29. November 2016 um 20:02
>
> Wolfgang,
>
> many thanks for your ultra-fast reply and for your help.
>
> As always, it works perfectly fine.
>
> Sorry, but what does the key "inbetween" setup? (I thought it was
> referred to items.)
\setupitemgroup
   [itemize]
   [   before={\blackrule[width=\textwidth,color=red]},
        after={\blackrule[width=\textwidth,color=green]},
    inbetween={\blackrule[width=\textwidth,color=blue]}]

\starttext

\startitemize
     \startitem First item \stopitem
     \startitem Second item \stopitem
     \startitem Third item \stopitem
\stopitemize

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1717 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] 4+ messages in thread

end of thread, other threads:[~2016-11-29 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-29 18:28 question about \startitemize...\stopitemize (again) Pablo Rodriguez
2016-11-29 18:48 ` Wolfgang Schuster
2016-11-29 19:02   ` Pablo Rodriguez
2016-11-29 20:21     ` Wolfgang Schuster

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