[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros
From: |
Tassilo Horn |
Subject: |
Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros |
Date: |
Tue, 29 Oct 2013 08:30:30 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Mosè Giordano <address@hidden> writes:
Hi Mosè,
> it seems RefTeX (I'm running Emacs 24.3.1) cannot manage multiple
> bibliography database files specified using multiple `\bibliography'
> macros. Consider these examples:
>
> \bibliography{foo,bar}
>
> and
>
> \bibliography{foo}
> \bibliography{bar}
The second version isn't legal, i.e., bibtex itself can't handle it.
Here's what bibtex says on a test document (foo is bib1 in there, bar is
bib2).
--8<---------------cut here---------------start------------->8---
Running `BibTeX' on `bar' with ``bibtex bar''
This is BibTeX, Version 0.99d (TeX Live 2013)
The top-level auxiliary file: bar.aux
The style file: alpha.bst
Illegal, another \bibdata command---line 8 of file bar.aux
: \bibdata
: {bib2}
I'm skipping whatever remains of this command
Database file #1: bib1.bib
Warning--I didn't find a database entry for "bib2book"
(There was 1 error message)
TeX Output exited abnormally with code 2 at Tue Oct 29 08:27:50
--8<---------------cut here---------------end--------------->8---
So it only uses the first database file, and that's exactly what
`reftex-get-bibfile-list' returns.
Bye,
Tassilo