From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75336 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definepagebreak[header, footer] not working when changing matters Date: Sat, 24 Mar 2012 11:39:41 +0100 Message-ID: <24883473-0B20-45D6-9339-630C6B3036C4@googlemail.com> References: <4F6D8BB2.2020601@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332585651 31810 80.91.229.3 (24 Mar 2012 10:40:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 10:40:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 24 11:40:39 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SBOOk-0007WN-6L for gctc-ntg-context-518@m.gmane.org; Sat, 24 Mar 2012 11:40:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FCF0101EB; Sat, 24 Mar 2012 11:40:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1FkIoFKluAfu; Sat, 24 Mar 2012 11:40:35 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CBEF101E1; Sat, 24 Mar 2012 11:40:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BC6C101E1 for ; Sat, 24 Mar 2012 11:40:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NAKGUJk3pIb5 for ; Sat, 24 Mar 2012 11:40:33 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 3896A101DF for ; Sat, 24 Mar 2012 11:40:33 +0100 (CET) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2OAeWHT021765 for ; Sat, 24 Mar 2012 11:40:32 +0100 Original-Received: by werj55 with SMTP id j55so4314973wer.14 for ; Sat, 24 Mar 2012 03:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=pUlJeVcqlj2EApuQF6rbZuU841dZCDg7SLRvAISt8zM=; b=BYSdpK4TWd3kjYRybzj2JTXETSmd6ZiMlDH1zSh/9Ll+oq3Ey5BDzdDrw1T3ww4Geh ukBmO3tFDsVsKh4ZaeVZefo9EOBWh7zF4u+mElyDuQFacU5s7R15GPD2C2+R9zm1306K 7ebqHiJ5u4aK291rDgOoeeWOy9y/KiWaZGENojdX+BtciegevfOFk3srWfnCNOox6oaF 8OacX9LldVWOVHLo9TACNXSuyR+FkUJfr5dF2lYgza3WUdYtiZNzHVxlGUBRk7w4iJS3 dzTCZ10Qhs+xFh1L8267vJblxdFKdxfDNa/bBLhzGTofK+oiMKiaiYebmUW/1K35QuFg Z4Gw== Original-Received: by 10.180.104.65 with SMTP id gc1mr4120592wib.13.1332585631771; Sat, 24 Mar 2012 03:40:31 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB53C.dip.t-dialin.net. [87.175.181.60]) by mx.google.com with ESMTPS id 9sm35911677wid.2.2012.03.24.03.40.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 03:40:30 -0700 (PDT) In-Reply-To: <4F6D8BB2.2020601@web.de> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VGNmEwSb - 821b2299f5ae - 20120324 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75336 Archived-At: Am 24.03.2012 um 09:54 schrieb Pablo Rodr=EDguez: > I have discovered that \definepagebreak[header,footer] doesn't right > with chapters when changing from frontmatter to bodymatter (and similar > divisions). > = > Here you have a sample: > = > \definepagebreak[firstpagebreak][yes,header,footer,right] > \setuphead[chapter][page=3Dfirstpagebreak] > \setuppagenumbering[alternative=3Ddoublesided,location=3D{botton}] > \starttext > \startfrontmatter > \dorecurse{4}{\chapter{front}} > \stopfrontmatter > \startbodymatter > \dorecurse{4}{\chapter{body}} > \stopbodymatter > \startappendices > \dorecurse{4}{\chapter{body}} > \stopappendices > \startbackmatter > \dorecurse{4}{\chapter{body}} > \stopbackmatter > \stoptext > = > Pages previous to chapters with no text should also lack header and > footer, but in the example above this doesn't work when text divisions > (such as front matter, body matter, appendices and back matter) change. Section blocks do have a page key which is used ti switch to a right page at the begin/end of the environment and this happens before the chapter page break happens. You have to disable the page breaks for the section blo= ck to have the right header/footer on empty pages. \setupsectionblock[frontpart][page=3D] \setupsectionblock[bodypart] [page=3D] \setupsectionblock[backpart] [page=3D] Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________