From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9976 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[2]: In-paragraph display Date: Mon, 02 Dec 2002 18:40:46 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021202183104.02d46b78@server-1> References: <5.1.0.14.1.20021202153038.00b16eb0@server-1> <5.1.0.14.1.20021202153038.00b16eb0@server-1> 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 1038851598 17331 80.91.224.249 (2 Dec 2002 17:53:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2002 17:53:18 +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 18IuYQ-0003hO-00 for ; Mon, 02 Dec 2002 18:40:22 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 1892110AF9; Mon, 2 Dec 2002 18:42:41 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id DFC8110AE6 for ; Mon, 2 Dec 2002 18:41:14 +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 gB2IYUql029481 for ; Mon, 2 Dec 2002 19:34:31 +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 gB2HfBgk005023 for ; Mon, 2 Dec 2002 18:41:11 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <1073357918.20021202180316@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:9976 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9976 At 06:03 PM 12/2/2002 +0100, you wrote: >Uhm. I can't think of any example like that, really. The point is >that in ConTeXt as it is now a display (formula, itemization, >quotation, etc) is always forces a paragraph before and after, >which is not consistent with what the writer might want; think for >example of something like: hm, but it's not the writer who's in charge here, but the designer; so, in terms of intentional coding, one should code in such a way that whatever strange thing happens along the road (accidental empty line or not) the output is consistent. So, an in-par something should be coded as such so that the environment can handle it, as good as possible. >-------------- >An introduction to the following: >* itemization >* one more item >and a conclusion, all in the same paragraph there are options for that -) >Doesn't work. Try setting \setupindenting[medium] in your example; >you'll notice that each line starts a new paragraph, and this is >not what is wanted. ah, so we should look ahead, doable but never 100% robust; with regards to looking back, definitely less robust >(1) the display should end the previous paragraph if and only if >\start... is preceded by an empty line > >(2) the material following the \stop... should start a new >paragraph if and only if there is an empty line between the \stop >and the material or a text\par text, or text\whow[expanding into \par]text >HH> The best solution of course is to define the proper instances of >HH> enviroments (math already has 'm) > >All (displayed) blocks should have this feature. If you don't want >to break backwards compatibility, you could setup a couple of you can bet on that >options for \startstop pairs. As I proposed in another mail, it >should be tunable at a global level and on a per-\startstop level: such a feature should be tested for *each* environment with all kind of combinations, since spacing can really become nasty >I propose a global switch like > >\setupstartstops[break=always] % current ConTeXt behaviour >\setupstartstops[break=par] % only start new paragraphs > % when there are empty lines hm, not sure it it hooks/should hook into start/stop >and local switches like: > >\setupquotations[newpar=always] % current behaviour > >where newpar can be always, (current behaviour, regardless of >global setting), default (follow general \startstop behaviour set >up by \setupstartstops) or par (start according to empty lines >regardless of global setting). Does it sound sensible? depends, this is not something that will be there in-a-minute, and i definitely don't want to break compatibility for a convenience over coding feature -) The first thing is a proper \start/stopdisplay pair, so let's start with that; one can then hook that into start/stop an dlater we can see if some kind of auto-display is possible [display=none|before|after|both] 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 -------------------------------------------------------------------------