From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34387 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: layout maximal width and height Date: Sat, 21 Apr 2007 21:02:15 +0200 Message-ID: <462A5FB7.4070101@telefonica.net> References: <46288ED6.7040400@telefonica.net> <115224fb0704200341w111bea1fvf05f7a80f45ae67c@mail.gmail.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: sea.gmane.org 1177182178 12455 80.91.229.12 (21 Apr 2007 19:02:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2007 19:02:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 21 21:02:48 2007 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 1HfKr8-00066j-6j for gctc-ntg-context-518@m.gmane.org; Sat, 21 Apr 2007 21:02:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 761DA20143; Sat, 21 Apr 2007 21:02:44 +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 27686-02; Sat, 21 Apr 2007 21:02:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D5377200C4; Sat, 21 Apr 2007 21:02:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4F77200C4 for ; Sat, 21 Apr 2007 21:02:34 +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 26682-02-2 for ; Sat, 21 Apr 2007 21:02:24 +0200 (CEST) Original-Received: from ctsmtpout2.frontal.correo (smtp.telefonica.net [213.4.149.66]) by ronja.ntg.nl (Postfix) with ESMTP id 66DD22009D for ; Sat, 21 Apr 2007 21:02:24 +0200 (CEST) Original-Received: from [192.168.1.3] (83.50.115.201) by ctsmtpout2.frontal.correo (7.2.056.6) (authenticated as DXpublica) id 4625122D00105D35 for ntg-context@ntg.nl; Sat, 21 Apr 2007 21:02:19 +0200 User-Agent: Mozilla Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: <115224fb0704200341w111bea1fvf05f7a80f45ae67c@mail.gmail.com> 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:34387 Archived-At: En/na Wolfgang Schuster ha escrit: > 2007/4/20, Xan : >> >> Hi, >> >> Is it any way to set only left and right margin on layout and that width >> and height of the text are automatically set to the maximal of the >> possible width (that is >> >> \printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the >> >> same with right margins})? >> >> I think that it will be useful if there were something like: >> >> \setuplayout[ leftmargin=0mm, >> leftedge=10mm, %distance between border of paper and margin >> leftmargindistance=0mm, %distance between margin ant text >> leftedgedistance=0mm, %distance between margin and leftedge >> rightmargin=0mm, >> rightedge=10mm, %distance between border of paper and margin >> rightmargindistance=0mm, %distance between margin ant text >> rightedgedistance=0mm, %distance between margin and leftedge >> width=maximal] >> >> (see the last line) >> >> Thanks, >> Xan > > > Hi Xan, > > I think you misunderstood the layout of ConTeXt. > > You are looking for backspace and cutspace. > > \setuplayout > [backspace=2cm, % left margin on the page > cutspace=4cm, % right margin on the page > height=fit] My version is too old I think. It does not support "height=fit" Thanks, Xan. > > \starttext > \dorecurse{10}{\input knuth\par} > \stoptext > > Wolfgang > > > ------------------------------------------------------------------------ > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context