On Mon, Nov 22, 2010 at 3:47 PM, luigi scarso <luigi.sca...@gmail.com> wrote: > 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 Hm I cannot see a solution --- perhaps a bug ?
-- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________