From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27564 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: Part head centering and empty header Date: Fri, 28 Apr 2006 20:45:36 +0200 Message-ID: References: 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 1146249759 22028 80.91.229.2 (28 Apr 2006 18:42:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Apr 2006 18:42:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 28 20:42:36 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 1FZXv8-0004aj-2e for gctc-ntg-context-518@m.gmane.org; Fri, 28 Apr 2006 20:42:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B3E51279E; Fri, 28 Apr 2006 20:42:25 +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 28052-03; Fri, 28 Apr 2006 20:42:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 846E91278A; Fri, 28 Apr 2006 20:42:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 346F91278A for ; Fri, 28 Apr 2006 20:42:17 +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 13432-04 for ; Fri, 28 Apr 2006 20:42:16 +0200 (CEST) Original-Received: from swip.net (mailfe02.tele2.fr [212.247.154.44]) by ronja.ntg.nl (Postfix) with SMTP id 2D20E12783 for ; Fri, 28 Apr 2006 20:42:15 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [80.170.222.134] (HELO localhost) by mailfe02.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 189175843 for ntg-context@ntg.nl; Fri, 28 Apr 2006 20:42:15 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) 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:27564 Archived-At: On Thu, 27 Apr 2006 15:56:47 -0700, Johannes Graumann wrote: > Hello > > I have coded my 'Appendix' like so: [...] > > \startappendices > \setuppagenumbering[way=bytext,partnumber=no,conversion=numbers,location={header,right}] > \framed > [% > height=\textheight,% > frame=off,% > ] > { > \part{Appendices} > } > {\stopappendices} > > Which gives me a nicely vertically and horizontally centered title. One > problem remains though: I can't get rid of the page number. The > framed '\setuphead[part]' commands concerning header and footer are > being > overruled and I can't figure out how to have an empty header for just the > page containing the frame. You're right; I don't know how to fix this, but for the centering aspect I would suggest another approach that is more in the context way of doing: \def\PartTitle#1#2% {\framed[frame=off,height=\textheight,width=\textwidth,align={middle,lohi}]{#2}% \pagebreak} \setuphead [part] [header=empty, footer=empty, alternative=middle, placehead=yes, resetnumber=no, % number=no, command=\PartTitle, page=right ] \starttext \startappendices \setuppagenumbering[way=bytext,partnumber=no,conversion=numbers, location={header,right}] \part{Some Appendices} \chapter{Chapter 1} A text \stopappendices \stoptext Regards, BG