From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12852 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Instructions for m-pstric Date: Mon, 11 Aug 2003 10:51:43 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030811103954.027cde00@server-1> 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"; format=flowed X-Trace: sea.gmane.org 1060594371 24749 80.91.224.253 (11 Aug 2003 09:32:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2003 09:32:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Aug 11 11:32:49 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 19m92n-0003Jv-00 for ; Mon, 11 Aug 2003 11:32:49 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9BA3D10B41; Mon, 11 Aug 2003 11:32:41 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id A81F710B41 for ; Mon, 11 Aug 2003 11:26:34 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h7B9QUt23981 for ; Mon, 11 Aug 2003 11:26:30 +0200 Original-Received: from laptop-3.wxs.nl (laptop-3.pragma-net [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id BB5BE17AF6 for ; Mon, 11 Aug 2003 11:26:27 +0200 (CEST) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: 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:12852 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12852 Hi Nigel, how about: >\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 \startreusableMPgraphic{bg} StartPage ; fill Page enlarged 1mm withcolor yellow ; % bleed path p ; p := Page enlarged -5mm ; path q ; q := Page enlarged -10mm ; fill q withcolor white ; drawoptions(withcolor red) ; fill reverse topboundary q -- topboundary p -- cycle ; fill reverse bottomboundary q -- bottomboundary p -- cycle ; drawoptions(withcolor green) ; fill reverse leftboundary q -- leftboundary p -- cycle ; fill reverse rightboundary q -- rightboundary p -- cycle ; StopPage ; \stopreusableMPgraphic >\defineoverlay > [bg] > [\reuseMPgraphic{bg}] > >\setupbackgrounds > [page] > [background={bg}] > >\starttext >\dorecurse{3}{\input knuth} >\stoptext Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------