## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ chapterbib and \subfile (versus \include)

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
JanVanMieghem
Posts: 1
Joined: Thu May 29, 2014 7:57 pm

### chapterbib and \subfile (versus \include)

Chapterbib works with \include, but when I switch to \subfile each chapter shows the full book bibliography. I noticed that compiling a *.tex containing \subfile{Chapter1} does not generate Chapter1.aux which I believe is needed for chapterbib. (Using \include{Chapter1} does generate Chapter1.aux and results in the desired output.)

I prefer using \subfile: anybody knows how to make this work with Chapterbib. Or will I have to keep using \include? (Not that big a deal, but I figure I'll ask.)

Tags:

kaiserkarl13
Posts: 626
Joined: Tue Mar 25, 2008 5:02 pm
I recommend reading the documentation at the end of chapterbib.sty: it defines some environments and a command that are intended specifically for odd formatting requirements in which `\include` doesn't work.