[NTG-context] printing the current date

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Jan 27 23:48:30 CET 2021

Hans Hagen schrieb am 27.01.2021 um 22:31:
> On 1/27/2021 6:28 PM, Peter Münster wrote:
>> On Sun, Jan 10 2021, Peter Münster wrote:
>>> \currentdate% same as \date, but I would expect the day of today...
>> Should I fill a bug-report on the tracker?
>> Perhaps also for the missing space after \date[]?
> Reporting here is faster. Can (lazy me) Wolfgang confirm the issue?

1. Wrong date

The \date command has wrong/weird grouping which makes global changes 
for the day, month and year.

         \normalday  \number\directdummyparameter\c!d\relax
         \normalyear \number\directdummyparameter\c!y\relax}%

2. Missing space

When not all optional arguments are used the space after the last given 
argument is gobbled. This was normal behavior for a long time until you 
changed the code in MkIV to keep them.



a \foo [1] b

a \foo [1] [2] b



More information about the ntg-context mailing list