From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11300 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Displayed material, again Date: Tue, 11 Mar 2003 00:24:30 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030311001735.0303a7e8@server-1> References: <1913256291.20030310172500@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 1047369645 11696 80.91.224.249 (11 Mar 2003 08:00:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 08:00:45 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 11 09:00:42 2003 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 18segk-00032J-00 for ; Tue, 11 Mar 2003 09:00:42 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 27C2410B51; Tue, 11 Mar 2003 09:01:22 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id AA61010AB6 for ; Tue, 11 Mar 2003 08:56:06 +0100 (MET) Original-Received: from server-1.pragma-net.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 h2B7tt99024020 for ; Tue, 11 Mar 2003 08:56:02 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2B7toEi007503 for ; Tue, 11 Mar 2003 08:55:51 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <1913256291.20030310172500@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:11300 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11300 At 05:25 PM 3/10/2003 +0100, you wrote: >to do as much of the job as possible, by itself. I therefore wish >to urge Hans to implement a new indentnext option, "auto", which >should give a behaviour similar to the one shown on this example: btw, here are shorter defs: \def\startdisplay {\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces} \def\stopdisplay {\par\doifnextcharelse\par\donothing\noindent} watch the \relax (prevents lookahead) and \doifnextcharelse anyway, isn't a \stopdisplay followed by an empty line still supposed to be a display?, so the full model is: \startparagraph text or not \startdisplay \stopdisplay text or not \stopparagraph the startparagraph and stopparagraph can be kind of automatic, but that's just an added bonus for those who want to use empty lines as signals (something which is not common, for instance in xml where proper tagging takes place). 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 -------------------------------------------------------------------------