From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92558 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: suppress header-footers Date: Mon, 14 Sep 2015 20:33:23 +0200 Message-ID: <55F712F3.4060408@gmail.com> References: <6DAD94A5-A86B-44B1-BE72-3ABBA6C4AB36@uva.nl> <55F7004C.7060608@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2058627326==" X-Trace: ger.gmane.org 1442255659 14505 80.91.229.3 (14 Sep 2015 18:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 18:34:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 14 20:34:08 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 1ZbYZo-0003RF-Kj for gctc-ntg-context-518@m.gmane.org; Mon, 14 Sep 2015 20:34:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9FE811022B for ; Mon, 14 Sep 2015 20:34:03 +0200 (CEST) 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 MZjYUiKXLnoR for ; Mon, 14 Sep 2015 20:34:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1E13510231 for ; Mon, 14 Sep 2015 20:33:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2118101F6 for ; Mon, 14 Sep 2015 20:33:33 +0200 (CEST) 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 2sViA990N8jd for ; Mon, 14 Sep 2015 20:33:32 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id D7DFF101E8 for ; Mon, 14 Sep 2015 20:33:27 +0200 (CEST) Original-Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8EIXQwT017623 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Sep 2015 20:33:26 +0200 Original-Received: by wicge5 with SMTP id ge5so154607985wic.0 for ; Mon, 14 Sep 2015 11:33:26 -0700 (PDT) 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:content-type; bh=FAUW0kzJwn5LBqqJed8BIssJK0xgjguZqjdRMc6VeQU=; b=luO9rqP7SUwhP5JAeZjQ0xOMtpV7tKcBh0XzlI49qdIGsZgxRku3TzzyRR5NTgVEHA JlXvX6vIBXGcS7+vVxopaO4hkOpZ0MpbFQTNNCIS5GUxgqusUVu/2JTUWxs4jIdWY3bN AQqo0pb91uT4yWFDV83uF0kTpwPFWfGoQnDXMQ1/9VD2Hy9ujMXgtsrsVUgYN/ar4XCg I8rfYn5WbmW4ZY+Iyl1PPOCElBpdnODDgabY5L3ckI1XdP7syH/nnlRwa+zzoOyDnsFY m5SQI7WSo4JnFKkIlbdeE93V1SujxaeEScF1PO8cJpYOVocypeqG6bXYm4XRE79r6SQ4 0aRQ== X-Received: by 10.180.231.44 with SMTP id td12mr28765810wic.6.1442255606587; Mon, 14 Sep 2015 11:33:26 -0700 (PDT) Original-Received: from keima.localdomain (x2f222fe.dyn.telefonica.de. [2.242.34.254]) by smtp.googlemail.com with ESMTPSA id fx2sm15671836wib.24.2015.09.14.11.33.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Sep 2015 11:33:25 -0700 (PDT) User-Agent: Postbox 4.0.4 (Macintosh/20150825) In-Reply-To: <55F7004C.7060608@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::229; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Ph6xqN5 - fe63d97cfd03 - 20150914 Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::229 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::229; envelope-from=; helo=mail-wi0-x229.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:92558 Archived-At: This is a multi-part message in MIME format. --===============2058627326== Content-Type: multipart/alternative; boundary="------------050001050500070508040003" This is a multi-part message in MIME format. --------------050001050500070508040003 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Pablo Rodriguez > 14. September 2015 19:13 > > Hi Hans, > > \setuppagenumbering[alternative=doublesided] is the command I know to > work. > > You can add either blank or header and footer to page break option, such > as in: > > \setuppagenumbering[alternative=doublesided] > \setuphead[chapter][page={yes, header, footer, right}] > \setupheadertexts[Header] > \setupfootertexts[Footer] > \starttext > \dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines} > \stoptext > > For some strange reason (at least, unknown to me), header and footer > must be placed before right (if specified at all). I will explain it for you. When your text from the previous chapter ends on a right page the "yes" ends the page end we move to the next left page. With the "header" and "footer" keywords we disable the header and footer lines on this page. The last keyword "right" moves us from the now empty left page to the following right page. Wolfgang --------------050001050500070508040003 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
14. September 2015 19:13

Hi Hans,

\setuppagenumbering[alternative=doublesided] is the command I know to work.

You can add either blank or header and footer to page break option, such
as in:

\setuppagenumbering[alternative=doublesided]
\setuphead[chapter][page={yes, header, footer, right}]
\setupheadertexts[Header]
\setupfootertexts[Footer]
\starttext
\dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines}
\stoptext

For some strange reason (at least, unknown to me), header and footer
must be placed before right (if specified at all).
I will explain it for you.

When your text from the previous chapter ends on a right page the "yes" ends
the page end we move to the next left page. With the "header" and "footer"
keywords we disable the header and footer lines on this page. The last
keyword "right" moves us from the now empty left page to the following right page.

Wolfgang
--------------050001050500070508040003-- --===============2058627326== 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= --===============2058627326==--