%
% It is common requirement to subdivide a bibliography by certain
% criteria. This example demonstrates how to use keyword filters to
% subdivide the list of references into primary and secondary
% sources.
%
% The keyword filter depends on the 'keywords' fields in the bib
% file. The entries cited in this example are set up like this:
% 
%   @Type{key,
%     keywords = {primary},
%     ...
%   }
%
%   @Type{key,
%     keywords = {secondary},
%     ...
%   }
%
\documentclass[a4paper,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=authortitle,backend=biber]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}
\begin{document}

\chapter{References by keyword}

This is just filler text.\footcite{aristotle:anima}
This is just filler text.\footcite{nussbaum}
This is just filler text.\footcite{averroes/bland}
This is just filler text.\footcite{hyman}
This is just filler text.\footcite{aristotle:physics}
This is just filler text.\footcite{moraux}
This is just filler text.\footcite{pines}

\printbibheading
\printbibliography[keyword=primary,heading=subbibliography,title={Primary Sources}]
\printbibliography[keyword=secondary,heading=subbibliography,title={Secondary Sources}]

\end{document}
