GNU troff typesetter
Project homepage: https://www.gnu.org/software/groff/
Description
GNU troff (Groff) is the GNU reimplementation of the traditional
general-purpose UNIX typesetting system, roff.
The groff distribution includes:
* various macro packages including man, mdoc, ms, me, mm, and mom;
* postprocessors for various output devices, including character
terminals, X terminals, PostScript, HTML and XHTML, and TeX DVI;
* and many utility programs.
Package information
- Ports path
- textproc/groff
- Package architecture
- amd64
- Maintainer
- Ingo Schwarze <schwarze@openbsd.org>
- Categories
- textproc
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
None listed.
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running groff on OpenBSD
+-----------------------------------------------------------------------
Even though roff is a general-purpose typesetting system, the OpenBSD
groff port is focussed on formatting ports(7) manuals that mandoc(1)
is unable to handle. To make groff output as similar as possible to
mandoc output, the following two groff features have been disabled by
default: adjustment of text to the right margin and hyphenation.
If you want to use groff for serious typesetting work and need these
features, please set up your own troff(1) configuration file:
mkdir ~/.tmac
cp ${TRUEPREFIX}/share/groff/current/tmac/troffrc ~/.tmac/
export GROFF_TMAC_PATH=~/.tmac
In your new troffrc file, uncomment these two lines to enable
hyphenation:
.do hpf hyphen.us
.do hpfa hyphenex.us
Delete these three lines to enable the roff `ad' request, such that
documents can adjust text to the right margin:
.ad l
.de ad
..
To suit the taste of OpenBSD developers, two mdoc(7) formatting
details have been changed with respect to the upstream distribution:
* Title lines use an n-dash, not an m-dash between the manual page
name and the manual page description.
* The .Pa macro always produces emphasized text,
even in the FILES section.
Used by (45 dependency relationships)
Includes library, runtime, build and test dependencies.