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 q9CEx3xR011219 for ; Fri, 12 Oct 2012 10:59:04 -0400 (EDT) Received: from langres.sis.pasteur.fr (localhost [127.0.0.1]) by mail-interne2.pasteur.fr (Postfix) with ESMTP id 2CC94E0663; Fri, 12 Oct 2012 16:58:58 +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 04128E065E; Fri, 12 Oct 2012 16:58:57 +0200 (CEST) Received: by lynche.sis.pasteur.fr (Postfix, from userid 1000) id 6B022BC9FC; Fri, 12 Oct 2012 17:00:36 +0200 (CEST) Date: Fri, 12 Oct 2012 17:00:36 +0200 From: Nicolas Joly To: discuss@mdocml.bsd.lv Subject: Small rendering difference between nroff and mandoc Message-ID: <20121012150036.GA22434@lynche.sis.pasteur.fr> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: Institut Pasteur, Paris. Hi, I recently started checking for differences between nroff and mandoc output for the NetBSD manpages. 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. By example with the select(2) man page : njoly@lanfeust [~]> cat /usr/share/man/man2/select.2 [...] a larger definition of .Dv FD_SETSIZE before the inclusion of .In sys/types.h . The kernel will cope,and the userland libraries provided with the system are also ready for large numbers of file descriptors. [...] njoly@lanfeust [~]> nroff -mandoc /usr/share/man/man2/select.2 [...] providing a larger definition of FD_SETSIZE before the inclusion of . The kernel will cope,and the userland libraries provided with the system are also ready for large numbers of file descriptors. njoly@lanfeust [~]> mandoc /usr/share/man/man2/select.2 [...] by providing a larger definition of FD_SETSIZE before the inclusion of . The kernel will cope,and the userland libraries provided with the system are also ready for large numbers of file descriptors. Thanks in advance, Regards. -- Nicolas Joly Biology IT Center Institut Pasteur, Paris. -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv