discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Small rendering difference between nroff and mandoc
@ 2012-10-12 15:00 Nicolas Joly
  2012-10-12 16:46 ` Ingo Schwarze
  2012-11-16 18:57 ` Ingo Schwarze
  0 siblings, 2 replies; 7+ messages in thread
From: Nicolas Joly @ 2012-10-12 15:00 UTC (permalink / raw)
  To: discuss


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
     <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 [~]> mandoc /usr/share/man/man2/select.2
[...]
     by providing a larger definition of FD_SETSIZE before the inclusion of
     <sys/types.h>. 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-19 13:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-12 15:00 Small rendering difference between nroff and mandoc Nicolas Joly
2012-10-12 16:46 ` Ingo Schwarze
2012-10-12 22:41   ` Nicolas Joly
2012-11-16 18:57 ` Ingo Schwarze
2012-11-17 10:49   ` Nicolas Joly
2012-11-18  0:07     ` Ingo Schwarze
2012-11-19 13:31       ` Nicolas Joly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).