From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12840 Path: main.gmane.org!not-for-mail From: Nigel King Newsgroups: gmane.comp.tex.context Subject: Re: Instructions for m-pstric Date: Fri, 08 Aug 2003 23:03:39 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: References: <200308081658.10289.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" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1060380973 27391 80.91.224.253 (8 Aug 2003 22:16:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2003 22:16:13 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Aug 09 00:16:39 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 19lFXL-0002wR-00 for ; Sat, 09 Aug 2003 00:16:39 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9187D10B9E; Sat, 9 Aug 2003 00:16:31 +0200 (MEST) Original-Received: from mailhost1.dircon.co.uk (mailhost1.dircon.co.uk [194.112.32.65]) by ref.ntg.nl (Postfix) with ESMTP id E149710B99 for ; Sat, 9 Aug 2003 00:10:24 +0200 (MEST) Original-Received: from [1.2.2.1] (pipinghot.gw.dircon.net [195.157.154.158]) by mailhost1.dircon.co.uk (Postfix) with ESMTP id 502B0588DC; Fri, 8 Aug 2003 23:10:23 +0100 (BST) User-Agent: Microsoft-Entourage/10.1.1.2418 Original-To: , John Culleton In-Reply-To: <200308081658.10289.john@wexfordpress.com> 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:12840 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12840 John, I did this to simulate a picture frame. Looking at it now I am sure it could be simplified. \setupoutput[pdftex] \setupcolors[state=start] \startreusableMPgraphic{bg} StartPage ; z11 = ulcorner Page ; z12 = urcorner Page ; z13 = lrcorner Page ; z14 = llcorner Page ; z91 = (-1, 1.414) ; z92 = ( 1, 1.414) ; z93 = ( 1,-1.414) ; z94 = (-1,-1.414) ; z21 = z11 - 16z91 ; z22 = z12 - 16z92 ; z23 = z13 - 16z93 ; z24 = z14 - 16z94 ; z31 = z21 - 6z91 ; z32 = z22 - 6z92 ; z33 = z23 - 6z93 ; z34 = z24 - 6z94 ; fill z11--z12--z13--z14--z11--z21--z24--z23--z22--z21--cycle withcolor yellow ; fill z21--z22--z32--z31--cycle withcolor .9white ; fill z22--z23--z33--z32--cycle withcolor .8white ; fill z23--z24--z34--z33--cycle withcolor .9white ; fill z24--z21--z31--z34--cycle withcolor .8white ; StopPage ; \stopreusableMPgraphic \defineoverlay [bg] [\reuseMPgraphic{bg}] \setupbackgrounds [page] [background={bg}] \starttext \dorecurse{3}{\input knuth} \stoptext -- Nigel