Am 22.03.10 12:58, schrieb luigi scarso:
\showframe \setuppagenumbering[alternative=doublesided,location=footer]
\startsetups Header:Left \vbox to \headerheight{\vss \ruledhbox{\centerline{ \getmarking[chapter][first] }} \vss} \stopsetups
\startsetups Header:Right \vbox to \headerheight{\vss \ruledhbox{\centerline{ \getmarking[chapter][first] }} \vss} \stopsetups
\setupheadertexts[\setups{Header:Left}][][\setups{Header:Right}][]
\starttext \dorecurse{4}{\chapter{ch \recurselevel} \section{sec \recurselevel}\page} \stoptext
You can replace the nested boxes with framedtext \showframe \setuppagenumbering[alternative=doublesided,location=footer] \startsetups header:left \startframedtext[frame=off,width=\hsize,height=\vsize,align={middle,middle}] \getmarking[chapter][first] \stopframedtext \stopsetups \startsetups header:right \startframedtext[frame=off,width=\hsize,height=\vsize,align={middle,middle}] \getmarking[chapter][first] \stopframedtext \stopsetups \setupheadertexts[\doifoddpageelse{\setups[header:right]}{\setups[header:left]}] \starttext \dorecurse{4}{\chapter{Chapter #1}\section{Section #1}} \stoptext Wolfgang