From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9962 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: In-paragraph display Date: Mon, 02 Dec 2002 15:34:55 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021202153038.00b16eb0@server-1> References: <231935513.20021201100653@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1038840815 3654 80.91.224.249 (2 Dec 2002 14:53:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2002 14:53:35 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Irx0-0000wm-00 for ; Mon, 02 Dec 2002 15:53:34 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CC1B910AE6; Mon, 2 Dec 2002 15:55:49 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 610DC10ABF for ; Mon, 2 Dec 2002 15:55:01 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gB2FmIfr011056 for ; Mon, 2 Dec 2002 16:48:18 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gB2Esxgg004489 for ; Mon, 2 Dec 2002 15:54:59 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <231935513.20021201100653@iol.it> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9962 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9962 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 -------------------------------------------------------------------------