summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-15 01:10:02 +0000
committerKarl Berry <karl@freefriends.org>2010-02-15 01:10:02 +0000
commitb77b8199329b20ca0d1db70060cef4e81704e74d (patch)
treea4d9ff9e9db47d18d182e88154272db9fb00fd06 /Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex
parentd943f64a02a10d7684bfc86f484132152e174ce1 (diff)
new (long-awaited) package biblatex 0.9 (14feb10)
git-svn-id: svn://tug.org/texlive/trunk@17026 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex61
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex
new file mode 100644
index 00000000000..9d81d7472ef
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.tex
@@ -0,0 +1,61 @@
+%
+% This file is similar to the `per section' example except that
+% all references are printed at the end of the document. The
+% citation labels are still local to the `refsection' environments.
+%
+% Note that this file is processed as follows:
+%
+% latex file
+% bibtex file1-blx
+% bibtex file2-blx
+% bibtex file3-blx
+% latex file
+%
+% Note that the file name suffix may generally be omitted. It's
+% `latex file' and `bibtex file' rather than `latex file.tex' and
+% `bibtex file.aux'. Depending on the TeX distribution, omitting the
+% `aux' file prefix when invoking BibTeX may even by mandatory.
+%
+\documentclass[a4paper,oneside]{book}
+\usepackage[T1]{fontenc}
+\usepackage[american]{babel}
+\usepackage{csquotes}
+\usepackage[style=authoryear]{biblatex}
+\usepackage{hyperref}
+\usepackage{nameref}
+\bibliography{biblatex-examples}
+\defbibheading{bibliography}{%
+ \section*{%
+ Chapter \therefsection:
+ \nameref{refsection:\therefsection}}}
+\begin{document}
+
+\chapter{Title of first chapter}
+\begin{refsection}
+This is just filler text \parencite{westfahl:space}.
+This is just filler text \parencite{nietzsche:ksa}.
+\end{refsection}
+
+\chapter{Title of second chapter}
+\begin{refsection}
+This is just filler text \parencite{nietzsche:historie}.
+This is just filler text \parencite{westfahl:frontier}.
+\end{refsection}
+
+\chapter{Title of third chapter}
+\begin{refsection}
+This is just filler text \parencite{aristotle:anima}.
+This is just filler text \parencite{averroes/bland}.
+\end{refsection}
+
+\chapter*{References}
+\bibbysection
+%
+% \bibbysection is a shorthand for:
+%
+% \printbibliography[section=1]
+% \printbibliography[section=2]
+% \printbibliography[section=3]
+% ...
+
+\end{document}