With this code mkii and mkiv make differents pdf : mkiv doesn't show the header after the second \part. Perhaps \getmarking is obsolete ? \setuppagenumbering[way=bytext,partnumber=no,location={margin},alternative=doublesided] \setupcolors[state=start] \setupinteraction[state=start] \setupbodyfont[ss] \setuppapersize[A4][A4] \setuphead[part] [placehead=yes, page=right] \setuphead[chapter] [placehead=yes,page=yes,before=,after=,] \setuphead[section] [placehead=yes,page=yes,before=,after=,] \setuphead[subsection] [placehead=yes,before=,after=,] \def\ChapterId#1{\setupheadertexts[text] [{}] [{\getmarking[chapter][first]---\getmarking[section][first]}] [{\getmarking[chapter][first]---\getmarking[section][first]}] [{}]} \starttext \part{Part} \chapter{Chapter} \ChapterId{} \section{Section} foo \chapter{Chapter} \ChapterId{} \section{Section} goo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \part{Part} \chapter{Chapter} \ChapterId{} \section{Section} foo \chapter{Chapter} \ChapterId{} \section{Section} goo \stoptext -- luigi