Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using Chapterbib to write my bibliography separately after each chapter. It does work but bibtex is still giving me plenty of errors and warnings:

Illegal, another \bibstyle command
I'm skipping whatever remains of this command.

Illegal, another \bibdata command
I'm skipping whatever remains of this command.

Warning--I didn't find a database entry for "druhy".

etc. Basically I'm getting 2 error messages per file and 1 warning message per citation. Since the final publication will be quite large, I'd rather not have tens of errors and hundreds of warnings when I compile it all together. Is there any way around it? I'd be happy with just silencing these particular error and warning messages. I did follow the instructions for the build order (latex, bibtex on individual files, latex, latex).

Minimal working example:




blabla \cite{prvni}


bleble \cite{druhy}


author = "A. Aa",
title = "blahblah",
year = "2000",
journal = "tojefuk"


author = "B. Bb",
title = "blehbleh",
year = "2001",
journal = "tojejedno"
share|improve this question
I can’t reproduce the error, but this question looks like it might be helpful. –  alexwlchan Feb 6 '14 at 10:40
Try removing all auxiliary files first. –  Crissov Feb 6 '14 at 10:47
Did you really run bibtex separatly on the aux-files of the included files (correct) or also on the aux-file of the main file (wrong)? –  Ulrike Fischer Feb 6 '14 at 11:56
@Crissov: Tried that but sadly it didn't work. –  Michal Feb 6 '14 at 13:03
Do you use some build profile from TeXnicCenter which includes a bibtex run? –  Ulrike Fischer Feb 6 '14 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.