![](https://secure.gravatar.com/avatar/e1d6b7d0f096cb8cf44273fa33fb05f0.jpg?s=120&d=mm&r=g)
20 Jan
2013
20 Jan
'13
4:57 a.m.
Hi Gerben,
···
how do I get the filename (full path not needed) in the footer of my document? I want it there while writing the book and remove it in the final stages. I am using MKII (TeXLive 2011 still)
if the name of the main file suffices, then the TeX command \jobname is what you are looking for. ······································································· \setuppagenumbering[location=] \setupfootertexts[pagenumber][{\jobname.tex}] \starttext \dorecurse{5}{\input knuth\page} \stoptext ······································································· Regards Philipp