[NTG-context] show header text only on first page of chapter

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Feb 20 17:17:08 CET 2018


\definetext[henning][header][chapter]

\setuphead[chapter][header=henning]

\starttext

\dorecurse{5}
   {\expanded{\chapter{Kapitel \recurselevel}}
    \dorecurse{10}{\input{lorem}\par}}

\stoptext

Wolfgang

> Henning Hraban Ramm <mailto:texml at fiee.net>
> 20. Februar 2018 um 15:30
>
> 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 : ntg-context at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180220/3ba9b8b1/attachment.html>


More information about the ntg-context mailing list