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

2018-02-20 Thread Henning Hraban Ramm
Thank you, but I don’t know how to use that in my setup.
Since my rubric has to be in a defined place and I didn’t manage to achieve 
that with header setups, I used \setlayer with \getmarking[part]

Would that defined text behave differently than the part "marker"? And how do I 
get at that?

Since I must complete that damned layout tonight, I’ll resolve to setting the 
rubric manually. :(

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

Am 2018-02-20 um 17:56 schrieb Wolfgang Schuster :

> 
>> Henning Hraban Ramm 20. Februar 2018 um 17:35
>> Hi Wolfgang,
>> thank you very much - does that mean it’s not possible to use the part title?
> 
> \definetext[henning][header][part]
> 
> \setuphead[part][placehead=empty]
> 
> \setuphead[chapter][header=henning]
> 
> \starttext
> 
> \dorecurse{3}
>   {\expanded{\part{Rubrik \recurselevel}}
>\dorecurse{5}
>  {\expanded{\chapter{Kapitel \recurselevel}}
>   \dorecurse{10}{\input{lorem}\par}}}
> 
> \stoptext
> 
> Wolfgang
> ___
> 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
> ___

___
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
___

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

2018-02-20 Thread Wolfgang Schuster



Henning Hraban Ramm 
20. Februar 2018 um 17:35
Hi Wolfgang,
thank you very much - does that mean it’s not possible to use the part 
title?


\definetext[henning][header][part]

\setuphead[part][placehead=empty]

\setuphead[chapter][header=henning]

\starttext

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

\stoptext

Wolfgang
___
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
___

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

2018-02-20 Thread Henning Hraban Ramm
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 :

> \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@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@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@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
___

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

2018-02-20 Thread Wolfgang Schuster

\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@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@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
___

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

2018-02-20 Thread Henning Hraban Ramm
Am 2018-02-20 um 12:30 schrieb Henning Hraban Ramm :

> 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 : 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
___