\bibliography{db1.bib, 2.bib, .....}
When I try to compile it with
$ latex quals.tex; bibtex quals
I get the following error:
Illegal, another \bibdata command---line 291 of file quals.aux
: \bibdata
: {db2}
I'm skipping whatever remains of this command
Thanks in advance.
have you tried without the .bib extensions? as in
\bibliography{db1,db2, .....}
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class:
http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.
Ofcourse, a workaround is to throw all the .bib files
into one big.bib and use that. But I'm sure there is
a neater solution.
Should I include any special package to use more than
one .bib file in one document?
Thanks in advance.
Did you try to delete the .aux, .blg and .bbl files and try again ?
> I have 4 different .bib files from which I refer to articles in
> my report. I use
>
> \bibliography{db1.bib, 2.bib, .....}
[...]
What about the package multibib or the uk faq
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multbib
The above error message means one of two things:
- there is another command \bibliography{db2} in your file (or some
other command that issues that command).
- Some package has grossly redefined \bibliography.
Only someone with access to your files can determine which.
Dan
--
Dan Luecking Department of Mathematical Sciences
University of Arkansas Fayetteville, Arkansas 72701
To reply by email, change Look-In-Sig to luecking
>> have you tried without the .bib extensions? as in
>> \bibliography{db1,db2, .....}
>Yes, I did that. It doens't work.
>It complains that there are more than one \bibdata{}
>in the .aux file.
>
>Ofcourse, a workaround is to throw all the .bib files
>into one big.bib and use that. But I'm sure there is
>a neater solution.
That wouldn't work. One \bibdata command is writen to the .aux file
by each \bibliography command. If you change the contents to
\bibliography{big} or you don't it makes no difference. And bibtex
doesn't care how many .bib files are mentioned in the \bibdata{}
command. It is the number of _commands_ that it is complaining about.
Looks like, I have got to use the *bibtopic* package; given
at the same link as above.
With this, the references from each .bib file are listed in
separate sections though they are numbered sequentially.
This appears to be the closest I can get to my desired result,
with a little deviation from norms to avoid section headings.
But the inter - section spacing is still produced though not
very obvious.
If there is any better solution, that would be great.
Thansks for all your help.