From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11701 Path: main.gmane.org!not-for-mail From: Guy Worthington Newsgroups: gmane.comp.tex.context Subject: Re: header/footer suppression Date: 29 Mar 2003 16:47:31 +0800 Sender: ntg-context-admin@ntg.nl Message-ID: References: <87brzvk5xe.fsf@gundla.ch> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048927387 31603 80.91.224.249 (29 Mar 2003 08:43:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2003 08:43:07 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Mar 29 09:43:06 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zBve-0008DZ-00 for ; Sat, 29 Mar 2003 09:43:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C758B10AFF; Sat, 29 Mar 2003 09:43:10 +0100 (MET) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by ref.ntg.nl (Postfix) with ESMTP id 9A36810AF9 for ; Sat, 29 Mar 2003 09:40:26 +0100 (MET) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18zBsy-00088B-00 for ; Sat, 29 Mar 2003 09:40:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ref.ntg.nl Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18zBst-000880-00 for ; Sat, 29 Mar 2003 09:40:15 +0100 Original-Lines: 44 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11701 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11701 Patrick Gundlach wrote: > Guy Worthington wrote >> How can I get both a blank page inserted whenever a chapter >> finishes on an odd page, and also suppress my header on the first >> page of a chapter. > before={\ifodd\realpageno\else\page[empty]\noheaderandfooterlines\fi}, Thanks Patrick, the next specification is that I have a footer. ----- % output=pdftex \definetext[chapter][footer][pagenumber] % page on which chapters begin \setuphead [chapter] [page=right, header=empty, footer=chapter, % before={\page\ifodd\realpageno\else\page[empty]\fi\page[right]}, ] \setupheadertexts [chapter] \setuppagenumbering[alternative=doublesided] \starttext \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stoptext ----- >> \setuppagenumbering[alternative=doublesided, >> option=doublesided] > what is this option=...? is used to produce an even number of pages, so if you count ever page in the book then the number of recto and verso pages are exactly equal.