![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 05:23 PM 10/15/2002 +0200, Michal Morawski wrote:
Hi, I have changed the chapter style by:
\def\Numer#1{\color[middleblue]{#1}} \def\Nazwa#1{\color[middlegreen]{#1}} \setuplist[chapter][before=\blank,after=\blank,style=bold] \setuphead[chapter][ numbercommand=\Numer, % before=\hairline\blank, % after=\hairline\blank, textcommand=\Nazwa, page=no, ]
But after this, the text of chapter ends the page; and in the case where after/begin option is \hairline, the "before" line ends one page, but text and "after" line starts a new page. This is ugly, of course. I know I have missed something important, but I don't know what.
Have you any idea?
\nobreak before/after \hairline (or so) 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 -------------------------------------------------------------------------