From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88590 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Startparagraph oddities Date: Thu, 28 Aug 2014 18:22:32 -0400 Message-ID: <53FFABA8.1090000@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0153352824==" X-Trace: ger.gmane.org 1409264587 25512 80.91.229.3 (28 Aug 2014 22:23:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2014 22:23:07 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 29 00:23:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XN85t-0001LR-Sj for gctc-ntg-context-518@m.gmane.org; Fri, 29 Aug 2014 00:23:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45BB51021D for ; Fri, 29 Aug 2014 00:23:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lFRbDwWdqTU4 for ; Fri, 29 Aug 2014 00:23:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 01BD41021F for ; Fri, 29 Aug 2014 00:22:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADE3D101E3 for ; Fri, 29 Aug 2014 00:22:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WdJLIgQmUkHV for ; Fri, 29 Aug 2014 00:22:45 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id E2345101E1 for ; Fri, 29 Aug 2014 00:22:44 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7SMKago004107 for ; Fri, 29 Aug 2014 00:20:37 +0200 Original-Received: from [192.168.9.122] (pool-71-183-246-109.nycmny.fios.verizon.net [71.183.246.109]) by mailbackend.panix.com (Postfix) with ESMTP id 67E852E5B3 for ; Thu, 28 Aug 2014 18:22:37 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WMImkAeU - e0f2a760c3d8 - 20140829 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88590 Archived-At: This is a multi-part message in MIME format. --===============0153352824== Content-Type: multipart/alternative; boundary="------------070006000506000307050102" This is a multi-part message in MIME format. --------------070006000506000307050102 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit There appears to be an inconsistency in the implementation of \startparagraph. When it is used with one argument (or two by my reading of the source) it defines \stopparagraph with a terminal \endgraf, yet with no arguments this is not done. Strangely (to me) it also appears to insert a line-break before \startparagraph[]. The example below demonstrates these issues. I would expect to have \endgraf inserted with each \stopparagraph regardless of the argument count. There is also a wiki issue with overloading of the command name \startparagraph. The existing command entry points to the paragraphs mechanism for setting up parallel paragraphs in columns. There is also a \startParagraph command described for the t-pararef module. There is no mention of \startparagraph in the \startsection page, which might be an appropriate place. Perhaps some Wikipedia-style disambiguation mechanism is needed. \starttext \startparagraph One \stopparagraph \startparagraph Twee \stopparagraph \startparagraph Drie \stopparagraph \startparagraph[] One \stopparagraph \startparagraph Twee \stopparagraph \startparagraph Drie \stopparagraph \stoptext -- Rik Kabel --------------070006000506000307050102 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable There appears to be an inconsistency in the implementation of \st= artparagraph.=C2=A0 When it is used with one argument (or two by my reading of the source) it defines \stopparagraph with a terminal \endgr= af, yet with no arguments this is not done. Strangely (to me) it also appears to insert a line-break before \startparagraph[]. The example below demonstrates these issues.

I would expect to have \endgraf inserted with each \stop= paragraph regardless of the argument count.

There is also a wiki issue with overloading of the command name \= startparagraph. The existing command entry points to the paragraphs mechanism for setting up parallel paragraphs in columns. There is also a \start= Paragraph command described for the t-pararef module. There is no mention of \startparagraph in the \startsection page, which might be an appropriate place. Perhaps some Wikipedia-style disambiguation mechanism is needed.
\starttext
\startparagraph
One
\stopparagraph
\startparagraph
Twee
\stopparagraph
\startparagraph
Drie
\stopparagraph
\startparagraph[]
One
\stopparagraph
\startparagraph
Twee
\stopparagraph
\startparagraph
Drie
\stopparagraph
\stoptext

--
Rik Kabel
--------------070006000506000307050102-- --===============0153352824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0153352824==--