summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-des.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-des.mkiv')
-rw-r--r--tex/context/base/strc-des.mkiv8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/strc-des.mkiv b/tex/context/base/strc-des.mkiv
index b0a240612..9929cc1c5 100644
--- a/tex/context/base/strc-des.mkiv
+++ b/tex/context/base/strc-des.mkiv
@@ -321,8 +321,10 @@
%D A new key 'headalign' in definitions.
+\newconstant\nesteddescriptionstate
+
\def\resetdescriptions % to be used in e.g. footnotes
- {\chardef\nesteddescriptionstate\zerocount}
+ {\nesteddescriptionstate\zerocount}
\resetdescriptions
@@ -359,9 +361,9 @@
\normalexpanded{\noexpand\indenting[\descriptionparameter\c!indenting]}%
% better a system mode
\ifcase\nesteddescriptionstate
- \chardef\nesteddescriptionstate\plusone
+ \nesteddescriptionstate\plusone
\or
- \chardef\nesteddescriptionstate\plustwo
+ \nesteddescriptionstate\plustwo
\fi % now happens elsewhere : \noindent\ignorespaces
\@@resetdescriptionclosesymbol}