From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29968 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Conflict with chapter definition and header Date: Fri, 04 Aug 2006 10:14:00 +0200 Message-ID: <44D301C8.5080101@elvenkind.com> References: <7a884c7c0607191009i435dc581yc0ff6afbeab2470a@mail.gmail.com> <44BF3A5B.2080803@elvenkind.com> <7a884c7c0608031113u2ddddb31g4ddde044d66d10bf@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154679264 3294 80.91.229.2 (4 Aug 2006 08:14:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 08:14:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 10:14:22 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G8up3-0007st-1Z for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 10:14:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 409B21FF7B; Fri, 4 Aug 2006 10:14:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07284-05-5; Fri, 4 Aug 2006 10:14:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 288821FF81; Fri, 4 Aug 2006 10:14:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 890BF1FF81 for ; Fri, 4 Aug 2006 10:14:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07284-05-4 for ; Fri, 4 Aug 2006 10:14:03 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 3D4A61FF7B for ; Fri, 4 Aug 2006 10:14:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 838D91BCF0 for ; Fri, 4 Aug 2006 10:14:02 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07963-01 for ; Fri, 4 Aug 2006 10:14:02 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 282541B863 for ; Fri, 4 Aug 2006 10:14:02 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <7a884c7c0608031113u2ddddb31g4ddde044d66d10bf@mail.gmail.com> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29968 Archived-At: Confused Scientist wrote: > Thanks Taco. > > This is certainly closer to what I'm trying to do, but I still have a > problem with the chapter names missing from the header of every odd/left > page. Below is how I setup the headers: The setups are the problem. Your code essentially does \vbox{\chapter{}} The result is that the markings from the \chapter stay local to the \vbox that contains it. You need something like this instead (I leave the details for you to sort out) \setuphead [chapter] [command=\MyChapterText, before=\setups{chapter:before}, after=] \def\MyChapterText#1#2% {\vbox to 35mm {\headtext{chapter}~#1\blank[small]#2\vss}} \startsetups [chapter:before] \page[left] \noheaderandfooterlines \vbox to 35mm{} \vbox{\blank \startalignment[left,nothyphenated] \noindent \setups[chapter:quote] \stopalignment} \resetsetups[quote:text] \page[right] \noheaderandfooterlines \stopsetups Greetings, Taco