From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13045 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: \setuplayout parameters Date: Tue, 02 Sep 2003 18:53:16 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: References: <200308071200.24945.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062521993 13730 80.91.224.253 (2 Sep 2003 16:59:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2003 16:59:53 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 02 18:59:51 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uEVT-0001ru-00 for ; Tue, 02 Sep 2003 18:59:51 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 40ACD10B3B; Tue, 2 Sep 2003 18:59:41 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by ref.ntg.nl (Postfix) with ESMTP id 8217E10ABB for ; Tue, 2 Sep 2003 18:53:17 +0200 (MEST) Original-Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19uEP6-0004hb-00 for ntg-context@ntg.nl; Tue, 02 Sep 2003 18:53:16 +0200 Original-Received: from [62.72.92.71] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19uEP6-0001AB-00 for ntg-context@ntg.nl; Tue, 02 Sep 2003 18:53:16 +0200 Original-Received: from [192.168.1.2] (helo=burger.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 19uEP5-0000z1-00 for ; Tue, 02 Sep 2003 18:53:15 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by burger.local (8.12.9/8.12.9) with ESMTP id h82GrGhX018585 for ; Tue, 2 Sep 2003 18:53:16 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h82GrGJp018584; Tue, 2 Sep 2003 18:53:16 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: <200308071200.24945.john@wexfordpress.com> (John Culleton's message of "Thu, 7 Aug 2003 12:00:24 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13045 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13045 Hello John, John Culleton writes: > I want to set up a book 5.5 x 8.5 with .5in margins left and right. > During the development process I want to be able to print it on > US standard 8.5 x 11 sheet of paper. > > Here is my current prologue (I have tried several): > \setupoutput[pdftex] > \definepapersize[bok][width=5.5in,height=8.5in] > \setuppapersize[bok][letter] > \setuplayout[marginwidth=.5in,location=middle] > \showframe The problem here is that you need to play with backspace, leftmargin and leftmargindistance. To verify, use the layout[1] module and add \usemodule [layout] \ShowLayout[units=in] in your document. The default in ConTeXt is that leftmargin + leftmargindistance > backspace, so the layout gets "shifted" a bit. It is not really a shift, because the backspace parameter sets the left edge of the text. [1] see http://levana.de/context/ Patrick