/* various arguments for bib and listrefs processors */
# define REFSIZE 2048 /* maximum size of reference string */
# define MAXFIELD 512 /* maximum size of any field in referece*/
/* reference citation marker genrated in pass 1 */
# define CITEMARK (char) 02
# define CITEEND (char) 03
# define FMTSTART (char) 04
# define FMTEND (char) 05
/* output of invert, input file for references */
# define INDXFILE "INDEX"
/* pass1 reference collection file */
# define TMPREFFILE "/tmp/bibrXXXXXX"
/* pass2 text collection file */
# define TMPTEXTFILE "/tmp/bibpXXXXXX"
/* temp file used in invert */
# define INVTEMPFILE "/tmp/invertXXXXXX"
# define SYSINDEX "/usr/dict/papers/INDEX" /* default system dictionary */
# define N_BMACLIB "/usr/new/lib/bmac" /* where macro libraries live */
# define N_COMFILE "/usr/new/lib/bmac/common" /* common words */
# define N_DEFSTYLE "/usr/new/lib/bmac/bib.stdsn" /* default style of refs */
char BMACLIB
[64], COMFILE
[64], DEFSTYLE
[64];
/* maximum number of characters in common file */
/* fix needed for systems where open [w]+ doesn't work */
char *ri_ref
; /* actual value, base value */
char *ri_cite
; /* citation string */
char ri_disambig
[2]; /* disambiguation string */
int ri_length
; /* length of reference string, plus null */
long int ri_pos
; /* reference seek position */
int ri_n
; /* number of citation in pass1 */
struct refinfo
*ri_hp
; /* hash chain */
char *wi_word
; /* actual word */
char *wi_def
; /* actual definition */
int wi_length
; /* word length */
struct wordinfo
*wi_hp
; /* hash chain */