summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-syn.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/strc-syn.mkxl')
-rw-r--r--tex/context/base/mkxl/strc-syn.mkxl8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/strc-syn.mkxl b/tex/context/base/mkxl/strc-syn.mkxl
index 09769bd2f..d6d1fab9b 100644
--- a/tex/context/base/mkxl/strc-syn.mkxl
+++ b/tex/context/base/mkxl/strc-syn.mkxl
@@ -418,13 +418,15 @@
}
\stopsetups
+\aliased\let\synonymentry\relax
+
\permanent\tolerant\protected\def\placelistofsynonyms[#1]#*[#2]%
{\begingroup
\edef\currentsimplelist{#1}%
\doifelsecommandhandler\??simplelist\currentsimplelist
{\strc_constructions_initialize{#1}%
\setupcurrentsimplelist[#2]%
- \let\synonymentry\strc_synonym_normal
+ \enforced\let\synonymentry\strc_synonym_normal
% so we can hook tabulate into before and after
\normalexpanded{\simplelistparameter\c!before
\noexpand\clf_processsynonyms
@@ -611,9 +613,9 @@
\setupcurrentsimplelist[#2]%
\edef\p_simplelist_command{\simplelistparameter\c!command}%
\ifempty\p_simplelist_command
- \let\synonymentry\strc_sorting_normal
+ \enforced\let\synonymentry\strc_sorting_normal
\else
- \let\synonymentry\strc_sorting_command
+ \enforced\let\synonymentry\strc_sorting_command
\fi
% so we can hook tabulate into before and after
\normalexpanded{\simplelistparameter\c!before