Hi Hans,

you pass the wrong argument (#1 instead of #2) to the Lua function for the \date command.


\def\syst_converters_date[#1][#2]%
  {\dontleavehmode
   \begingroup
   \scratchcounterone  \normalyear
   \scratchcountertwo  \normalmonth
   \scratchcounterthree\normalday
   \iffirstargument
     \letdummyparameter\c!y\empty
     \letdummyparameter\c!m\empty
     \letdummyparameter\c!d\empty
     \getdummyparameters[#1]%
\edef\temp{\dummyparameter\c!y}\ifx\temp\empty\else\scratchcounterone \temp\fi \edef\temp{\dummyparameter\c!m}\ifx\temp\empty\else\scratchcountertwo \temp\fi
\edef\temp{\dummyparameter\c!d}\ifx\temp\empty\else\scratchcounterthree\temp\fi
     \relax
   \fi
   \the\everycurrentdate
   \clf_currentdate
-    {#1}{\currentdatespecification}{\labellanguage}%
+    {#2}{\currentdatespecification}{\labellanguage}%
     \scratchcounterone\scratchcountertwo\scratchcounterthree
   \endgroup}


Wolfgang

_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to