On Mon, Mar 22, 2010 at 5:02 PM, Wolfgang Schuster
\starttext
\dorecurse{4}{\chapter{#1 Chapter}\section{Section}}
\dorecurse{4}{\expanded{\chapter{\recurselevel{} Chapter}}\section{Section}}
\stoptext
Wolfgang
aha, now I've seen :'ve put them inside my first \direcurse{4}{%.. BTW mkii and miv are different here. %%%%%%% \showframe \setuppagenumbering[alternative=doublesided,location=footer] \startsetups Header:Left \vbox to \headerheight{\vss \ruledhbox{\centerline{\strut Header:Left \getmarking[chapter][first]}} \vss} \stopsetups \startsetups Header:Right \vbox to \headerheight{\vss \ruledhbox{\centerline{\strut Header:Right \getmarking[chapter][last]}} \vss} \stopsetups \setupheadertexts[\setups{Header:Left}][][][\setups{Header:Right}] \starttext \dorecurse{4}{% \expandafter\chapter\expandafter{\recurselevel{}Chapter } \section{Section} } \dorecurse{4}{\chapter{#1 Chapter}\section{Section}} \dorecurse{4}{\expanded{\chapter{ Chapter (\recurselevel)}}\section{Section}} \stoptext
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- luigi