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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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