}:\space \currentdate \quad \donefalse \ifcstok \currentproject
\currentproduct \ifcstok \currentproduct \currentcomponent \donetrue \fi
\fi \ifdone \donefalse \else \ifempty \
\page_info_add_to_box
#1->\scratchdimen \wd #1\setbox \b_page_versions \vpack to \ht #1{\vfill
\settexthoff
Wolfgang wrote:
> You can use \currentcomponent, \currentproduct and \currentproject to print
> the name of the file.
Another secret unearthed! All wikified, together with \processedfile
and \processedfiles. Sans examples, but at least the info's there.
Thank you, Wolfgang.
Che
commands
> and not \input.
You can use \currentcomponent, \currentproduct and \currentproject to print the
name of the file.
Wolfgang
___
If your question is of interest to others as well, please add an entry to
On Fri, 14 Nov 2008, Alan STONE wrote:
> Another debugging question: how do you return the filename of the file being
> compiled ?
\jobname
There is also
\currentproject
\currentproduct
\currentenvironment
\currentcomponent
level=\plusone
\expandafter\stoptext
\else
\decrement\filelevel\relax
\expandafter\endinput
\fi}
\def\startproject #1 %
{\donextlevel\v!project\currentproject
\donotexecutefile\doexecutefileonce
\doexecutefileonce\doexecutefile#1\\}
\def\startprodu