[Tex/LaTex] Multiple Bibliographies one for each Chapter with Biblatex

biblatex

I've been strugging all day to include multiple bibligraphies (one for each chapter) in my report, I first tried using chapterbib but that isn't working!:

How to include multiple bibliographies?

So I want to look at alternative as I simply must get this to work!!!!

I have tried doing something similar with biblatex, but it falls short in a few key ways:

3.) I'd like to be able to use separate .bib files for each chapter. Still can't figure out how to do this!

One step forward I can now load multiple bib files in the preamble:
The refsections then take whichever references that are cited in their section from both bibs and display them at the \printbibliography in their section
The \printbibliography at the end of the document displays both .bib files in their entirety.

But what I want is to be able to print the entire contents of just one of the bib files at the end of each chapter?

1.) Currently it just prints a bibliography of all the citations made in the report thus producing the same bibliography three times, at the very least it should only show the references that were cited in the current chapter.

OK I have solved Q1 (at least partially) I put a refsection around each chapter. I then ran bibtex on the corresponding aux files. It now prints a separate bibliography for each chapter containing references for all citations in that chapter. However it no longer prints the big bibliography at the end.

2.) It only shows cited references in the bibliography, I want to show all references whether they were cited or not. OK this is solved by adding \nocite{*} to the document.

Can all this be achieved with biblatex?

\documentclass{report}

\usepackage[backend=bibtex]{biblatex}
\addbibresource{Introduction.bib}
\addbibresource{Ridge.bib}    
\begin{document}
\nocite{*}
\chapter{Test bib 1}
\begin{refsection}
\input{TB1.tex}
\printbibliography[heading=subbibliography]
\end{refsection}
\chapter{Test bib 2}
\begin{refsection}    
\input{TB2.tex}
\printbibliography[heading=subbibliography]
\end{refsection}
\newpage
\printbibliography
\end{document} 

TB1.tex:

  \cite{A12} (LRRE) \cite{XQ11} 

TB2.tex

  \cite{NS87} and its extension by \cite{Sven94}

Introduction.bib

@article{XQ11,
author = {Gao, F and Liu, XQ.},
title = {Linearized Ridge Regression Estimator Under the Mean Square Error Criterion in a Linear Regression Model},
journal = {Communications in Statistics-Simulation and Computation},
volume = {40},
year = {2011},
pages={1434-1443},
}


@misc{A12,
Author = {Anneart, J. and Claes, A.G.P.,and De Ceuster, M.J.K. and Zhang, H.},
Title = {Estimating the Yield Curve Using the Nelson-Siegel Model: A Ridge Resgression Appoach},
howpublished={International Review of Economics and Finance, Forthcoming},         
Year = {2012},
}

@article{NS87,
author = {Nelson, C. R. and Siegel, A. F},
title = {Parsimonious Modelling of Yield Curves},
journal = {The Journal of Business},
volume = {60},
issue={4},
year = {1987},
pages={473-489},
}

@misc{Sven94,
Author = {Svensson, L.E.O},
Title = {Estimating and Interpreting Forward Interest Rates: Sweden 1992-1994},
howpublished={IMF Working Paper},
note = {WP/94/114},         
Year = {1994},
pages={1-49} }


@article{CP01,
Author = {Cairns, A.J.G. and Pritchard, D.J.},
Title = {Stability of Descriptive Models for the Term Structure of Interest Rates with Applications to German Market Data},
journal = {British Actuarial Journal},
volume = {7},
year = {2001},
pages={467-507}}

Best Answer

I think this does what you want (having just reread your question).

If you plan to include a global bibliography, you need to use refsegment rather than refsection, I think, to ensure unique labels.

\documentclass{report}
\usepackage{filecontents}
\begin{filecontents}{\jobname1.bib}
@article{XQ11,
author = {Gao, F and Liu, XQ.},
title = {Linearized Ridge Regression Estimator Under the Mean Square Error Criterion in a Linear Regression Model},
journal = {Communications in Statistics-Simulation and Computation},
volume = {40},
year = {2011},
pages={1434-1443}}

@misc{A12,
Author = {Anneart, J. and Claes, A.G.P. and De Ceuster, M.J.K. and Zhang, H.},
Title = {Estimating the Yield Curve Using the Nelson-Siegel Model: A Ridge Resgression Appoach},
howpublished={International Review of Economics and Finance, Forthcoming},
Year = {2012}}
\end{filecontents}
\begin{filecontents}{\jobname2.bib}
@article{NS87,
author = {Nelson, C. R. and Siegel, A. F},
title = {Parsimonious Modelling of Yield Curves},
journal = {The Journal of Business},
volume = {60},
issue={4},
year = {1987},
pages={473-489}}

@misc{Sven94,
Author = {Svensson, L.E.O},
Title = {Estimating and Interpreting Forward Interest Rates: Sweden 1992-1994},
howpublished={IMF Working Paper},
note = {WP/94/114},
Year = {1994},
pages={1-49}}


@article{CP01,
Author = {Cairns, A.J.G. and Pritchard, D.J.},
Title = {Stability of Descriptive Models for the Term Structure of Interest Rates with Applications to German Market Data},
journal = {British Actuarial Journal},
volume = {7},
year = {2001},
pages={467-507}}
\end{filecontents}


\usepackage[backend=biber, refsegment=chapter, defernumbers=true]{biblatex}

\addbibresource[label=intro]{\jobname1.bib}
\addbibresource[label=ridge]{\jobname2.bib}

\begin{document}

\chapter{Test bib 1}
\cite{A12} (LRRE) \cite{XQ11}
\printbibliography[segment=1,heading=subbibliography]

\chapter{Test bib 2}
\cite{NS87} and its extension by \cite{Sven94}
\printbibliography[segment=2,heading=subbibliography]

\nocite{*}
\printbibliography
\end{document}

multiple bibliographies with unique labels for a global list

Related Question