# Simplest way to have chapter bibliographies in Latex documents

When writing long documents in LateX like Thesis or books you might want to implement bibliographies on a chapter by chapter basis. This end of chapter bibliographies can be achieved using the bibunits1 package. Here’s an example

\documentclass{article} \usepackage{bibunits} \defaultbibliography{references}   \begin{document} \bibliographyunit[\section]   \section{Introduction} References to some work~\cite{Rodrigues:2014} that is of the most scientific interest and is based on his previous work~\cite{Rodrigues:2012}. \putbib   \section{The End} A new section with a new bibligaphy~\cite{Rodrigues:2013} at the end, but all the science of complexity any human could have~\cite{Rodrigues:2010}. \putbib   \end{document}

The main trick is to define how to divide the bibliographies and to compile each of the sub bibliography files generated by latex. Read the documentation for details!