From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42241 Path: news.gmane.org!not-for-mail From: "Charles P. Schaum" Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: chapter page on right. Date: Tue, 08 Jul 2008 13:51:02 -0500 Message-ID: <1215543062.10054.9.camel@elbereth> References: <200807081331.30933.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215543195 19902 80.91.229.12 (8 Jul 2008 18:53:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2008 18:53:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 08 20:54:01 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KGIJw-0007QJ-HZ for gctc-ntg-context-518@m.gmane.org; Tue, 08 Jul 2008 20:53:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9789B1FDD3; Tue, 8 Jul 2008 20:52:51 +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 25886-03-15; Tue, 8 Jul 2008 20:52:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 19CE21FBBA; Tue, 8 Jul 2008 20:51:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A14541FBB8 for ; Tue, 8 Jul 2008 20:51:54 +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 00502-01-4 for ; Tue, 8 Jul 2008 20:51:17 +0200 (CEST) Original-Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by ronja.ntg.nl (Postfix) with SMTP id 580051FC5D for ; Tue, 8 Jul 2008 20:51:15 +0200 (CEST) Original-Received: (qmail 8850 invoked from network); 8 Jul 2008 18:50:59 -0000 Original-Received: from unknown (HELO ?192.168.1.103?) (verbo.solo@sbcglobal.net@69.148.8.130 with plain) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 8 Jul 2008 18:50:59 -0000 X-YMail-OSG: RjyXWaEVM1mJv7HoWrtLl0O48lm6PblDmAVc2AngF8s85UrsTCpjRN2OHyVe1jeuim9lTPTHFsOQR45jO2.wXrw1YXSGD8z3_wFd1tIvQt7h6N5VyNkVmzhM83kiKsmzWho- X-Yahoo-Newman-Property: ymail-3 In-Reply-To: <200807081331.30933.john@wexfordpress.com> X-Mailer: Evolution 2.22.2 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42241 Archived-At: Consider this slightly altered text from a mock-up I did for page headers: % Set up double-sided page numbering, backspace, and margins. \setuppagenumbering[location=footer,alternative=doublesided] % Use a format that does not autonumber chapters. % Put at least the chapter in the heading. % Center the heading and put whitespace between the header and % the chapter heading. \setupheadertexts[chapter][] \setuphead[chapter][page=right,after={\blank[2*big]},alternative=middle] \starttext \language[en] \startfrontmatter \setuppagenumbering[conversion=romannumerals] \startstandardmakeup \midaligned{\tfc \cap{Title}} \blank[small] \midaligned{\cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[doublesided=no] \midaligned{\tfd \cap{Big Title}} \blank[medium] \midaligned{\tfc \cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[page=no] \vfill Indicia Page \stopstandardmakeup \setuppagenumber[number=5] \setupfooter[state=empty] \setupheader[state=empty,high,nomarking] \completecontent[alternative=c] \chapter{Publisher's Introduction} \setupheader[state=empty] . . . \stopfrontmatter \startbodymatter \def\HeadTitle#1#2% {\hbox to \hsize {\hfil{#2}\hfil}} \setuphead[chapter][command=\HeadTitle] \setuppagenumbering[conversion=numbers] \setuppagenumber[number=1] \chapter{Introduction} \setupheadertexts[chapter][Basic Concepts] \setupheader[state=empty] \stopbodymatter On Tue, 2008-07-08 at 13:31 -0400, John Culleton wrote: > This message seems not to have gone through. Therefore I am resending > it. > > ---------- Forwarded Message ---------- > > Subject: chapter page on right. > Date: Tuesday 08 July 2008 > From: John Culleton > To: mailing list for ConTeXt users > > I have set up the \chapter command thus; > \setuphead[chapter][page=right,style={\nimbua},header=high] > ....where nimbua is a font. > > The chapter head appears on a recto (odd numbered) page as expected > but the verso blank page inserted where necessary before the chapter > head has a running header. It should be blank. I can kludge this up > with a wrapper macro containing \ifodd\pageno etc. but it seems > there should be a more Contextish way to handle it. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________