From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9991 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re[3]: In-paragraph display Date: Tue, 03 Dec 2002 12:00:43 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021203115211.02275738@server-1> References: <5.1.0.14.1.20021202183104.02d46b78@server-1> <5.1.0.14.1.20021202153038.00b16eb0@server-1> <5.1.0.14.1.20021202153038.00b16eb0@server-1> <5.1.0.14.1.20021202183104.02d46b78@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 1038919764 7443 80.91.224.249 (3 Dec 2002 12:49:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2002 12:49:24 +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 18JCUN-0001vv-00 for ; Tue, 03 Dec 2002 13:49:23 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 13FCE10AEF; Tue, 3 Dec 2002 13:51:43 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 92BA910AEC for ; Tue, 3 Dec 2002 13:50:08 +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 gB3DhCsg017281 for ; Tue, 3 Dec 2002 14:43:12 +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 gB3Co2gg010198 for ; Tue, 3 Dec 2002 13:50:02 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <532276393.20021203013702@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:9991 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9991 At 01:37 AM 12/3/2002 +0100, you wrote: >This is where we differ. After all, the empty line is the >*standard* TeX (and ConTeXt) way to denote new paragraph. While >should it be different for displayed items? It's inconsistent. it's because in my limited perception display stuff is not part if the par -) >But I have to specify it manually. If I later decide to rewrite >the stuff so that it's really in separate paragraphs I have to >change the displayed environment, while what should suffice is >letting ConTeXt understand that a new paragraph is started --the >*standard* way (empty line). eh .. not sure if i understand this; some global switch would do most of the trick i assume > >>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. > >HH> ah, so we should look ahead, doable but never 100% robust; with >regards to >HH> looking back, definitely less robust > >I don't think there should be any need to look back or ahead. Just >don't force a new paragraph before and after each displayed item. >Let the user choose, the standard way(s). well, since i want to be able to control consistency, i do need to look back; say that the design says: no empty lines (parskips) before something, then i need to configure that particular display instance to ignore the (possiibly already applied) parskip; keep in mind that it's not always the author who decides that somethign should start like a new paragraph; so, even if i provide you thsi display feature, i need it to be configurable in many ways for my own needs -) would not hurt you anyway > >>I propose a global switch like > >> > >>\setupstartstops[break=always] % current ConTeXt behaviour > >>\setupstartstops[break=par] % only start new paragraphs > >> % when there are empty lines > >HH> hm, not sure it it hooks/should hook into start/stop > >Where should it hook? All displayed items are start/stop pairs. If >you want to overrule this for a specific start/stop pair, you can >always to it with the local switch: i cannot simply before=\startdisplay things because it would break compatibility, so it would mean that each environment would get a display=... switch with some global default, in addition to start/stop >is part of a paragraph but gets "highlited" by typesetting it in a >different format, sort of like a subparagraph. This category >includes itemizations (all itemgroups, actually), formulas (not >inline, of course), quotations, etc. hm, i like a more general view on 'display': anything that stands out in the text stream, being par or not, this is why it should be configurable (even tex is a bit fuzzy about it, since display math is used for both in-par or between par math) 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 -------------------------------------------------------------------------