From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Fraga Subject: Re: setting default BibTex file Date: Wed, 25 Apr 2012 21:06:12 +0930 Message-ID: <87fwbskpqr.fsf@ucl.ac.uk> References: <4F79924C.9000202@hafro.is> <24889.1333379457@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN0WO-0004Qc-0E for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 07:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN0WH-0002dc-M3 for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 07:36:31 -0400 Received: from va3ehsobe006.messaging.microsoft.com ([216.32.180.16]:59703 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN0WH-0002dT-Ha for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 07:36:25 -0400 In-Reply-To: <24889.1333379457@alphaville> (Nick Dokos's message of "Mon, 2 Apr 2012 11:10:57 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Julian Burgos , emacs-orgmode@gnu.org Nick Dokos writes: [...] > ... but you can shorten it by setting BIBINPUTS in your .profile/.login/whatever > and then using > > \bibliography{References} > > in your .org/.tex files. On TeX systems based on kpathsea and texmf, there are defaults which are quite reasonable. On Debian/Ubuntu, at the very least, you can put your files under ~/texmf in an appropriate subdirectory. Specifically, bib files can go in ~/texmf/bibtex/bib and they will automatically be found by bibtex. Similar directories exist for .bst, .sty and .cls files, etc. The actual paths searched by latex et al. are defined by the texmf configuration, usually found in /etc/texmf/texmf.cnf (again, on Debian systems; YMMV). This file is worth looking at as it is better documented than the man pages etc! In any case, that configuration file defines the default settings for BIBINPUTS, BSTINPUTS and so on. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1 : using Org-mode version 7.8.06 (release_7.8.06.181.g67694.dirty)