From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11313 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: Displayed material, again Date: Tue, 11 Mar 2003 11:08:17 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <793170919.20030311110817@iol.it> References: <5.1.0.14.1.20030311001735.0303a7e8@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 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047377931 7855 80.91.224.249 (11 Mar 2003 10:18:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 10:18:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 11 11:18:49 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 18sgqP-00022N-00 for ; Tue, 11 Mar 2003 11:18:49 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4A43D10B4C; Tue, 11 Mar 2003 11:19:29 +0100 (MET) Original-Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by ref.ntg.nl (Postfix) with ESMTP id 295CA10AB6 for ; Tue, 11 Mar 2003 11:17:25 +0100 (MET) Original-Received: from [151.29.142.120] (151.29.142.120) by smtp2.libero.it (6.7.015) id 3E48BA3400ACBAAD for ntg-context@ntg.nl; Tue, 11 Mar 2003 11:17:25 +0100 X-Mailer: The Bat! (v1.63 Beta/7) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20030311001735.0303a7e8@server-1> 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:11313 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11313 Tuesday, March 11, 2003 Hans Hagen wrote: HH> btw, here are shorter defs: HH> \def\startdisplay HH> {\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces} HH> \def\stopdisplay HH> {\par\doifnextcharelse\par\donothing\noindent} HH> watch the \relax (prevents lookahead) and \doifnextcharelse Good to know, thanks. BTW, have you had a look at the patches I submitted to the list around 10pm yesterday? What do you think of them? HH> anyway, HH> isn't a \stopdisplay followed by an empty line still supposed to be a HH> display? Yes it is, and it conceptually belongs to the previous paragraph, but the following text is not part of the same paragraph and should therefore start with indentation. HH> , so the full model is: HH> \startparagraph HH> text or not HH> \startdisplay HH> \stopdisplay HH> text or not HH> \stopparagraph HH> the startparagraph and stopparagraph can be kind of automatic, but that's HH> just an added bonus for those who want to use empty lines as signals HH> (something which is not common, for instance in xml where proper tagging HH> takes place). Anything that gives a "paragraph end" should work. This is why in the patches I submitted I made a small change: it suffices to give a \noindent, regardless of what comes after, so that: (1) if paragraph doesn't end (by any mean: no \par, no empty line, no ), the next text will typographically belong to the same paragraph (i.e. will not be indented) (2) if paragraph ends (by any mean: \par, empty line, ), the next text will be indented, since the paragraph end will "absorb" the \noindent. -- Giuseppe "Oblomov" Bilotta