From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64429 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: empty page before chapter and part Date: Sat, 11 Dec 2010 18:50:20 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292089847 18823 80.91.229.12 (11 Dec 2010 17:50:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Dec 2010 17:50:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 11 18:50:43 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PRTak-0000bS-Qd for gctc-ntg-context-518@m.gmane.org; Sat, 11 Dec 2010 18:50:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4A115CA88B; Sat, 11 Dec 2010 18:50:41 +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 KyXOgYDNGy92; Sat, 11 Dec 2010 18:50:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4CD5CA8B0; Sat, 11 Dec 2010 18:50:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 297A1CA8B0 for ; Sat, 11 Dec 2010 18:50: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AmwoLHMtfh5h for ; Sat, 11 Dec 2010 18:50:25 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 8383BCA88B for ; Sat, 11 Dec 2010 18:50:25 +0100 (CET) Original-Received: from mail-bw0-f46.google.com (mail-bw0-f46.google.com [209.85.214.46]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBBHoOcx010655 for ; Sat, 11 Dec 2010 18:50:25 +0100 Original-Received: by bwz15 with SMTP id 15so5369519bwz.5 for ; Sat, 11 Dec 2010 09:50:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=8fOiFtZ9r8UefPhMSmDCujoA6poZQkDCkt9gSV61EQ4=; b=k5HTFCvtOpYnnXylB7b9BhtHKhKTe74KoPQotmTFX4Gjbv29ZGQX+RAo+AK/hv6PjN zAzbLmT9OMtNIsYtRK9p2IUYwTimCEJzVvBv20c+9CIpJBqnCgFW5tfe76CiE9j8krPD w+UqpcEt4CSegCs0S5akRejnvOjB5+IF/NQWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=tIQuAG2K4Orns+6Pj79hI7m6h5BDm9VK89xJzJc5V7KKbF/wsubSaJdJsVkSoKCWVv LPzAATY5twTZeNByzn4r4oml1efD54fUAvmMaY2ecpVUBvOaOw4EmUrQGC8Mg+aJkJRa rNf6vP6aU1rzdi3/q/nZEcEPakysnafxqsQk8= Original-Received: by 10.204.74.217 with SMTP id v25mr1934363bkj.146.1292089824581; Sat, 11 Dec 2010 09:50:24 -0800 (PST) Original-Received: from [192.168.2.23] (p5B294942.dip.t-dialin.net [91.41.73.66]) by mx.google.com with ESMTPS id p22sm2152569bkp.21.2010.12.11.09.50.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Dec 2010 09:50:23 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.46; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DFROola - 4150cbe2ab61 - 20101211 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:64429 Archived-At: Am 11.12.2010 um 17:58 schrieb Emanuele Sacco: > Hi all. > With the following code the second and eighth pages of the document > are not empty as it would like. > Thanks in advance > > ---------------------------------------------------------------------------------------- > > \setuppapersize[A4][A4] > > \setuplayout > [location=doublesided, > header=5mm, > headerdistance=15mm, > footerdistance=0mm, > textwidth=14cm] > \setuppagenumbering > [alternative=doublesided, > location=marginedge, > way=bytext, > partnumber=no] > > > \setupheadertexts[][part][chapter][] You can replace this block > \setupbackgrounds[state=repeat] > \setupbackgrounds[header][text][background=whatever] > \defineoverlay[whatever][{\framed[width=\overlaywidth,height=\overlayheight,frame=off,bottomframe=on]{}}] > \couplepage[chapter][before={\defineoverlay[whatever][]}] > \setuphead[chapter][before={\pagetype[chapter]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead [chapter] [page={yes,header,right}] Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________