[NTG-context] \version[temporary] fatal error

2023-07-23 Thread Jacob Kauffmann via ntg-context
}:\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

Re: [NTG-context] \startcomponent, \startproduct... + automatic file name

2012-08-09 Thread Wolfgang Schuster
, \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 the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] \startcomponent, \startproduct... + automatic file name

2012-08-09 Thread Sietse Brouwer
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. Cheers, Sietse

Re: [NTG-context] debugging

2008-11-14 Thread Aditya Mahajan
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 Aditya

Re: [NTG-context] Typesetting products and components

2005-02-15 Thread Hans Hagen
=\plusone \expandafter\stoptext \else \decrement\filelevel\relax \expandafter\endinput \fi} \def\startproject #1 % {\donextlevel\v!project\currentproject \donotexecutefile\doexecutefileonce \doexecutefileonce\doexecutefile#1\\} \def\startproduct #1