[NTG-context] \setupheadertexts \setupfootertexts

Hans Hagen j.hagen at xs4all.nl
Sat Aug 3 00:46:37 CEST 2019


On 8/2/2019 11:36 PM, Wolfgang Schuster wrote:
> Hans Hagen schrieb am 02.08.2019 um 23:10:
>> On 8/2/2019 10:26 PM, Alan Braslau wrote:
>>
>>> \setupheader [lefttext=,leftoddtext=,middletext=,...]
>>>
>>> This would be logical.
>> we have a lot or areas ... and if you really want you can do this ...
>>
>> \setuplayouttext
>>   [header][text]
>>   [lefttext=L,
>>    middletext=M,
>>    righttext=\doifoddpageelse{RO}{RE}]
>>
>> \setuplayouttext
>>   [footer][text]
>>   [lefttext=L,
>>    middletext=M,
>>    righttext=\doifoddpageelse{RO}{RE}]
>>
>> \setuppagenumbering
>>   [alternative=doublesided]
>>
>> \starttext
>>    test \page test \page test
>> \stoptext
>>
>> Has been there for ages ... (but I never use that method).
> I has the same question a few years ago but I never used it
> because it has a few limitations like missing style/color support.
> 
> \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R]
> 
> %\setupheadertexts[M]
> %\setupheadertexts[L][R]
> 
> \setupheader
>    [color=red,style=bold]
> 
> \setuppagenumbering
>    [alternative=doublesided]
> 
> \starttext
> \dorecurse{2}{\page[dummy]}
> \stoptext
I can look into that but only when there is no speed penalty

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list