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

Henning Hraban Ramm texml at fiee.net
Tue Feb 20 17:35:06 CET 2018


Hi Wolfgang,
thank you very much - does that mean it’s not possible to use the part title?

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

Am 2018-02-20 um 17:17 schrieb Wolfgang Schuster <schuster.wolfgang at gmail.com>:

> \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 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
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list