Am 2018-02-20 um 12:30 schrieb Henning Hraban Ramm <[email protected]>:
> Hello again,
>
> in my current magazine layout I’m abusing the part structure as a rubric,
> i.e. the part title shows up only in the header and in the ToC.
> That works nicely so far, but I must show the rubric header only on the first
> page of a chapter (article).
>
> Which approach would you suggest?
> In my experience, it’s hard to find the right place for \setupheader(texts)
> so that it affects the right page(s).
I tried something like:
\def\SetPart{%
\setlayerframed[background]%
[y=10mm,x=20mm,]%
{\getmarking[part]}
}
\setuphead[chapter][after={\SetPart}]
But I always get the name of the previous part. :(
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________