From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o4CHEkxq024962 for ; Wed, 12 May 2010 11:14:47 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 5848614C06E for ; Wed, 12 May 2010 23:03:18 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by localhost (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RPukrx9LJ8gP for ; Wed, 12 May 2010 23:03:16 +0200 (CEST) X-KTH-Auth: kristaps [85.8.61.64] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from lappy.bsd.lv (h85-8-61-64.dynamic.se.alltele.net [85.8.61.64]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 0B94414E087 for ; Wed, 12 May 2010 23:03:14 +0200 (CEST) Message-ID: <4BEB1792.1040102@bsd.lv> Date: Wed, 12 May 2010 23:03:14 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.16 (X11/20080812) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: "discuss@mdocml.bsd.lv" Subject: mandoc and EOS spacing. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I just checked in a framework for EOS spacing in mandoc. It's a very small, easily-auditable patch, but it works quite well and can expand to handle lots of hard cases. It works by the back-ends setting a flag for nodes are on a sentence boundary. The front-end drivers catch this and (optionally) sets a flag for the output engine, which adds an extra space to the inter-word spacing. I've implemented it for non-literal free-form text contexts in both -mdoc and -man for -Tascii. It's documented in mdoc.7 and man.7, respectively, both of which have also been end-of-sentence-end-of-lined. Thanks, Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv