Hi Pablo, never mind! Dealing with date calculations is a tedious job. Calculating the easter date as provided by Thomas is a clean way, however I do not know where the algorithm comes from. — What i used in my module is a translation of a BASIC-programme, developed by Ron Mallen, Australia, in 1985. The code represents a direct translation of the formerly used tables for this purpose. Mallen’s method claims to be 100% accurate… The easter calculation is a function in my module which is only depending on the year, so you could easily pull it out and use it independently from the module. I hope you will succeed managing your calendars in due time :-) Kind regards Willi
On 17 Dec 2024, at 22:04, Pablo Rodriguez via ntg-context
wrote: On 12/17/24 17:09, Henning Hraban Ramm wrote:
Am 17.12.24 um 16:44 schrieb Pablo Rodriguez via ntg-context:
It would be great (as per https://texample.net/tikz/examples/birthday-calendar/) to have automatic Easter calculation.
I guess Lua code would be easier to write, but I cannot get how each Easter Sunday may be computed.
Hi Pablo, you didn’t follow my suggested links.
Sorry, Hraban, I followed the only link I got in my message.
What I completetely overlooked was that there were two more articles by Willi about PocketDiary.
I thought the first article was the module presentation for the new version.
I had mistakenly thought that that first article was all it was about that.
Apologies for my hurried reading (also to Willi),
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 ___________________________________________________________________________________