Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 04:35:17 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Rich Morin <rdm@cfcl.com>
Cc:        doc@FreeBSD.ORG
Subject:   Re: Which man macros should I use?
Message-ID:  <20020417013517.GA28850@hades.hell.gr>
In-Reply-To: <p05100319b8e23cd44991@[192.168.254.205]>
References:  <p05100319b8e23cd44991@[192.168.254.205]>

next in thread | previous in thread | raw e-mail | index | archive | help
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<format> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020417013517.GA28850>