refer, lookbib \- find and insert literature references in documents
accepts keywords from the standard input
and searches a bibliographic data base for references
that contain those keywords anywhere in title, author,
Matching references are printed on the standard output.
Blank lines are taken as delimiters between queries.
that finds and formats references.
The input files (standard input default) are copied to the standard output,
except for lines between .[ and .]
command lines, which are assumed to contain keywords as for
and are replaced by information from the bibliographic data base.
The user may avoid the search, override fields from it, or
The reference data, from whatever source, are assigned to a set of
print the finished reference text from these strings.
A flag is placed in the text at the point of reference;
by default the references are indicated by numbers.
The following options are available:
author names (Jones, J. A. instead of J. A. Jones).
is omitted all author names are reversed.
Bare mode: do not put any flags in text (neither numbers nor labels).
Capitalize (with C\s-2APS\s0 S\s-2MALL\s+2 C\s-2APS\s0)
the fields whose key-letters are in
Instead of leaving the references where encountered,
until a sequence of the form
is encountered, and then write out all references
collected so far. Collapse references to the same source.
Instead of numbering references, use labels as specified in
Instead of numbering references, use labels made from
the senior author's last name and the year of publication.
digits of the date are used.
is omitted the entire name or date respectively is used.
Take the next argument as a file of
references to be searched.
The default file is searched last.
Do not search the default file.
Sort references by fields whose key-letters are in
reference numbers in text accordingly.
may be followed by a number to indicate how many such fields
taken as a very large number.
which sorts on the senior author and then date; to sort, for example,
on all authors and then title use
To use your own references, put them in the format
failure to index results in a linear search.
should be first, to minimize the volume
directory of default publication lists and indexes