From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57911 Path: news.gmane.org!not-for-mail From: Sebastien Mengin Newsgroups: gmane.comp.tex.context Subject: Re: page layout Date: Tue, 6 Apr 2010 21:23:14 +0200 Message-ID: <20100406192314.GE7961@localhost.localdomain> References: <20100402101342.GB3501@localhost.localdomain> <4BB5DB6F.6090903@googlemail.com> <20100406143718.GA7961@localhost.localdomain> 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 1270581821 22156 80.91.229.12 (6 Apr 2010 19:23:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 19:23:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 06 21:23:34 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 1NzEN2-0008RC-Ed for gctc-ntg-context-518@m.gmane.org; Tue, 06 Apr 2010 21:23:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3FE5C9CBA; Tue, 6 Apr 2010 21:23:31 +0200 (CEST) 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 Eo2LwE2-n8sM; Tue, 6 Apr 2010 21:23:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28AADC9CB4; Tue, 6 Apr 2010 21:23:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C947C9CB4 for ; Tue, 6 Apr 2010 21:23:27 +0200 (CEST) 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 48lq5ot4wCOh for ; Tue, 6 Apr 2010 21:23:15 +0200 (CEST) Original-Received: from smtp22.services.sfr.fr (smtp22.services.sfr.fr [93.17.128.13]) by balder.ntg.nl (Postfix) with ESMTP id E726CC9CB0 for ; Tue, 6 Apr 2010 21:23:15 +0200 (CEST) Original-Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2217.sfr.fr (SMTP Server) with ESMTP id 8A5ED7000095 for ; Tue, 6 Apr 2010 21:23:15 +0200 (CEST) Original-Received: from ikkyu (7.17.80-79.rev.gaoland.net [79.80.17.7]) by msfrf2217.sfr.fr (SMTP Server) with ESMTP id 6D9F17000094 for ; Tue, 6 Apr 2010 21:23:15 +0200 (CEST) X-SFR-UUID: 20100406192315449.6D9F17000094@msfrf2217.sfr.fr Original-Received: by ikkyu (Postfix, from userid 1000) id 922479160AB; Tue, 6 Apr 2010 21:23:14 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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:57911 Archived-At: Le 06 avril 2010 =E0 08:52, Willi Egger a =E9crit: > Hi, Hi, > you will have to give more paramters to the \setuplayout command > > ... > leftmargign=3D1cm, > leftmargindistance=3D.5\em, > rightmargin=3D2cm, > rightmargindistance=3D.5\em, > width=3Dfit > ... I think I'm misleaded by the (my) confusion between "margins" and "edges". Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. \definepapersize[book][width=3D10cm,height=3D18cm] \setuppapersize[book][A4] \setuplayout [%backspace=3D1cm, % am I right to comment out this line? leftedge=3D1cm, rightedge=3D2cm, leftedgedistance=3D0cm, rightedgedistance=3D0cm, leftmargin=3D0cm, rightmargin=3D0cm, width=3D7cm, % either "fit" doesn't suppress the above mentionned % whitespace topspace=3D1cm, bottomspace=3D1.5cm, %header=3D..., headerdistance=3D1cm, %footer=3D..., %footerdistance=3D..., height=3Dmiddle, location=3Dmiddle, marking=3Don] \showlayout \starttext \input tufte \stoptext Sincerely, -- = S=E9bastien Mengin =C9dition et logiciels libres < Mise en page avec LaTeX > http://edilibre.net ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________