On Thu, Mar 10, 2011 at 3:59 PM, Wolfgang Schuster
Am 10.03.2011 um 15:55 schrieb Steffen Wolfrum:
Isn't there a command that gets the number that belongs to the text of "\getmarking[section]"
\getmarking[sectionnumber] % partnumber, chapternumber etc.
Wolfgang
Right: this works ok. \showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] %\def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[section][first]}%[EbeneEins]} %\def\HeadR{\headnumber[section]\enskip\getmarking[section][first]} \def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[EbeneEins]} \def\HeadR{\getmarking[sectionnumber]\enskip\getmarking[section]} \setupheadertexts [\vtop{\startalignment[center]\HeadR\stopalignment}] [pagenumber] [pagenumber] [\vtop{\startalignment[center]\HeadL\stopalignment}] \starttext \chapter{X} \section{One} \page x \page \dorecurse{5}{\input ward \par} \dorecurse{2}{\input tufte \par} \section{Two} \dorecurse{11}{\input ward \par} \stoptext -- luigi