Hi Gerben,

···<date: 2013-01-20, Sunday>···<from: Gerben Wierda>···

> 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


Attachment: pgpX2KnOO35O1.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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