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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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