Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 12:05:41 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "Sijmen J. Mulder" <ik@sjmulder.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Should I use mdoc for user programs?
Message-ID:  <20171012120541.391b2396.freebsd@edvax.de>
In-Reply-To: <054bc713-af5d-3193-3e5f-485f83b35b99@sjmulder.nl>
References:  <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <20171012111721.509a17b5.freebsd@edvax.de> <054bc713-af5d-3193-3e5f-485f83b35b99@sjmulder.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Oct 2017 11:35:13 +0200, Sijmen J. Mulder wrote:
> Op 12-10-2017 om 11:17 schreef Polytropon:
> > No, many programs from the ports collection provide a manpage in the 
> > standard format (for example "man opera" which is far from being a 
> > system program).
> 
> That manpage is not using mdoc (different macros) but I see that the 
> output is very similar, including the FreeBSD OS name. I'll just keep it 
> at that, then.

Well, I just mentioned Opera as an example of a non-system
manpage. I've not verified that they're using mdoc. My home
system has an older version of Opera, and it does not mention
the OS name in the header or footer (just "OPERA(1)").

I usually take the examples at /usr/share/examples/mdoc/ as
a template and redefine .Dd, .Ot., and .Os as needed.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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