From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94961 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \page[header] Date: Sun, 22 May 2016 17:44:39 +0200 Message-ID: <5741D3E7.9050100@gmail.com> References: <46CE28D8-5756-4DA7-A450-EE4F9AA2D15E@uva.nl> <9E9EA0DA-524F-41B9-B026-8026533AA1E3@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1488054544481241473==" X-Trace: ger.gmane.org 1463931923 2801 80.91.229.3 (22 May 2016 15:45:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 May 2016 15:45:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 22 17:45:10 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 1b4VYz-0004xm-48 for gctc-ntg-context-518@m.gmane.org; Sun, 22 May 2016 17:45:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7B391CC03; Sun, 22 May 2016 17:44:57 +0200 (CEST) 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 ymviyHf2vmix; Sun, 22 May 2016 17:44:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id BE202CF62; Sun, 22 May 2016 17:44:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 22CA1CF62 for ; Sun, 22 May 2016 17:44:55 +0200 (CEST) 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 t_VnvzX7kcFC for ; Sun, 22 May 2016 17:44:54 +0200 (CEST) Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (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 96DCCCC03 for ; Sun, 22 May 2016 17:44:44 +0200 (CEST) Original-Received: by mail-wm0-f53.google.com with SMTP id n129so44020875wmn.1 for ; Sun, 22 May 2016 08:44:44 -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; bh=XdhUZPHDSOn/4dAimU4PceJ1KaxeuVv8hECG58K4hJI=; b=jHhymZeY+xJE5Sy//9PgmL5kWxQBS5HGz9i8xz6zAWCA48miFqHRfswfG2Y4IyFtMZ P0ekCt5+qH1NFme7/0BoQwnCfTDKwda5iuI9JMOdY6X6nUvakcilca+oCfhKngjf9WTQ R/U5OHOWBa59DxivCumwnnTjI7h8dXJTs7d9tje3W1wsLXhmMb/cRa4nkQlVM82ADf// VKs4OdPWECzI3oTmjZyNBAwq7Kma9PnqwFCrYCGCyPtWkvmeakia8x4PqW/aVNx0N/h8 HFbYCBYiatEbhdj4AYTlNidCvbyiwRxMNGbaIOhDalhQ6ZyIbomPYfKlhAJnRX6doiuR SZjw== 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=XdhUZPHDSOn/4dAimU4PceJ1KaxeuVv8hECG58K4hJI=; b=g8ITLrrzGFr9s9UGB+8xS5qOPXwQqQCzrrP2zP9GzXxeXgeXpWEJPO3297E888tdsS EzP/JWC9w7n0RJV8io3JHA9jjNHb4k7Tr/idzCgsKNHOXEaA2cfRmHBO1fgGhDwzl8E2 YtMYhfsi9Kb0/B35MC/rGUUQB3+CUIZpS8RwzKygmGYzxLwaxqI0ZXspmeZb25jI74Bk e2tfl9w/Wz7bu4jChZfXCdoobIyf9y7jywW0EqP/XDsa8GR37HOOJcrP27FNIlRJL/QB lqbalZUkEAC3WQVNc9W/YRt5lnGDZ3XKUWajxsBTcpk2mTEOnWl7LlBw+ONftLc7Kn8b 4M8Q== X-Gm-Message-State: ALyK8tKU/A9w6FAMKk3R9/Mh2WYXxTMlkqWY5jxy4o9G3KHOR36JStsR6WIaFaGDdqFAQg== X-Received: by 10.28.230.87 with SMTP id d84mr8854599wmh.50.1463931884221; Sun, 22 May 2016 08:44:44 -0700 (PDT) Original-Received: from keima.localdomain (x2f2cbed.dyn.telefonica.de. [2.242.203.237]) by smtp.gmail.com with ESMTPSA id s125sm8818259wms.14.2016.05.22.08.44.42 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 May 2016 08:44:43 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <9E9EA0DA-524F-41B9-B026-8026533AA1E3@uva.nl> 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:94961 Archived-At: This is a multi-part message in MIME format. --===============1488054544481241473== Content-Type: multipart/alternative; boundary="------------070300020905060306020501" This is a multi-part message in MIME format. --------------070300020905060306020501 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Meer, Hans van der > 22. Mai 2016 um 17:40 > > It is not clear as yet. > \starttext > \input knuth > \page[header,yes] > \input knuth > \page[header,yes] > \input knuth > \stoptext > Here I get three pages, the first two without the last with header. > That I understand. > > \starttext > \input knuth > \page[header] > \page > \input knuth > \stoptext > Both pages keep their header. > > \starttext > \input knuth > \page > \page[header] > \input knuth > \stoptext > Both pages keep their header. > > Should I conclude that the state change occurs if and onlyif when in > the same macrocall a real pagebreak is realize? > Because otherwise I do not observe a state change. Change the order of the keywords (yes before header). The header and footer keywords can be used when you want to hide header and footer texts on empty left pages before a chapter etc. in a doublesided document. \setuppagenumbering[alternative=doublesided] \setuphead[chapter][page={yes,header,right}] \starttext \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang --------------070300020905060306020501 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
22. Mai 2016 um 17:40

It is not clear as yet.
\starttext
\input knuth
\page[header,yes]
\input knuth
\page[header,yes]
\input knuth
\stoptext
Here I get three pages, the first two without the last with header. That I understand.

\starttext
\input knuth
\page[header]
\page
\input knuth
\stoptext
Both pages keep their header.

\starttext
\input knuth
\page
\page[header]
\input knuth
\stoptext
Both pages keep their header.

Should I conclude that the state change occurs if and onlyif when in the same macrocall a real pagebreak is realize?
Because otherwise I do not observe a state change.
Change the order of the keywords (yes before header).

The header and footer keywords can be used when you want to hide header and footer texts
on empty left pages before a chapter etc. in a doublesided document.

\setuppagenumbering[alternative=doublesided]
\setuphead[chapter][page={yes,header,right}]
\starttext
\chapter{First chapter}
\chapter{Second chapter}
\stoptext

Wolfgang
--------------070300020905060306020501-- --===============1488054544481241473== 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= --===============1488054544481241473==--