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 -------------------------------------------------------------------------