On Tue, Nov 23, 2010 at 1:29 PM, luigi scarso <luigi.sca...@gmail.com> wrote: > On Tue, Nov 23, 2010 at 12:32 PM, Wolfgang Schuster > <schuster.wolfg...@googlemail.com> wrote: >> >> Am 23.11.2010 um 11:14 schrieb luigi scarso: >> >>> Hm I cannot see a solution --- perhaps a bug ? >> >> I think so and i hope this is the correct solution: >> >> \unprotect >> %setvalue{\??nh:\??mk:y:\v!page }{\resetcurrentstructuremarks} % >> strc-sec.mkiv >> \setvalue{\??nh:\??mk:y:\v!page }{} >> \protect >> >> \setuphead[part][placehead=yes,marking=page] >> >> \setupheadertexts[{\getmarking[part][first]\ – \getmarking[chapter][first]\ >> – \getmarking[section][first]}] >> >> \starttext >> >> \dorecurse{2} >> {\part{Part #1} >> \dorecurse{2} >> {\chapter{Chapter #1-##1} >> \section{Section #1-##1}}} >> >> \stoptext > It's ok with the example, but > I've another test that is still wrong, but it's too much long -- I > must simplify it. No, my example was wrong. The patch seems to work ok .
-- 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 ___________________________________________________________________________________