UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: referChapter 17
troff Preprocessors
Next: Reference: sortbib
 

roffbib

roffbib [options] [files]

Print a bibliographic database. roffbib is a shell script that processes the named files (or standard input if no files) through refer and prints the results as a bibliography. By default, the bibliography is formatted using nroff, use the -Q option to use troff instead.

roffbib accepts the following nroff/troff options and simply passes them to the formatter: -e, -h, -m, -n, -o, -q, -r, -s, and -T. See Chapter 12, nroff and troff, for more details.

Options

-H header

Set the "header" (title) to header. The default is BIBLIOGRAPHY. (This option is in the script, but is not documented.)

-Q

Use troff instead of nroff. The page offset is set to one inch.

-V

Typeset for Versatec printer/plotter. While documented in the manpage, this option is not in the script.

-x

Format abstracts or comments in the %X field of a bibliographic reference. Useful for annotated bibliographies. refer does not use the %X field.

Example

Sort a database and print it to a PostScript printer:

sortbib refs | roffbib -Q -x | /usr/lib/lp/postscript/dpost | lp


Previous: Reference: referUNIX in a Nutshell: System V EditionNext: Reference: sortbib
Reference: referBook IndexReference: sortbib

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System