
Linux From Scratch - Version 7.0
156
6.42. Groff-1.21
The Groff package contains programs for processing and formatting text.
Approximate build time: 0.4 SBU
Required disk space: 78 MB
6.42.1. Installation of Groff
Groff expects the environment variable PAGE to contain the default paper size. For users in the United States,
PAGE=letter is appropriate. Elsewhere, PAGE=A4 may be more suitable. While the default paper size is
configured during compilation, it can be overridden later by echoing either “A4” or “letter” to the /etc/
papersize file.
Prepare Groff for compilation:
PAGE=<paper_size> ./configure --prefix=/usr
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install
Some documentation programs, such as xman, will not work properly without the following symlinks:
ln -sv eqn /usr/bin/geqn
ln -sv tbl /usr/bin/gtbl
6.42.2. Contents of Groff
Installed programs: addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, geqn (link to eqn), grap2graph,
grn, grodvi, groff, groffer, grog, grolbp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit,
indxbib, lkbib, lookbib, mmroff, neqn, nroff, pdfroff, pfbtops, pic, pic2graph, post-
grohtml, preconv, pre-grohtml, refer, roff2dvi, roff2html, roff2pdf, roff2ps, roff2text,
roff2x, soelim, tbl, tfmtodit, and troff
Installed directories: /usr/lib/groff, /usr/share/doc/groff-1.21, /usr/share/groff
Short Descriptions
addftinfo Reads a troff font file and adds some additional font-metric information that is used by the groff
system
afmtodit Creates a font file for use with groff and grops
chem Groff preprocessor for producing chemical structure diagrams
eqn Compiles descriptions of equations embedded within troff input files into commands that are
understood by troff
eqn2graph Converts a troff EQN (equation) into a cropped image
Comentarios a estos manuales