diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-24 03:01:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-24 03:01:23 +0000 |
commit | 2fcb60fa8843870d9f3a90987498e5b775402258 (patch) | |
tree | 7db6e32b73c582239b1080a4c5272c8ec51c21d5 /macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex | |
parent | 0fab672d8f0c2d456fafd111ea77c2123075d653 (diff) |
CTAN sync 202208240301
Diffstat (limited to 'macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex')
-rw-r--r-- | macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex b/macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex new file mode 100644 index 0000000000..5fb8436ac5 --- /dev/null +++ b/macros/latex/contrib/biblatex-ms/doc/examples/11-references-by-section-ms.tex @@ -0,0 +1,68 @@ +% +% 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. +% +% With Biber, this file is processed as follows: +% +% latex file +% biber file +% latex file +% +% With BibTeX, 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[utf8]{inputenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=authoryear,backend=biber]{biblatex-ms} +\usepackage{hyperref} +\usepackage{nameref} +\addbibresource{biblatex-examples.bib} +\defbibheading{subbibliography}{% + \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} + +\printbibheading +\bibbysection[heading=subbibliography] +% +% \bibbysection is a shorthand for: +% +% \printbibliography[section=1] +% \printbibliography[section=2] +% \printbibliography[section=3] +% ... + +\end{document} |