From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o7LBIdJd018191 for ; Sat, 21 Aug 2010 07:18:40 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 2A51B1563E2 for ; Sat, 21 Aug 2010 13:18:34 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([130.237.32.175]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id Y5UbpW4kslNd for ; Sat, 21 Aug 2010 13:18:32 +0200 (CEST) X-KTH-Auth: kristaps [85.8.61.112] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from lappy.cust.alltele.se (h85-8-61-112.dynamic.se.alltele.net [85.8.61.112]) by smtp-1.sys.kth.se (Postfix) with ESMTP id BBECB1563F9 for ; Sat, 21 Aug 2010 13:18:31 +0200 (CEST) Message-ID: <4C6FB614.6010201@bsd.lv> Date: Sat, 21 Aug 2010 13:18:44 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.23 (X11/20100318) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: mdocml: .Bl -column phrases ignore spacing rules for trailing References: <201008202251.o7KMpT4F020687@krisdoz.my.domain> In-Reply-To: <201008202251.o7KMpT4F020687@krisdoz.my.domain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit schwarze@mdocml.bsd.lv wrote: > Log Message: > ----------- > .Bl -column phrases ignore spacing rules for trailing punctuation > and render it just like normal text. > Minimal fix of a formatting bug in operator(7) reported by ray@. > > Modified Files: > -------------- > mdocml: > TODO > mdoc_term.c This needs to be backed out, unfortunately: it causes fallout. .Bl -column asdasdf asdfasdf .It hallo . Ta world . \" (1) .It hallo .world . \" (2) .It hallo . world . \" (3) .El Old/new groff: hallo. world. hallo . world. hallo. world. new mandoc: hallo . world . hallo . world . hallo . world . old mandoc: hallo. world. hallo. world. hallo. world. The fallout of case (1) is the biggest: Ta lists should not get IGNDELIM. This is hard to switch on because the TAB-Ta switching is done in libmdoc, and is not exported to the formatter. But I recall (2) and (3) being discussed. It was agreed, without a clear solution, that the issue was the space-before-tab. By following groff's logic, you'd have to say "if you have a tab directly after the last token in a list column, the punctuation will be considered normal text", which is not clear to a dummy like me anyway. I suggest that we go with mandoc's old behaviour at the expense of this one issue. It's easier to make unilateral statements: punctuation at the end of a list column, whether separated by Ta, tabs, tabs and spaces, etc., is treated as delimiting punctuation. Note that mdoc.7 explicitly allows for quoted tab-separated `It' columns, which may be appropriate in this case. Or just escaping the punctuation. So the above would be modified "the un-quoted...". Thoughts? Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv