On 24-3-2011 6:30, Marco wrote:
On 2011-03-24 Cecil Westerhof<[email protected]>  wrote:

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

or

\cldcontext{modification_date("\jobname.tex", "#1")}

but ... is it clever to define modification_date in the global lua table? just calling lfs.attributes is just as efficient

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to