[NTG-context] Problem with backgrounds and page breaks

2005-01-10 Thread Matthias Weber
Hello, when using text background colors in enumerations, I run into a problem whenever the enumeration appears on the beginning of a page: Then, the background extends over some part (sometimes all) of the previous page. I can manually correct this by putting a \break just before the

Re: [NTG-context] Problem with backgrounds and page breaks

2005-01-10 Thread Hans Hagen
Matthias Weber wrote: [before={\starttextbackground[exbackground]}, try: [before={\testpage[2]\starttextbackground[exbackground]}, that way a pagebreak is forced when less than three lines are left Hans -

Re: [NTG-context] Problem with backgrounds and page breaks

2005-01-10 Thread Matthias Weber
Thanks, Hans, this fixes it most of the time. But the problem still occurs with one new line less. (Example again at the bottom) :( Matthias On Jan 10, 2005, at 12:49 PM, Hans Hagen wrote: Matthias Weber wrote: [before={\starttextbackground[exbackground]}, try:

Re: [NTG-context] Problem with backgrounds and page breaks

2005-01-10 Thread Matthias Weber
Thanks, that brings it down to two problematic cases in a 400 page document, and I can live with that. Matthias On Jan 10, 2005, at 1:57 PM, Hans Hagen wrote: Matthias Weber wrote: Thanks, Hans, this fixes it most of the time. But the problem still occurs with one new line less. (Example