[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros

From: Mosè Giordano
Subject: Re: [Bug-AUCTeX] RefTeX cannot manage multiple "bibliography" macros
Date: Tue, 29 Oct 2013 10:15:19 +0100

Hi Tassilo,

sorry, I didn't specify that this occurs when the bibliography is
typeset using biblatex, with that package it's legal to use more than
one `\bibliography'.  Moreover, using `\addbibresource' instead of
`\bibliography' (and this is the standard in `biblatex') it's
impossible to use a comma separated list of bibliography database
files, so multiple `\addbibresource's are needed.


2013/10/29 Tassilo Horn <address@hidden>:
> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]