15 Oct
2010
15 Oct
'10
3:37 p.m.
On Fri, Oct 15 2010, Cedric Mauclair wrote:
Any ideas?
Test file: \def\mydate{\doifnextcharelse\space\domydate\domydate } \def\domydate #1/#2/#3{\date[d=#1,m=#2,y=#3][weekday,day+,month,year]} \starttext \mydate 2/1/2011 \par % token #3 = 2 \mydate 2/1/2 \par % token #3 = 2 \mydate 2/1/{2011} \par % token #3 = 2011 \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/