groff

GNU replacement for the troff and nroff typesetting utilities. More information: https://www.gnu.org/software/groff.

groff path/to/input.roff > path/to/output.ps

groff -man -T ascii path/to/manpage.1 | less --RAW-CONTROL-CHARS

groff -man -T html path/to/manpage.1 > path/to/manpage.html

groff -t -p -me -T pdf path/to/input.me > path/to/output.pdf

eval "$(grog -T utf8 path/to/input.me)"