Subject: Re: misc/29236: mdoc2html: formatting glitches
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-bugs
Date: 02/07/2005 01:52:02
The following reply was made to PR misc/29236; it has been noted by GNATS.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/29236: mdoc2html: formatting glitches
Date: Mon, 7 Feb 2005 02:50:59 +0100

 On Fri, Feb 04, 2005 at 10:50:01PM +0000, Thomas Klausner wrote:
 > When generating HTML man pages, one of the problems one encounters is:
 > The .Nx macro adds no space between NetBSD and its argument in the output.
 > For example:
 > .Nx 1.6
 > becomes
 > NetBSD1.6
 > 
 > The same applies to .Ox.
 [and Fx]
 
 A simple-minded fix is to add a space after the string "NetBSD"
 (et al.) in doc2html, this works for .Nx 1.6; however, it makes an
 extra space in the cases where .Nx is used at the end of a sentence
 or before a comma, like ".Nx ." or ".Nx ,", which are both perfectly
 fine for ASCII and PostScript output.
 
 We could commit it as a workaround, since we probably have more
 uses with a version number than without, but a real fix would of
 course be better.
 
  Thomas