[Top][All Lists]

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


From: Ralf Angeli
Date: Thu, 26 Jan 2006 21:30:00 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

* Greg BOGNAR (2006-01-26) writes:

> I have bibligraphy databases in a dedicated directory.  I set BIBINPUTS
> for that directory.

How do you set BIBINPUTS?  In my case I have
BIBINPUTS = .;$TEXMF/bibtex/bib//
in /etc/texmf/texmf.cnf.

This expands to:

$ kpsewhich --expand-path \$BIBINPUTS

(I have created the directory /home/angeli/texmf/bibtex/bib for this

> When I run BibTeX in bash, it sees the databases
> in that directory.  When I use Emacs, it does not find those files.
> Running BibTeX from Emacs (+ AUCTeX) gives an error message like 
> "I couldn't open database file bibliography.bib
> ---line 5 of file mydoc.aux"

How do you run BibTeX from Emacs?

As an example I created a file foo.bib in
/home/angeli/texmf/bibtex/bib and a LaTeX file with the contents


somewhere else.  After running LaTeX with `C-c C-c RET' and BibTeX
with `C-c C-c BibTeX RET' I get the following output in the output
buffer for the document (accessible with `C-c C-l'):

Running `BibTeX' on `bibtex-test3' with ``bibtex bibtex-test3''
This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file: bibtex-test3.aux
The style file: plain.bst
Database file #1: foo.bib

BibTeX finished at Thu Jan 26 22:11:25

So in my case there is no problem when running BibTeX from Emacs.

Hopefully this information helps to identify the cause of the problem
in your case.


reply via email to

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