ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \itemize unpacked?
@ 2016-12-19 12:26 Procházka Lukáš Ing.
  2016-12-19 12:40 ` Herbert Voss
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. @ 2016-12-19 12:26 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

Hello,

I have code that setups \itemize packed.

Is it possible to force "unpacked" option back (mentioned here: http://wiki.contextgarden.net/Command/setupitemgroup)?

----
\starttext

   \startitemize[][]
     \item 1a
     \item 1b
   \stopitemize

   \setupitemize[each][packed,joinedup] % <--- Itemize to be 'packed' from here on

   \startitemize[][]
     \item 2a
     \item 2b
   \stopitemize

   \startitemize[unpacked][] % <--- Itemize still packed! - How to disable it?
     \item 3a
     \item 3b
   \stopitemize

\stoptext
----

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

[-- Attachment #2: UnpItem.mkiv --]
[-- Type: application/octet-stream, Size: 280 bytes --]

\starttext

  \startitemize[][]
    \item 1a
    \item 1b
  \stopitemize

  \setupitemize[each][packed,joinedup]

  \startitemize[][]
    \item 2a
    \item 2b
  \stopitemize

  \startitemize[unpacked][]
    \item 3a
    \item 3b
  \stopitemize

\stoptext



[-- Attachment #3: UnpItem.pdf --]
[-- Type: application/pdf, Size: 6388 bytes --]

[-- Attachment #4: 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] 5+ messages in thread

* Re: \itemize unpacked?
  2016-12-19 12:26 \itemize unpacked? Procházka Lukáš Ing.
@ 2016-12-19 12:40 ` Herbert Voss
  2016-12-19 13:26   ` Procházka Lukáš Ing.
  0 siblings, 1 reply; 5+ messages in thread
From: Herbert Voss @ 2016-12-19 12:40 UTC (permalink / raw)
  To: ntg-context

Am 19.12.2016 um 13:26 schrieb Procházka Lukáš Ing.:
> Hello,
>
> I have code that setups \itemize packed.
>
> Is it possible to force "unpacked" option back (mentioned here:
> http://wiki.contextgarden.net/Command/setupitemgroup)?
>
> ----
> \starttext
>
>   \startitemize[][]
>     \item 1a
>     \item 1b
>   \stopitemize
>
>   \setupitemize[each][packed,joinedup] % <--- Itemize to be 'packed'
> from here on
>
>   \startitemize[][]
>     \item 2a
>     \item 2b
>   \stopitemize
>

you can make it a local setting:

{%
\setupitemize[each][packed,joinedup] % <--- Itemize to be 'packed' from 
here on

\startitemize[][]
\item 2a
\item 2b
\stopitemize
}

Herbert


>   \startitemize[unpacked][] % <--- Itemize still packed! - How to
> disable it?
>     \item 3a
>     \item 3b
>   \stopitemize
>
> \stoptext
> ----
>
> Best regards,
>
> Lukas
>
>
>
>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________

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

* Re: \itemize unpacked?
  2016-12-19 12:40 ` Herbert Voss
@ 2016-12-19 13:26   ` Procházka Lukáš Ing.
  2016-12-19 13:40     ` Thomas A. Schmitz
  2016-12-19 14:41     ` Ulrike Fischer
  0 siblings, 2 replies; 5+ messages in thread
From: Procházka Lukáš Ing. @ 2016-12-19 13:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

yes, that's right; but I thought there is an option to "override" the default/set-up setting -

- what should "unpacked" do otherwise?

Also, in my case, there are more \itemize to be packed; and some of them (in the middle of the document) should be "unpacked"; so grouping itemize setting is not very comfortable here.

Best regards,

Lukas


On Mon, 19 Dec 2016 13:40:30 +0100, Herbert Voss <Herbert.Voss@fu-berlin.de> wrote:

> Am 19.12.2016 um 13:26 schrieb Procházka Lukáš Ing.:
>> Hello,
>>
>> I have code that setups \itemize packed.
>>
>> Is it possible to force "unpacked" option back (mentioned here:
>> http://wiki.contextgarden.net/Command/setupitemgroup)?
>>
>> ----
>> \starttext
>>
>>   \startitemize[][]
>>     \item 1a
>>     \item 1b
>>   \stopitemize
>>
>>   \setupitemize[each][packed,joinedup] % <--- Itemize to be 'packed'
>> from here on
>>
>>   \startitemize[][]
>>     \item 2a
>>     \item 2b
>>   \stopitemize
>>
>
> you can make it a local setting:
>
> {%
> \setupitemize[each][packed,joinedup] % <--- Itemize to be 'packed' from
> here on
>
> \startitemize[][]
> \item 2a
> \item 2b
> \stopitemize
> }
>
> Herbert
>
>
>>   \startitemize[unpacked][] % <--- Itemize still packed! - How to
>> disable it?
>>     \item 3a
>>     \item 3b
>>   \stopitemize
>>
>> \stoptext
>> ----
>>
>> Best regards,
>>
>> Lukas
>>
>>
>>
>>
>> ___________________________________________________________________________________
>> 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
> ___________________________________________________________________________________


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

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

* Re: \itemize unpacked?
  2016-12-19 13:26   ` Procházka Lukáš Ing.
@ 2016-12-19 13:40     ` Thomas A. Schmitz
  2016-12-19 14:41     ` Ulrike Fischer
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas A. Schmitz @ 2016-12-19 13:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/19/2016 02:26 PM, Procházka Lukáš Ing. wrote:
> Also, in my case, there are more \itemize to be packed; and some of them
> (in the middle of the document) should be "unpacked"; so grouping
> itemize setting is not very comfortable here.

Then the cleanest (and most ConTeXt-like) solution would be to define 
several instances of itemize in the preamble and use those instead of 
applying the settings on the fly. 
(http://wiki.contextgarden.net/Command/defineitemgroup , but I guess you 
know about that.)

Thomas
___________________________________________________________________________________
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] 5+ messages in thread

* Re: \itemize unpacked?
  2016-12-19 13:26   ` Procházka Lukáš Ing.
  2016-12-19 13:40     ` Thomas A. Schmitz
@ 2016-12-19 14:41     ` Ulrike Fischer
  1 sibling, 0 replies; 5+ messages in thread
From: Ulrike Fischer @ 2016-12-19 14:41 UTC (permalink / raw)
  To: ntg-context

Am Mon, 19 Dec 2016 14:26:12 +0100 schrieb Procházka Lukáš Ing.:

> Hello,
> 
> yes, that's right; but I thought there is an option to "override" the default/set-up setting -
> 
> - what should "unpacked" do otherwise?

Imho while you can use packed locally unpacked is only for global
settings. At least it isn't mentioned as argument here
http://wiki.contextgarden.net/Enumerations

It works if you use unpacked in another \setupitemize:

\setupitemize[each][unpacked]



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

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

end of thread, other threads:[~2016-12-19 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-19 12:26 \itemize unpacked? Procházka Lukáš Ing.
2016-12-19 12:40 ` Herbert Voss
2016-12-19 13:26   ` Procházka Lukáš Ing.
2016-12-19 13:40     ` Thomas A. Schmitz
2016-12-19 14:41     ` Ulrike Fischer

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