On 04/01/2017 10:33 AM, Pablo Rodriguez wrote:
> Dear list,
> 
> as Hraban already reported, there might be a bug in:
> 
>     \setupheadertexts[section][chapter][part][section]
> 
>     \starttext
>     \dorecurse{10}{\part{Part}
>         \chapter{Chapter}
>         \dorecurse{5}{\section{Section}\page}}
>     \stoptext

Replying to myself (and to Hraban). This solves the issue:

    \setuphead[part][placehead=yes]
    \setupheadertexts[section][chapter][part][section]

    \starttext
    \dorecurse{10}{\part{Part}
        \chapter{Chapter}
        \dorecurse{5}{\section{Section}\page}}
    \stoptext

From https://mailman.ntg.nl/pipermail/ntg-context/2017/088407.html, the
following line has a wrong invocation:

  \setupheadertexts[][\getmarking{chapter}][\getmarking{part}][]

It should read (I just discovered it):

  \setupheadertexts[][{\getmarking[chapter]}][{\getmarking[part]}][]

I hope it helps Hraban. And sorry for the noise,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to