[NTG-context] Use date of the tex file in the document

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Mar 24 17:33:00 CET 2011


Am 24.03.2011 um 17:29 schrieb Cecil Westerhof:

> \def\getdate%
>  {\dosinglegroupempty\dogetdate}
> 
> \def\dogetdate#1%
>   {context{modification_date("\jobname.tex", "#1")}}

\def\getdate
  {\dosingleempty\dogetdate}

\def\dogetdate[#1]%
  {\ctalua{context(modification_date("\jobname.tex", "#1"))}}

Wolfgang



More information about the ntg-context mailing list