Tuesday, March 25, 2003 Hans Hagen wrote:

HH> \starttext

HH> \setupcolors[state=start]

HH> \definetextbackground[gb][state=start]

HH> \startuseMPgraphic{mpos:par:columnset}
HH>    for i := 1 upto nofmultipars :
HH>      fill multipars[i] enlarged 5pt cornered 5pt withcolor green ;
HH>      draw multipars[i] enlarged 5pt cornered 5pt withcolor red ;
HH>    endfor ;
HH> \stopuseMPgraphic

HH> \input tufte \blank
HH> \starttextbackground[gb]
HH> \dorecurse{10}{\input tufte \par}
HH> \stoptextbackground
HH> \blank \input tufte

HH> \stoptext

HH> they split, can have corners, lay behind the text, ...

Ok, I start to see the picture: one must use MetaPost. I can
accept that :) (even if it's somewhat clumsier, but this is no
problem, one can write interfaces for that).

The problem is still that I cannot separate the behaviour at the
end of the background from the behaviour at a split. What I'm
looking for is something like this:


/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |

---- (page split) --------------

| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/

Instead, what I get is this:

/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/

---- (page split) --------------

/-------------------------------\
| text text text text text text |
| text text text text text text |
| text text text text text text |
| text text text text text text |
\-------------------------------/


Can the first effect be achieved?

-- 
Giuseppe "Oblomov" Bilotta

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to