summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/strc-itm.mkvi
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-10-05 17:04:18 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-10-05 17:04:18 +0200
commit6359695c65028baeb2296bd4b2e0c41a34dd8f0e (patch)
tree95fe600e7e858e0fc10cf4028bb6a8c7906ef41e /tex/context/base/mkiv/strc-itm.mkvi
parent318b6f5f9f606d1fa45c1f23564478475fa1fc4c (diff)
downloadcontext-6359695c65028baeb2296bd4b2e0c41a34dd8f0e.tar.gz
2017-10-05 16:30:00
Diffstat (limited to 'tex/context/base/mkiv/strc-itm.mkvi')
-rw-r--r--tex/context/base/mkiv/strc-itm.mkvi6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/strc-itm.mkvi b/tex/context/base/mkiv/strc-itm.mkvi
index a28193415..d69a75af0 100644
--- a/tex/context/base/mkiv/strc-itm.mkvi
+++ b/tex/context/base/mkiv/strc-itm.mkvi
@@ -410,8 +410,14 @@
\settrue\c_strc_itemgroups_pack
\fi}
+\def\strc_itemgroups_process_set_option_unpack
+ {\ifcase\c_strc_itemgroups_nesting\else
+ \setfalse\c_strc_itemgroups_pack
+ \fi}
+
\setvalue{\??itemgroupkeyword\!!zerocount }{} % ignore 0
\setvalue{\??itemgroupkeyword\v!packed }{\strc_itemgroups_process_set_option_pack}
+\setvalue{\??itemgroupkeyword\v!unpacked }{\strc_itemgroups_process_set_option_unpack}
\setvalue{\??itemgroupkeyword\v!intro }{\settrue\c_strc_itemgroups_intro} % here? not set to false
\setvalue{\??itemgroupkeyword\v!autointro }{\settrue\c_strc_itemgroups_auto_intro}
\setvalue{\??itemgroupkeyword\v!broad }{\ifx\itemgroupfirst\empty