From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93913 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: problem with page number on last page Date: Sun, 28 Feb 2016 22:01:00 +0100 Message-ID: <56D3600C.8040400@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5922501204517313178==" X-Trace: ger.gmane.org 1456693316 8873 80.91.229.3 (28 Feb 2016 21:01:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 21:01:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 28 22:01:44 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aa8TI-000863-11 for gctc-ntg-context-518@m.gmane.org; Sun, 28 Feb 2016 22:01:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 814EA7634; Sun, 28 Feb 2016 22:01:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fiMfXvkHsex4; Sun, 28 Feb 2016 22:01:14 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A4EC4762C; Sun, 28 Feb 2016 22:01:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C1BE6762C for ; Sun, 28 Feb 2016 22:01:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id caVcvkulijK1 for ; Sun, 28 Feb 2016 22:01:13 +0100 (CET) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3D88F762B for ; Sun, 28 Feb 2016 22:01:03 +0100 (CET) Original-Received: by mail-wm0-f44.google.com with SMTP id p65so22191422wmp.0 for ; Sun, 28 Feb 2016 13:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=t9a/rtMR8v/zITyEZN71ol0ndQ7ZdWFU3CbZQGQueUw=; b=iicEs2U7V/rBlDLrHQOpFYre4BxR8jbAglniXYWM2+kcBwhPh4xAsdDeXBbyrx/DUK i6BRWyw+s5hg6PNlvco7hqgsbzzQdXBfiOZLealXUncKxOlrh6mtw0gRJ25hbSrI+YmK 1oxlBCACwGDrL7Izb2MRXOGe0wnhXx2ZXL4t3EF27vdVtWChz8r+JZHQBqqUISfURg/8 xgFCYafdOyNcRlthcKBh/xtphv47X3ilYiDcxUzVYYHSteE51pC+nqkZ5s1TznKewNF8 4XCx0vsOZ3k/p5TcxKuvFtkD4+7vtU0eVNrzVFlHXiJ4jMkb/sTIZRv5LAiDeKbPdypW RGKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=t9a/rtMR8v/zITyEZN71ol0ndQ7ZdWFU3CbZQGQueUw=; b=KbsnxtsPdR7bpgsyK0y+S7fzQqBhex4LyearNfR6a7i7brSgl2EE/HowHvj2ensJ0/ LHgk7v5CB2NVF4gGc0FBL/BSGzKI1P5u7RuheGbBlqJ4GtD9XFnG9VuCLoziTdcI+1U2 979+F4JOeTwPod6/fdY8w97XxUmhJ4Y0TSF0ttdoUYwWx0BvV+vRPmU8I+x/ftLLqfqy ii5aLobx2JyfikfD61hAL4+uRnpVT2pBGL2/sLf9ArOrGDPR4A1/DHALouCjBlG1bMv/ a9O0Jrtu61CC9svbenlVL/E95Stj7WTmOI4Os1kLFzo/6li0O9g3y2scgiDAC97+W0Ab sQ4g== X-Gm-Message-State: AD7BkJJmojVFMuAFVKt3pqq/4KxmuYdMz7EOxasbGq79ee22NkHkXgQRoBfIisPjc1CAZQ== X-Received: by 10.28.4.210 with SMTP id 201mr1222270wme.51.1456693262843; Sun, 28 Feb 2016 13:01:02 -0800 (PST) Original-Received: from keima.localdomain (x2f278d0.dyn.telefonica.de. [2.242.120.208]) by smtp.gmail.com with ESMTPSA id di1sm22622962wjc.3.2016.02.28.13.01.01 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Feb 2016 13:01:02 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93913 Archived-At: This is a multi-part message in MIME format. --===============5922501204517313178== Content-Type: multipart/alternative; boundary="------------010504050302080805050002" This is a multi-part message in MIME format. --------------010504050302080805050002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > 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 --------------010504050302080805050002 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
28= .=20 Februar 2016 um 20:27
T= o=20 prevent empty pages in a double-sided page environment, I have been=20 using
\setuppagenumbering[= page=3D].=C2=A0

This does= =20 not work as it should, however, when there is no body text but only a=20 continuing footnote on the last page. Then, though there are still no=20 empty pages, the pagenumber on the last page is the same as that on the=20 preceding page. =C2=A0

Consider
\setuppagenumbering[alternative=3Ddoublesided]
\setuppagenumbering[page=3D]

\starttext=
\dorecurse{3}{\input=20 knuth}\footnote{\dorecurse{3}{\input knuth}}
%\input knuth
\= stoptext

with and=20 without the line currently commented out.
You can add the following lines at the begin of your document.

\appendtoks
=C2=A0 \noheaderandfooterlines
\to \everystoptext

Wolfgang
--------------010504050302080805050002-- --===============5922501204517313178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============5922501204517313178==--