From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11656 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: color band Date: Wed, 26 Mar 2003 08:31:09 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030326082824.01db1d78@server-1> References: <3E807645.6061EC31@lamar.colostate.edu> <3E7E3436.FFDE47CE@lamar.colostate.edu> <3E7CEABD.9DEBD96B@lamar.colostate.edu> <3E7E2F64.CF694C60@lamar.colostate.edu> <18016835127.20030323230952@iol.it> <3E7E3436.FFDE47CE@lamar.colostate.edu> <5.1.0.14.1.20030324102827.0320d688@server-1> <3E807645.6061EC31@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1048665152 8260 80.91.224.249 (26 Mar 2003 07:52:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2003 07:52:32 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 26 08:52:30 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18y5i2-000296-00 for ; Wed, 26 Mar 2003 08:52:30 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id DB7D310AF0; Wed, 26 Mar 2003 08:52:27 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id A6BF710AE8 for ; Wed, 26 Mar 2003 08:49:07 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2Q7mtBP005092 for ; Wed, 26 Mar 2003 08:49:02 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2Q7mjEU028612 for ; Wed, 26 Mar 2003 08:48:45 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <87of3z1i8e.fsf@gundla.ch> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) 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:11656 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11656 At 06:14 PM 3/25/2003 +0100, you wrote: >Idris S Hamid writes: > >Hello Idris, > > > But what about overlays over color. They still don't work: > >There are two problems here. First, say background={color,backgr} >with setupbackgrounds. But this won't help ;-) since the >setupbackground is sometimes a bit strange (see below). > >I bet the leftedge is 0pt (test with showmakeup or my t-layout >module, say \ShowModule[showmore=1]) so you won't be able to see >anything colored. > >\setupbackgrounds[text][leftmargin][background={color,backgr}, > backgroundcolor=green] > >When you use \setupbackgrounds[page]... you access the whole page >(!). Not just any margin or textarea. So there you probably need some >metapost hacking (easy) in order to get your green side. See the >metafun manual or my page.pdf. it may help to know that there is a predefined path OverlayBox: \startuniqueMPgraphic{myback} fill OverlayBox withcolor red ; \stopuniqueMPgraphic or fill OverlayBox enlarged 2pt withcolor red (for a bleed) or fill OverlayBox leftenlarged 3pt ... setbounds currentpicture to OverlayBox or StartPage ; ... StopPage ; if needed : setbounds currentpicture to Page ; also, you can say: \setuplayout[clipoffset=3pt] to get nicely clipped pages 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 -------------------------------------------------------------------------