diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-01-15 12:52:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-01-15 12:52:31 +0100 |
commit | 4054d633b48d2d0d737a705259eff5a2c315f958 (patch) | |
tree | ec171a10b0e97d32fd4256bf303b35211976d78a /tex/context/base/mkxl/strc-itm.mklx | |
parent | 8e857efd2c61e8ffa4c991b5f1ddacfb4ebedc3c (diff) | |
download | context-4054d633b48d2d0d737a705259eff5a2c315f958.tar.gz |
2022-01-15 11:04:00
Diffstat (limited to 'tex/context/base/mkxl/strc-itm.mklx')
-rw-r--r-- | tex/context/base/mkxl/strc-itm.mklx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/strc-itm.mklx b/tex/context/base/mkxl/strc-itm.mklx index 3ccc5358e..13b750ce3 100644 --- a/tex/context/base/mkxl/strc-itm.mklx +++ b/tex/context/base/mkxl/strc-itm.mklx @@ -203,7 +203,7 @@ % 0 = before/after % 1 = between unless before -% 2 = between +% 2 = between (auto) \newconstant \c_strc_itemgroups_spacing_mode \c_strc_itemgroups_spacing_mode\plustwo \newconditional\c_strc_itemgroups_optimize \settrue\c_strc_itemgroups_optimize @@ -909,6 +909,15 @@ \doadaptleftskip {\itemgroupparameter\c!leftmargindistance}% \doadaptrightskip{\itemgroupparameter\c!rightmargindistance}% % + \edef\m_strc_itemgroups_spacing{\itemgroupparameter\c!spacing}% + \ifx\m_strc_itemgroups_spacing\v!before + \c_strc_itemgroups_spacing_mode\zerocount + \orelse\ifx\m_strc_itemgroups_spacing\v!inbetween + \c_strc_itemgroups_spacing_mode\plusone + \orelse\ifx\m_strc_itemgroups_spacing\v!auto + \c_strc_itemgroups_spacing_mode\plustwo + \fi + % \usealignparameter\itemgroupparameter \edef\m_strc_itemgroups_indenting{\itemgroupparameter\c!indenting}% \ifnum\c_strc_itemgroups_nesting>\zerocount |