| 1 |
% |
| 2 |
% This example is almost the same as the previous one except that |
| 3 |
% the catch-all sub-bibliography does not assign any prefix. |
| 4 |
% |
| 5 |
\documentclass[a4paper,oneside]{article} |
| 6 |
\usepackage[T1]{fontenc} |
| 7 |
\usepackage[utf8]{inputenc} |
| 8 |
\usepackage[american]{babel} |
| 9 |
\usepackage{csquotes} |
| 10 |
\usepackage[style=numeric,defernumbers,backend=biber]{biblatex} |
| 11 |
\usepackage{hyperref} |
| 12 |
\usepackage{nameref} |
| 13 |
\addbibresource{biblatex-examples.bib} |
| 14 |
\defbibfilter{other}{ |
| 15 |
not type=article |
| 16 |
and |
| 17 |
not type=book |
| 18 |
and |
| 19 |
not type=collection |
| 20 |
} |
| 21 |
\begin{document} |
| 22 |
|
| 23 |
\section*{Prefixed numerical citations} |
| 24 |
|
| 25 |
% Some citations: |
| 26 |
\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan} |
| 27 |
|
| 28 |
\nocite{*} |
| 29 |
|
| 30 |
\printbibheading |
| 31 |
|
| 32 |
\newrefcontext[labelprefix={A}] |
| 33 |
\printbibliography[heading=subbibliography,title={Articles},type=article] |
| 34 |
\newrefcontext[labelprefix={B}] |
| 35 |
\printbibliography[heading=subbibliography,title={Books},type=book] |
| 36 |
\newrefcontext[labelprefix={C}] |
| 37 |
\printbibliography[heading=subbibliography,title={Collections},type=collection] |
| 38 |
\endrefcontext |
| 39 |
|
| 40 |
% The catch-all sub-bibliography for all remaining types. We don't |
| 41 |
% use a prefix but we still need to set resetnumbers=true to restart |
| 42 |
% the item numbering: |
| 43 |
\printbibliography[heading=subbibliography,title={Other Sources},filter=other,resetnumbers] |
| 44 |
|
| 45 |
\end{document} |