[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] BIBINPUTS
From: |
Ralf Angeli |
Subject: |
Re: [AUCTeX] BIBINPUTS |
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
.:/home/angeli/texmf/bibtex/bib:/usr/local/share/texmf/bibtex/bib:/usr/share/texmf-tetex/bibtex/bib:/usr/share/texmf-tetex/bibtex/bib/ams:/usr/share/texmf-tetex/bibtex/bib/base:/usr/share/texmf-tetex/bibtex/bib/plbib
(I have created the directory /home/angeli/texmf/bibtex/bib for this
test.)
> 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
\documentclass{article}
\begin{document}
\nocite{*}
\bibliographystyle{plain}
\bibliography{foo}
\end{document}
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.
--
Ralf
- [AUCTeX] BIBINPUTS, Greg BOGNAR, 2006/01/24
- Re: [AUCTeX] BIBINPUTS, Ralf Angeli, 2006/01/25
- Re: [AUCTeX] BIBINPUTS, Greg BOGNAR, 2006/01/26
- Re: [AUCTeX] BIBINPUTS,
Ralf Angeli <=
- Re: [AUCTeX] BIBINPUTS, Greg BOGNAR, 2006/01/28
- Re: [AUCTeX] BIBINPUTS, Ralf Angeli, 2006/01/28
- Re: [AUCTeX] BIBINPUTS, Greg BOGNAR, 2006/01/28
- Re: [AUCTeX] BIBINPUTS, Ralf Angeli, 2006/01/29
- Re: [AUCTeX] BIBINPUTS, Greg BOGNAR, 2006/01/30
- Re: [AUCTeX] BIBINPUTS, Ralf Angeli, 2006/01/31