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 \section{Function Notation} \dorecurse{10}{\input knuth par} \answers{Answers} \dorecurse{10}{\input knuth par} \stoptext
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] \setuppagenumbering[alternative=doublesided] \starttext \startbodymatter \chapter{Functions} \input knuth \section{Function Notation} \dorecurse{10}{\input knuth par} \answers{Answers} \dorecurse{10}{\input knuth par} \stopbodymatter \stoptext On Jan 7, 2007, at 9:50 PM, David Arnold wrote:
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
\section{Function Notation}
\dorecurse{10}{\input knuth par}
\answers{Answers}
\dorecurse{10}{\input knuth par}
\stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
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] and/or the page command \page[left,empty] and such
\setupwhitespace[medium] \setupindenting[medium,yes]
\definehead[answers][section] \setuphead[answers][page=right]
\setuppagenumbering[alternative=doublesided]
\starttext
\startbodymatter
\chapter{Functions}
\input knuth
\section{Function Notation}
\dorecurse{10}{\input knuth par}
\answers{Answers}
\dorecurse{10}{\input knuth par}
\stopbodymatter
\stoptext
On Jan 7, 2007, at 9:50 PM, David Arnold wrote:
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
\section{Function Notation}
\dorecurse{10}{\input knuth par}
\answers{Answers}
\dorecurse{10}{\input knuth par}
\stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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] \starttext \startbodymatter \chapter{Functions} \input knuth \section{Function Notation} \dorecurse{10}{\input knuth par} \answers{Answers} \dorecurse{10}{\input knuth par} \stopbodymatter \stoptext
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
\chapter{Functions}
\input knuth
\section{Function Notation}
\dorecurse{10}{\input knuth par}
\answers{Answers}
\dorecurse{10}{\input knuth par}
\stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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, 6, and 7. However, the 8th page is completely blank. There is no pagenumber at the top of the page. My question is: Why not? Why isn't there a pagenumber on the 8th page? And what should I do to get one? \setupwhitespace[medium] \setupindenting[medium,yes] \definehead[answers][section] \setuphead[answers][page=right] \setuppagenumbering[alternative=doublesided] \starttext \chapter{Functions} \input knuth \section{Function Notation} \dorecurse{10}{\input knuth \par} \answers{Answers} \dorecurse{10}{\input knuth \par} \stoptext On Jan 8, 2007, at 1:27 AM, Hans Hagen wrote:
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
\chapter{Functions}
\input knuth
\section{Function Notation}
\dorecurse{10}{\input knuth par}
\answers{Answers}
\dorecurse{10}{\input knuth par}
\stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (2)
-
David Arnold
-
Hans Hagen