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

Florian Wobbe Florian.Wobbe at awi.de
Thu Mar 24 18:59:08 CET 2011

>> How would you automatically find out the filename which the macro is called from? For instance if the file with the macro is included in a master document.
> \inputfilename
> So, if you want the name of the file in which this macro is defined in, then something like this should work:
> \edef\thisfilename{\inputfilename}
> \def.....{...."\thisfilename.tex", ...}

Thanks, nice! I suppose the filename is also directly reachable from inside \startluacode ... \stopluacode. How?


More information about the ntg-context mailing list