BibTeX, biblatex and biberchapterbib and \subfile (versus \include)

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

chapterbib and \subfile (versus \include)

Post by JanVanMieghem »

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.)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

chapterbib and \subfile (versus \include)

Post by kaiserkarl13 »

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.
Post Reply