[NTG-context] problem with page number on last page

Alan Bowen bowenalan03 at gmail.com
Mon Feb 29 15:37:30 CET 2016


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 at gmail.com> wrote:

> Alan Bowen <bowenalan03 at gmail.com>
> 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160229/31f14a2e/attachment.html>


More information about the ntg-context mailing list