From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64846 Path: news.gmane.org!not-for-mail From: Sam Qasbah Newsgroups: gmane.comp.tex.context Subject: Layout for the first page Date: Thu, 30 Dec 2010 15:42:10 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0372804662==" X-Trace: dough.gmane.org 1293720153 23025 80.91.229.12 (30 Dec 2010 14:42:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 14:42:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 30 15:42:28 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 1PYJi0-00089M-Aw for gctc-ntg-context-518@m.gmane.org; Thu, 30 Dec 2010 15:42:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7047DCA944; Thu, 30 Dec 2010 15:42:27 +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 E9wfbe3Sx0L0; Thu, 30 Dec 2010 15:42:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81F3ECA93D; Thu, 30 Dec 2010 15:42:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6750CA93D for ; Thu, 30 Dec 2010 15:42:23 +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 bjPpiw2CNfGG for ; Thu, 30 Dec 2010 15:42:12 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 94244CA930 for ; Thu, 30 Dec 2010 15:42:12 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBUEgAVV000385 for ; Thu, 30 Dec 2010 15:42:11 +0100 Original-Received: by iyj17 with SMTP id 17so10427162iyj.14 for ; Thu, 30 Dec 2010 06:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kDFTqJ7KoCdFIcdPqx1BAxFl4hqJKHFe8Wsg878ysEI=; b=w4fI89CaIQZurbMIE5BcZ0FKi1d5sVfejWZDvyt+/4I6H9rtGCOKN5MVZKde2kKic7 r//Cd/yPVKljZ8zDxc8KvpfwsEtjCTw8Etw4OlNdLksoNlEO3BLwlGBjm8TFd+oQW5yO yAlQURHyHjfaK3FZmeebtRzN4dUorYk+MfeX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lLadqT37SvWupao2qo5v9VwBzZnbj0KAwqWevcC1jBPTPiF9cteQnol4oVH2OzN/Rs iYEifks7nEEdaHKcNlKn2aEGqYkLTUXk3yiNEZz8Ch1CmgbnAhfqCXniUxOE15QcwgOg 2HgPJQlGSYdWA3h3/v6FZcUZHcoE2g2xoifHM= Original-Received: by 10.231.36.198 with SMTP id u6mr16270621ibd.100.1293720130490; Thu, 30 Dec 2010 06:42:10 -0800 (PST) Original-Received: by 10.231.140.139 with HTTP; Thu, 30 Dec 2010 06:42:10 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; 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: 0BDNqGbny - ea3b688736a8 - 20101230 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:64846 Archived-At: --===============0372804662== Content-Type: multipart/alternative; boundary=0021cc022382d111d50498a1b0a4 --0021cc022382d111d50498a1b0a4 Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Dec 30, 2010 at 01:32, Sam Qasbah > wrote: > >* I'm working on a document that must have a layout for the first page and a *> >* different layout for all the other pages. *> > This works for me: > > \setuplayout[...=...] % global layout > \definelayout[first][...=...] % layout for the first page > \definelayout[2][reset] > \setuplayout[first] > Sorry Vianney, I don't understand how it works your code. Please can you type some lines more? Something with % % here goes Vianney's code % \starttext \showframe \dorecurse{40}{\input knuth \par} \stoptext Many thanks. Sam Qasbah --0021cc022382d111d50498a1b0a4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>
> On Thu, Dec 30, 2010 at 01:32, Sam Qasbah <samqasbah at gmail.com&= gt; wrote:
> > I'm working on a document that must have a l= ayout for the first page and a
> > different layout for all the other pages.
>
&= gt; This works for me:
>
> \setuplayout[...=3D...] % global lay= out
> \definelayout[first][...=3D...] % layout for the first page
> \definelayout[2][reset]
> \setuplayout[first]
>

Sor= ry Vianney, I don't understand how it works your code. Please can you t= ype
some lines more? Something with

%
% here goes Vianney'= s code
%
\starttext
\showframe
\dorecurse{40}{\input knuth \par}
\stop= text

Many thanks.

Sam Qasbah
--0021cc022382d111d50498a1b0a4-- --===============0372804662== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0372804662==--