BibTeX, biblatex and biberFixed Folder for Bibliography Database

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
marc
Posts: 1
Joined: Sun Apr 21, 2013 3:15 pm

Fixed Folder for Bibliography Database

Post by marc »

Hi,

I am using the bibliography and my references are in JabRef. For the moment, I have the bibliography database file in the same folder as the LaTeX document. Is there any way I can call the database file from a different folder by specifying a directory in the LaTeX source file? I have a master reference for all my papers and at the moment I have to move it to a specific folder every time I draft a new paper. Please let me know.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Fixed Folder for Bibliography Database

Post by kaiserkarl13 »

In some TeX distributions, there is a variable called BSTINPUTS and another called BIBINPUTS that define search directories for .bst files and .bib files, respectively. Mine looks like this:

Code: Select all

export BIBINPUTS=".:$HOME/LaTeX/includes:"
Note the leading "." (meaning "search the current directory BEFORE seaching anywhere else") and the trailing colon (meaning "search the default locations after searching in these places").

This works in TeXLive and teTeX; I don't know how universal those variables are, though. There is also a TEXINPUTS variable that specifies a search directory for \included and \inputted files as well as document classes and packages.
Post Reply