On 12/16/24 21:30, vm via ntg-context wrote: > On 16/12/2024 21:03, Pablo Rodriguez via ntg-context wrote: >> Besides, I think \normalday could be way more useful if it could >> increment the whole date, not only the day number. > > does this help? > > https://www.lua.org/pil/22.1.html
I’m afraid not, because I wonder how to typeset a whole year with that os.date() and os.time() functions. I mean, a huge xtable that contains 12 months, with a variable number of weeks and days each, placing each day number in weeks from Monday to Sunday. I cannot even get a header with the correct year number (although I know how to invoke that, I get 2028 instead of 2024 [probably because of for-loops]). It seems that it is too complex for me (and I have already invested two afternoons in this). For some reason, not meant to be in my case, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________