Debian Codegraph @

texmf-dist/doc/latex/biblatex/examples/10-references-per-section.tex

raw
1 %
2 % This file demonstrates a setup typically used in a collection of
3 % articles by different authors, such as a conference proceedings
4 % volume for example. Each article is presented as a separate
5 % chapter with its own bibliography. The citation labels are local
6 % to the 'refsection' environments.
7 %
8 % With Biber, this file is processed as follows:
9 %
10 % latex file
11 % biber file
12 % latex file
13 %
14 % With BibTeX, this file is processed as follows:
15 %
16 % latex file
17 % bibtex file1-blx
18 % bibtex file2-blx
19 % bibtex file3-blx
20 % latex file
21 %
22 % Note that the file name suffix may generally be omitted. It's
23 % 'latex file' and 'bibtex file' rather than 'latex file.tex' and
24 % 'bibtex file.aux'. Depending on the TeX distribution, omitting the
25 % 'aux' file prefix when invoking BibTeX may even by mandatory.
26 %
27 \documentclass[a4paper,oneside]{book}
28 \usepackage[T1]{fontenc}
29 \usepackage[utf8]{inputenc}
30 \usepackage[american]{babel}
31 \usepackage{csquotes}
32 \usepackage[style=numeric,backend=biber]{biblatex}
33 \usepackage{hyperref}
34 \addbibresource{biblatex-examples.bib}
35 \begin{document}
36
37 \chapter{Title of first chapter}
38 \begin{refsection}
39 This is just filler text \parencite{massa}.
40 This is just filler text \parencite{augustine}.
41 This is just filler text \parencite{cotton}.
42 This is just filler text \parencite{hammond}.
43 \printbibliography[heading=subbibliography]
44 \end{refsection}
45
46 \chapter{Title of second chapter}
47 \begin{refsection}
48 This is just filler text \parencite{hammond}.
49 This is just filler text \parencite{massa}.
50 This is just filler text \parencite{cotton}.
51 This is just filler text \parencite{murray}.
52 \printbibliography[heading=subbibliography]
53 \end{refsection}
54
55 \chapter{Title of third chapter}
56 \begin{refsection}
57 This is just filler text \parencite{murray}.
58 This is just filler text \parencite{augustine}.
59 This is just filler text \parencite{cotton}.
60 This is just filler text \parencite{bertram}.
61 \printbibliography[heading=subbibliography]
62 \end{refsection}
63
64 \end{document}