23 Nov
2010
23 Nov
'10
1:29 p.m.
On Tue, Nov 23, 2010 at 12:32 PM, Wolfgang Schuster
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. -- luigi