From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90166 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Disappearing backgrounds/pagenumbers with \page[none] Date: Mon, 9 Feb 2015 00:10:56 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/mixed; boundary="===============0304870381==" X-Trace: ger.gmane.org 1423437094 9055 80.91.229.3 (8 Feb 2015 23:11:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2015 23:11:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 09 00:11:32 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YKb0m-0006nu-C1 for gctc-ntg-context-518@m.gmane.org; Mon, 09 Feb 2015 00:11:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 637C5101FE for ; Mon, 9 Feb 2015 00:11:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HQzMPNFc7G_Z for ; Mon, 9 Feb 2015 00:11:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B3C2310234 for ; Mon, 9 Feb 2015 00:11:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85C73101FD for ; Mon, 9 Feb 2015 00:11:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27G_wygGqPPq for ; Mon, 9 Feb 2015 00:11:00 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 34DCD101FB for ; Mon, 9 Feb 2015 00:11:00 +0100 (CET) Original-Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t18NAuCQ013609 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 9 Feb 2015 00:10:57 +0100 Original-Received: by mail-wg0-f44.google.com with SMTP id z12so23478597wgg.3 for ; Sun, 08 Feb 2015 15:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=QcAGBLQmzveIgDDD6lzLDmt8ES3A/SgnkzMSdXuKivk=; b=Od0uSVhym0gQL8nsF8/cxxsaZrCNoeghTzYlNxy7Iovv8jVcKgxjbIx70Mc7fwksKa tPPde9p9k285Ne6kfIR6/STPtveLUdO1RpUGY5AJagaLUngkkbaCIBtOjPLQPRjrLXO/ Bj9iNvyx/a/TtQ7sPqMJ5te4ghn1Sh5crCAwVTzJHi2GYvK9tvfUx0W3MNTgx8ob8a3g SAvOiX0BeVSxPb4IGxXWrxV7fHu6cLLL+RNZCm56JN3xfoXtCkG0i1FtKxhyI+1cPsN6 kStR/zpxv+0ilRtzjDWpThZSm/lKb192Ss4Xn6kQTDZQn5X30jTEPWwLFPGRYku5R3dW n21Q== X-Received: by 10.180.79.106 with SMTP id i10mr21590002wix.35.1423437058856; Sun, 08 Feb 2015 15:10:58 -0800 (PST) Original-Received: from keima.localdomain (x2f35780.dyn.telefonica.de. [2.243.87.128]) by mx.google.com with ESMTPSA id q5sm12016121wix.0.2015.02.08.15.10.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Feb 2015 15:10:58 -0800 (PST) X-Mailer: Apple Mail (2.2070.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22c; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NNXaUpq - 6b8227d6284d - 20150209 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c00::22c as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c00::22c; envelope-from=; helo=mail-wg0-x22c.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:90166 Archived-At: --===============0304870381== Content-Type: multipart/alternative; boundary="Apple-Mail=_06EA5D7E-F8BC-415A-91EF-0F408D6503C8" --Apple-Mail=_06EA5D7E-F8BC-415A-91EF-0F408D6503C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, there was a problem on TeX SE [1] where page numbers disappear for a = whole chapter when \page[none] is used to hide the numbers on empty left = pages in a double sided document. As can be seen in the following example the page numbers and background = on the last two pages disappear when =E2=80=9Cmissing=E2=80=9D mode is = enabled. This happens when the =E2=80=9Cblank=E2=80=9D option for \page = is used without a change in the page number (we are already at page 3 = when \page[yes,blank,right] is expanded). %%%% begin example \setupbackgrounds[page][background=3Dcolor,backgroundcolor=3Dgray] %\enablemode[missing] \starttext \dorecurse{6}{\input knuth\par} % End the current page before \page[blank] is called \doifmode{missing}{\page} \page[yes,blank,right] \dorecurse{6}{\input knuth\par} \stoptext %%%% end example [1] = http://tex.stackexchange.com/questions/225603/missing-page-numbers-first-c= hapter-only-context = Wolfgang= --Apple-Mail=_06EA5D7E-F8BC-415A-91EF-0F408D6503C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi,

there = was a problem on TeX SE [1]  where page numbers disappear for a = whole chapter when \page[none] is used to hide the numbers on empty left = pages in a double sided document.

As can be seen in the following example = the page numbers and background on the last two pages disappear when = =E2=80=9Cmissing=E2=80=9D mode is enabled. This happens when the = =E2=80=9Cblank=E2=80=9D option for \page is used without a change in the = page number (we are already at page 3 when \page[yes,blank,right] is = expanded).

%%%% = begin example
\setupbackgrounds[page][background=3Dcolor,backgroundcolor=3Dgr= ay]

%\enablemode[missing]

\starttext

\dorecurse{6}{\input = knuth\par}

% = End the current page before \page[blank] is called
\doifmode{missing}{\page}

\page[yes,blank,right]

\dorecurse{6}{\input = knuth\par}

\stoptext
%%%% end = example


Wolfgang
= --Apple-Mail=_06EA5D7E-F8BC-415A-91EF-0F408D6503C8-- --===============0304870381== 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= --===============0304870381==--