[texhax] bib file in another directory

tom sgouros tomfool at as220.org
Tue Feb 8 15:48:08 CET 2005


 >On Tue, 08 Feb 2005 15:25:37 +0100, =?ISO-8859-1?Q?Stefan Bj=F6rk?= wrote:

>> how should I write my \bibliography{} line if the .bib file of 
>> references that I want to use is in a different directory from my .tex 
>> file manuscript?

> You can enter the complete search path. I usually use relative paths:

>    \bibliography{../../bib/bibliography}

In order to do this you may have to edit texmf.cnf.  I don't know
anything about windows, so it may not be true there, but on unix-ish
systems you have to find this configuration file (it's probably in the
web2c directory of your distribution), and make sure that the
"openin_any" variable is set to "a" in it.  This is a security
feature, and changing the setting the way I suggest disables it.

-tom

 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net



More information about the texhax mailing list