Along with several associated commands, refer is a preprocessor for managing a database of bibliographic references. The database is kept in a separate file, and short references within a document are replaced by an expanded formal version.
The alphabetical command summary at the end of this section lists the usage and options for refer and the other commands that work with bibliographic databases.
refer is not supplied with SVR4, but it is a standard part of Solaris.
Bibliographic databases are text files, with each entry separated from the next by one or more blank lines. Within an entry, each field consists of a key letter (given as
%T 5-by-5 Palindromic Word Squares %A M.D. McIlroy %J Word Ways %V 9 %P 199-202 %D 1976
In a document, use of refer might look like this:
Palindromes are fun. Very large ones can be used to impress your friends. Palindromic word squares .[ %A McIlroy .] are even more amazing, and should be reserved for impressing your boss. ... .SH REFERENCES .[ $LIST$ .]
The document shown here uses refer
's collection mode (