From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31991 Path: news.gmane.org!not-for-mail From: "John R. Culleton" Newsgroups: gmane.comp.tex.context Subject: Re: Why must I move frame to center it? Date: Tue, 28 Nov 2006 16:43:26 -0500 Organization: WexfordPress Message-ID: <200611281643.27090.john@wexfordpress.com> References: <200611241840.30824.john@wexfordpress.com> <200611271859.06045.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164750304 13627 80.91.229.2 (28 Nov 2006 21:45:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 21:45:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 28 22:44:56 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GpAkn-0005nN-3X for gctc-ntg-context-518@m.gmane.org; Tue, 28 Nov 2006 22:44:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 09AE31FE0C; Tue, 28 Nov 2006 22:42:45 +0100 (CET) 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 11773-02; Tue, 28 Nov 2006 22:42:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8CB3E1FE2D; Tue, 28 Nov 2006 22:42:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 154E81FE58 for ; Tue, 28 Nov 2006 22:42:33 +0100 (CET) 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 11113-02-17 for ; Tue, 28 Nov 2006 22:42:28 +0100 (CET) Original-Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by ronja.ntg.nl (Postfix) with SMTP id A084A1FE0C for ; Tue, 28 Nov 2006 22:42:27 +0100 (CET) Original-Received: from 69-168-13-200.chvlva.adelphia.net ([69.168.13.200]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20061128214409.RPKG21407.mta13.adelphia.net@69-168-13-200.chvlva.adelphia.net>; Tue, 28 Nov 2006 16:44:09 -0500 Original-To: ntg-context@ntg.nl User-Agent: KMail/1.9.4 In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:31991 Archived-At: On Monday 27 November 2006 19:44, Aditya Mahajan wrote: > \definepapersize =A0[bok] =A0 [width=3D6.0in,height=3D9.0in] > \setuppapersize =A0 [bok] =A0 [letter] > \setuplayout > [marking=3Don,margin=3D.5in,textwidth=3D4.5in,width=3Dmiddle,location=3Dm= iddle] > \setupcolors =A0 =A0 =A0[state=3Dstart] > > > \noheaderandfooterlines > > \startuseMPgraphic{bg} > =A0 =A0 =A0boolean debug ; debug :=3D false ; > =A0 =A0 =A0path Page ; Page =3D (fullsquare xyscaled (\overlaywidth, > \overlayheight)) ; > =A0 =A0 =A0path p ; p :=3D Page enlarged =A0-10mm ; > =A0 =A0 =A0path q ; q :=3D Page enlarged =A0-15mm ; > =A0 =A0 =A0if debug : > =A0 =A0 =A0 =A0draw Page =A0withcolor green; > =A0 =A0 =A0 =A0draw p withcolor red ; > =A0 =A0 =A0 =A0draw q withcolor blue ; > =A0 =A0 =A0fi ; > =A0 =A0 =A0drawoptions(withcolor .85white) ; > =A0 =A0 =A0fill reverse topboundary =A0 =A0q -- topboundary =A0 =A0p -- c= ycle ; > =A0 =A0 =A0fill reverse bottomboundary q -- bottomboundary p -- cycle ; > =A0 =A0 =A0drawoptions(withcolor .65white) ; > =A0 =A0 =A0fill reverse leftboundary =A0 q -- leftboundary =A0 p -- cycle= ; > =A0 =A0 =A0fill reverse rightboundary =A0q -- rightboundary =A0p -- cycle= ; > =A0 =A0 =A0setbounds currentpicture to Page ; > \stopuseMPgraphic > > \defineoverlay[coverpage][\useMPgraphic{bg}] > > \starttext > \setupbackgrounds[page] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [background=3Dcoverpage] > > \centerline{Part I} > \vskip .4in > \centerline{Prerequisite for Success:} > \vskip .2in > \centerline{A Thorough Understanding} > \vfil > \tfa > > \page[yes] > \setupbackgrounds[page] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [background=3D] > > \input knuth > > \stoptext That works perfectly without my kludgy workarounds. Therefore that is what= I = will use! Many thanks. -- = John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. = http://wexfordpress.com