From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11288 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Displayed material, again Date: Mon, 10 Mar 2003 17:25:00 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <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 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047313704 7267 80.91.224.249 (10 Mar 2003 16:28:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 16:28:24 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Mar 10 17:28:23 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 18sQ8V-0001t5-00 for ; Mon, 10 Mar 2003 17:28:23 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id A2E0610B36; Mon, 10 Mar 2003 17:28:58 +0100 (MET) Original-Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by ref.ntg.nl (Postfix) with ESMTP id 36D4210B1C for ; Mon, 10 Mar 2003 17:25:41 +0100 (MET) Original-Received: from [151.29.129.178] (151.29.129.178) by smtp0.libero.it (6.7.015) id 3E68E185000CEFA8 for ntg-context@ntg.nl; Mon, 10 Mar 2003 17:25:39 +0100 X-Mailer: The Bat! (v1.63 Beta/7) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.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:11288 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11288 Hello list, I wish to bring the discussion again on displayed material. Display material is material that conceptually belongs to a paragraphs but typographically breaks it. After the display, the paragraph can continue or not. In ConTeXt, there are many things which should be considered displayed material: formulas, enumerations and other itemgroups, quotations, etc. Every start/stop pair that begins a new paragraph should actually be a displayed area. In ConTeXt, one can achieve such result by using [intentnext=yes] or [indentnext=no] on a case-by-case basis, depending on whether the start/stop pair is supposed to start a new paragraph or not. Of course, this "manual" way to do the thing goes against the general principle that the computer is supposed 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: === BEGIN displayed.tex === \setupindenting[medium] \definestartstop[display][before=\initdisplay,after=\terminatedisplay,style=italic] \def\initdisplay{\ifvmode\else\endgraf\noindent\fi \bgroup\advance\leftskip2\parindent\advance\rightskip2\parindent\ignorespaces} \def\terminatedisplay{\par\egroup\afterassignment\checkifpar\let\ispar=} \def\checkifpar{\ifx\ispar\par\else\noindent\expandafter\ispar\fi} \starttext The purpouse of this document is to practically show how display material should behave: display material is material that conceptually belongs to a paragraphs but typographically breaks it After the display, the paragraph can continue or not. We now quote Knuth: \startdisplay \input knuth \stopdisplay and continue the paragraph right after. The following quote will instead end the paragraph: \startdisplay \input tufte \stopdisplay This text belongs to a different paragraph: note that it's being indented (differently from the previous snippet). This paragraph has no quotations. Instead, the next paragraph will start with a quotation (display material at the beginning of the paragraph) and have some text after~it. \startdisplay \input knuth \stopdisplay is again a quote from Knuth. Observe that this way the source obeys the \TeX\ convention of empy lines to terminate paragraphs, and that it is not necessary to manually specify the intentnext option for the single cases. \stoptext === END displayed.tex === The paragraph-wise behaviour of \initdisplay and \terminatedisplay+\checkifpar (i.e. excluding the left-/rightskip adaptments, which have only a visual purpouse) should be the behaviour in case indentnext=auto. -- Giuseppe "Oblomov" Bilotta