summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/core-con.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-01-29 20:03:42 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-01-29 20:03:42 +0100
commitaa03d7a012fdb0a431f95b7b13ffbfea78fb43f3 (patch)
tree8adbd339dd9f02d8bea39ffc3965eb1482e8b5ab /tex/context/base/mkxl/core-con.mkxl
parent0ae14e7400b2e4a6cf76d7e185433f5f901b5592 (diff)
downloadcontext-aa03d7a012fdb0a431f95b7b13ffbfea78fb43f3.tar.gz
2021-01-29 19:44:00
Diffstat (limited to 'tex/context/base/mkxl/core-con.mkxl')
-rw-r--r--tex/context/base/mkxl/core-con.mkxl23
1 files changed, 10 insertions, 13 deletions
diff --git a/tex/context/base/mkxl/core-con.mkxl b/tex/context/base/mkxl/core-con.mkxl
index cf88a0eea..bfa8079e6 100644
--- a/tex/context/base/mkxl/core-con.mkxl
+++ b/tex/context/base/mkxl/core-con.mkxl
@@ -450,19 +450,16 @@
\endgroup}
\permanent\tolerant\protected\def\setdate[#1]% sets the date !
- {\dontleavehmode
- \ifparameter#1\or
- \begingroup
- \letdummyparameter\c!d\normalday
- \letdummyparameter\c!m\normalmonth
- \letdummyparameter\c!y\normalyear
- \getdummyparameters[#1]%
- \normalexpanded
- {\endgroup
- \normalday \number\directdummyparameter\c!d\relax
- \normalmonth\number\directdummyparameter\c!m\relax
- \normalyear \number\directdummyparameter\c!y\relax}%
- \fi}
+ {\begingroup
+ \letdummyparameter\c!d\normalday
+ \letdummyparameter\c!m\normalmonth
+ \letdummyparameter\c!y\normalyear
+ \getdummyparameters[#1]%
+ \normalexpanded
+ {\endgroup
+ \normalday \number\directdummyparameter\c!d\relax
+ \normalmonth\number\directdummyparameter\c!m\relax
+ \normalyear \number\directdummyparameter\c!y\relax}}
\permanent\tolerant\protected\def\date[#1]#*[#2]% sets the date !
{\dontleavehmode