According to the description of \page in the contextgarden: "header - set header off temporarily" But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext This one does not honour the new page but typesets everything on page 1: \starttext \input knuth \page[header] \input knuth \stoptext As that as intended? Hans van der Meer
On 5/22/2016 2:32 PM, Meer, Hans van der wrote:
According to the description of \page in the contextgarden: "header - set header off temporarily"
But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext
This one does not honour the new page but typesets everything on page 1: \starttext \input knuth \page[header] \input knuth \stoptext
As that as intended?
yes, it just changes a state, but you can use \page[header,yes]
Hans van der Meer
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 22 May 2016, at 16:32, Hans Hagen
wrote: On 5/22/2016 2:32 PM, Meer, Hans van der wrote:
According to the description of \page in the contextgarden: "header - set header off temporarily"
But although this gives two pages numbered 1 and 2: \starttext \input knuth \page \input knuth \stoptext
This one does not honour the new page but typesets everything on page 1: \starttext \input knuth \page[header] \input knuth \stoptext
Is that as intended?
yes, it just changes a state, but you can use \page[header,yes]
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. Hans van der Meer
Meer, Hans van der mailto:H.vanderMeer@uva.nl 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. \setuppagenumbering[alternative=doublesided] \setuphead[chapter][page={yes,header,right}] \starttext \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang
On 22 May 2016, at 17:44, Wolfgang Schuster
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
participants (3)
-
Hans Hagen
-
Meer, Hans van der
-
Wolfgang Schuster