From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74139 Path: news.gmane.org!not-for-mail From: Peter Park Nelson Newsgroups: gmane.comp.tex.context Subject: Re: \definelayout[first] does not yield to default layout on page 2 Date: Thu, 26 Jan 2012 11:40:45 -0600 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327599672 27083 80.91.229.12 (26 Jan 2012 17:41:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 17:41:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 26 18:41:08 2012 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 1RqTJr-00078O-5r for gctc-ntg-context-518@m.gmane.org; Thu, 26 Jan 2012 18:41:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 606EACB207; Thu, 26 Jan 2012 18:41:06 +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 VhcDq0NP70Hz; Thu, 26 Jan 2012 18:41:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3102BCB1F8; Thu, 26 Jan 2012 18:41:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9BFD6CB1F8 for ; Thu, 26 Jan 2012 18:40:58 +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 bYVYdw0HWJBP for ; Thu, 26 Jan 2012 18:40:47 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 6E8E2CB1F5 for ; Thu, 26 Jan 2012 18:40:47 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0QHejWN013685 for ; Thu, 26 Jan 2012 18:40:46 +0100 Original-Received: by wgbdt12 with SMTP id dt12so782722wgb.2 for ; Thu, 26 Jan 2012 09:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qD/WEl09ZNNbiiLGGZgKzWxHrFDPLmYc4HyJdd5Qan0=; b=PynJhhw1KUk5mHT7sGvT7JrT0ZPipsnWuIRRlZfx01dPWTpuba4z79HxpSjnirBuCs KJpNWHZxvUrFOjfr3owihMEVsMcPTGvocnDB3HkNAc3RSG7m2k0l0HQHybPhtwo2G3aU Q612P6s+OpihLdCQiUbSFgDFWPJuNUQR4Fzkk= Original-Received: by 10.180.99.225 with SMTP id et1mr5386565wib.2.1327599645699; Thu, 26 Jan 2012 09:40:45 -0800 (PST) Original-Received: by 10.223.69.143 with HTTP; Thu, 26 Jan 2012 09:40:45 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 03GqhEJdJ - 44f2e6263aa1 - 20120126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:74139 Archived-At: Oh crap, I thought Wagner's solution worked but it doesn't -- quite. \showframe indicates that the page areas are defined correctly, and the footer frame on page 2 and later is the correct size. But Context is not filling the text columns all the way to the bottom; The body text is still stopping short as though the larger footer was still in effect. Frustrating. On Thu, Jan 26, 2012 at 8:18 AM, Wagner Macedo w= rote: > According to http://wiki.contextgarden.net/Layout#Multiple_layouts, you c= an > do this by using the commands \setuplayout[yourcustomlayout] and > \setuplayout[reset] at the location you want to change the layout. > > -- > Wagner Macedo > > > On 25 January 2012 23:41, Peter Park Nelson > wrote: >> >> First-page layout is an issue that I have asked about before, but >> maybe I am doing something wrong. Here is my question in an earlier >> thread: >> http://archive.contextgarden.net/message/20111228.041922.c60f9cd5.en.html >> . >> >> I want to define a layout for the first page of my document with >> different header and footer formatting -- specifically, no header and >> a large footer to hold publication information. Based on examples on >> Contextgarden and this list, I think my code below is correct. >> However, the first page formatting is continued on all pages of the >> document. The effect is the same when using \definelayout[first] and >> \definelayout[1]. >> >> %%------------------------------------------------------------------- >> >> setuppapersize[letter][letter] >> \setupindenting[yes, medium] >> >> \setuplayout >> =A0[width=3Dmiddle, >> =A0backspace=3D15mm, >> =A0topspace=3D10mm, >> =A0height=3D254mm, >> =A0header=3D10mm, =A0% normal header >> =A0headerdistance=3D5mm, >> =A0footer=3D5mm, >> =A0footerdistance=3D5mm, >> =A0grid=3Dyes] >> >> \definelayout >> =A0[first] >> =A0[width=3Dmiddle, >> =A0backspace=3D15mm, >> =A0topspace=3D10mm, >> =A0height=3D254mm, >> =A0header=3D0mm, =A0 =A0 =A0% no header >> =A0headerdistance=3D0mm, >> =A0footer=3D25mm, =A0 =A0 =A0% big footer >> =A0footerdistance=3D5mm, >> =A0grid=3Dyes] >> >> \definecolumnset[body][n=3D2,balancing=3Dyes] >> >> \setupheadertexts >> =A0[This is a header] >> =A0[pagenumber] >> =A0[pagenumber] >> =A0[Some text] >> >> \setupfootertexts >> =A0[footer] >> =A0[footer] >> =A0[footer] >> =A0[footer] >> >> \starttext >> >> \startcolumnset[body] >> >> \dorecurse{20}{\input tufte\par} >> >> \stopcolumnset >> >> \stoptext >> > > _________________________________________________________________________= __________ > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ -- = Peter Park Nelson peter.park.nelson@gmail.com ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________