Patrick Gundlach wrote:
Hello Thomas,
I'm looking for a comand to insert the current filename and or path like inserting the current date with \currentdate. Any help?
Well, I don't think you can do this. You can only get the name of the main TeX file by using \jobname, but thats all. (Hopefully I didn't miss some secret.) Different approach: put some info in your file with a macro like \define\thisfile{/path/to/test.tex}. Or you can put some RCS information in your file for example.
of course you missed a few secret: \inputfilename \outputfilename \jobfilesuffix don't look at the code, some catcode mess is involved Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------