diff options
Diffstat (limited to 'tex/context/base/math-fen.mkiv')
-rw-r--r-- | tex/context/base/math-fen.mkiv | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tex/context/base/math-fen.mkiv b/tex/context/base/math-fen.mkiv index 6c29a8c18..d754bd672 100644 --- a/tex/context/base/math-fen.mkiv +++ b/tex/context/base/math-fen.mkiv @@ -538,8 +538,14 @@ \newconditional\c_math_fences_auto -\unexpanded\def\enableautofences {\settrue \c_math_fences_auto} -\unexpanded\def\disableautofences{\setfalse\c_math_fences_auto} +\unexpanded\def\enableautofences + {\clf_enableautofences + \glet\clf_enableautofences\relax % onlyonce anyway + \unexpanded\gdef\enableautofences{\settrue\c_math_fences_auto}% + \enableautofences} + +\unexpanded\def\disableautofences + {\setfalse\c_math_fences_auto} \unexpanded\def\math_fences_used_left {\ifconditional\c_math_fences_auto |