From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90176 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Disappearing backgrounds/pagenumbers with \page[none] Date: Mon, 9 Feb 2015 12:12:05 -0500 (EST) Message-ID: References: <54D86E0D.1080007@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-2017687099-1423501926=:733" X-Trace: ger.gmane.org 1423501980 12980 80.91.229.3 (9 Feb 2015 17:13:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 17:13:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 09 18:12:58 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 1YKrtK-0007xo-7J for gctc-ntg-context-518@m.gmane.org; Mon, 09 Feb 2015 18:12:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 973A010218 for ; Mon, 9 Feb 2015 18:12:57 +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 gq5UKBe_DmPT for ; Mon, 9 Feb 2015 18:12:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3B23C10231 for ; Mon, 9 Feb 2015 18:12:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36D8B101EA for ; Mon, 9 Feb 2015 18:12:17 +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 J4cmVLchBhkC for ; Mon, 9 Feb 2015 18:12:15 +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 E3BF1101E6 for ; Mon, 9 Feb 2015 18:12:12 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t19HC6CU012554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2015 18:12:09 +0100 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hellskitchen.mr.itd.umich.edu ID 54D8EA66.AA017.16189 ; Authuser adityam; 9 Feb 2015 12:12:06 EST In-Reply-To: <54D86E0D.1080007@wxs.nl> User-Agent: Alpine 2.03 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=Michigan; city=Ann Arbor; latitude=42.3241; longitude=-83.7113; http://maps.google.com/maps?q=42.3241,-83.7113&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NOhc7ry - cba6f00bb43f - 20150209 (trained as not-spam) Received-SPF: none (filter1-utr.mf.surf.net: domain of adityam@umich.edu does not designate permitted sender hosts) receiver=filter1-utr.mf.surf.net; client-ip=141.211.14.82; envelope-from=; helo=hellskitchen.mr.itd.umich.edu; 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:90176 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-2017687099-1423501926=:733 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 9 Feb 2015, Hans Hagen wrote: > On 2/9/2015 12:19 AM, Wolfgang Schuster wrote: >> >>> Am 09.02.2015 um 00:10 schrieb Wolfgang Schuster >>> >: >>> >>> 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] >>>=20 > http://tex.stackexchange.com/questions/225603/missing-page-numbers-first-= chapter-only-context >> >> BTW: Shouldn=E2=80=99t the following assignment in page-ini.miv be globa= l? >> >> \appendtoks >> \ifcase\pageornamentstate \or >> \pageornamentstate\zerocount >> \fi >> \to \everyaftershipout > > sure Not sure if this completely fixes the problem. For example: \definepagebreak [chapterpagebreak] [yes, blank, right] \setuphead [chapter] [page=3Dchapterpagebreak] \showframe \starttext \startchapter [title=3D{First Chapter Title}] \dorecurse{6}{\input knuth \par} \stopchapter \startchapter [title=3D{Second Chapter Title}] \dorecurse{6}{\input knuth \par} \stopchapter \stoptext There is no page number on the first page of the first chapter, but there= =20 is one on the first page of the second chapter. Aditya --8323328-2017687099-1423501926=:733 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= --8323328-2017687099-1423501926=:733--