* 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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex