Re: [NTG-context] Centering a defined text frame

2009-01-26 Thread Bart C. Wise
\def\ev{ev} \def\environmentparameter#1% {\csname\ev\currentenvironment#1\endcsname} \def\defineenvironment {\dodoubleempty\dodefineenvironment} \def\dodefineenvironment[#1][#2]% {\getparameters [\ev#1] [\c!before=, \c!after=, #2]% \setvalue

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
\doexecutefile#1\\} \def\startenvironment #1 % {\donextlevel\v!environment\currentenvironment \donotexecutefile\doexecutefileonce \donotexecutefile\donotexecutefile#1\\} \protect \starttext % \startproject test % 1: \startmode[*project] project \stopmode \endgraf % 2: \startmode[*product