At 10:06 AM 12/1/2002 +0100, you wrote:
Hello,
I'm going to bring the discussion back to a sore point that really
hm, didn't know you were such a sore guy; don't get too depressed what you want is kind of tricky in the sense that i hate macros that have to adapt themselves to such fuzzy situations (actuall yit's one of the reasons why so many tex docs (books, manuals, whatever) around have lousy vertical spacing; anyhow, because i can't stand you crying: \def\displaybreak {\ifhmode \removeunwantedspaces \ifcase\raggedstatus\hfill\fi \strut\penalty-9999 % \break fails on case (3) \fi} \def\startdisplay{\displaybreak\ignorespaces\startopelkaar} \def\stopdisplay {\stopopelkaar\displaybreak\ignorespaces} %\setupwhitespace[big] %%%%%% the tricky part \setuplayout[topspace=1cm] \setuplayout[middle] \showstruts \starttext \startbuffer (1) some text before \startdisplay displayed material \stopdisplay some text after (2) some text before \startdisplay displayed material \stopdisplay some text after (3) some text before \startdisplay displayed material \stopdisplay some text after (4) some text before \startdisplay displayed material \stopdisplay some text after \stopbuffer \typebuffer \getbuffer \page \startbuffer (1) some text before \startdisplay \blanko displayed material \blanko\stopdisplay some text after (2) some text before \startdisplay \blanko displayed material \blanko\stopdisplay some text after (3) some text before \startdisplay \blanko displayed material \blanko\stopdisplay some text after (4) some text before \startdisplay \blanko displayed material \blanko \stopdisplay some text after \stopbuffer \typebuffer \getbuffer \page \stoptext The best solution of course is to define the proper instances of enviroments (math already has 'm) 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 -------------------------------------------------------------------------