From owner-freebsd-doc Tue May 23 7:36:58 2000 Delivered-To: freebsd-doc@freebsd.org Received: from mppsystems.com (mppsystems.com [208.210.148.205]) by hub.freebsd.org (Postfix) with ESMTP id DE13237B85C for ; Tue, 23 May 2000 07:36:55 -0700 (PDT) (envelope-from mpp@mppsystems.com) Received: (from mpp@localhost) by mppsystems.com (8.9.3/8.9.3) id JAA11102; Tue, 23 May 2000 09:33:03 -0500 (CDT) (envelope-from mpp) Date: Tue, 23 May 2000 09:33:03 -0500 From: Mike Pritchard To: Nicola Vitale Cc: Mark Ovens , doc@FreeBSD.ORG Subject: Re: Question about mdoc formatting Message-ID: <20000523093303.A11021@mppsystems.com> References: <20000521164932.A236@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from nivit@libero.it on Tue, May 23, 2000 at 03:51:45PM +0200 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 23, 2000 at 03:51:45PM +0200, Nicola Vitale wrote: > > [Mark Ovens, 21/05/00] > > How do you force a newline in mdoc? > > .br No, don't use *roff formatting directives directly within -mdoc style man pages. The .Pp macro will generate a line break, as well as an empty line, which may not be what you want. > So in your > > > Example: > > > > .It Ev DEF_BUILD_DIR > > If set, is used as the path of the build directory instead of > > .Pa /usr/src/sys/compile . > > It can be overridden by the > .br > > .Fl d Ar destdir > > option. I would suggest something like this (untested): .It Ev DEF_BUILDER_DIR If set, is used as the path of the build directory instead of .Pa /usr/src/sys/compile It can be overridden by the .Dq Fl d Ar destdir option. This should generate something like: DEF_BUILDER_DIR If set, is used as the path of the build directory instead of _/usr/src/sys/compile. It can be overridden by the ``-d destdir'' option. -Mike -- Mike Pritchard mpp@FreeBSD.org or mpp@mppsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message