On 15 Jun 2024, at 22:20, Michael Guravage
wrote: Bruce,
Yes, I remember encountering this problem. The two files you need are: sun-MP.tex and moons-MP.tex. I don't recall where I found them so I've attached them below. Drop them into their respective pocketdiary directories Solar and Moonphase and run mtxrun --generate.
Your suggestion of the Day key was the first thing I tried myself. Unfortunately, it has no effect.
Thanks for thinking along.
The month table layout is hard-coded in line 515 of file t-pocketdiary.lua The code that decides in which cell to put the '1' of the first day is calculated elsewhere and not passed as a parameter. That rules out a simple fix - you'd need to add a "weekstart" or similar parameter and track/act on it in various parts of the code. — Bruce Horrocks Hampshire, UK