[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auctex - no valid bibliography?
From: |
Tyler |
Subject: |
Re: auctex - no valid bibliography? |
Date: |
Mon, 20 Nov 2006 02:20:21 GMT |
User-agent: |
Icedove 1.5.0.7 (X11/20061013) |
David Kastrup wrote:
It is possible that your .bib file has the same file name before the
extension as your .tex file. AUCTeX currently does not deal well with
that situation.
No, they have very distinct names, chaptertwo.tex and ty.bib.
I think I finally got to the bottom of this. I realised bibtex was
working properly, but reftex wasn't. The version of LaTex I'm using is
tetex on debian, which uses the kpsewhich program to manage paths. So I
needed to add the following to my .emacs file so that reftex knew to
also use the kpsewhich program:
(setq reftex-external-file-finders
'(("tex" . "kpsewhich -format=.tex %f")
("bib" . "kpsewhich -format=.bib %f")))
This is in the reftex info pages, in the section under finding files. It
took me awhile to find it as I didn't realise the problem wasn't with
auctex, or bibtex, but with reftex.
Hopefully that will resolve my problem permanently, and maybe save
someone else some time in future.
Cheers,
Tyler