From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31986 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: Mon, 27 Nov 2006 18:59:05 -0500 Organization: WexfordPress Message-ID: <200611271859.06045.john@wexfordpress.com> References: <200611241840.30824.john@wexfordpress.com> <4569C05B.9040300@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164672008 5766 80.91.229.2 (28 Nov 2006 00:00:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 00:00:08 +0000 (UTC) Cc: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 28 01:00:05 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 1GoqOG-0006Eh-08 for gctc-ntg-context-518@m.gmane.org; Tue, 28 Nov 2006 01:00:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B47F11FDD2; Tue, 28 Nov 2006 00:58:15 +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 30353-01-5; Tue, 28 Nov 2006 00:58:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D01A71FDD9; Tue, 28 Nov 2006 00:58:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE7541FDE7 for ; Tue, 28 Nov 2006 00:58:03 +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 30352-01-4 for ; Tue, 28 Nov 2006 00:57:58 +0100 (CET) Original-Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by ronja.ntg.nl (Postfix) with SMTP id 158B21FDD2 for ; Tue, 28 Nov 2006 00:57:57 +0100 (CET) Original-Received: from 69-168-13-200.chvlva.adelphia.net ([69.168.13.200]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20061127235940.FTBS840.mta9.adelphia.net@69-168-13-200.chvlva.adelphia.net>; Mon, 27 Nov 2006 18:59:40 -0500 Original-To: ntg-context@ntg.nl User-Agent: KMail/1.9.4 In-Reply-To: <4569C05B.9040300@wxs.nl> 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:31986 Archived-At: On Sunday 26 November 2006 11:27, Hans Hagen wrote: > setbounds currentpicture to Page ; Unfortunately the recommended line had no effect. Did I put it in the right place? So here is the file that works (so far!) \setupoutput[pdftex] \definepapersize[bok][width=6.0in,height=9.0in] \setuppapersize[bok][letter] \setuplayout[marking=on,margin=.5in,textwidth=4.5in,width=middle,location=middle] \input fonts.tex \setupcolors[state=start] \starttext \noheaderandfooterlines \startuseMPgraphic{bg} StartPage ; setbounds currentpicture to Page ; path p ; p := Page enlarged -10mm ; path q ; q := Page enlarged -15mm ; drawoptions(withcolor .85white) ; fill reverse topboundary q -- topboundary p -- cycle ; fill reverse bottomboundary q -- bottomboundary p -- cycle ; drawoptions(withcolor .65white) ; fill reverse leftboundary q -- leftboundary p -- cycle ; fill reverse rightboundary q -- rightboundary p -- cycle ; StopPage ; \stopuseMPgraphic \vglue -1.55in \hglue -.75in \useMPgraphic{bg} \vglue -6.5in %\hglue .2in \BigSans \centerline{Part I} \vskip .4in \Mythe \centerline{Prerequisite for Success:} \vskip .2in \centerline{A Thorough Understanding} \vfil \tfa \page[yes] \stoptext -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com