[comp.text] One database file in BibTex

shah@ucf-cs.ucf.edu (04/28/88)

I am using Bibtex in a LaTex document to get the bibliography.  
I have a big database file of references in b.bib.  I need to know how I can 
have only one copy of b.bib file on my VAX, and be able to access that 
bib file from any sbdirectory.  Currently I have a copy of b.bib in each 
subdirectory where I use LaTex, since at the end of the paper I have to put 
\bibliography {b}, if b.bib is not in the same subdirectory I get an error. 
I have also tried to put a path like \bibliography {~shah/papers/b.bib}, 
but it does not work.  Will appreciate any help.

Mubarak Shah     shah@ucf

ken@cs.rochester.edu (Ken Yap) (05/09/88)

|I am using Bibtex in a LaTex document to get the bibliography.  
|I have a big database file of references in b.bib.  I need to know how I can 
|have only one copy of b.bib file on my VAX, and be able to access that 
|bib file from any sbdirectory.  Currently I have a copy of b.bib in each 
|subdirectory where I use LaTex, since at the end of the paper I have to put 
|\bibliography {b}, if b.bib is not in the same subdirectory I get an error. 
|I have also tried to put a path like \bibliography {~shah/papers/b.bib}, 
|but it does not work.  Will appreciate any help.
|
|Mubarak Shah     shah@ucf

See at the tex man page about the TEXINPUTS environment variable. This
is for Unix TeX.

	Ken

kwb@hpmtlx.HP.COM (Keith Blackwell) (05/13/88)

> I have also tried to put a path like \bibliography {~shah/papers/b.bib}, 
> but it does not work.  Will appreciate any help.

I imagine that ~shah/papers/b.bib doesn't work since only the shell
(command interpretter) expands the ~ into an absolute path to the home
directory.  Try the absolute path (if you don't want to use TEXINPUTS
for every such need).  You can also try symbolic links (see ln(1)).

--- Keith.