On Fri, 19 May 2006, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi Hans,
textbackground does not honour topoffset/bottomoffset at pagebreak. Is this by design?
ss everywhere in tex, skipe at the bottom and top of a page disappear at a pagebreak, and inserting it is tricky
Any appararent drawback of using the following approach... \definetextbackground [test] [ location=paragraph, leftoffset=1em, before={\blank[1cm]}, after={\blank[1cm]}] \startuseMPgraphic{mpos:par:columnset} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 1cm bottomenlarged 1cm; fill p withcolor 0.9white ; draw p withcolor \MPvar{linecolor} withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \starttext \input knuth \endgraf \hairline \par \starttextbackground[test] \dorecurse{13}{\input knuth \endgraf} \stoptextbackground \hairline \par \input knuth \endgraf \stoptext Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008