From owner-freebsd-doc Tue Apr 16 18:35:31 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 947A237B416 for ; Tue, 16 Apr 2002 18:35:27 -0700 (PDT) Received: from hades.hell.gr (patr530-a234.otenet.gr [212.205.215.234]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3H1ZJL3025121; Wed, 17 Apr 2002 04:35:21 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g3H1ZJ0H028909; Wed, 17 Apr 2002 04:35:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g3H1ZInv028908; Wed, 17 Apr 2002 04:35:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 17 Apr 2002 04:35:17 +0300 From: Giorgos Keramidas To: Rich Morin Cc: doc@FreeBSD.ORG Subject: Re: Which man macros should I use? Message-ID: <20020417013517.GA28850@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002-04-16 13:59, Rich Morin wrote: > This may seem like a dumb question (OK; it IS a dumb question :-), but > I'm hoping that someone here can give me an authoritative answer: > > Which troff macros should I use to format the FreeBSD 4.5 man pages? > > I've been using "groff -man", but I'm getting some errors. I tried > "groff -mdoc", as suggested in mdoc(7), but that gives far MORE errors. > I tried "groff -mandoc", but it acts about like "groff -man". Wazzup? If you want plain text output, the following two are equivalent: nroff -mandoc file.1 | more groff -mandoc -Tascii file.1 | more If you want PostScript output, or DVI, or something that is not plain text, the more general groff -T command is what you need. Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message