[NTG-context] \page[header]

Meer, Hans van der H.vanderMeer at uva.nl
Sun May 22 17:54:00 CEST 2016


> On 22 May 2016, at 17:44, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:
> 
>> Meer, Hans van der 22. Mai 2016 um 17:40
>> 
>> It is not clear as yet.
>> \starttext
>> \input knuth
>> \page[header,yes]
>> \input knuth
>> \page[header,yes]
>> \input knuth
>> \stoptext
>> Here I get three pages, the first two without the last with header. That I understand.
>> 
>> \starttext
>> \input knuth
>> \page[header]
>> \page
>> \input knuth
>> \stoptext
>> Both pages keep their header.
>> 
>> \starttext
>> \input knuth
>> \page
>> \page[header]
>> \input knuth
>> \stoptext
>> Both pages keep their header.
>> 
>> Should I conclude that the state change occurs if and onlyif when in the same macrocall a real pagebreak is realize?
>> Because otherwise I do not observe a state change.
> Change the order of the keywords (yes before header).
> 
> The header and footer keywords can be used when you want to hide header and footer texts
> on empty left pages before a chapter etc. in a doublesided document.

That is clear to me. But my question was: why do neither \page\page[header] nor \page[header]\page make any difference unless in these cases \page[haeder] is effectively a noop.

> 
> \setuppagenumbering[alternative=doublesided]
> \setuphead[chapter][page={yes,header,right}]
> \starttext
> \chapter{First chapter}
> \chapter{Second chapter}
> \stoptext
> 
> Wolfgang


Hans van der Meer






More information about the ntg-context mailing list