When naming these macros I would recommend to not use abbreviations like \jday, \jdate but rather using more explicite names like for example \jalaliday. Otherwise confusion with \jdate as a date in the Julian calendar easily could result. Hans van der Meer
On 07 Jul 2016, at 23:28, Hans Hagen
wrote: On 7/7/2016 2:40 PM, Mohammad Hossein Bateni wrote:
While you're at it, could you also add something like jday, jmonth, jmm, jyear, etc. to use the Jalali calendar instead of the Gregorian? I see that the—commented—conversion code exists in core-con.lua. I am willing to provide test cases for the conversion.
sure.
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________