Re: [NTG-context] Last page number

2007-01-08 Thread Hans Hagen
David Arnold wrote: All, How can I get the last page to have a page number in this example? \lastpage \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided] \starttext

Re: [NTG-context] Last page number

2007-01-08 Thread Hans Hagen
David Arnold wrote: All, And why does this one have page numbers on all pages? And why does it end on an odd page? What's the difference from my first example? doublesided by default makes an even number of pages you can control header things with explicit \setupheader[state=empty]

Re: [NTG-context] Last page number

2007-01-08 Thread David Arnold
Hans, I think you may have misinterpreted my question. It seems \lastpage holds the pagenumber for the last page. I think. If so, that's not what I am looking for. The following code outputs eight pages. The first seven pages have a pagenumber at the top of the page, i.e., 1, 2, 3, 4, 5,

Re: [NTG-context] Last page number

2007-01-08 Thread David Arnold
Hans, That's what I thought, but this code produces 9 pages. How come? doublesided by default makes an even number of pages \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided]

[NTG-context] Last page number

2007-01-07 Thread David Arnold
All, How can I get the last page to have a page number in this example? \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided] \starttext \chapter{Functions} \input knuth

Re: [NTG-context] Last page number

2007-01-07 Thread David Arnold
All, And why does this one have page numbers on all pages? And why does it end on an odd page? What's the difference from my first example? \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right]