From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-interne2.pasteur.fr (mail-interne2.pasteur.fr [157.99.64.81]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id q9CMeE14012019 for ; Fri, 12 Oct 2012 18:40:15 -0400 (EDT) Received: from langres.sis.pasteur.fr (localhost [127.0.0.1]) by mail-interne2.pasteur.fr (Postfix) with ESMTP id 71388E04BB; Sat, 13 Oct 2012 00:40:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at pasteur.fr Received: from lynche.sis.pasteur.fr (lynche.sis.pasteur.fr [157.99.60.35]) by mail-interne2.pasteur.fr (Postfix) with ESMTP id 3070BE04B7; Sat, 13 Oct 2012 00:40:07 +0200 (CEST) Received: by lynche.sis.pasteur.fr (Postfix, from userid 1000) id BBBA9BC9FC; Sat, 13 Oct 2012 00:41:46 +0200 (CEST) Date: Sat, 13 Oct 2012 00:41:46 +0200 From: Nicolas Joly To: Ingo Schwarze Cc: discuss@mdocml.bsd.lv, Nicolas Joly Subject: Re: Small rendering difference between nroff and mandoc Message-ID: <20121012224146.GA21963@lynche.sis.pasteur.fr> References: <20121012150036.GA22434@lynche.sis.pasteur.fr> <20121012164637.GA7552@iris.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121012164637.GA7552@iris.usta.de> User-Agent: Mutt/1.4.2.3i Organization: Institut Pasteur, Paris. On Fri, Oct 12, 2012 at 06:46:37PM +0200, Ingo Schwarze wrote: > Nicolas Joly wrote on Fri, Oct 12, 2012 at 05:00:36PM +0200: > > > I recently started checking for differences between nroff and mandoc > > output for the NetBSD manpages. > > Nice to hear that, thanks! Yep. I find that way a few strange/bad/... constructs that render differently with both formatters. > > And noticed a small spacing difference > > between the tools. When a sentence ends with a macro followed by a > > punctuation mark mandoc does only output a single space character but > > nroff adds two. > > Neither the groff nor the mandoc side is as simple as that. Otherwise it would have already been fixed ;) [...] > In OpenBSD base, i see one single instance of this issue, > in open(2). Actually i do see about 150 man pages in the NetBSD base system (e.g. in /usr/share/man) that exhibit a similar behaviour ... > In any case, this is rather rare and of relatively little impact, > compared to other remaining EOS issues. Still, it ought to be > fixed eventually. For now, i'm adding this to > > http://mdocml.bsd.lv/cgi-bin/cvsweb/TODO?cvsroot=mdocml > > - Trailing isolated dots lack EOS for some macros. > This cannot use mandoc_eos() because groff only does EOS > for isolated dots at least in some of these cases. > Affected macros included those using in_line_eoln(). > Make sure to fix open(2) > without breaking fstat(1), ksh(1), tzset(3) and UKC(8). > reported by Nicolas Joly Fri, 12 Oct 2012 17:00:36 +0200 Thanks. -- Nicolas Joly Biology IT Center Institut Pasteur, Paris. -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv