[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 24.3.1; RefTeX fails to find multiple bib files in \bib
From: |
Tassilo Horn |
Subject: |
Re: [Bug-AUCTeX] 24.3.1; RefTeX fails to find multiple bib files in \bibliography{} (with commas) |
Date: |
Thu, 02 May 2013 12:35:00 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
[Sorry for the duplicate, I've forgotton to add Michael in my previous
response.]
Hi Michael,
> When specifying multiple .bib files in the \bibliography{} command,
> reftex fails to recognize and read these. Thus, the following works,
> seaching for master.bib:
>
> \bibliography{master}
>
> however, the following, which first uses a file local.bib, then the
> master.bib, fails (giving a "Sorry, no matches found" error when
> trying to add a citation)
>
> \bibliography{local,master}
>
> I suspect that the comma is causing a problem, but have not been
> able to track down exactly what should be changed
I've just tried it with emacs 24.3 and this sample document:
\documentclass{article}
\begin{document}
\bibliography{bib1,bib2}
\end{document}
The \bibliography command was inserted with C-c RET bibliography. After
that, C-c [ lists all entries from both bib files.
> Is there a workaround?
If you first had just \bibliography{bib2} and then add the other file
manually, reftex can't know that. To make it pick up the new file, just
run `TeX-normal-mode' (C-c C-n).
Bye,
Tassilo