Hi, Humble, I thought that your layout kan be setup with \setupheadertexts[location][left text][right text][left .][right .] \setupoutput[pdftex] \usetypescript[palatino][texnansi] \setupbodyfont[palatino,rm,12pt] \setuppagenumbering[alternative=doublesided, location={header,marginedge}] \setupheadertexts [section][{\headnumber[section]}][chapter][{\headnumber[chapter]}] %leftpage: [pagenumber] [chapter title] (chap. [chapter number]) %rightpage: [section title] (sec. [section number]) [pagenumber] \starttext \chapter{Cheese} \section{Parmiggiano Reggiano} \blank[15cm] \section{Grana Padano} \blank[15cm] \section{Gruy\`ere} \blank[15cm] \section{Tilsiter} \blank[15cm] \section{Appenzeller} \chapter{Wine} \section{Cabernet Sauvignon} \blank[15cm] \section{Pinot noir} \blank[15cm] \section{M\"uller-Thurgau} \blank[15cm] \section{Chasselat} \stoptext Willi Michal Kvasnicka wrote:
Good evening.
Is there some command simmilar to \headnumber[section] that would tell me the name of the current chapter/section/...?
I want to have the headertext on the left like this: [pagenumber] [chapter title] (chap. [chapter number]) and on the right side like this: [section title] (sec. [section number]) [pagenumber] where [x] is value of x, e.g. [pagenumber] is the number of the current page.
How can I do it?
Many thanks Michal Kvasnicka
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context