Thanks, Wolfgang. This does solve the problem but is not so good for a chapter in a book, where headers with pagenumbers are the norm. So, is there a solution that prints the correct page number? Alan On Sun, Feb 28, 2016 at 4:01 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Alan Bowen
28. Februar 2016 um 20:27 To prevent empty pages in a double-sided page environment, I have been using \setuppagenumbering[page=]. This does not work as it should, however, when there is no body text but only a continuing footnote on the last page. Then, though there are still no empty pages, the pagenumber on the last page is the same as that on the preceding page.
Consider \setuppagenumbering[alternative=doublesided] \setuppagenumbering[page=]
\starttext \dorecurse{3}{\input knuth}\footnote{\dorecurse{3}{\input knuth}} %\input knuth \stoptext
with and without the line currently commented out.
You can add the following lines at the begin of your document.
\appendtoks \noheaderandfooterlines \to \everystoptext
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________