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