emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Fraga <e.fraga@ucl.ac.uk>
To: nicholas.dokos@hp.com
Cc: Julian Burgos <julian@hafro.is>, emacs-orgmode@gnu.org
Subject: Re: setting default BibTex file
Date: Wed, 25 Apr 2012 21:06:12 +0930	[thread overview]
Message-ID: <87fwbskpqr.fsf@ucl.ac.uk> (raw)
In-Reply-To: <24889.1333379457@alphaville> (Nick Dokos's message of "Mon, 2 Apr 2012 11:10:57 -0400")

Nick Dokos <nicholas.dokos@hp.com> 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	other threads:[~2012-04-25 11:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 11:49 setting default BibTex file Julian Burgos
2012-04-02 13:53 ` suvayu ali
2012-04-02 15:10   ` Nick Dokos
2012-04-25 11:36     ` Eric Fraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwbskpqr.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=julian@hafro.is \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).