emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] setting default BibTex file


From: Eric Fraga
Subject: Re: [O] setting default BibTex file
Date: Wed, 25 Apr 2012 21:06:12 +0930
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Nick Dokos <address@hidden> 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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]