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
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 ___________________________________________________________________________________
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
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
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
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/
participants (4)
-
Herbert Voss
-
Procházka Lukáš Ing.
-
Thomas A. Schmitz
-
Ulrike Fischer