A.12. Groff

A.12.1. Contents

The Groff packages contains the addftinfo, afmtodit, eqn, grodvi, groff, grog, grohtml, grolj4, grops, grotty, hpftodit, indxbib, lkbib, lookbib, neqn, nroff, pfbtops, pic, psbb, refer, soelim, tbl, tfmtodit and troff programs.

A.12.2. Description

A.12.2.1. addftinfo

addftinfo reads a troff font file and adds some additional font-metric information that is used by the groff system.

A.12.2.2. afmtodit

afmtodit creates a font file for use with groff and grops.

A.12.2.3. eqn

eqn compiles descriptions of equations embedded within troff input files into commands that are understood by troff.

A.12.2.4. grodvi

grodvi is a driver for groff that produces TeX dvi format.

A.12.2.5. groff

groff is a front-end to the groff document formatting system. Normally it runs the troff program and a postprocessor appropriate for the selected device.

A.12.2.6. grog

grog reads files and guesses which of the groff options -e, -man, -me, -mm, -ms, -p, -s, and -t are required for printing files, and prints the groff command including those options on the standard output.

A.12.2.7. grohtml

grohtml translates the output of GNU troff to html

A.12.2.8. grolj4

grolj4 is a driver for groff that produces output in PCL5 format suitable for an HP Laserjet 4 printer.

A.12.2.9. grops

grops translates the output of GNU troff to PostScript.

A.12.2.10. grotty

grotty translates the output of GNU troff into a form suitable for typewriter-like devices.

A.12.2.11. hpftodit

hpftodit creates a font file for use with groff -Tlj4 from an HP tagged font metric file.

A.12.2.12. indxbib

indxbib makes an inverted index for the bibliographic databases a specified file for use with refer, lookbib, and lkbib.

A.12.2.13. lkbib

lkbib searches bibliographic databases for references that contain specified keys and prints any references found on the standard output.

A.12.2.14. lookbib

lookbib prints a prompt on the standard error (unless the standard input is not a terminal), reads from the standard input a line containing a set of keywords, searches the bibliographic databases in a specified file for references containing those keywords, prints any references found on the standard output, and repeats this process until the end of input.

A.12.2.15. neqn

It is currently not known what neqn is and what it does.

A.12.2.16. nroff

The nroff script emulates the nroff command using groff.

A.12.2.17. pfbtops

pfbtops translates a PostScript font in .pfb format to ASCII.

A.12.2.18. pic

pic compiles descriptions of pictures embedded within troff or TeX input files into commands that are understood by TeX or troff.

A.12.2.19. psbb

psbb reads a file which should be a PostScript document conforming to the Document Structuring conventions and looks for a %%BoundingBox comment.

A.12.2.20. refer

refer copies the contents of a file to the standard output, except that lines between .[ and .] are interpreted as citations, and lines between .R1 and .R2 are interpreted as commands about how citations are to be processed.

A.12.2.21. soelim

soelim reads files and replaces lines of the form .so file by the contents of file.

A.12.2.22. tbl

tbl compiles descriptions of tables embedded within troff input files into commands that are understood by troff.

A.12.2.23. tfmtodit

tfmtodit creates a font file for use with groff -Tdvi

A.12.2.24. troff

troff is highly compatible with Unix troff. Usually it should be invoked using the groff command, which will also run preprocessors and postprocessors in the appropriate order and with the appropriate options.