|
|
BSD 4.3reno
BIB(1) UNIX Programmer's Manual BIB(1)
NNAAMMEE
bib, listrefs - bibliographic formatter; list bibliographic
reference items
SSYYNNOOPPSSIISS
bbiibb [options] ...
lliissttrreeffss [options] ...
DDEESSCCRRIIPPTTIIOONN
_B_i_b is a preprocessor for _n_r_o_f_f or _t_r_o_f_f(1) that formats
citations and bibliographies. The input files (standard
input default) are copied to the standard output, except for
text between [. and .] pairs, which are assumed to be key-
words for searching a bibliographic database. If a matching
reference is found a citation is generated replacing the
text. References are collected, optionally sorted, and
written out at a location specified by the user. Citation
and reference formats are controlled by the -t option.
Reference databases are created using the _i_n_v_e_r_t utility.
The following options are available. Note that standard
format styles (see the -t option) set options automatically.
Thus if a standard format style is used the user need not
indicate any further options for most documents.
-aa reduce authors first names to abbreviations.
-ar_n_u_m reverse the first _n_u_m author's names. If a number
is not given all authors names are reversed.
-ax print authors last names in Caps-Small Caps style.
For example Budd becomes BUDD. This style is used
by certain ACM publications.
-c_s_t_r build citations according to the template _s_t_r. See
the reference format designers guide for more infor-
mation on templates.
-ea reduce editors first names to abbreviations.
-ex print editors last names in Caps-Small Caps style
(see -ax option).
-er_n_u_m reverse the first _n_u_m editors names. If a number is
not given all editors names are reversed.
-f instead of collecting references, dump each refer-
ence immediately following the line on which the
citation is placed (used for footnoted references).
-i _f_i_l_e
Printed 8/22/89 May 25, 1986 1
BIB(1) UNIX Programmer's Manual BIB(1)
-i_f_i_l_e process the indicated file, such as a file of defin-
itions. (see technical report for a description of
file format).
-h replace citations to three or more adjacent refer-
ence items with a hyphenated string (eg 2,3,4,5
becomes 2-5). This option implies the -o option.
-n_s_t_r turn off indicated options. _s_t_r must be composed of
the letters afhosx.
-o contiguous citations are ordered according the the
reference list before being printed (default).
-p _f_i_l_e
-p_f_i_l_e instead of searching the file INDEX, search the
indicated reference files before searching the sys-
tem file. _f_i_l_e_s is a comma separated list of
inverted indices, created using the _i_n_v_e_r_t utility.
-s_s_t_r sort references according to the template _s_t_r.
-t _t_y_p_e
-t_t_y_p_e use the standard macros and switch settings for the
indicated style to generate citations and refer-
ences. There are a number of standard styles pro-
vided. In addition users can generate their own
style macros. See the format designers guide for
details.
_L_i_s_t_r_e_f_s formats an entire reference database file. Options
to _l_i_s_t_r_e_f_s are the same as for _b_i_b.
_B_i_b was designed initially for use with the -ms macros, and
uses a couple of the -ms macros (.ip and .lp) in its macro
definitions. To use it with the -me macros, prefix the file
being sent to nroff/troff with the following macro defini-
tions:
.de IP
.ip \$1 \$2
..
.de LP
.lp
..
A file "bibmac.me" containing these macro definitions may be
found in /usr/new/lib/bmac.
FFIILLEESS
INDEX inverted index for reference database
Printed 8/22/89 May 25, 1986 2
BIB(1) UNIX Programmer's Manual BIB(1)
/usr/dict/papers/INDEXdefault system index
/usr/new/lib/bmac/bmac.*formatting macro packages
/usr/tmp/bibr* scratch file for collecting references
/usr/tmp/bibp* output of pass one of bib
SSEEEE AALLSSOO
_A _U_N_I_X _B_i_b_l_i_o_g_r_a_p_h_i_c _D_a_t_a_b_a_s_e _F_a_c_i_l_i_t_y, Timothy A. Budd and
Gary M. Levin, University of Arizona Technical Report 82-1,
1982. (includes format designers guide).
invert(1), troff(1)
Printed 8/22/89 May 25, 1986 3
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.