groff

General

This document describes the groff program, the main front-end for the groff document formatting system. The groff program and macro suite is the implementation of a roff(7) system within the free software collection GNU. The groff system has all features of the classical roff, but adds many exten‐ sions.

The groff program allows control of the whole groff system by command-line options. This is a great simplification in comparison to the classical case (which uses pipes only).

Installation

$ apt install groff

Convert man pages to html

$ zcat /usr/share/man/man1/man.1.gz | groff -mandoc -Thtml > man.html