Debian Codegraph @

texmf-dist/doc/latex/biblatex/biblatex.tex

raw
1 \documentclass{ltxdockit}[2011/03/25]
2 \usepackage{btxdockit}
3 \usepackage{fontspec}
4 \usepackage{hyperref}
5 \usepackage{zref-xr}
6
7 \setmainfont[Ligatures=TeX]{Linux Libertine O}
8 \setsansfont[Ligatures=TeX]{Linux Biolinum O}
9 \setmonofont{JuliaMono}[
10 Scale = 0.8,
11 Extension = .ttf,
12 UprightFont = *-Regular,
13 BoldFont = *-Bold,
14 ItalicFont = *-RegularItalic,
15 BoldItalicFont = *-BoldItalic,
16 ]
17 \newfontfamily\devanagarifont{Shobhika}[%
18 Script=Devanagari,
19 Renderer=Harfbuzz]
20 \newcommand*{\textdevanagari}[1]{{\devanagarifont #1}}
21 \usepackage[american]{babel}
22 \usepackage[strict]{csquotes}
23 \usepackage{tabularx}
24 \usepackage{longtable}
25 \usepackage{booktabs}
26 \usepackage{shortvrb}
27 \usepackage{pifont}
28 \usepackage{microtype}
29 \usepackage{typearea}
30 \usepackage{mdframed}
31 \usepackage{enumitem}
32 \setlist[itemize]{labelsep=1em}
33 \areaset[current]{370pt}{700pt}
34 \lstset{
35 basicstyle=\ttfamily,
36 keepspaces=true,
37 upquote=true,
38 frame=single,
39 breaklines=true,
40 postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
41 }
42 \KOMAoptions{numbers=noenddot}
43 \addtokomafont{title}{\sffamily}
44 \addtokomafont{disposition}{\spotcolor}
45 \addtokomafont{descriptionlabel}{\spotcolor}
46 \setkomafont{caption}{\bfseries\sffamily\spotcolor}
47 \setkomafont{captionlabel}{\bfseries\sffamily\spotcolor}
48 \pretocmd{\cmd}{\sloppy}{}{}
49 \pretocmd{\bibfield}{\sloppy}{}{}
50 \pretocmd{\bibtype}{\sloppy}{}{}
51 \makeatletter
52 \RedeclareSectionCommand[%
53 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
54 afterskip=1.5ex \@plus .2ex,%
55 ]{paragraph}
56 \RedeclareSectionCommand[%
57 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
58 indent=\z@,%
59 ]{subparagraph}
60 \makeatother
61
62 \MakeAutoQuote{«}{»}
63 \MakeAutoQuote*{<}{>}
64 \MakeShortVerb{\|}
65
66 \newcommand*{\allowbreakhere}{\discretionary{}{}{}}
67
68 \newcommand*{\biber}{\sty{biber}\xspace}
69 \newcommand*{\biblatex}{\sty{biblatex}\xspace}
70 \newcommand*{\biblatexml}{\sty{biblatexml}\xspace}
71 \newcommand*{\biblatexhome}{https://sourceforge.net/projects/biblatex/}
72 \newcommand*{\biblatexctan}{https://ctan.org/pkg/biblatex/}
73
74 \titlepage{%
75 title={The \biblatex Package},
76 subtitle={Programmable Bibliographies and Citations},
77 url={\biblatexhome},
78 author={Philip Kime, Moritz Wemheuer, Philipp Lehman},
79 email={},
80 revision={3.21},
81 date={\today}}
82
83 \hypersetup{%
84 pdftitle={The \biblatex Package},
85 pdfsubject={Programmable Bibliographies and Citations},
86 pdfauthor={Philipp Lehman, Philip Kime, Moritz Wemheuer},
87 pdfkeywords={tex, latex, bibtex, bibliography, references, citation}}
88
89 % tables
90
91 \newcolumntype{H}{>{\sffamily\bfseries\spotcolor}l}
92 \newcolumntype{L}{>{\raggedright\let\\=\tabularnewline}p}
93 \newcolumntype{R}{>{\raggedleft\let\\=\tabularnewline}p}
94 \newcolumntype{C}{>{\centering\let\\=\tabularnewline}p}
95 \newcolumntype{V}{>{\raggedright\let\\=\tabularnewline\ttfamily}p}
96
97 \newcommand*{\sorttablesetup}{%
98 \tablesetup
99 \ttfamily
100 \def\new{\makebox[1.25em][r]{\ensuremath\rightarrow}\,}%
101 \def\alt{\par\makebox[1.25em][r]{\ensuremath\hookrightarrow}\,}%
102 \def\note##1{\textrm{##1}}}
103
104 \newcommand{\tickmarkyes}{\Pisymbol{psy}{183}}
105 \newcommand{\tickmarkno}{\textendash}
106 \providecommand*{\textln}[1]{#1}
107 \providecommand*{\lnstyle}{}
108
109 % markup and misc
110
111 \setcounter{secnumdepth}{4}
112
113 \makeatletter
114
115 \newenvironment{nameparts}
116 {\trivlist\item
117 \tabular{@{}ll@{}}}
118 {\endtabular\endtrivlist}
119
120 \newenvironment{namedelims}
121 {\trivlist\item
122 \tabularx{\textwidth}{@{}c@{=}l>{\raggedright\let\\=\tabularnewline}X@{}}}
123 {\endtabularx\endtrivlist}
124
125 \newenvironment{namesample}
126 {\def\delim##1##2{\@delim{##1}{\normalfont\tiny\bfseries##2}}%
127 \def\@delim##1##2{{%
128 \setbox\@tempboxa\hbox{##1}%
129 \@tempdima=\wd\@tempboxa
130 \wd\@tempboxa=\z@
131 \box\@tempboxa
132 \begingroup\spotcolor
133 \setbox\@tempboxa\hb@xt@\@tempdima{\hss##2\hss}%
134 \vrule\lower1.25ex\box\@tempboxa
135 \endgroup}}%
136 \ttfamily\trivlist
137 \setlength\itemsep{0.5\baselineskip}}
138 {\endtrivlist}
139
140 \makeatother
141
142 \newrobustcmd*{\Deprecated}{%
143 \textcolor{spot}{\margnotefont Deprecated}}
144 \newrobustcmd*{\DeprecatedMark}{%
145 \leavevmode\marginpar{\Deprecated}}
146 \newrobustcmd*{\LF}{%
147 \textcolor{spot}{\margnotefont Label field}}
148 \newrobustcmd*{\LFMark}{%
149 \leavevmode\marginpar{\LF}}
150 \newrobustcmd*{\CSdelim}{%
151 \textcolor{spot}{\margnotefont Context Sensitive}}
152 \newrobustcmd*{\CSdelimMark}{%
153 \leavevmode\marginpar{\CSdelim}}
154
155
156 \newcommand*{\seestyleexample}[1]{%
157 \leavevmode
158 \marginpar{%
159 \raggedright
160 \footnotesize
161 Style example:\\
162 \href{file:examples/#1.pdf}{local},
163 \href{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/examples/#1.pdf}
164 {online}.}%
165 \ignorespaces}
166
167 % following snippet is based on code by Michael Ummels (TeX Stack Exchange)
168 % <http://tex.stackexchange.com/a/13073/8305>
169 \makeatletter
170 \newcommand\fnurl@[1]{\footnote{\url@{#1}}}
171 \DeclareRobustCommand{\fnurl}{\hyper@normalise\fnurl@}
172 \makeatother
173
174 \hyphenation{%
175 star-red
176 bib-lio-gra-phy
177 white-space
178 }
179
180 \begin{document}
181
182 \printtitlepage
183 \tableofcontents
184 \listoftables
185
186 \section{Introduction}
187 \label{int}
188
189 This document is a systematic reference manual for the \biblatex package. Look at the sample documents which come with \biblatex to get a first impression.\fnurl{https://ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/examples}
190 For a quick start guide, browse \secref{int:abt, bib:typ, bib:fld, bib:use, use:opt, use:xbx, use:bib, use:cit, use:use}.
191
192 \subsection[About]{About \biblatex}
193 \label{int:abt}
194
195 This package provides advanced bibliographic facilities for use with \latex. The package is a complete reimplementation of the bibliographic facilities provided by \latex. The \biblatex\ package works with the \enquote{backend} (program) \biber, which is used to process \bibtex\ format data files and then performs all sorting, label generation (and a great deal more). Formatting of the bibliography is entirely controlled by \tex\ macros. Good working knowledge in \latex should be sufficient to design new bibliography and citation styles. This package also supports subdivided bibliographies, multiple bibliographies within one document, and separate lists of bibliographic information such as abbreviations of various fields. Bibliographies may be subdivided into parts and\slash or segmented by topics. Just like the bibliography styles, all citation commands may be freely defined. Features such as full Unicode support for bibliography data, customisable sorting, multiple bibliographies with different sorting, customisable labels and dynamic data modification are available. Please refer to \secref{int:pre:bibercompat} for information on \biber/\biblatex version compatibility. The package is completely localised and can interface with the \sty{babel} and \sty{polyglossia} packages. Please refer to \tabref{bib:fld:tab1} for a list of languages currently supported by this package.
196
197 \subsection{License}
198
199 Copyright \textcopyright\ 2006--2012 Philipp Lehman, 2012--2017 Philip Kime, Audrey Boruvka, Joseph Wright, 2018-- Philip Kime and Moritz Wemheuer. Permission is granted to copy, distribute and\slash or modify this software under the terms of the \lppl, version~1.3.\fnurl{https://www.latex-project.org/lppl.txt}
200
201 \subsection{Feedback}
202 \label{int:feb}
203
204 Please use the \biblatex project page on GitHub to report bugs and submit feature requests.\fnurl{https://github.com/plk/biblatex} Before making a feature request, please ensure that you have thoroughly studied this manual. If you do not want to report a bug or request a feature but are simply in need of assistance, you might want to consider posting your question on the \texttt{comp.text.tex} newsgroup or \tex-\latex Stack Exchange.\fnurl{https://tex.stackexchange.com/questions/tagged/biblatex}
205
206 \subsection{Acknowledgements}
207
208 The package was originally written by Philipp Lehman and much of his excellent
209 original code remains in the core. Philip Kime took over the package in
210 2012 with Moritz Wemheuer making regular and valuable contributions from 2017.
211 The main authors would like to acknowledge the valuable help of Audrey
212 Boruvka and Joseph Wright who helped with the transition of ownership in
213 2012 and following years.
214
215 The language modules of this package are made possible thanks to the following contributors:\\
216 Ander Zarketa-Astigarraga (Basque);
217 Augusto Ritter Stoffel, Mateus Araújo, Gustavo Barros (Brazilian);
218 Kaloyan Ganev (Bulgarian);
219 Sebastià Vila-Marta (Catalan);
220 Ivo Pletikosić (Croatian);
221 Michal Hoftich (Czech);
222 Christian Mondrup, Jonas Nyrup (Danish);
223 Johannes Wilm (Danish\slash Norwegian);
224 Alexander van Loon, Pieter Belmans, Hendrik Maryns (Dutch);
225 Kristian Kankainen, Benson Muite, Artjom Jemeljanov (Estonian);
226 Hannu Väisänen, Janne Kujanpää (Finnish);
227 Denis Bitouzé (French);
228 Apostolos Syropoulos, Prokopis (Greek);
229 Márton Marczell, Bence Ferdinandy (Hungarian);
230 Baldur Kristinsson (Icelandic);
231 Enrico Gregorio, Andrea Marchitelli (Italian);
232 Rihards Skuja (Latvian);
233 Valdemaras Klumbys (Lithuanian);
234 \textdevanagari{निरंजन} (Marathi);
235 Håkon Malmedal, Hans Fredrik Nordhaug (Norwegian);
236 Anastasia Kandulina, Yuriy Chernyshov, Sebastian Wasiuta (Polish);
237 José Carlos Santos (Portuguese);
238 Patrick Danilevici (Romanian);
239 Oleg Domanov (Russian);
240 Andrej Radović (Serbian);
241 Martin Vrábel, Dávid Lupták (Slovak);
242 Tea Tušar, Bogdan Filipič (Slovene);
243 Ignacio Fernández Galván (Spanish);
244 Per Starbäck, Carl-Gustav Werner, Filip Åsblom (Swedish);
245 Abdulkerim Gok (Turkish);
246 Sergiy M. Ponomarenko (Ukrainian).
247
248 \subsection{Prerequisites}
249 \label{int:pre}
250
251 This section gives an overview of all resources required by this package and discusses compatibility issues.
252
253 \subsubsection{Requirements}
254 \label{int:pre:req}
255
256 The resources listed in this section are strictly required for \biblatex to function. The package will not work if they are not available.
257
258 \begin{marglist}
259
260 \item[\etex]
261 The \biblatex package requires \etex. \tex distributions have been providing \etex binaries for quite some time, the popular distributions use them by default these days. The \biblatex package checks if it is running under \etex. Simply try compiling your documents as you usually do, the chances are that it just works. If you get an error message, try compiling the document with \bin{elatex} instead of \bin{latex} or \bin{pdfelatex} instead of \bin{pdflatex}, respectively.
262
263 \item[\biber]
264 \biber is the backend of \biblatex used to transfer data from source files to the \latex code. \biber comes with TeX Live and is also available from SourceForge.\fnurl{https://biblatex-biber.sourceforge.net/} \biber uses the \texttt{btparse} C library for \bibtex format file parsing which aimed to be compatible with \bibtex's parsing rules but also aimed at correcting some of the common problems. For details, see the manual page for the Perl \texttt{Text::BibTeX} module.\fnurl{https://metacpan.org/release/Text-BibTeX}
265
266 \item[etoolbox]
267 This \latex package, which is loaded automatically, provides generic programming facilities required by \biblatex. It is available from \acr{CTAN}.\fnurl{https://ctan.org/pkg/etoolbox}
268
269 \item[kvoptions]
270 This \latex package, which is also loaded automatically, is used for internal option handling. It is available from \acr{CTAN}.\fnurl{https://ctan.org/pkg/kvoptions}
271
272 \item[logreq]
273 This \latex package, which is also loaded automatically, provides a frontend for writing machine-readable messages to an auxiliary log file. It is available from \acr{CTAN}.\fnurl{https://ctan.org/pkg/logreq/}
274
275 \item[pdftexcmds]
276 This \latex package, which is loaded automatically, implements \pdftex primitives for \luatex, it also offers a unified interface for these primitives across engines. It is available from \acr{CTAN}.\fnurl{https://ctan.org/pkg/pdftexcmds/}
277
278 \biblatex uses \sty{pdftexcmds} to access the MD5 hash primitives, so version~0.27 (2018/01/30) or above is strongly recommended.
279
280 \end{marglist}
281
282 Apart from the above resources, \biblatex also requires the standard \latex packages \sty{keyval} and \sty{ifthen} as well as the \sty{url} package. These packages are included in all common \tex distributions and will be loaded automatically.
283
284 \subsubsection{Recommended Packages}
285 \label{int:pre:rec}
286
287 The packages listed in this section are not strictly required for \biblatex to function, but they provide recommended additional functions or enhance existing features.
288
289 \begin{marglist}
290
291 \item[babel/polyglossia]
292 The \sty{babel} and \sty{polyglossia} packages provide the core architecture for multilingual typesetting. If you are writing in a language other than American English, using one of these packages is strongly recommended. You should load \sty{babel} or \sty{polyglossia} before \biblatex and then \biblatex will detect \sty{babel} or \sty{polyglossia} automatically. (While \sty{babel} may be loaded after \biblatex if so desired, \sty{polyglossia} must always be loaded before \biblatex.)
293
294 \biblatex has only limited support for \sty{polyglossia} versions prior to~v1.45 (2019/10/27). Additional useful features for \biblatex were added in version~1.49. If \sty{polyglossia} is used, it should be updated to version~1.49 (2020/04/08) or above.
295
296 The minimum supported \sty{babel} version is~v3.9r (2016/04/23).
297
298 \item[csquotes]
299 If this package is available, \biblatex will use its language sensitive quotation facilities to enclose certain titles in quotation marks. If not, \biblatex uses quotes suitable for American English as a fallback. When writing in a language other than American English, loading \sty{csquotes} is strongly recommended.\fnurl{https://ctan.org/pkg/csquotes/}
300
301 \end{marglist}
302
303 \subsubsection{Additional Useful Packages}
304 \label{int:pre:add}
305
306 The packages listed in this section are not required for \biblatex to function, but provide additional specialist functions or enhance existing features. These packages generally only need to be loaded if their functionality is explicitly desired. The package loading order usually does not matter.
307
308 \begin{marglist}
309
310 \item[xpatch]
311 The \sty{xpatch} package extends the patching commands of \sty{etoolbox} to \biblatex bibliography macros, drivers and formatting directives.\fnurl{https://ctan.org/pkg/xpatch/} Its commands are useful to apply surgical-precision changes to bibliography macros, drivers or formatting directives without having to restate the whole definition to change it. The \biblatex core does not need or use these patching commands and styles that make use of them should load the package themselves.
312
313 \end{marglist}
314
315 \subsubsection{Compatible Classes and Packages}
316 \label{int:pre:cmp}
317
318 The \biblatex package provides dedicated compatibility code for the classes and packages listed in this section.
319
320 \begin{marglist}
321
322 \item[hyperref]
323 The \sty{hyperref} package transforms citations into hyperlinks. See the \opt{hyperref} and \opt{backref} package options in \secref{use:opt:pre:gen} for further details. When using the \sty{hyperref} package, it is preferable to load it after \biblatex.
324
325 \item[showkeys]
326 The \sty{showkeys} package prints the internal keys of, among other things, citations in the text and items in the bibliography. The package loading order does not matter.
327
328 \item[memoir]
329 When using the \sty{memoir} class, the default bibliography headings are adapted such that they blend well with the default layout of this class. See \secref{use:cav:mem} for further usage hints.
330
331 \item[\acr{KOMA}-Script]
332 When using any of the \sty{scrartcl}, \sty{scrbook}, or \sty{scrreprt} classes, the default bibliography headings are adapted such that they blend well with the default layout of these classes. See \secref{use:cav:scr} for further usage hints.
333
334 If available \biblatex makes use of some of the more recent of \acr{KOMA}-Script's \emph{do-hooks}. The relevant hooks are present from version~3.27 (2019/10/12) onwards, which is therefore the minimum version recommendation.
335
336 \end{marglist}
337
338 \subsubsection{Incompatible Packages}
339 \label{int:pre:inc}
340
341 The packages listed in this section are not compatible with \biblatex. Since it reimplements the bibliographic facilities of \latex from the ground up, \biblatex naturally conflicts with all packages modifying the same facilities. This is not specific to \biblatex. Some of the packages listed below are also incompatible with each other for the same reason.
342
343 \begin{marglist}
344
345 \item[babelbib]
346 The \sty{babelbib} package provides support for multilingual bibliographies. This is a standard feature of \biblatex. Use the \bibfield{langid} field and the package option \opt{autolang} for similar functionality. Note that \biblatex automatically adjusts to the main document language if \sty{babel} or \sty{polyglossia} is loaded. You only need the above mentioned features if you want to switch languages on a per"=entry basis within the bibliography. See \secref{bib:fld:spc, use:opt:pre:gen} for details. Also see \secref{use:lng}.
347
348 \item[backref]
349 The \sty{backref} package creates back references in the bibliography. See the package options \opt{hyperref} and \opt{backref} in \secref{use:opt:pre:gen} for comparable functionality.
350
351 \item[bibtopic]
352 The \sty{bibtopic} package provides support for bibliographies subdivided by topic, type, or other criteria. For bibliographies subdivided by topic, see the category feature in \secref{use:bib:cat} and the corresponding filters in \secref{use:bib:bib}. Alternatively, you may use the \bibfield{keywords} field in conjunction with the \opt{keyword} and \opt{notkeyword} filters for comparable functionality, see \secref{bib:fld:spc, use:bib:bib} for details. For bibliographies subdivided by type, use the \opt{type} and \opt{nottype} filters. Also see \secref{use:use:div} for examples.
353
354 \item[bibunits]
355 The \sty{bibunits} package provides support for multiple partial (\eg per chapter) bibliographies. See \sty{chapterbib}.
356
357 \item[chapterbib]
358 The \sty{chapterbib} package provides support for multiple partial bibliographies. Use the \env{refsection} environment and the \opt{section} filter for comparable functionality. Alternatively, you might also want to use the \env{refsegment} environment and the \opt{segment} filter. See \secref{use:bib:sec, use:bib:seg, use:bib:bib} for details. Also see \secref{use:use:mlt} for examples.
359
360 \item[cite]
361 The \sty{cite} package automatically sorts numeric citations and can compress a list of consecutive numbers to a range. It also makes the punctuation used in citations configurable. For sorted and compressed numeric citations, see the \opt{sortcites} package option in \secref{use:opt:pre:gen} and the \texttt{numeric-comp} citation style in \secref{use:xbx:cbx}. For configurable punctuation, see \secref{use:fmt}.
362
363 \item[citeref]
364 Another package for creating back references in the bibliography. See \sty{backref}.
365
366 \item[inlinebib]
367 The \sty{inlinebib} package is designed for traditional citations given in footnotes. For comparable functionality, see the verbose citation styles in \secref{use:xbx:cbx}.
368
369 \item[jurabib]
370 Originally designed for citations in law studies and (mostly German) judicial documents, the \sty{jurabib} package also provides features aimed at users in the humanities. In terms of the features provided, there are some similarities between \sty{jurabib} and \biblatex but the approaches taken by both packages are quite different. Since both \sty{jurabib} and \biblatex are full"=featured packages, the list of similarities and differences is too long to be discussed here.
371
372 \item[mcite]
373 The \sty{mcite} package provides support for grouped citations, \ie multiple items can be cited as a single reference and listed as a single block in the bibliography. The citation groups are defined as the items are cited. This only works with unsorted bibliographies. The \biblatex package also supports grouped citations, which are called <entry sets> or <reference sets> in this manual. See \secref{use:use:set,use:bib:set,use:cit:mct} for details.
374
375 \item[mciteplus]
376 A significantly enhanced reimplementation of the \sty{mcite} package which supports grouping in sorted bibliographies. See \sty{mcite}.
377
378 \item[multibib]
379 The \sty{multibib} package provides support for bibliographies subdivided by topic or other criteria. See \sty{bibtopic}.
380
381 \item[natbib]
382 The \sty{natbib} package supports numeric and author"=year citation schemes, incorporating sorting and compression code found in the \sty{cite} package. It also provides additional citation commands and several configuration options. See the \texttt{numeric} and \texttt{author-year} citation styles and their variants in \secref{use:xbx:cbx}, the \opt{sortcites} package option in \secref{use:opt:pre:gen}, the citation commands in \secref{use:cit}, and the facilities discussed in \secref{use:bib:hdg, use:bib:nts, use:fmt} for comparable functionality. Also see \secref{use:cit:nat}.
383
384 \item[splitbib]
385 The \sty{splitbib} package provides support for bibliographies subdivided by topic. See \sty{bibtopic}.
386
387 \item[titlesec]
388 The \sty{titlesec} package redefines user-level document division commands such as \cmd{chapter} or \cmd{section}. This approach is not compatible with internal command changes applied by the \biblatex \opt{refsection}, \opt{refsegment} and \opt{citereset} option settings described in \secref{use:opt:pre:gen}.
389
390 \item[ucs]
391 The \sty{ucs} package provides support for \utf encoded input, but it does so in a way incompatible with \biblatex.
392
393 If you get an error about \sty{ucs} being loaded, but you don't load it explicitly in your preamble, check that you don't load \sty{inputenc}'s \file{utf8x} module: \verb|\usepackage[utf8x]{inputenc}| will also load \sty{ucs}.
394
395 Instead of \sty{ucs}/\file{utf8x} use a Unicode engine such as \xetex or \luatex if you want full Unicode support. If you use \pdftex or \tex, the Unicode characters predefined by the \latex format are usually enough for many use cases (this is true for \latex from April 2018 or later, in older versions load \sty{inputenc} with the \file{utf8} module) and missing characters can be defined using \cmd{DeclareUnicodeCharacter} or \sty{newunicodechar}'s \cmd{newunicodechar}.
396
397 \item[etextools]
398 The \sty{etextools} package provides enhancements to list macros defined by \sty{etoolbox} and a few other tools for command definitions.
399 The package redefines list handling macros in a way incompatible with \biblatex.
400
401 If you must load the \sty{etextools} package at all costs, define the control sequence \cs{blx@noerroretextools} before you load \biblatex.
402 If \cs{blx@noerroretextools} is defined, no error will be issued if \sty{etextools} is loaded, the message is degraded to a warning instead.
403 In that case you need to make sure that all redefined macros used by \biblatex\ (currently only \cmd{forlistloop}) have their original \sty{etoolbox} definitions when \biblatex\ is loaded.
404
405 \end{marglist}
406
407 \subsubsection{Compatibility Matrix for \biber}
408 \label{int:pre:bibercompat}
409
410 \biber\ versions are closely coupled with \biblatex\ versions. You
411 need to have the right combination of the two. \biber\ will throw a fatal error
412 during processing if it encounters information which comes from a
413 \biblatex\ version which is incompatible. \Tabref{tab:int:pre:bibercompat} shows a
414 compatibility matrix for the recent versions.
415
416 \begin{table}
417 \caption{\biber/\biblatex\ compatibility matrix}
418 \label{tab:int:pre:bibercompat}
419 \tablesetup\centering
420 \begin{tabular}{cc}
421 \toprule
422 \sffamily\bfseries\spotcolor Biber version
423 & \sffamily\bfseries\spotcolor \biblatex\ version\\
424 \midrule
425 2.21 & 3.21\\
426 2.20 & 3.20\\
427 2.19 & 3.19\\
428 2.18 & 3.18\\
429 2.17 & 3.17\\
430 2.16 & 3.16\\
431 2.15 & 3.15\\
432 2.14 & 3.14\\
433 2.13 & 3.13\\
434 2.12 & 3.12\\
435 2.11 & 3.11\\
436 2.10 & 3.10\\
437 2.9 & 3.9\\
438 2.8 & 3.8\\
439 2.7 & 3.7\\
440 2.6 & 3.5, 3.6\\
441 2.5 & 3.4\\
442 2.4 & 3.3\\
443 2.3 & 3.2\\
444 2.2 & 3.1\\
445 2.1 & 3.0\\
446 2.0 & 3.0\\
447 1.9 & 2.9\\
448 1.8 & 2.8\\
449 1.7 & 2.7\\
450 1.6 & 2.6\\
451 1.5 & 2.5\\
452 1.4 & 2.4\\
453 1.3 & 2.3\\
454 1.2 & 2.1, 2.2\\
455 1.1 & 2.1\\
456 1.0 & 2.0\\
457 0.9.9 & 1.7x\\
458 0.9.8 & 1.7x\\
459 0.9.7 & 1.7x\\
460 0.9.6 & 1.7x\\
461 0.9.5 & 1.6x\\
462 0.9.4 & 1.5x\\
463 0.9.3 & 1.5x\\
464 0.9.2 & 1.4x\\
465 0.9.1 & 1.4x\\
466 0.9 & 1.4x\\
467 \bottomrule
468 \end{tabular}
469 \end{table}
470
471 \section{Database Guide}
472 \label{bib}
473
474 This section describes the default data model defined in the \file{blx-dm.def} file which is part of \path{biblatex}. The data model is defined using the macros documented in \secref{aut:ctm:dm}. It is possible to redefine the data model which both \biblatex and \biber use so that datasources can contain new entrytypes and fields (which of course will need style support). The data model specification also allows for constraints to be defined so that data sources can be validated against the data model (using \biber's \opt{--validate-datamodel} option). Users who want to customise the data model need to look at the \file{blx-dm.def} file and to read \secref{aut:ctm:dm}.
475
476 All entry types and field names are given in all-lowercase form here. This is how the entry types and field names are given in the data model. While the \biber/\bibtex input side is case insensitive, the \latex side is case sensitive and uses the exact capitalisation from the data model. This means that the input in the \file{bib} file may use any capitalisation of entry types and field names, but when the fields are used in the \latex document---for example in \cmd{citefield}---the capitalisation must match the capitalisation in the data model, for standard types and fields that would be all lowercase.
477
478 \subsection{Entry Types}
479 \label{bib:typ}
480
481 This section gives an overview of the entry types supported by the default \biblatex data model along with the fields supported by each type.
482
483 \subsubsection{Regular Types}
484 \label{bib:typ:blx}
485
486 The lists below indicate the fields supported by each entry type. Note that the mapping of fields to an entry type is ultimately at the discretion of the bibliography style. The lists below therefore serve two purposes. They indicate the fields supported by the standard styles which come with this package and they also serve as a model for custom styles. Note that the <required> fields are not strictly required in all cases, see \secref{bib:use:key} for details. The fields marked as <optional> are optional in a technical sense. Bibliographical formatting rules usually require more than just the <required> fields. The default data model defined a few constraints for the format of date fields, ISBNs and some special fields like \bibfield{gender} but the constraints are only used if validating against the data model with \biber's \opt{--validate-datamodel} option. Generic fields like \bibfield{abstract} and \bibfield{annotation} or \bibfield{label} and \bibfield{shorthand} are not included in the lists below because they are independent of the entry type. The special fields discussed in \secref{bib:fld:spc}, which are also independent of the entry type, are not included in the lists either. See the default data model specification in the file \file{blx-dm.def} which comes with \biblatex for a complete specification.
487
488 The <alias> relation referred to in this subsection is the <soft alias> defined with \cmd{DeclareBibliographyAlias}. That means that the alias will use the same bibliography driver as the type it is aliased to, but that its type-specific formatting is still handled independently of the aliased type.
489
490 \begin{typelist}
491
492 \typeitem{article}
493
494 An article in a journal, magazine, newspaper, or other periodical which forms a self"=contained unit with its own title. The title of the periodical is given in the \bibfield{journaltitle} field. If the issue has its own title in addition to the main title of the periodical, it goes in the \bibfield{issuetitle} field. Note that \bibfield{editor} and related fields refer to the journal while \bibfield{translator} and related fields refer to the article.
495
496 \reqitem{author, title, journaltitle, year/date}
497 \optitem{translator, annotator, commentator, subtitle, titleaddon, editor, editora, editorb, editorc, journalsubtitle, journaltitleaddon, issuetitle, issuesubtitle, issuetitleaddon, language, origlanguage, series, volume, number, eid, issue, month, pages, version, note, issn, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
498
499 \typeitem{book}
500
501 A single"=volume book with one or more authors where the authors share credit for the work as a whole. This entry type also covers the function of the \bibtype{inbook} type of traditional \bibtex, see \secref{bib:use:inb} for details.
502
503 \reqitem{author, title, year/date}
504 \optitem{editor, editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, language, origlanguage, volume, part, edition, volumes, series, number, note, publisher, location, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
505
506 \typeitem{mvbook}
507
508 A multi"=volume \bibtype{book}. For backwards compatibility, multi"=volume books are also supported by the entry type \bibtype{book}. However, it is advisable to make use of the dedicated entry type \bibtype{mvbook}.
509
510 \reqitem{author, title, year/date}
511 \optitem{editor, editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, language, origlanguage, edition, volumes, series, number, note, publisher, location, isbn, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
512
513 \typeitem{inbook}
514
515 A part of a book which forms a self"=contained unit with its own title. Note that the profile of this entry type is different from standard \bibtex, see \secref{bib:use:inb}.
516
517 \reqitem{author, title, booktitle, year/date}
518 \optitem{bookauthor, editor, editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, booksubtitle, booktitleaddon, language, origlanguage, volume, part, edition, volumes, series, number, note, publisher, location, isbn, eid, chapter, pages, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
519
520 \typeitem{bookinbook}
521
522 This type is similar to \bibtype{inbook} but intended for works originally published as a stand-alone book. A typical example are books reprinted in the collected works of an author.
523
524 \typeitem{suppbook}
525
526 Supplemental material in a \bibtype{book}. This type is closely related to the \bibtype{inbook} entry type. While \bibtype{inbook} is primarily intended for a part of a book with its own title (\eg a single essay in a collection of essays by the same author), this type is provided for elements such as prefaces, introductions, forewords, afterwords, etc. which often have a generic title only. Style guides may require such items to be formatted differently from other \bibtype{inbook} items. The standard styles will treat this entry type as an alias for \bibtype{inbook}.
527
528 \typeitem{booklet}
529
530 A book"=like work without a formal publisher or sponsoring institution. Use the field \bibfield{howpublished} to supply publishing information in free format, if applicable. The field \bibfield{type} may be useful as well.
531
532 \reqitem{author/editor, title, year/date}
533 \optitem{subtitle, titleaddon, language, howpublished, type, note, location, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
534
535 \typeitem{collection}
536
537 A single"=volume collection with multiple, self"=contained contributions by distinct authors which have their own title. The work as a whole has no overall author but it will usually have an editor.
538
539 \reqitem{editor, title, year/date}
540 \optitem{editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, language, origlanguage, volume, part, edition, volumes, series, number, note, publisher, location, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
541
542 \typeitem{mvcollection}
543
544 A multi"=volume \bibtype{collection}. For backwards compatibility, multi"=volume collections are also supported by the entry type \bibtype{collection}. However, it is advisable to make use of the dedicated entry type \bibtype{mvcollection}.
545
546 \reqitem{editor, title, year/date}
547 \optitem{editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, language, origlanguage, edition, volumes, series, number, note, publisher, location, isbn, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
548
549 \typeitem{incollection}
550
551 A contribution to a collection which forms a self"=contained unit with a distinct author and title. The \bibfield{author} refers to the \bibfield{title}, the \bibfield{editor} to the \bibfield{booktitle}, \ie the title of the collection.
552
553 \reqitem{author, title, editor, booktitle, year/date}
554 \optitem{editor, editora, editorb, editorc, translator, annotator, commentator, introduction, foreword, afterword, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, booksubtitle, booktitleaddon, language, origlanguage, volume, part, edition, volumes, series, number, note, publisher, location, isbn, eid, chapter, pages, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
555
556 \typeitem{suppcollection}
557
558 Supplemental material in a \bibtype{collection}. This type is similar to \bibtype{suppbook} but related to the \bibtype{collection} entry type. The standard styles will treat this entry type as an alias for \bibtype{incollection}.
559
560 \typeitem{dataset}
561
562 A data set or a similar collection of (mostly) raw data.
563
564 \reqitem{author/editor, title, year/date}
565 \optitem{subtitle, titleaddon, language, edition, type, series, number, version, note, organization, publisher, location, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
566
567 \typeitem{manual}
568
569 Technical or other documentation, not necessarily in printed form. The \bibfield{author} or \bibfield{editor} is omissible in terms of \secref{bib:use:key}.
570
571 \reqitem{author/editor, title, year/date}
572 \optitem{subtitle, titleaddon, language, edition, type, series, number, version, note, organization, publisher, location, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
573
574 \typeitem{misc}
575
576 A fallback type for entries which do not fit into any other category. Use the field \bibfield{howpublished} to supply publishing information in free format, if applicable. The field \bibfield{type} may be useful as well. \bibfield{author}, \bibfield{editor}, and \bibfield{year} are omissible in terms of \secref{bib:use:key}.
577
578 \reqitem{author/editor, title, year/date}
579 \optitem{subtitle, titleaddon, language, howpublished, type, version, note, organization, location, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
580
581 \typeitem{online}
582
583 An online resource. \bibfield{author}, \bibfield{editor}, and \bibfield{year} are omissible in terms of \secref{bib:use:key}. This entry type is intended for sources such as web sites which are intrinsically online resources. Note that all entry types support the \bibfield{url} field. For example, when adding an article from an online journal, it may be preferable to use the \bibtype{article} type and its \bibfield{url} field.
584
585 \reqitem{author/editor, title, year/date, doi/eprint/url}
586 \optitem{subtitle, titleaddon, language, version, note, organization, month, addendum, pubstate, eprintclass, eprinttype, urldate}
587
588 \typeitem{patent}
589
590 A patent or patent request. The number or record token is given in the \bibfield{number} field. Use the \bibfield{type} field to specify the type and the \bibfield{location} field to indicate the scope of the patent, if different from the scope implied by the \bibfield{type}. Note that the \bibfield{location} field is treated as a key list with this entry type, see \secref{bib:fld:typ} for details.
591
592 \reqitem{author, title, number, year/date}
593 \optitem{holder, subtitle, titleaddon, type, version, location, note, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
594
595 \typeitem{periodical}
596
597 An complete issue of a periodical, such as a special issue of a journal. The title of the periodical is given in the \bibfield{title} field. If the issue has its own title in addition to the main title of the periodical, it goes in the \bibfield{issuetitle} field. The \bibfield{editor} is omissible in terms of \secref{bib:use:key}.
598
599 \reqitem{editor, title, year/date}
600 \optitem{editora, editorb, editorc, subtitle, titleaddon, issuetitle, issuesubtitle, issuetitleaddon, language, series, volume, number, issue, month, note, issn, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
601
602 \typeitem{suppperiodical}
603
604 Supplemental material in a \bibtype{periodical}. This type is similar to \bibtype{suppbook} but related to the \bibtype{periodical} entry type. The role of this entry type may be more obvious if you bear in mind that the \bibtype{article} type could also be called \bibtype{inperiodical}. This type may be useful when referring to items such as regular columns, obituaries, letters to the editor, etc. which only have a generic title. Style guides may require such items to be formatted differently from articles in the strict sense of the word. The standard styles will treat this entry type as an alias for \bibtype{article}.
605
606 \typeitem{proceedings}
607
608 A single"=volume conference proceedings. This type is very similar to \bibtype{collection}. It supports an optional \bibfield{organization} field which holds the sponsoring institution. The \bibfield{editor} is omissible in terms of \secref{bib:use:key}.
609
610 \reqitem{title, year/date}
611 \optitem{editor, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, eventtitle, eventtitleaddon, eventdate, venue, language, volume, part, volumes, series, number, note, organization, publisher, location, month, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
612
613 \typeitem{mvproceedings}
614
615 A multi"=volume \bibtype{proceedings} entry. For backwards compatibility, multi"=volume proceedings are also supported by the entry type \bibtype{proceedings}. However, it is advisable to make use of the dedicated entry type \bibtype{mvproceedings}
616
617 \reqitem{title, year/date}
618 \optitem{editor, subtitle, titleaddon, eventtitle, eventtitleaddon, eventdate, venue, language, volumes, series, number, note, organization, publisher, location, month, isbn, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
619
620 \typeitem{inproceedings}
621
622 An article in a conference proceedings. This type is similar to \bibtype{incollection}. It supports an optional \bibfield{organization} field.
623
624 \reqitem{author, title, booktitle, year/date}
625 \optitem{editor, subtitle, titleaddon, maintitle, mainsubtitle, maintitleaddon, booksubtitle, booktitleaddon, eventtitle, eventtitleaddon, eventdate, venue, language, volume, part, volumes, series, number, note, organization, publisher, location, month, isbn, eid, chapter, pages, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
626
627 \typeitem{reference}
628
629 A single"=volume work of reference such as an encyclopedia or a dictionary. This is a more specific variant of the generic \bibtype{collection} entry type. The standard styles will treat this entry type as an alias for \bibtype{collection}.
630
631 \typeitem{mvreference}
632
633 A multi"=volume \bibtype{reference} entry. The standard styles will treat this entry type as an alias for \bibtype{mvcollection}. For backwards compatibility, multi"=volume references are also supported by the entry type \bibtype{reference}. However, it is advisable to make use of the dedicated entry type \bibtype{mvreference}.
634
635 \typeitem{inreference}
636
637 An article in a work of reference. This is a more specific variant of the generic \bibtype{incollection} entry type. The standard styles will treat this entry type as an alias for \bibtype{incollection}.
638
639 \typeitem{report}
640
641 A technical report, research report, or white paper published by a university or some other institution. Use the \bibfield{type} field to specify the type of report. The sponsoring institution goes in the \bibfield{institution} field.
642
643 \reqitem{author, title, type, institution, year/date}
644 \optitem{subtitle, titleaddon, language, number, version, note, location, month, isrn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
645
646 \typeitem{set}
647
648 An entry set. This entry type is special, see \secref{use:use:set} for details.
649
650 \typeitem{software}
651
652 Computer software. The standard styles will treat this entry type as an alias for \bibtype{misc}.
653
654 \typeitem{thesis}
655
656 A thesis written for an educational institution to satisfy the requirements for a degree. Use the \bibfield{type} field to specify the type of thesis.
657
658 \reqitem{author, title, type, institution, year/date}
659 \optitem{subtitle, titleaddon, language, note, location, month, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
660
661 \typeitem{unpublished}
662
663 A work with an author and a title which has not been formally published, such as a manuscript or the script of a talk. Use the fields \bibfield{howpublished} and \bibfield{note} to supply additional information in free format, if applicable.
664
665 \reqitem{author, title, year/date}
666 \optitem{subtitle, titleaddon, type, eventtitle, eventtitleaddon, eventdate, venue, language, howpublished, note, location, isbn, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
667
668 \typeitem{xdata}
669
670 This entry type is special. \bibtype{xdata} entries hold data which may be inherited by other entries using the \bibfield{xdata} field. Entries of this type only serve as data containers; they may not be cited or added to the bibliography. See \secref{use:use:xdat} for details.
671
672 \typeitem{custom[a--f]}
673
674 Custom types for special bibliography styles. The standard styles defined no bibliography drivers for these types and will fall back to using the driver for \bibtype{misc}.
675
676 \end{typelist}
677
678 \subsubsection{Type Aliases}
679 \label{bib:typ:als}
680
681 The entry types listed in this section are provided for backwards compatibility with traditional \bibtex styles. These aliases are resolved by the backend as the data is processed. \biblatex and the styles will see only the entry type the alias points to (the target), not the alias name (the source). In particular \biblatex-side per-type operations like type-specific formatting and filtering only work for the target type, not the source type. This <hard alias> is unlike the <soft alias> relation in the previous subsection. The relevant mappings for the \opt{bibtex} driver can be found in~\secref{apx:maps:bibtex}.
682
683 \begin{typelist}
684
685 \typeitem{conference} A legacy alias for \bibtype{inproceedings}.
686
687 \typeitem{electronic} An alias for \bibtype{online}.
688
689 \typeitem{mastersthesis} Similar to \bibtype{thesis} except that the \bibfield{type} field is optional and defaults to the localised term <Master's thesis>. You may still use the \bibfield{type} field to override that.
690
691 \typeitem{phdthesis} Similar to \bibtype{thesis} except that the \bibfield{type} field is optional and defaults to the localised term <PhD thesis>. You may still use the \bibfield{type} field to override that.
692
693 \typeitem{techreport} Similar to \bibtype{report} except that the \bibfield{type} field is optional and defaults to the localised term <technical report>. You may still use the \bibfield{type} field to override that.
694
695 \typeitem{www}
696
697 An alias for \bibtype{online}, provided for \sty{jurabib} compatibility.
698
699 \end{typelist}
700
701 \subsubsection{Non-standard Types}
702 \label{bib:typ:ctm}
703
704 The types in this section are similar to the custom types \bibtype{custom[a--f]}, \ie the standard bibliography styles provide no bibliography drivers for these types. In the standard styles they will use the bibliography driver for \bibtype{misc} entries---exceptions to this rule are noted in the descriptions below. The types are known to the default data model and will be happily accepted by \biber.
705
706 \begin{typelist}
707
708 \typeitem{artwork}
709
710 Works of the visual arts such as paintings, sculpture, and installations.
711
712 \typeitem{audio}
713
714 Audio recordings, typically on audio \acr{CD}, \acr{DVD}, audio cassette, or similar media. See also \bibtype{music}.
715
716 \typeitem{bibnote}
717
718 This special entry type is not meant to be used in the \file{bib} file like other types. It is provided for third-party packages like \sty{notes2bib} which merge notes into the bibliography. The notes should go into the \bibfield{note} field. Be advised that the \bibtype{bibnote} type is not related to the \cmd{defbibnote} command in any way. \cmd{defbibnote} is for adding comments at the beginning or the end of the bibliography, whereas the \bibtype{bibnote} type is meant for packages which render endnotes as bibliography entries.
719
720 \typeitem{commentary}
721
722 Commentaries which have a status different from regular books, such as legal commentaries.
723
724 \typeitem{image}
725
726 Images, pictures, photographs, and similar media.
727
728 \typeitem{jurisdiction}
729
730 Court decisions, court recordings, and similar things.
731
732 \typeitem{legislation}
733
734 Laws, bills, legislative proposals, and similar things.
735
736 \typeitem{legal}
737
738 Legal documents such as treaties.
739
740 \typeitem{letter}
741
742 Personal correspondence such as letters, emails, memoranda, etc.
743
744 \typeitem{movie}
745
746 Motion pictures. See also \bibtype{video}.
747
748 \typeitem{music}
749
750 Musical recordings. This is a more specific variant of \bibtype{audio}.
751
752 \typeitem{performance}
753
754 Musical and theatrical performances as well as other works of the performing arts. This type refers to the event as opposed to a recording, a score, or a printed play.
755
756 \typeitem{review}
757
758 Reviews of some other work. This is a more specific variant of the \bibtype{article} type. The standard styles will treat this entry type as an alias for \bibtype{article}.
759
760 \typeitem{standard}
761
762 National and international standards issued by a standards body such as the International Organization for Standardization.
763
764 \typeitem{video}
765
766 Audiovisual recordings, typically on \acr{DVD}, \acr{VHS} cassette, or similar media. See also \bibtype{movie}.
767
768 \end{typelist}
769
770 \subsection{Entry Fields}
771 \label{bib:fld}
772
773 This section gives an overview of the fields supported by the \biblatex default data model. See \secref{bib:fld:typ} for an introduction to the data types used by the data model specification and \secref{bib:fld:dat, bib:fld:spc} for the actual field listings.
774
775 \subsubsection{Data Types}
776 \label{bib:fld:typ}
777
778 In datasources such as a \file{bib} file, all bibliographic data is specified in fields. Some of those fields, for example \bibfield{author} and \bibfield{editor}, may contain a list of items. This list structure is implemented by the \bibtex file format via the keyword <|and|>, which is used to separate the individual items in the list. The \biblatex package implements three distinct data types to handle bibliographic data: name lists, literal lists, and fields. There are also several list and field subtypes and a content type which can be used to semantically distinguish fields which are otherwise not distinguishable on the basis of only their datatype (see \secref{aut:ctm:dm}). This section gives an overview of the data types supported by this package. See \secref{bib:fld:dat, bib:fld:spc} for information about the mapping of the \bibtex file format fields to \biblatex's data types.
779
780 \begin{description}
781
782 \item[Name lists] are parsed and split up into the individual items at the \texttt{and} delimiter. Each item in the list is then dissected into the name part components: by default the given name, the name prefix (von, van, of, da, de, della, \dots), the family name, and the name suffix (junior, senior, \dots). The valid name parts can be customised by changing the datamodel definition described in \secref{aut:bbx:drv}. Name lists may be truncated in the \file{bib} file with the keyword <\texttt{and others}>. Typical examples of name lists are \bibfield{author} and \bibfield{editor}.
783
784 Name list fields automatically have an \cmd{ifuse*} test created as per the name lists in the default data model (see \secref{aut:aux:tst}). They also automatically have an \opt{ifuse*} option created which controls labelling and sorting behaviour with the name (see \secref{use:opt:bib:hyb}). \biber supports a customisable set of name parts but currently this is defined to be the same set of parts as supported by traditional \bibtex:
785
786 \begin{itemize}
787 \item Family name (also known as <last> part)
788 \item Given name (also known as <first> part)
789 \item Name prefix (also known as <von> part)
790 \item Name suffix (also known as <Jr> part)
791 \end{itemize}
792
793 The supported list of name parts is defined as a constant list in the default data model using the \cmd{DeclareDatamodelConstant} command (see \ref{aut:ctm:dm}). However, it is not enough to simply add to this list in order to add support for another name part as name parts typically have to be hard coded into bibliography drivers and the backend processing. See the example file \file{93-nameparts.tex} for details on how to define and use custom name parts. Also see \cmd{DeclareUniquenameTemplate} in \secref{aut:cav:amb} for information on how to customise name disambiguation using custom name parts.
794
795 \item[Literal lists] are parsed and split up into the individual items at the \texttt{and} delimiter but not dissected further. Literal lists may be truncated in the \file{bib} file with the keyword <\texttt{and others}>. There are two subtypes:
796
797 \begin{description}
798
799 \item[Literal lists] in the strict sense are handled as described above. The individual items are simply printed as is. Typical examples of such literal lists are \bibfield{publisher} and \bibfield{location}.
800
801 \item[Key lists] are a variant of literal lists which may hold printable data or localisation keys. For each item in the list, styles should perform a test to determine whether it is a known localisation key (the localisation keys defined by default are listed in \secref{aut:lng:key}). If so, the localised string should be printed. If not, the item should be printed as is. The standard styles are set up to exhibit this behaviour for all key lists listed below. New key lists do not automatically perform this test, it has to be implemented explicitly via the list format. A typical example of a key list is \bibfield{language}.
802
803 \end{description}
804 \end{description}
805
806 \begin{description}
807
808 \item[Fields] are usually printed as a whole. There are several subtypes:
809
810 \begin{description}
811
812 \item[Literal fields] are printed as is. Typical examples of literal fields are \bibfield{title} and \bibfield{note}.
813
814 \item[Range fields] consist of one or more ranges where all dashes are normalized and replaced by the command \cmd{bibrangedash}. A range is something optionally followed by one or more dashes optionally followed by some non-dash (e.g. \texttt{5--7}). Any number of consecutive dashes will only yield a single range dash. A typical example of a range field is the \bibfield{pages} field. See also the \cmd{bibrangessep} command which can be used to customise the separator between multiple ranges. Range fields will be skipped and will generate a warning if they do not consist of one or more ranges. You can normalise messy range fields before they are parsed using \cmd{DeclareSourcemap} (see \secref{aut:ctm:map}).
815
816 \item[Integer fields] hold integers which may be converted to ordinals or strings as they are printed. A typical example is the \bibfield{extradate} or \bibfield{volume} field. Such fields are sorted as integers. \biber makes a (quite serious) effort to map non-arabic representations (roman numerals for example) to integers for sorting purposes. See the \opt{noroman} option which can be used to suppress roman numeral parsing. This can help in cases where there is an ambiguity between parsing as roman numerals or alphanumeric (e.g. <C>), see \secref{use:opt:pre:int}.
817
818 \item[Datepart fields] hold unformatted integers which may be converted to ordinals or strings as they are printed. A typical example is the \bibfield{month} field. For every field of datatype \bibfield{date} in the datamodel, datepart fields are automatically created with the following names: \bibfield{$<$datetype$>$year}, \bibfield{$<$datetype$>$endyear}, \bibfield{$<$datetype$>$month}, \bibfield{$<$datetype$>$endmonth}, \bibfield{$<$datetype$>$day}, \bibfield{$<$datetype$>$endday}, \bibfield{$<$datetype$>$hour}, \bibfield{$<$datetype$>$endhour}, \bibfield{$<$datetype$>$minute}, \bibfield{$<$datetype$>$endminute}, \bibfield{$<$datetype$>$second}, \bibfield{$<$datetype$>$endsecond}, \bibfield{$<$datetype$>$timezone}, \bibfield{$<$datetype$>$endtimezone}. $<$datetype$>$ is the string preceding <date> for any datamodel field of \kvopt{datatype}{date}. For example, in the default datamodel, <event>, <orig>, <url> and the empty string <> for the date field \bibfield{date}.
819
820 \item[Date fields] hold a date specification in \texttt{yyyy-mm-ddThh:nn[+|-][hh[:nn]|Z]} format or a date range in \texttt{yyyy-mm-ddThh:nn[+|-][hh[:nn]|Z]/yyyy-mm-ddThh:nn[+|-][hh[:nn]|Z]} format and other formats permitted by \acr{ISO8601-2} Clause 4, level 1, see \secref{bib:use:dat}. Date fields are special in that the date is parsed and split up into its datepart type components. The \bibfield{datepart} components (see above) are automatically defined and recognised when a field of datatype \bibfield{date} is defined in the datamodel. A typical example is the \bibfield{date} field.
821
822 \item[Verbatim fields] are processed in verbatim mode and may contain special characters. Typical examples of verbatim fields are \bibfield{file} and \bibfield{doi}.
823
824 \item[URI fields] are processed in verbatim mode and may contain special characters. They are also URL-escaped if they don't look like they already are. The typical example of a uri field is \bibfield{url}.
825
826 \item[Separated value fields] A separated list of literal values. Examples are the \bibfield{keywords} and \bibfield{options} fields. The separator can be configured to be any Perl regular expression via the \opt{xsvsep} option which defaults to the usual \bibtex comma surrounded by optional whitespace.
827
828 \item[Pattern fields] A literal field which must match a particular pattern. An example is the \bibfield{gender} field from \secref{bib:fld:spc}.
829
830 \item[Key fields] May hold printable data or localisation keys. Styles should perform a test to determine whether the value of the field is a known localisation key (the localisation keys defined by default are listed in \secref{aut:lng:key}). If so, the localised string should be printed. If not, the value should be printed as is. The standard styles are set up to handle all key fields listed below in that way. New key fields do not automatically perform the test, it has to be enabled explicitly in the field format. A typical example is the \bibfield{type} field.
831
832 \item[Code fields] Holds \tex code.
833
834 \end{description}
835 \end{description}
836
837 \subsubsection{Data Fields}
838 \label{bib:fld:dat}
839
840 The fields listed in this section are the regular ones holding printable data in the default data model. The name on the left is the default data model name of the field as used by \biblatex and its backend. The \biblatex data type is given to the right of the name. See \secref{bib:fld:typ} for explanation of the various data types.
841
842 Some fields are marked as <label> fields which means that they are often used as abbreviation labels when printing bibliography lists in the sense of section \secref{use:bib:biblist}. \biblatex automatically creates supporting macros for such fields. See \secref{use:bib:biblist}.
843
844 \begin{fieldlist}
845
846 \fielditem{abstract}{literal}
847
848 This field is intended for recording abstracts in a \file{bib} file, to be printed by a special bibliography style. It is not used by all standard bibliography styles.
849
850 \fielditem{addendum}{literal}
851
852 Miscellaneous bibliographic data to be printed at the end of the entry. This is similar to the \bibfield{note} field except that it is printed at the end of the bibliography entry.
853
854 \listitem{afterword}{name}
855
856 The author(s) of an afterword to the work. If the author of the afterword is identical to the \bibfield{editor} and\slash or \bibfield{translator}, the standard styles will automatically concatenate these fields in the bibliography. See also \bibfield{introduction} and \bibfield{foreword}.
857
858 \fielditem{annotation}{literal}
859
860 This field may be useful when implementing a style for annotated bibliographies. It is not used by all standard bibliography styles. Note that this field is completely unrelated to \bibfield{annotator}. The \bibfield{annotator} is the author of annotations which are part of the work cited.
861
862 \listitem{annotator}{name}
863
864 The author(s) of annotations to the work. If the annotator is identical to the \bibfield{editor} and\slash or \bibfield{translator}, the standard styles will automatically concatenate these fields in the bibliography. See also \bibfield{commentator}.
865
866 \listitem{author}{name}
867
868 The author(s) of the \bibfield{title}.
869
870 \fielditem{authortype}{key}
871
872 The type of author. This field will affect the string (if any) used to introduce the author.
873
874 \listitem{bookauthor}{name}
875
876 The author(s) of the \bibfield{booktitle}.
877
878 \fielditem{bookpagination}{key}
879
880 If the work is published as part of another one, this is the pagination scheme of the enclosing work, \ie \bibfield{bookpagination} relates to \bibfield{pagination} like \bibfield{booktitle} to \bibfield{title}. The value of this field will affect the formatting of the \bibfield{pages} and \bibfield{pagetotal} fields. The key should be given in the singular form. Possible keys are \texttt{page}, \texttt{column}, \texttt{line}, \texttt{verse}, \texttt{section}, and \texttt{paragraph}. See also \bibfield{pagination} as well as \secref{bib:use:pag}.
881
882 \fielditem{booksubtitle}{literal}
883
884 The subtitle related to the \bibfield{booktitle}. If the \bibfield{subtitle} field refers to a work which is part of a larger publication, a possible subtitle of the main work is given in this field. See also \bibfield{subtitle}.
885
886 \fielditem{booktitle}{literal}
887
888 If the \bibfield{title} field indicates the title of a work which is part of a larger publication, the title of the main work is given in this field. See also \bibfield{title}.
889
890 \fielditem{booktitleaddon}{literal}
891
892 An annex to the \bibfield{booktitle}, to be printed in a different font.
893
894 \fielditem{chapter}{literal}
895
896 A chapter or section or any other unit of a work.
897
898 \listitem{commentator}{name}
899
900 The author(s) of a commentary to the work. Note that this field is intended for commented editions which have a commentator in addition to the author. If the work is a stand"=alone commentary, the commentator should be given in the \bibfield{author} field. If the commentator is identical to the \bibfield{editor} and\slash or \bibfield{translator}, the standard styles will automatically concatenate these fields in the bibliography. See also \bibfield{annotator}.
901
902 \fielditem{date}{date}
903
904 The publication date. See also \bibfield{month} and \bibfield{year} as well as \secref{bib:use:dat,bib:use:yearordate}.
905
906 \fielditem{doi}{verbatim}
907
908 The Digital Object Identifier of the work.
909
910 \fielditem{edition}{integer or literal}
911
912 The edition of a printed publication. This must be an integer, not an ordinal. Don't say |edition={First}| or |edition={1st}| but |edition={1}|. The bibliography style converts this to a language dependent ordinal. It is also possible to give the edition as a literal string, for example «Third, revised and expanded edition».
913
914 \listitem{editor}{name}
915
916 The editor(s) of the \bibfield{title}, \bibfield{booktitle}, or \bibfield{maintitle}, depending on the entry type. Use the \bibfield{editortype} field to specify the role if it is different from <\texttt{editor}>. See \secref{bib:use:edr} for further hints.
917
918 \listitem{editora}{name}
919
920 A secondary editor performing a different editorial role, such as compiling, redacting, etc. Use the \bibfield{editoratype} field to specify the role. See \secref{bib:use:edr} for further hints.
921
922 \listitem{editorb}{name}
923
924 Another secondary editor performing a different role. Use the \bibfield{editorbtype} field to specify the role. See \secref{bib:use:edr} for further hints.
925
926 \listitem{editorc}{name}
927
928 Another secondary editor performing a different role. Use the \bibfield{editorctype} field to specify the role. See \secref{bib:use:edr} for further hints.
929
930 \fielditem{editortype}{key}
931
932 The type of editorial role performed by the \bibfield{editor}. Roles supported by default are \texttt{editor}, \texttt{compiler}, \texttt{founder}, \texttt{continuator}, \texttt{redactor}, \texttt{reviser}, \texttt{collaborator}, \texttt{organizer}. The role <\texttt{editor}> is the default. In this case, the field is omissible. See \secref{bib:use:edr} for further hints.
933
934 \fielditem{editoratype}{key}
935
936 Similar to \bibfield{editortype} but referring to the \bibfield{editora} field. See \secref{bib:use:edr} for further hints.
937
938 \fielditem{editorbtype}{key}
939
940 Similar to \bibfield{editortype} but referring to the \bibfield{editorb} field. See \secref{bib:use:edr} for further hints.
941
942 \fielditem{editorctype}{key}
943
944 Similar to \bibfield{editortype} but referring to the \bibfield{editorc} field. See \secref{bib:use:edr} for further hints.
945
946 \fielditem{eid}{literal}
947
948 The electronic identifier of an \bibtype{article} or chapter-like section of a larger work often called <article number>, <paper number> or the like. This field may replace the \bibfield{pages} field for journals deviating from the classic pagination scheme of printed journals by only enumerating articles or papers and not pages.
949
950 Not to be confused with \bibfield{number}, which for \bibtype{article}s subdivides the \bibfield{volume}.
951
952 \fielditem{entrysubtype}{literal}
953
954 This field, which is not used by the standard styles, may be used to specify a subtype of an entry type. This may be useful for bibliography styles which support a finer"=grained set of entry types.
955
956 \fielditem{eprint}{verbatim}
957
958 The electronic identifier of an online publication. This is roughly comparable to a \acr{doi} but specific to a certain archive, repository, service, or system. See \secref{use:use:epr} for details. Also see \bibfield{eprinttype} and \bibfield{eprintclass}.
959
960 \fielditem{eprintclass}{literal}
961
962 Additional information related to the resource indicated by the \bibfield{eprinttype} field. This could be a section of an archive, a path indicating a service, a classification of some sort, etc. See \secref{use:use:epr} for details. Also see \bibfield{eprint} and \bibfield{eprinttype}.
963
964 \fielditem{eprinttype}{literal}
965
966 The type of \bibfield{eprint} identifier, \eg the name of the archive, repository, service, or system the \bibfield{eprint} field refers to. See \secref{use:use:epr} for details. Also see \bibfield{eprint} and \bibfield{eprintclass}.
967
968 \fielditem{eventdate}{date}
969
970 The date of a conference, a symposium, or some other event in \bibtype{proceedings} and \bibtype{inproceedings} entries. This field may also be useful for the custom types listed in \secref{bib:typ:ctm}. See also \bibfield{eventtitle} and \bibfield{venue} as well as \secref{bib:use:dat}.
971
972 \fielditem{eventtitle}{literal}
973
974 The title of a conference, a symposium, or some other event in \bibtype{proceedings} and \bibtype{inproceedings} entries. This field may also be useful for the custom types listed in \secref{bib:typ:ctm}. Note that this field holds the plain title of the event. Things like «Proceedings of the Fifth XYZ Conference» go into the \bibfield{titleaddon} or \bibfield{booktitleaddon} field, respectively. See also \bibfield{eventdate} and \bibfield{venue}.
975
976 \fielditem{eventtitleaddon}{literal}
977
978 An annex to the \bibfield{eventtitle} field. Can be used for known event acronyms, for example.
979
980 \fielditem{file}{verbatim}
981
982 A local link to a \acr{pdf} or other version of the work. Not used by the standard bibliography styles.
983
984 \listitem{foreword}{name}
985
986 The author(s) of a foreword to the work. If the author of the foreword is identical to the \bibfield{editor} and\slash or \bibfield{translator}, the standard styles will automatically concatenate these fields in the bibliography. See also \bibfield{introduction} and \bibfield{afterword}.
987
988 \listitem{holder}{name}
989
990 The holder(s) of a \bibtype{patent}, if different from the \bibfield{author}. Note that corporate holders need to be wrapped in an additional set of braces, see \secref{bib:use:inc} for details. This list may also be useful for the custom types listed in \secref{bib:typ:ctm}.
991
992 \fielditem{howpublished}{literal}
993
994 A publication notice for unusual publications which do not fit into any of the common categories.
995
996 \fielditem{indextitle}{literal}
997
998 A title to use for indexing instead of the regular \bibfield{title} field. This field may be useful if you have an entry with a title like «An Introduction to \dots» and want that indexed as «Introduction to \dots, An». Style authors should note that \biblatex automatically copies the value of the \bibfield{title} field to \bibfield{indextitle} if the latter field is undefined.
999
1000 \listitem{institution}{literal}
1001
1002 The name of a university or some other institution, depending on the entry type. Traditional \bibtex uses the field name \bibfield{school} for theses, which is supported as an alias. See also \secref{bib:fld:als, bib:use:and}.
1003
1004 \listitem{introduction}{name}
1005
1006 The author(s) of an introduction to the work. If the author of the introduction is identical to the \bibfield{editor} and\slash or \bibfield{translator}, the standard styles will automatically concatenate these fields in the bibliography. See also \bibfield{foreword} and \bibfield{afterword}.
1007
1008 \fielditem{isan}{literal}
1009
1010 The International Standard Audiovisual Number of an audiovisual work. Not used by the standard bibliography styles.
1011
1012 \fielditem{isbn}{literal}
1013
1014 The International Standard Book Number of a book.
1015
1016 \fielditem{ismn}{literal}
1017
1018 The International Standard Music Number for printed music such as musical scores. Not used by the standard bibliography styles.
1019
1020 \fielditem{isrn}{literal}
1021
1022 The International Standard Technical Report Number of a technical report.
1023
1024 \fielditem{issn}{literal}
1025
1026 The International Standard Serial Number of a periodical.
1027
1028 \fielditem{issue}{literal}
1029
1030 The issue of a journal. This field is intended for journals whose individual issues are identified by a designation such as <Spring> or <Summer> rather than the month or a number. The placement of \bibfield{issue} is similar to \bibfield{month} and \bibfield{number}. Integer ranges and short designators are better written to the \bibfield{number} field. See also \bibfield{month}, \bibfield{number} and \secref{bib:use:iss, bib:use:issnum}.
1031
1032 \fielditem{issuesubtitle}{literal}
1033
1034 The subtitle of a specific issue of a journal or other periodical.
1035
1036 \fielditem{issuetitle}{literal}
1037
1038 The title of a specific issue of a journal or other periodical.
1039
1040 \fielditem{issuetitleaddon}{literal}
1041
1042 An annex to the \bibfield{issuetitle}, to be printed in a different font.
1043
1044 \fielditem{iswc}{literal}
1045
1046 The International Standard Work Code of a musical work. Not used by the standard bibliography styles.
1047
1048 \fielditem{journalsubtitle}{literal}
1049
1050 The subtitle of a journal, a newspaper, or some other periodical.
1051
1052 \fielditem{journaltitle}{literal}
1053
1054 The name of a journal, a newspaper, or some other periodical.
1055
1056 \fielditem{journaltitleaddon}{literal}
1057
1058 An annex to the \bibfield{journaltitle}, to be printed in a different font.
1059
1060
1061 \fielditem{label}{literal}
1062
1063 A designation to be used by the citation style as a substitute for the regular label if any data required to generate the regular label is missing. For example, when an author"=year citation style is generating a citation for an entry which is missing the author or the year, it may fall back to \bibfield{label}. See \secref{bib:use:key} for details. Note that, in contrast to \bibfield{shorthand}, \bibfield{label} is only used as a fallback. See also \bibfield{shorthand}.
1064
1065 \listitem{language}{key}
1066
1067 The language(s) of the work. Languages may be specified literally or as localisation keys (see \secref{aut:lng:key}, especially \secref{aut:lng:key:lng}). If localisation keys are used, the prefix \texttt{lang} is omissible: both \texttt{langenglish} and \texttt{english} can be used. If the \opt{clearlang} option is set, the content of this field may be cleared if it matches the \sty{babel}/\sty{polyglossia} language of the document (or the language specified explicitly with the \opt{language} option), see \secref{use:opt:pre:gen}. See also \bibfield{origlanguage} and compare \bibfield{langid} in \secref{bib:fld:spc}.
1068
1069 \fielditem{library}{literal}
1070
1071 This field may be useful to record information such as a library name and a call number. This may be printed by a special bibliography style if desired. Not used by the standard bibliography styles.
1072
1073 \listitem{location}{literal}
1074
1075 The place(s) of publication, \ie the location of the \bibfield{publisher} or \bibfield{institution}, depending on the entry type. Traditional \bibtex uses the field name \bibfield{address}, which is supported as an alias. See also \secref{bib:fld:als, bib:use:and}. With \bibtype{patent} entries, this list indicates the scope of a patent. This list may also be useful for the custom types listed in \secref{bib:typ:ctm}.
1076
1077 \fielditem{mainsubtitle}{literal}
1078
1079 The subtitle related to the \bibfield{maintitle}. See also \bibfield{subtitle}.
1080
1081 \fielditem{maintitle}{literal}
1082
1083 The main title of a multi"=volume book, such as \emph{Collected Works}. If the \bibfield{title} or \bibfield{booktitle} field indicates the title of a single volume which is part of multi"=volume book, the title of the complete work is given in this field.
1084
1085 \fielditem{maintitleaddon}{literal}
1086
1087 An annex to the \bibfield{maintitle}, to be printed in a different font.
1088
1089 \fielditem{month}{literal}
1090
1091 The publication month. This must be an integer, not an ordinal or a string. Don't say |month={January}| but |month={1}|. The bibliography style converts this to a language dependent string or ordinal where required. This field is a literal field only when given
1092 explicitly in the data (for plain \bibtex compatibility for example). It is
1093 however better to use the \bibfield{date} field as this supports many more features. See \secref{bib:use:dat,bib:use:yearordate}.
1094
1095 \fielditem{nameaddon}{literal}
1096
1097 An addon to be printed immediately after the author name in the bibliography. Not used by the standard bibliography styles.
1098
1099 \fielditem{note}{literal}
1100
1101 Miscellaneous bibliographic data which does not fit into any other field. The \bibfield{note} field may be used to record bibliographic data in a free format. Publication facts such as «Reprint of the edition London 1831» are typical candidates for the \bibfield{note} field. See also \bibfield{addendum}.
1102
1103 \fielditem{number}{literal}
1104
1105 The number of a journal or the volume\slash number of a book in a \bibfield{series}. See also \bibfield{issue} as well as \secref{bib:use:ser, bib:use:iss, bib:use:issnum}. With \bibtype{patent} entries, this is the number or record token of a patent or patent request. Normally this field will be an integer or an integer range, but it may also be a short designator that is not entirely numeric such as «S1», «Suppl.\ 2», «3es». In these cases the output should be scrutinised carefully.
1106
1107 Since \bibfield{number} is---maybe counterintuitively given its name---a literal field, sorting templates will not treat its contents as integers, but as literal strings, which means that «11» may sort between «1» and «2». If integer sorting is desired, the field can be declared an integer field in a custom data model (see \secref{aut:ctm:dm}). But then the sorting of non-integer values is not well defined.
1108
1109 The <article number> or <paper number>, which can be used instead of---or along with---a page range to pinpoint a specific article within another work, goes into the \bibfield{eid} field.
1110
1111 \listitem{organization}{literal}
1112
1113 The organization(s) that published a \bibtype{manual} or an \bibtype{online} resource, or sponsored a conference. See also \secref{bib:use:and}.
1114
1115 \fielditem{origdate}{date}
1116
1117 If the work is a translation, a reprint, or something similar, the publication date of the original edition. Not used by the standard bibliography styles. See also \bibfield{date}.
1118
1119 \listitem{origlanguage}{key}
1120
1121 If the work is a translation, the language(s) of the original work. See also \bibfield{language}.
1122
1123 \listitem{origlocation}{literal}
1124
1125 If the work is a translation, a reprint, or something similar, the \bibfield{location} of the original edition. Not used by the standard bibliography styles. See also \bibfield{location} and \secref{bib:use:and}.
1126
1127 \listitem{origpublisher}{literal}
1128
1129 If the work is a translation, a reprint, or something similar, the \bibfield{publisher} of the original edition. Not used by the standard bibliography styles. See also \bibfield{publisher} and \secref{bib:use:and}.
1130
1131 \fielditem{origtitle}{literal}
1132
1133 If the work is a translation, the \bibfield{title} of the original work. Not used by the standard bibliography styles. See also \bibfield{title}.
1134
1135 \fielditem{pages}{range}
1136
1137 One or more page numbers or page ranges. If the work is published as part of another one, such as an article in a journal or a collection, this field holds the relevant page range in that other work. It may also be used to limit the reference to a specific part of a work (a chapter in a book, for example). For papers in electronic journals with a non-classical pagination setup the \bibfield{eid} field may be more suitable.
1138
1139 \fielditem{pagetotal}{literal}
1140
1141 The total number of pages of the work.
1142
1143 \fielditem{pagination}{key}
1144
1145 The pagination of the work. The value of this field will affect the formatting the \prm{postnote} argument to a citation command. The key should be given in the singular form. Possible keys are \texttt{page}, \texttt{column}, \texttt{line}, \texttt{verse}, \texttt{section}, and \texttt{paragraph}. See also \bibfield{bookpagination} as well as \secref{bib:use:pag, use:cav:pag}.
1146
1147 \fielditem{part}{literal}
1148
1149 The number of a partial volume. This field applies to books only, not to journals. It may be used when a logical volume consists of two or more physical ones. In this case the number of the logical volume goes in the \bibfield{volume} field and the number of the part of that volume in the \bibfield{part} field. See also \bibfield{volume}.
1150
1151 \listitem{publisher}{literal}
1152
1153 The name(s) of the publisher(s). See also \secref{bib:use:and}.
1154
1155 \fielditem{pubstate}{key}
1156
1157 The publication state of the work, \eg\ <in press>. See \secref{aut:lng:key:pst} for known publication states.
1158
1159 \fielditem{reprinttitle}{literal}
1160
1161 The title of a reprint of the work. Not used by the standard styles.
1162
1163 \fielditem{series}{literal}
1164
1165 The name of a publication series, such as «Studies in \dots», or the number of a journal series. Books in a publication series are usually numbered. The number or volume of a book in a series is given in the \bibfield{number} field. Note that the \bibtype{article} entry type makes use of the \bibfield{series} field as well, but handles it in a special way. See \secref{bib:use:ser} for details.
1166
1167 \listitem{shortauthor}{name\LFMark}
1168
1169 The author(s) of the work, given in an abbreviated form. This field is mainly intended for abbreviated forms of corporate authors, see \secref{bib:use:inc} for details.
1170
1171 \listitem{shorteditor}{name\LFMark}
1172
1173 The editor(s) of the work, given in an abbreviated form. This field is mainly intended for abbreviated forms of corporate editors, see \secref{bib:use:inc} for details.
1174
1175 \fielditem{shorthand}{literal\LFMark}
1176
1177 A special designation to be used by the citation style instead of the usual label. If defined, it overrides the default label. See also \bibfield{label}.
1178
1179 \fielditem{shorthandintro}{literal}
1180
1181 The verbose citation styles which comes with this package use a phrase like «henceforth cited as [shorthand]» to introduce shorthands on the first citation. If the \bibfield{shorthandintro} field is defined, it overrides the standard phrase. Note that the alternative phrase must include the shorthand.
1182
1183 \fielditem{shortjournal}{literal\LFMark}
1184
1185 A short version or an acronym of the \bibfield{journaltitle}. Not used by the standard bibliography styles.
1186
1187 \fielditem{shortseries}{literal\LFMark}
1188
1189 A short version or an acronym of the \bibfield{series} field. Not used by the standard bibliography styles.
1190
1191 \fielditem{shorttitle}{literal\LFMark}
1192
1193 The title in an abridged form. This field is usually not included in the bibliography. It is intended for citations in author"=title format. If present, the author"=title citation styles use this field instead of \bibfield{title}.
1194
1195 \fielditem{subtitle}{literal}
1196
1197 The subtitle of the work.
1198
1199 \fielditem{title}{literal}
1200
1201 The title of the work.
1202
1203 \fielditem{titleaddon}{literal}
1204
1205 An annex to the \bibfield{title}, to be printed in a different font.
1206
1207 \listitem{translator}{name}
1208
1209 The translator(s) of the \bibfield{title} or \bibfield{booktitle}, depending on the entry type. If the translator is identical to the \bibfield{editor}, the standard styles will automatically concatenate these fields in the bibliography.
1210
1211 \fielditem{type}{key}
1212
1213 The type of a \bibfield{manual}, \bibfield{patent}, \bibfield{report}, or \bibfield{thesis}. This field may also be useful for the custom types listed in \secref{bib:typ:ctm}.
1214
1215 \fielditem{url}{uri}
1216
1217 The \acr{URL} of an online publication. If it is not URL-escaped (no <\%> chars) it will be URI-escaped according to RFC 3987, that is, even Unicode chars will be correctly escaped.
1218
1219 \fielditem{urldate}{date}
1220
1221 The access date of the address specified in the \bibfield{url} field. See also \secref{bib:use:dat}.
1222
1223 \fielditem{venue}{literal}
1224
1225 The location of a conference, a symposium, or some other event in \bibtype{proceedings} and \bibtype{inproceedings} entries. This field may also be useful for the custom types listed in \secref{bib:typ:ctm}. Note that the \bibfield{location} list holds the place of publication. It therefore corresponds to the \bibfield{publisher} and \bibfield{institution} lists. The location of the event is given in the \bibfield{venue} field. See also \bibfield{eventdate} and \bibfield{eventtitle}.
1226
1227 \fielditem{version}{literal}
1228
1229 The revision number of a piece of software, a manual, etc.
1230
1231 \fielditem{volume}{integer}
1232
1233 The volume of a multi"=volume book or a periodical. It is expected to be an integer, not necessarily in arabic numerals since \biber will automatically convert from roman numerals or arabic letter to integers internally for sorting purposes. See also \bibfield{part}. See the \opt{noroman} option which can be used to suppress roman numeral parsing. This can help in cases where there is an ambiguity between parsing as roman numerals or alphanumeric (e.g. <C>), see \secref{use:opt:pre:int}.
1234
1235 \fielditem{volumes}{integer}
1236
1237 The total number of volumes of a multi"=volume work. Depending on the entry type, this field refers to \bibfield{title} or \bibfield{maintitle}. It is expected to be an integer, not necessarily in arabic numerals since \biber will automatically convert from roman numerals or arabic letter to integers internally for sorting purposes. See the \opt{noroman} option which can be used to suppress roman numeral parsing. This can help in cases where there is an ambiguity between parsing as roman numerals or alphanumeric (e.g. <C>), see \secref{use:opt:pre:int}.
1238
1239 \fielditem{year}{literal}
1240
1241 The year of publication. This field is a literal field only when given
1242 explicitly in the data (for plain \bibtex compatibility for example). It is
1243 however better to use the \bibfield{date} field as this is compatible with
1244 plain years too and supports many more features. See \secref{bib:use:dat,bib:use:yearordate}.
1245
1246 \end{fieldlist}
1247
1248 \subsubsection{Special Fields}
1249 \label{bib:fld:spc}
1250
1251 The fields listed in this section do not hold printable data but serve a different purpose. They apply to all entry types in the default data model.
1252
1253 \begin{fieldlist}
1254
1255 \fielditem{crossref}{entry key}
1256
1257 This field holds an entry key for the cross"=referencing feature. Child entries with a \bibfield{crossref} field inherit data from the parent entry specified in the \bibfield{crossref} field. If the number of child entries referencing a specific parent entry hits a certain threshold, the parent entry is automatically added to the bibliography even if it has not been cited explicitly. The threshold is settable with the \opt{mincrossrefs} package option from \secref{use:opt:pre:gen}. Style authors should note that whether or not the \bibfield{crossref} fields of the child entries are defined on the \biblatex level depends on the availability of the parent entry. If the parent entry is available, the \bibfield{crossref} fields of the child entries will be defined. If not, the child entries still inherit the data from the parent entry but their \bibfield{crossref} fields will be undefined. Whether the parent entry is added to the bibliography implicitly because of the threshold or explicitly because it has been cited does not matter. See also the \bibfield{xref} field in this section as well as \secref{bib:cav:ref}.
1258
1259 \fielditem{entryset}{separated values}
1260
1261 This field is specific to entry sets. See \secref{use:use:set} for details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1262
1263 \fielditem{execute}{code}
1264
1265 A special field which holds arbitrary \tex code to be executed whenever the data of the respective entry is accessed. This may be useful to handle special cases. Conceptually, this field is comparable to the hooks \cmd{AtEveryBibitem}, \cmd{AtEveryLositem}, and \cmd{AtEveryCitekey} from \secref{aut:fmt:hok}, except that it is definable on a per"=entry basis in the \file{bib} file. Any code in this field is executed automatically immediately after these hooks.
1266
1267 \fielditem{gender}{Pattern matching one of: \opt{sf}, \opt{sm}, \opt{sn}, \opt{pf}, \opt{pm}, \opt{pn}, \opt{pp}}
1268
1269 The gender of the author or the gender of the editor, if there is no author. The following identifiers are supported: \opt{sf} (feminine singular, a single female name), \opt{sm} (masculine singular, a single male name), \opt{sn} (neuter singular, a single neuter name), \opt{pf} (feminine plural, a list of female names), \opt{pm} (masculine plural, a list of male names), \opt{pn} (neuter plural, a list of neuter names), \opt{pp} (plural, a mixed gender list of names). This information is only required by special bibliography and citation styles and only in certain languages. For example, a citation style may replace recurrent author names with a term such as <idem>. If the Latin word is used, as is custom in English and French, there is no need to specify the gender. In German publications, however, such key terms are usually given in German and in this case they are gender"=sensitive.
1270
1271 \begin{table}
1272 \caption{Supported Languages}
1273 \label{bib:fld:tab1}
1274 \tablesetup
1275 \begin{tabularx}{\textwidth}{@{}p{90pt}@{}p{160pt}@{}X@{}}
1276 \toprule
1277 \multicolumn{1}{@{}H}{Language} &
1278 \multicolumn{1}{@{}H}{Region/Dialect} &
1279 \multicolumn{1}{@{}H}{Identifiers} \\
1280 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule{3-3}
1281 Basque & France, Spain & \opt{basque} \\
1282 Bulgarian & Bulgaria & \opt{bulgarian} \\
1283 Catalan & Spain, France, Andorra, Italy & \opt{catalan} \\
1284 Croatian & Croatia, Bosnia and Herzegovina, Serbia & \opt{croatian} \\
1285 Czech & Czech Republic & \opt{czech} \\
1286 Danish & Denmark & \opt{danish} \\
1287 Dutch & Netherlands & \opt{dutch} \\
1288 English & USA & \opt{american}, \opt{USenglish}, \opt{english} \\
1289 & United Kingdom & \opt{british}, \opt{UKenglish} \\
1290 & Canada & \opt{canadian} \\
1291 & Australia & \opt{australian} \\
1292 & New Zealand & \opt{newzealand} \\
1293 Estonian & Estonia & \opt{estonian} \\
1294 Finnish & Finland & \opt{finnish} \\
1295 French & France, Canada & \opt{french} \\
1296 German & Germany & \opt{german} \\
1297 & Austria & \opt{austrian} \\
1298 & Switzerland & \opt{swissgerman} \\
1299 German (new) & Germany & \opt{ngerman} \\
1300 & Austria & \opt{naustrian} \\
1301 & Switzerland & \opt{nswissgerman} \\
1302 Greek & Greece & \opt{greek} \\
1303 Hungarian & Hungary & \opt{magyar}, \opt{hungarian} \\
1304 Icelandic & Iceland & \opt{icelandic} \\
1305 Italian & Italy & \opt{italian} \\
1306 Latvian & Latvia & \opt{latvian} \\
1307 Lithuanian & Lithuania & \opt{lithuanian} \\
1308 Marathi & India & \opt{marathi} \\
1309 Norwegian (Bokmål) & Norway & \opt{norsk} \\
1310 Norwegian (Nynorsk) & Norway & \opt{nynorsk} \\
1311 Polish & Poland & \opt{polish} \\
1312 Portuguese & Brazil & \opt{brazil} \\
1313 & Portugal & \opt{portuguese}, \opt{portuges} \\
1314 Romanian & Romania & \opt{romanian} \\
1315 Russian & Russia & \opt{russian} \\
1316 Serbian (Latin) & Serbia & \opt{serbian} \\
1317 Serbian (Cyrillic) & Serbia & \opt{serbianc} \\
1318 Slovak & Slovakia & \opt{slovak} \\
1319 Slovene & Slovenia & \opt{slovene}, \opt{slovenian} \\
1320 Spanish & Spain & \opt{spanish} \\
1321 Swedish & Sweden & \opt{swedish} \\
1322 Turkish & Turkey & \opt{turkish} \\
1323 Ukrainian & Ukraine & \opt{ukrainian} \\
1324 \bottomrule
1325 \end{tabularx}
1326 \end{table}
1327
1328 \fielditem{langid}{identifier}
1329
1330 The language id of the bibliography entry. The alias \bibfield{hyphenation} is provided for backwards compatibility. The identifier must be a language name known to the \sty{babel}/\sty{polyglossia} packages. This information may be used to switch hyphenation patterns and localise strings in the bibliography. Note that the language names are case sensitive. The languages currently supported by this package are given in \tabref{bib:fld:tab1}. Note that \sty{babel} treats the identifier \opt{english} as an alias for \opt{british} or \opt{american}, depending on the \sty{babel} version. The \biblatex package always treats it as an alias for \opt{american}. It is preferable to use the language identifiers \opt{american} and \opt{british} (\sty{babel}) or a language specific option to specify a language variant (\sty{polyglossia}, using the \bibfield{langidopts} field) to avoid any possible confusion. Compare \bibfield{language} in \secref{bib:fld:dat}.
1331
1332 \fielditem{langidopts}{literal}
1333
1334 For \sty{polyglossia} users, allows per-entry language specific options. The literal value of this field is passed to \sty{polyglossia}'s language switching facility when using the package option \opt{autolang=langname}. For example, the fields:
1335
1336 \begin{lstlisting}[style=bibtex]{}
1337 langid = {english},
1338 langidopts = {variant=british},
1339 \end{lstlisting}
1340 %
1341 would wrap the bibliography entry in:
1342
1343 \begin{ltxexample}
1344 \english[variant=british]
1345 ...
1346 \endenglish
1347 \end{ltxexample}
1348 %
1349
1350 \fielditem{ids}{separated list of entrykeys}
1351
1352 Citation key aliases for the main citation key. An entry may be cited by any of its aliases and \biblatex will treat the citation as if it had used the primary citation key. This is to aid users who change their citation keys but have legacy documents which use older keys for the same entry. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1353
1354 \fielditem{indexsorttitle}{literal}
1355
1356 The title used when sorting the index. In contrast to \bibfield{indextitle}, this field is used for sorting only. The printed title in the index is the \bibfield{indextitle} or the \bibfield{title} field. This field may be useful if the title contains special characters or commands which interfere with the sorting of the index. Consider this example:
1357
1358 \begin{lstlisting}[style=bibtex]{}
1359 title = {The \LaTeX\ Companion},
1360 indextitle = {\LaTeX\ Companion, The},
1361 indexsorttitle = {LATEX Companion},
1362 \end{lstlisting}
1363 %
1364 Style authors should note that \biblatex automatically copies the value of either the \bibfield{indextitle} or the \bibfield{title} field to \bibfield{indexsorttitle} if the latter field is undefined.
1365
1366 \fielditem{keywords}{separated values}
1367
1368 A separated list of keywords. These keywords are intended for the bibliography filters (see \secref{use:bib:bib, use:use:div}), they are usually not printed. Note that with the default separator (comma), spaces around the separator are ignored.
1369
1370 \fielditem{options}{separated \keyval options}
1371
1372 A separated list of entry options in \keyval notation. This field is used to set options on a per"=entry basis. See \secref{use:opt:bib} for details. Note that citation and bibliography styles may define additional entry options.
1373
1374 \fielditem{presort}{string}
1375
1376 A special field used to modify the sorting order of the bibliography. This field is the first item the sorting routine considers when sorting the bibliography, hence it may be used to arrange the entries in groups. This may be useful when creating subdivided bibliographies with the bibliography filters. Please refer to \secref{use:srt} for further details. Also see \secref{aut:ctm:srt}. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1377
1378 \fielditem{related}{separated values}
1379
1380 Citation keys of other entries which have a relationship to this entry. The relationship is specified by the \bibfield{relatedtype} field. Please refer to \secref{use:rel} for further details.
1381
1382 \fielditem{relatedoptions}{separated values}
1383
1384 Per"=type options to set for a related entry. Note that this does not set the options on the related entry itself, only the \opt{dataonly} clone which is used as a datasource for the parent entry.
1385
1386 \fielditem{relatedtype}{identifier}
1387
1388 An identifier which specified the type of relationship for the keys listed in the \bibfield{related} field. The identifier is a localised bibliography string printed
1389 before the data from the related entry list. It is also used to identify type-specific
1390 formatting directives and bibliography macros for the related entries. Please refer to \secref{use:rel} for further details.
1391
1392 \fielditem{relatedstring}{literal}
1393
1394 A field used to override the bibliography string specified by \bibfield{relatedtype}. Please refer to \secref{use:rel} for further details.
1395
1396 \fielditem{sortkey}{literal}
1397
1398 A field used to modify the sorting order of the bibliography. Think of this field as the master sort key. If present, \biblatex uses this field during sorting and ignores everything else, except for the \bibfield{presort} field. Please refer to \secref{use:srt} for further details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1399
1400 \listitem{sortname}{name}
1401
1402 A name or a list of names used to modify the sorting order of the bibliography. If present, this list is used instead of \bibfield{author} or \bibfield{editor} when sorting the bibliography. Please refer to \secref{use:srt} for further details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1403
1404 \fielditem{sortshorthand}{literal}
1405
1406 Similar to \bibfield{sortkey} but used in the list of shorthands. If present, \biblatex uses this field instead of \bibfield{shorthand} when sorting the list of shorthands. This is useful if the \bibfield{shorthand} field holds shorthands with formatting commands such as \cmd{emph} or \cmd{textbf}. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1407
1408 \fielditem{sorttitle}{literal}
1409
1410 A field used to modify the sorting order of the bibliography. If present, this field is used instead of the \bibfield{title} field when sorting the bibliography. The \bibfield{sorttitle} field may come in handy if you have an entry with a title like «An Introduction to\dots» and want that alphabetized under <I> rather than <A>. In this case, you could put «Introduction to\dots» in the \bibfield{sorttitle} field. Please refer to \secref{use:srt} for further details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1411
1412 \fielditem{sortyear}{integer}
1413
1414 A field used to modify the sorting order of the bibliography. In the default sorting templates, if this field is present, it is used instead of the \bibfield{year} field when sorting the bibliography. Please refer to \secref{use:srt} for further details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1415
1416 \fielditem{xdata}{separated list of entrykeys}
1417
1418 This field inherits data from one or more \bibtype{xdata} entries. Conceptually, the \bibfield{xdata} field is related to \bibfield{crossref} and \bibfield{xref}: \bibfield{crossref} establishes a logical parent/child relation and inherits data; \bibfield{xref} establishes as logical parent/child relation without inheriting data; \bibfield{xdata} inherits data without establishing a relation. The value of the \bibfield{xdata} may be a single entry key or a separated list of keys. See \secref{use:use:xdat} for further details. This field is consumed by the backend processing and does not appear in the \path{.bbl}.
1419
1420 \fielditem{xref}{entry key}
1421
1422 This field is an alternative cross"=referencing mechanism. It differs from \bibfield{crossref} in that the child entry will not inherit any data from the parent entry specified in the \bibfield{xref} field. If the number of child entries referencing a specific parent entry hits a certain threshold, the parent entry is automatically added to the bibliography even if it has not been cited explicitly. The threshold is settable with the \opt{minxrefs} package option from \secref{use:opt:pre:gen}. Style authors should note that whether or not the \bibfield{xref} fields of the child entries are defined on the \biblatex level depends on the availability of the parent entry. If the parent entry is available, the \bibfield{xref} fields of the child entries will be defined. If not, their \bibfield{xref} fields will be undefined. Whether the parent entry is added to the bibliography implicitly because of the threshold or explicitly because it has been cited does not matter. See also the \bibfield{crossref} field in this section as well as \secref{bib:cav:ref}.
1423
1424 \end{fieldlist}
1425
1426 \subsubsection{Custom Fields}
1427 \label{bib:fld:ctm}
1428
1429 The fields listed in this section are intended for special bibliography styles. They are not used by the standard bibliography styles.
1430
1431 \begin{fieldlist}
1432
1433 \listitem{name{[a--c]}}{name}
1434
1435 Custom lists for special bibliography styles. Not used by the standard bibliography styles.
1436
1437 \fielditem{name{[a--c]}type}{key}
1438
1439 Similar to \bibfield{authortype} and \bibfield{editortype} but referring to the fields \bibfield{name{[a--c]}}. Not used by the standard bibliography styles.
1440
1441 \listitem{list{[a--f]}}{literal}
1442
1443 Custom lists for special bibliography styles. Not used by the standard bibliography styles.
1444
1445 \fielditem{user{[a--f]}}{literal}
1446
1447 Custom fields for special bibliography styles. Not used by the standard bibliography styles.
1448
1449 \fielditem{verb{[a--c]}}{verbatim}
1450
1451 Similar to the custom fields above except that these are verbatim fields. Not used by the standard bibliography styles.
1452
1453 \end{fieldlist}
1454
1455 \subsubsection{Field Aliases}
1456 \label{bib:fld:als}
1457
1458 The aliases listed in this section are provided for backwards compatibility with traditional \bibtex and other applications based on traditional \bibtex styles. Note that these aliases are immediately resolved as the \file{bib} file is processed. All bibliography and citation styles must use the names of the fields they point to, not the alias. In \file{bib} files, you may use either the alias or the field name but not both at the same time.
1459
1460 \begin{fieldlist}
1461
1462 \listitem{address}{literal}
1463
1464 An alias for \bibfield{location}, provided for \bibtex compatibility. Traditional \bibtex uses the slightly misleading field name \bibfield{address} for the place of publication, \ie the location of the publisher, while \biblatex uses the generic field name \bibfield{location}. See \secref{bib:fld:dat,bib:use:and}.
1465
1466 \fielditem{annote}{literal}
1467
1468 An alias for \bibfield{annotation}, provided for \sty{jurabib} compatibility. See \secref{bib:fld:dat}.
1469
1470 \fielditem{archiveprefix}{literal}
1471
1472 An alias for \bibfield{eprinttype}, provided for arXiv compatibility. See \secref{bib:fld:dat,use:use:epr}.
1473
1474 \fielditem{journal}{literal}
1475
1476 An alias for \bibfield{journaltitle}, provided for \bibtex compatibility. See \secref{bib:fld:dat}.
1477
1478 \fielditem{key}{literal}
1479
1480 An alias for \bibfield{sortkey}, provided for \bibtex compatibility. See \secref{bib:fld:spc}.
1481
1482 \fielditem{pdf}{verbatim}
1483
1484 An alias for \bibfield{file}, provided for JabRef compatibility. See \secref{bib:fld:dat}.
1485
1486 \fielditem{primaryclass}{literal}
1487
1488 An alias for \bibfield{eprintclass}, provided for arXiv compatibility. See \secref{bib:fld:dat,use:use:epr}.
1489
1490 \listitem{school}{literal}
1491
1492 An alias for \bibfield{institution}, provided for \bibtex compatibility. The \bibfield{institution} field is used by traditional \bibtex for technical reports whereas the \bibfield{school} field holds the institution associated with theses. The \biblatex package employs the generic field name \bibfield{institution} in both cases. See \secref{bib:fld:dat,bib:use:and}.
1493
1494 \end{fieldlist}
1495
1496 \subsection{Usage Notes}
1497 \label{bib:use}
1498
1499 The entry types and fields supported by this package should for the most part be intuitive to use for anyone familiar with \bibtex. However, apart from the additional types and fields provided by this package, some of the familiar ones are handled in a way which is in need of explanation.
1500 This package includes some compatibility code for \file{bib} files which were generated with a traditional \bibtex style in mind. Unfortunately, it is not possible to handle all legacy files automatically because \biblatex's data model is slightly different from traditional \bibtex. Therefore, such \file{bib} files will most likely require editing in order to work properly with this package. In sum, the following items are different from traditional \bibtex styles:
1501
1502 \begin{itemize}
1503 \setlength{\itemsep}{0pt}
1504 \item The entry type \bibtype{inbook}. See \secref{bib:typ:blx, bib:use:inb} for details.
1505 \item The fields \bibfield{institution}, \bibfield{organization}, and \bibfield{publisher} as well as the aliases \bibfield{address} and \bibfield{school}. See \secref{bib:fld:dat, bib:fld:als, bib:use:and} for details.
1506 \item The handling of certain types of titles. See \secref{bib:use:ttl} for details.
1507 \item The field \bibfield{series}. See \secref{bib:fld:dat, bib:use:ser} for details.
1508 \item The fields \bibfield{year} and \bibfield{month}. See \secref{bib:fld:dat, bib:use:dat, bib:use:yearordate, bib:use:iss} for details.
1509 \item The field \bibfield{edition}. See \secref{bib:fld:dat} for details.
1510 \item The field \bibfield{key}. See \secref{bib:use:key} for details.
1511 \end{itemize}
1512
1513 Users of the \sty{jurabib} package should note that the \bibfield{shortauthor} field is treated as a name list by \biblatex, see \secref{bib:use:inc} for details.
1514
1515 \subsubsection{The Entry Type \bibtype{inbook}}
1516 \label{bib:use:inb}
1517
1518 Use the \bibtype{inbook} entry type for a self"=contained part of a book with its own title only. It relates to \bibtype{book} just like \bibtype{incollection} relates to \bibtype{collection}. See \secref{bib:use:ttl} for examples. If you want to refer to a chapter or section of a book, simply use the \bibfield{book} type and add a \bibfield{chapter} and\slash or \bibfield{pages} field. Whether a bibliography should at all include references to chapters or sections is controversial because a chapter is not a bibliographic entity.
1519
1520 \subsubsection{Missing and Omissible Data}
1521 \label{bib:use:key}
1522
1523 The fields marked as <required> in \secref{bib:typ:blx} are not strictly required in all cases. The bibliography styles which come with this package can get by with as little as a \bibfield{title} field for most entry types. A book published anonymously, a periodical without an explicit editor, or a software manual without an explicit author should pose no problem as far as the bibliography is concerned. Citation styles, however, may have different requirements. For example, an author"=year citation scheme obviously requires an \bibfield{author}\slash \bibfield{editor} and a \bibfield{year} field.
1524
1525 You may generally use the \bibfield{label} field to provide a substitute for any missing data required for citations. How the \bibfield{label} field is employed depends on the citation style. The author"=year citation styles which come with this package use the \bibfield{label} field as a fallback if either the \bibfield{author}\slash \bibfield{editor} or the \bibfield{year} is missing. The numeric styles, on the other hand, do not use it at all since the numeric scheme is independent of the available data. The author"=title styles ignore it as well, because the bare \bibfield{title} is usually sufficient to form a unique citation and a title is expected to be available in any case. The \bibfield{label} field may also be used to override the non"=numeric portion of the automatically generated \bibfield{labelalpha} field used by alphabetic citation styles. See \secref{aut:bbx:fld} for details.
1526
1527 Note that traditional \bibtex styles support a \bibfield{key} field which is used for alphabetizing if both \bibfield{author} and \bibfield{editor} are missing. The \biblatex package treats \bibfield{key} as an alias for \bibfield{sortkey}. In addition to that, it offers very fine-grained sorting controls, see \secref{bib:fld:spc, use:srt} for details. The \sty{natbib} package employs the \bibfield{key} field as a fallback label for citations. Use the \bibfield{label} field instead.
1528
1529 \subsubsection{Corporate Authors and Editors}
1530 \label{bib:use:inc}
1531
1532 Corporate authors and editors are given in the \bibfield{author} or \bibfield{editor} field, respectively. Note that they must be wrapped in an extra pair of curly braces to prevent data parsing from treating them as personal names which are to be dissected into their components. Use the \bibfield{shortauthor} field if you want to give an abbreviated form of the name or an acronym for use in citations.
1533
1534 \begin{lstlisting}[style=bibtex]{}
1535 author = {<<{National Aeronautics and Space Administration}>>},
1536 shortauthor = {NASA},
1537 \end{lstlisting}
1538 %
1539 The default citation styles will use the short name in all citations while the full name is printed in the bibliography. For corporate editors, use the corresponding fields \sty{editor} and \sty{shorteditor}. Since all of these fields are treated as name lists, it is possible to mix personal names and corporate names, provided that the names of all corporations and institutions are wrapped in braces.
1540
1541 \begin{lstlisting}[style=bibtex]{}
1542 editor = {<<{National Aeronautics and Space Administration}>>
1543 and Doe, John},
1544 shorteditor = {NASA and Doe, John},
1545 \end{lstlisting}
1546 %
1547 Users switching from the \sty{jurabib} package to \biblatex should note that the \bibfield{shortauthor} field is treated as a name list.
1548
1549 \subsubsection{Literal Lists}
1550 \label{bib:use:and}
1551
1552 The fields \bibfield{institution}, \bibfield{organization}, \bibfield{publisher}, and \bibfield{location} are literal lists in terms of \secref{bib:fld}. This also applies to \bibfield{origlocation}, \bibfield{origpublisher} and to the field aliases \bibfield{address} and \bibfield{school}. All of these fields may contain a list of items separated by the keyword <|and|>. If they contain a literal <|and|>, it must be wrapped in braces.
1553
1554 \begin{lstlisting}[style=bibtex]{}
1555 publisher = {William Reid <<{and}>> Company},
1556 institution = {Office of Information Management <<{and}>> Communications},
1557 organization = {American Society for Photogrammetry <<{and}>> Remote Sensing
1558 and
1559 American Congress on Surveying <<{and}>> Mapping},
1560 \end{lstlisting}
1561 %
1562 Note the difference between a literal <|{and}|> and the list separator <|and|> in the above examples. You may also wrap the entire name in braces:
1563
1564 \begin{lstlisting}[style=bibtex]{}
1565 publisher = {<<{William Reid and Company}>>},
1566 institution = {<<{Office of Information Management and Communications}>>},
1567 organization = {<<{American Society for Photogrammetry and Remote Sensing}>>
1568 and
1569 <<{American Congress on Surveying and Mapping}>>},
1570 \end{lstlisting}
1571 %
1572 Legacy files which have not been updated for use with \biblatex will still work if these fields do not contain a literal <and>. However, note that you will miss out on the additional features of literal lists in this case, such as configurable formatting and automatic truncation.
1573
1574 \subsubsection{Titles}
1575 \label{bib:use:ttl}
1576
1577 The following examples demonstrate how to handle different types of titles. Let's start with a five"=volume work which is referred to as a whole:
1578
1579 \begin{lstlisting}[style=bibtex]{}
1580 @MvBook{works,
1581 author = {Shakespeare, William},
1582 title = {Collected Works},
1583 volumes = {5},
1584 ...
1585 \end{lstlisting}
1586 %
1587 The individual volumes of a multi"=volume work usually have a title of their own. Suppose the fourth volume of the \emph{Collected Works} includes Shakespeare's sonnets and we are referring to this volume only:
1588
1589 \begin{lstlisting}[style=bibtex]{}
1590 @Book{works:4,
1591 author = {Shakespeare, William},
1592 maintitle = {Collected Works},
1593 title = {Sonnets},
1594 volume = {4},
1595 ...
1596 \end{lstlisting}
1597 %
1598 If the individual volumes do not have a title, we put the main title in the \bibfield{title} field and include a volume number:
1599
1600 \begin{lstlisting}[style=bibtex]{}
1601 @Book{works:4,
1602 author = {Shakespeare, William},
1603 title = {Collected Works},
1604 volume = {4},
1605 ...
1606 \end{lstlisting}
1607 %
1608 In the next example, we are referring to a part of a volume, but this part is a self"=contained work with its own title. The respective volume also has a title and there is still the main title of the entire edition:
1609
1610 \begin{lstlisting}[style=bibtex]{}
1611 @InBook{lear,
1612 author = {Shakespeare, William},
1613 bookauthor = {Shakespeare, William},
1614 maintitle = {Collected Works},
1615 booktitle = {Tragedies},
1616 title = {King Lear},
1617 volume = {1},
1618 pages = {53-159},
1619 ...
1620 \end{lstlisting}
1621 %
1622 Suppose the first volume of the \emph{Collected Works} includes a reprinted essay by a well"=known scholar. This is not the usual introduction by the editor but a self"=contained work. The \emph{Collected Works} also have a separate editor:
1623
1624 \begin{lstlisting}[style=bibtex]{}
1625 @InBook{stage,
1626 author = {Expert, Edward},
1627 title = {Shakespeare and the Elizabethan Stage},
1628 bookauthor = {Shakespeare, William},
1629 editor = {Bookmaker, Bernard},
1630 maintitle = {Collected Works},
1631 booktitle = {Tragedies},
1632 volume = {1},
1633 pages = {7-49},
1634 ...
1635 \end{lstlisting}
1636 %
1637 See \secref{bib:use:ser} for further examples.
1638
1639 \subsubsection{Editorial Roles}
1640 \label{bib:use:edr}
1641
1642 The type of editorial role performed by an editor in one of the \bibfield{editor} fields (\ie \bibfield{editor}, \bibfield{editora}, \bibfield{editorb}, \bibfield{editorc}) may be specified in the corresponding \bibfield{editor...type} field. The following roles are supported by default. The role <\texttt{editor}> is the default. In this case, the \bibfield{editortype} field is omissible.
1643
1644 \begin{marglist}
1645 \setlength{\itemsep}{0pt}
1646 \item[editor] The main editor. This is the most generic editorial role and the default value.
1647 \item[compiler] Similar to \texttt{editor} but used if the task of the editor is mainly compiling.
1648 \item[founder] The founding editor of a periodical or a comprehensive publication project such as a <Collected Works> edition or a long"=running legal commentary.
1649 \item[continuator] An editor who continued the work of the founding editor (\texttt{founder}) but was subsequently replaced by the current editor (\texttt{editor}).
1650 \item[redactor] A secondary editor whose task is redacting the work.
1651 \item[reviser] A secondary editor whose task is revising the work.
1652 \item[collaborator] A secondary editor or a consultant to the editor.
1653 \item[organizer] Similar to \texttt{editor} but used if the task of the editor is mainly organizing.
1654 \end{marglist}
1655 %
1656 For example, if the task of the editor is compiling, you may indicate that in the corresponding \bibfield{editortype} field:
1657
1658 \begin{lstlisting}[style=bibtex]{}
1659 @Collection{...,
1660 editor = {Editor, Edward},
1661 editortype = {compiler},
1662 ...
1663 \end{lstlisting}
1664 %
1665 There may also be secondary editors in addition to the main editor:
1666
1667 \begin{lstlisting}[style=bibtex]{}
1668 @Book{...,
1669 author = {...},
1670 editor = {Editor, Edward},
1671 editora = {Redactor, Randolph},
1672 editoratype = {redactor},
1673 editorb = {Consultant, Conrad},
1674 editorbtype = {collaborator},
1675 ...
1676 \end{lstlisting}
1677 %
1678 Periodicals or long"=running publication projects may see several generations of editors. For example, there may be a founding editor in addition to the current editor:
1679
1680 \begin{lstlisting}[style=bibtex]{}
1681 @Book{...,
1682 author = {...},
1683 editor = {Editor, Edward},
1684 editora = {Founder, Frederic},
1685 editoratype = {founder},
1686 ...
1687 \end{lstlisting}
1688 %
1689 Note that only the \bibfield{editor} is considered in citations and when sorting the bibliography. If an entry is typically cited by the founding editor (and sorted accordingly in the bibliography), the founder goes into the \bibfield{editor} field and the current editor moves to one of the \bibfield{editor...} fields:
1690
1691 \begin{lstlisting}[style=bibtex]{}
1692 @Collection{...,
1693 editor = {Founder, Frederic},
1694 editortype = {founder},
1695 editora = {Editor, Edward},
1696 ...
1697 \end{lstlisting}
1698 %
1699 You may add more roles by initializing and defining a new localisation key whose name corresponds to the identifier in the \bibfield{editor...type} field. See \secref{use:lng,aut:lng:cmd} for details.
1700
1701 \subsubsection{Publication and Journal Series}
1702 \label{bib:use:ser}
1703
1704 The \bibfield{series} field is used by traditional \bibtex styles both for the main title of a multi"=volume work and for a publication series, \ie a loosely related sequence of books by the same publisher which deal with the same general topic or belong to the same field of research. This may be ambiguous. This package introduces a \bibfield{maintitle} field for multi"=volume works and employs \bibfield{series} for publication series only. The volume or number of a book in the series goes in the \bibfield{number} field in this case:
1705
1706 \begin{lstlisting}[style=bibtex]{}
1707 @Book{...,
1708 author = {Expert, Edward},
1709 title = {Shakespeare and the Elizabethan Age},
1710 series = {Studies in English Literature and Drama},
1711 number = {57},
1712 ...
1713 \end{lstlisting}
1714 %
1715 The \bibtype{article} entry type makes use of the \bibfield{series} field as well, but handles it in a special way. First, a test is performed to determine whether the value of the field is an integer. If so, it will be printed as an ordinal. If not, another test is performed to determine whether it is a localisation key. If so, the localised string is printed. If not, the value is printed as is. Consider the following example of a journal published in numbered series:
1716
1717 \begin{lstlisting}[style=bibtex]{}
1718 @Article{...,
1719 journal = {Journal Name},
1720 series = {3},
1721 volume = {15},
1722 number = {7},
1723 year = {1995},
1724 ...
1725 \end{lstlisting}
1726 %
1727 This entry will be printed as «\emph{Journal Name}. 3rd ser. 15.7 (1995)». Some journals use designations such as «old series» and «new series» instead of a number. Such designations may be given in the \bibfield{series} field as well, either as a literal string or as a localisation key. Consider the following example which makes use of the localisation key \texttt{newseries}:
1728
1729 \begin{lstlisting}[style=bibtex]{}
1730 @Article{...,
1731 journal = {Journal Name},
1732 series = {newseries},
1733 volume = {9},
1734 year = {1998},
1735 ...
1736 \end{lstlisting}
1737 %
1738 This entry will be printed as «\emph{Journal Name}. New ser. 9 (1998)». See \secref{aut:lng:key} for a list of localisation keys defined by default.
1739
1740 \subsubsection{Date and Time Specifications}
1741 \label{bib:use:dat}
1742
1743 \begin{table}
1744 \caption{Date Specifications}
1745 \label{bib:use:tab1}
1746 \tablesetup
1747 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1748 \toprule
1749 \multicolumn{1}{@{}H}{Date Specification} &
1750 \multicolumn{2}{H}{Formatted Date (Examples)} \\
1751 \cmidrule(l){2-3}
1752 &
1753 \multicolumn{1}{H}{Short/12-hour Format} &
1754 \multicolumn{1}{H}{Long/24-hour Format} \\
1755 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1756 1850 & 1850 & 1850 \\
1757 1997/ & 1997-- & 1997-- \\
1758 /1997 & --1997 & --1997 \\
1759 1997/.. & 1997-- & 1997-- \\
1760 ../1997 & --1997 & --1997 \\
1761 1967-02 & 02/1967 & February 1967 \\
1762 2009-01-31 & 31/01/2009 & 31st January 2009 \\
1763 1988/1992 & 1988--1992 & 1988--1992 \\
1764 2002-01/2002-02 & 01/2002--02/2002 & January 2002--February 2002 \\
1765 1995-03-30/1995-04-05 & 30/03/1995--05/04/1995 & 30th March 1995--5th April 1995 \\
1766 2004-04-05T14:34:00 & 05/04/2004 2:34 PM & 5th April 2004 14:34:00\\
1767 \bottomrule
1768 \end{tabularx}
1769 \end{table}
1770
1771 Date fields such as the default data model dates \bibfield{date}, \bibfield{origdate}, \bibfield{eventdate}, and \bibfield{urldate} adhere to \acr{ISO8601-2} Extended Format specification level 1. In addition to the \acr{ISO8601-2} empty date range markers, you may also specify an open ended/start date range by giving the range separator and omitting the end/start date (\eg \texttt{YYYY/}, \texttt{/YYYY}). See \tabref{bib:use:tab1} for some examples of valid date specifications and the formatted dates automatically generated by \biblatex. The formatted date is language specific and will be adapted automatically. If there is no \bibfield{date} field in an entry, \biblatex will also consider the fields \bibfield{year} and \bibfield{month} for backwards compatibility with traditional \bibtex but this is not encouraged as explicit \bibfield{year} and \bibfield{month} are not parsed for date meta-information markers or times and are used as-is. Style authors should note that date fields like \bibfield{date} or \bibfield{origdate} are only available in the \file{bib} file. All dates are parsed and dissected into their components as the \file{bib} file is processed. The date and time components are made available to styles by way of the special fields discussed in \secref{aut:bbx:fld:dat}. See this section and \tabref{aut:bbx:fld:tab1} on page~\pageref{aut:bbx:fld:tab1} for further information.
1772
1773 \acr{ISO8601-2} Extended Format dates are astronomical dates in which year <0> exists. When outputting dates in BCE or BC era (see the \opt{dateera} option below), note that they will typically be one year earlier since BCE/BC era do not have a year 0 (year 0 is 1 BCE/BC). This conversion is automatic. See examples in \tabref{bib:use:tab2}.
1774
1775 Date field names \emph{must} end with the string <date>, as with the default date fields. Bear this in mind when adding new date fields to the datamodel (see \secref{aut:ctm:dm}). \biblatex will check all date fields after reading the data model and will exit with an error if it finds a date field which does not adhere to this naming convention.
1776
1777 \acr{ISO8601-2} supports dates before common era (BCE/BC) by way of a negative date format and supports <approximate> (circa) and uncertain dates. Such date formats set internal markers which can be tested for so that appropriate localised markers (such as \opt{circa} or \opt{beforecommonera}) can be inserted. Also supported are <unspecified> dates (\acr{ISO8601-2} 4.3) which are automatically expanded into appropriate data ranges accompanied by a field \bibfield{$<$datetype$>$dateunspecified} which details the granularity of the unspecified data. Styles may use this information to format such dates appropriately but the standard styles do not do this. See \tabref{bib:use:tab3} on page~\pageref{bib:use:tab3} for the allowed \acr{ISO8601-2} <unspecified> formats, their range expansions and \bibfield{$<$datetype$>$dateunspecified} values (see \secref{aut:bbx:fld:gen}).
1778
1779 \begin{table}
1780 \caption{ISO8601-2 4.3 Unspecified Date Parsing}
1781 \label{bib:use:tab3}
1782 \tablesetup
1783 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1784 \toprule
1785 \multicolumn{1}{@{}H}{Date Specification} &
1786 \multicolumn{1}{H}{Expanded Range} &
1787 \multicolumn{1}{H}{Meta-information} \\
1788 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1789 199X & 1990/1999 & yearindecade \\
1790 19XX & 1900/1999 & yearincentury \\
1791 1999-XX & 1999-01/1999-12 & monthinyear \\
1792 1999-01-XX & 1999-01-01/1999-01-31 & dayinmonth \\
1793 1999-XX-XX & 1999-01-01/1999-12-31 & dayinyear \\
1794 \bottomrule
1795 \end{tabularx}
1796 \end{table}
1797
1798 \Tabref{bib:use:tab2} shows formats which use appropriate tests and formatting. See the date meta-information tests in \secref{aut:aux:tst} and the localisation strings in \secref{aut:lng:key:dt}. See also the \file{96-dates.tex} example file for complete examples of the tests and localisation strings use.
1799
1800 The output of <circa>, uncertainty and era information in standard styles (or custom styles not customising the internal \cmd{mkdaterange*} macros) is controlled by the package options \opt{datecirca}, \opt{dateuncertain}, \opt{dateera} and \opt{dateeraauto} (see \secref{use:opt:pre:gen}). See \tabref{bib:use:tab2} on page~\pageref{bib:use:tab2} for examples which assumes these options are all used.
1801
1802 \begin{table}
1803 \caption{Enhanced Date Specifications}
1804 \label{bib:use:tab2}
1805 \tablesetup
1806 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1807 \toprule
1808 \multicolumn{1}{@{}H}{Date Specification} &
1809 \multicolumn{2}{H}{Formatted Date (Examples)} \\
1810 \cmidrule(l){2-3}
1811 &
1812 \multicolumn{1}{H}{Output Format} &
1813 \multicolumn{1}{H}{Output Format Notes} \\
1814 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1815 0000 & 1 BC & \kvopt{dateera}{christian} prints \opt{beforechrist} localisation\\
1816 -0876 & 877 BCE & \kvopt{dateera}{secular} prints \opt{beforecommonera} localisation string\\
1817 -0877/-0866 & 878 BC--867 BC & using \cmd{ifdateera} test and \opt{beforechrist} localisation string\\
1818 0768 & 0768 CE & using \opt{dateeraauto} set to <1000> and \opt{commonera} localisation string\\
1819 -0343-02 & 344-02 BCE & \\
1820 0343-02-03 & 343-02-03 CE & with \opt{dateeraauto=400} \\
1821 0343-02-03 & 343-02-02 CE & with \opt{dateeraauto=400} and \opt{julian} \\
1822 1723\textasciitilde & circa 1723 & using \cmd{ifdatecirca} test\\
1823 1723? & 1723? & using \cmd{ifdateuncertain} test\\
1824 1723\% & circa 1723? & using \cmd{ifdateuncertain} and \cmd{ifdatecirca} tests\\
1825 2004-22 & 2004 & also, \bibfield{yeardivision} is set to the localisation string <summer>\\
1826 2004-24 & 2004 & also, \bibfield{yeardivision} is set to the localisation string <winter>\\
1827 \bottomrule
1828 \end{tabularx}
1829 \end{table}
1830
1831 \subsubsection{Year, Month and Date}
1832 \label{bib:use:yearordate}
1833
1834 The fields \bibfield{year} and \bibfield{month} are still supported by \biblatex, but the full set of date features (day and time precision, ranges, \dots) can only be used with \bibfield{date}. It is therefore recommended to prefer \bibfield{date} over \bibfield{year} and \bibfield{month} unless backwards compatibility of the \file{bib} file with classical \bibtex is required.
1835
1836 \subsubsection{Months and Journal Issues}
1837 \label{bib:use:iss}
1838
1839 The \bibfield{month} field is an integer field. The bibliography style converts the month to a language"=dependent string as required. For backwards compatibility, you may also use the following three"=letter abbreviations in the \bibfield{month} field: \texttt{jan}, \texttt{feb}, \texttt{mar}, \texttt{apr}, \texttt{may}, \texttt{jun}, \texttt{jul}, \texttt{aug}, \texttt{sep}, \texttt{oct}, \texttt{nov}, \texttt{dec}. Note that these abbreviations are \bibtex strings which must be given without any braces or quotes. When using them, don't say |month={jan}| or |month="jan"| but |month=jan|. It is not possible to specify a month such as |month={8/9}|. Use the \bibfield{date} field for date ranges instead. Quarterly journals are typically identified by a designation such as <Spring> or <Summer> which should be given in the \bibfield{issue} field. The placement of the \bibfield{issue} field in \bibtype{article} entries is similar to and overrides the \bibfield{month} field.
1840
1841 \subsubsection{Journal Numbers and Issues}
1842 \label{bib:use:issnum}
1843
1844 The terms <number>, <issue> and even <issue number> are often used synonymously by journals to refer to the subdvision of a \bibfield{volume}. The fact that \biblatex's data model has fields of both names can sometimes lead to confusion about which field should be used. First and foremost the word that the journal uses for the subdivsion of a \bibfield{volume} should be of minor importance, what matters is the role in the data model. As a rule of thumb \bibfield{number} is the right field in most circumstances. In the standard styles \bibfield{number} modifies \bibfield{volume}, whereas \bibfield{issue} modifies the date (year) of the entry. Numeric identifiers and short designators that are not necessarily (entirely) numeric such as <A>, <S1>, <C2>, <Suppl.\ 3>, <4es> would go into the \bibfield{number} field, because they usually modify the \bibfield{volume}. The output of---especially longer---non-numeric input for \bibfield{number} should be checked since it could potentially look odd with some styles. The field \bibfield{issue} can be used for designations such as <Spring>, <Winter> or <Michaelmas term> if that is commonly used to refer to the journal.
1845
1846 The <article number> or <paper number>, which can be used instead of---or along with---a page range to pinpoint a specific article within another work, goes into the \bibfield{eid} field, whose placement in the standard styles is similar to the analogous \bibfield{pages} field.
1847
1848 \subsubsection{Pagination}
1849 \label{bib:use:pag}
1850
1851 When specifying a page or page range, either in the \bibfield{pages} field of an entry or in the \prm{postnote} argument to a citation command, it is convenient to have \biblatex add prefixes like <p.> or <pp.> automatically and this is indeed what this package does by default. However, some works may use a different pagination scheme or may not be cited by page but rather by verse or line number. This is when the \bibfield{pagination} and \bibfield{bookpagination} fields come into play. As an example, consider the following entry:
1852
1853 \begin{lstlisting}[style=bibtex]{}
1854 @InBook{key,
1855 title = {...},
1856 pagination = {verse},
1857 booktitle = {...},
1858 bookpagination = {page},
1859 pages = {53--65},
1860 ...
1861 \end{lstlisting}
1862 %
1863 The \bibfield{bookpagination} field affects the formatting of the \bibfield{pages} and \bibfield{pagetotal} fields in the list of references. Since \texttt{page} is the default, this field is omissible in the above example. In this case, the page range will be formatted as <pp.~53--65>. Suppose that, when quoting from this work, it is customary to use verse numbers rather than page numbers in citations. This is reflected by the \bibfield{pagination} field, which affects the formatting of the \prm{postnote} argument to any citation command. With a citation like |\cite[17]{key}|, the postnote will be formatted as <v.~17>. Setting the \bibfield{pagination} field to \texttt{section} would yield <\S~17>. See \secref{use:cav:pag} for further usage instructions.
1864
1865 The \bibfield{pagination} and \bibfield{bookpagination} fields are key fields. This package will try to use their value as a localisation key, provided that the key is defined. Always use the singular form of the key name in \file{bib} files, the plural is formed automatically. The keys \texttt{page}, \texttt{column}, \texttt{line}, \texttt{verse}, \texttt{section}, and \texttt{paragraph} are predefined, with \texttt{page} being the default. The string <\texttt{none}> has a special meaning when used in a \bibfield{pagination} or \bibfield{bookpagination} field. It suppresses the prefix for the respective entry. If there are no predefined localisation keys for the pagination scheme required by a certain entry, you can simply add them. See the commands \cmd{NewBibliographyString} and \cmd{DefineBibliographyStrings} in \secref{use:lng}. You need to define two localisation strings for each additional pagination scheme: the singular form (whose localisation key corresponds to the value of the \bibfield{pagination} field) and the plural form (whose localisation key must be the singular plus the letter <\texttt{s}>). See the predefined keys in \secref{aut:lng:key} for examples.
1866
1867 \subsection{Hints and Caveats}
1868 \label{bib:cav}
1869
1870 This section provides some additional hints concerning the data interface of this package. It also addresses some common problems.
1871
1872 \subsubsection{Cross-referencing}
1873 \label{bib:cav:ref}
1874
1875 \biber features a highly customizable cross-referencing mechanism with flexible data inheritance rules. Duplicating certain fields in the parent entry or adding empty fields to the child entry is no longer required. Entries are specified in a natural way:
1876
1877 \begin{lstlisting}[style=bibtex]{}
1878 @Book{book,
1879 author = {Author},
1880 title = {Booktitle},
1881 subtitle = {Booksubtitle},
1882 publisher = {Publisher},
1883 location = {Location},
1884 date = {1995},
1885 }
1886 @InBook{inbook,
1887 crossref = {book},
1888 title = {Title},
1889 pages = {5--25},
1890 }
1891 \end{lstlisting}
1892 %
1893 The \bibfield{title} field of the parent will be copied to the \bibfield{booktitle} field of the child, the \bibfield{subtitle} becomes the \bibfield{booksubtitle}. The \bibfield{author} of the parent becomes the \bibfield{bookauthor} of the child and, since the child does not provide an \bibfield{author} field, it is also duplicated as the \bibfield{author} of the child. After data inheritance, the child entry is similar to this:
1894
1895 \begin{lstlisting}[style=bibtex]{}
1896 author = {Author},
1897 bookauthor = {Author},
1898 title = {Title},
1899 booktitle = {Booktitle},
1900 booksubtitle = {Booksubtitle},
1901 publisher = {Publisher},
1902 location = {Location},
1903 date = {1995},
1904 pages = {5--25},
1905 \end{lstlisting}
1906 %
1907 See \apxref{apx:ref} for a list of mapping rules set up by default. Note that all of this is customizable. See \secref{aut:ctm:ref} on how to configure \biber's cross"=referencing mechanism. See also \secref{bib:fld:spc}.
1908
1909 \paragraph{The \bibfield{xref} field}
1910 \label{bib:cav:ref:ref}
1911
1912 In addition to the \bibfield{crossref} field, \biblatex supports a simplified cross"=referencing mechanism based on the \bibfield{xref} field. This is useful if you want to establish a parent\slash child relation between two associated entries but prefer to keep them independent as far as the data is concerned. The \bibfield{xref} field differs from \bibfield{crossref} in that the child entry will not inherit any data from the parent. If the parent is referenced by a certain number of child entries, \biblatex will automatically add it to the bibliography. The threshold is controlled by the \opt{minxrefs} package option from \secref{use:opt:pre:gen}.u See also \secref{bib:fld:spc}.
1913
1914 \subsubsection{Sorting and Encoding Issues}
1915 \label{bib:cav:enc}
1916
1917 \biber handles \acr{US-ASCII}, 8-bit encodings such as Latin\,1, and \utf. It features true Unicode support and is capable of reencoding the \file{bib} data on the fly in a robust way. For sorting, \biber uses a Perl implementation of the Unicode Collation Algorithm (\acr{UCA}), as outlined in Unicode Technical Standard \#10.\fnurl{https://unicode.org/reports/tr10/} Collation tailoring based on the Unicode Common Locale Data Repository (\acr{CLDR}) is also supported.\fnurl{http://cldr.unicode.org/}
1918
1919 Supporting Unicode implies much more than handling \utf input. Unicode is a complex standard covering more than its most well-known parts, the Unicode character encoding and transport encodings such as \utf. It also standardizes aspects such as string collation, which is required for language-sensitive sorting. For example, by using the Unicode Collation Algorithm, \biber can handle the character <ß> without any manual intervention. All you need to do to get localised sorting is specify the locale:
1920
1921 \begin{ltxexample}
1922 \usepackage[sortlocale=de]{biblatex}
1923 \end{ltxexample}
1924 %
1925 or if you are using German as the main document language via \sty{babel} or \sty{polyglossia}:
1926
1927 \begin{ltxexample}
1928 \usepackage[sortlocale=auto]{biblatex}
1929 \end{ltxexample}
1930 %
1931 This will make \biblatex pass the \sty{babel}/\sty{polyglossia} main document language
1932 as the locale which \biber will map into a suitable default locale. \biber
1933 will not try to get locale information from its environment as this makes
1934 document processing dependent on something not in the document which is
1935 against \tex's spirit of reproducibility. This also makes sense since
1936 \sty{babel}/\sty{polyglossia} are in fact the relevant environment for a document. Note
1937 that this will also work with 8-bit encodings such as Latin\,9, \ie you can
1938 take advantage of Unicode-based sorting even though you are not using \utf
1939 input. See \secref{bib:cav:enc:enc} on how to specify input and data
1940 encodings properly.
1941
1942 \paragraph{Specifying Encodings}
1943 \label{bib:cav:enc:enc}
1944 When using a non-\acr{US-ASCII} encoding in the \file{bib} file, it is important to understand what \biblatex can do for you and what may require manual intervention. The package takes care of the \latex side, \ie it ensures that the data imported from the \file{bbl} file is interpreted correctly, provided that the \opt{bibencoding} package option (or the datasource specific override for this, see \secref{use:bib:res}) is set properly. All of this is handled automatically and no further steps, apart from setting the \opt{bibencoding} option in certain cases (namely when the encoding of the \file{bib} file differs from the encoding of the \file{tex} file), are required provided that you set up your document encoding (\ie load \sty{inputenc} or related packages if required) \emph{before} \biblatex is loaded. Here are a few typical usage scenarios along with the relevant lines from the document preamble:
1945
1946 \begin{itemize}
1947 \setlength{\itemsep}{0pt}
1948
1949 \item \acr{US-ASCII} notation in both the \file{tex} and the \file{bib} file with \pdftex or traditional \tex:
1950
1951 \begin{ltxexample}
1952 \usepackage{biblatex}
1953 \end{ltxexample}
1954
1955 \item Latin\,1 encoding (\acr{ISO}-8859-1) in the \file{tex} file, \acr{US-ASCII} notation in the \file{bib} file with \pdftex or traditional \tex :
1956
1957 \begin{ltxexample}
1958 \usepackage[latin1]{inputenc}
1959 \usepackage[bibencoding=ascii]{biblatex}
1960 \end{ltxexample}
1961
1962 \item Latin\,9 encoding (\acr{ISO}-8859-15) in both the \file{tex} and the \file{bib} file with \pdftex or traditional:
1963
1964 \begin{ltxexample}
1965 \usepackage[latin9]{inputenc}
1966 \usepackage[bibencoding=auto]{biblatex}
1967 \end{ltxexample}
1968 %
1969 Since \kvopt{bibencoding}{auto} is the default setting, the option is omissible. The following setup will have the same effect:
1970
1971 \begin{ltxexample}
1972 \usepackage[latin9]{inputenc}
1973 \usepackage{biblatex}
1974 \end{ltxexample}
1975
1976 \item \utf encoding in the \file{tex} file, Latin\,1 (\acr{ISO}-8859-1) in the \file{bib} file with \pdftex or traditional \tex:
1977
1978 \begin{ltxexample}
1979 \usepackage[utf8]{inputenc}
1980 \usepackage[bibencoding=latin1]{biblatex}
1981 \end{ltxexample}
1982
1983 The same scenario with \latex release 2018-04-01 or above, \xetex or \luatex in native \utf mode:
1984
1985 \begin{ltxexample}
1986 \usepackage[bibencoding=latin1]{biblatex}
1987 \end{ltxexample}
1988
1989 \end{itemize}
1990
1991 \biber can handle \acr{US-ASCII} notation, 8-bit encodings such as Latin\,1, and \utf. It is also capable of reencoding the \file{bib} data on the fly (replacing the limited macro-level reencoding feature of \biblatex). This will happen automatically if required, provided that you specify the encoding of the \file{bib} files properly. In addition to the scenarios discussed above, \biber can also handle the following cases:
1992
1993 \begin{itemize}
1994
1995 \item Transparent \utf workflow, \ie \utf encoding in both the \file{tex} and the \file{bib} file with \pdftex or traditional \tex:
1996
1997 \begin{ltxexample}
1998 \usepackage[utf8]{inputenc}
1999 \usepackage[bibencoding=auto]{biblatex}
2000 \end{ltxexample}
2001 %
2002 Since \kvopt{bibencoding}{auto} is the default setting, the option is omissible:
2003
2004 \begin{ltxexample}
2005 \usepackage[utf8]{inputenc}
2006 \usepackage{biblatex}
2007 \end{ltxexample}
2008
2009 The same scenario with \xetex or \luatex in native \utf mode:
2010
2011 \begin{ltxexample}
2012 \usepackage{biblatex}
2013 \end{ltxexample}
2014
2015 \item It is even possible to combine an 8-bit encoded \file{tex} file with \utf encoding in the \file{bib} file, provided that all characters in the \file{bib} file are also covered by the selected 8-bit encoding:
2016
2017 \begin{ltxexample}
2018 \usepackage[latin1]{inputenc}
2019 \usepackage[bibencoding=utf8]{biblatex}
2020 \end{ltxexample}
2021
2022 \end{itemize}
2023
2024 Some workarounds may be required when using traditional \tex or \pdftex with \utf encoding because \sty{inputenc}'s \file{utf8} module does not cover all of Unicode. Roughly speaking, it only covers the Western European Unicode range. When loading \sty{inputenc} with the \file{utf8} option, \biblatex will normally instruct \biber to reencode the \file{bib} data to \utf. This may lead to \sty{inputenc} errors if some of the characters in the \file{bib} file are outside the limited Unicode range supported by \sty{inputenc}.
2025
2026 \begin{itemize}
2027
2028 \item If you are affected by this problem, try setting the \opt{safeinputenc} option:
2029
2030 \begin{ltxexample}
2031 \usepackage[utf8]{inputenc}
2032 \usepackage[safeinputenc]{biblatex}
2033 \end{ltxexample}
2034 %
2035 If this option is enabled, \biblatex will ignore \sty{inputenc}'s \opt{utf8} option and use \acr{US-ASCII}. \biber will then try to convert the \file{bib} data to \acr{US-ASCII} notation. For example, it will convert \k{S} to |\k{S}|. This option is similar to setting \kvopt{texencoding}{ascii} but will only take effect in this specific scenario (\sty{inputenc}\slash \sty{inputenx} with \utf). This workaround takes advantage of the fact that both Unicode and the \utf transport encoding are backwards compatible with \acr{US-ASCII}.
2036
2037 \end{itemize}
2038
2039 This solution may be acceptable as a workaround if the data in the \file{bib} file is mostly \acr{US-ASCII} anyway, with only a few strings, such as some authors' names, causing problems. However, keep in mind that it will not magically make traditional \tex or \pdftex support Unicode. It may help if the occasional odd character is not supported by \sty{inputenc}, but may still be processed by \tex when using an accent command (\eg |\d{S}| instead of \d{S}). If you need full Unicode support, however, switch to \xetex or \luatex.
2040
2041 Typical errors when \sty{inputenc} cannot handle a certain UTF-8 character are:
2042
2043 \begin{verbatim}
2044 ! Package inputenc Error: Unicode char <char> (U+<codepoint>)
2045 (inputenc) not set up for use with LaTeX.
2046 \end{verbatim}
2047 %
2048 but also less obvious things like:
2049
2050 \begin{verbatim}
2051 ! Argument of \UTFviii@three@octets has an extra }.
2052 \end{verbatim}
2053
2054 \section{User Guide}
2055 \label{use}
2056
2057 This part of the manual documents the user interface of the \biblatex package. The user guide covers everything you need to know in order to use \biblatex with the default styles that come with this package. You should read the user guide first in any case. If you want to write your own citation and\slash or bibliography styles, continue with the author guide afterwards.
2058
2059 \subsection{Package Options}
2060 \label{use:opt}
2061
2062 All package options are given in \keyval notation. The value \texttt{true} is omissible with all boolean keys. For example, giving \opt{sortcites} without a value is equivalent to \kvopt{sortcites}{true}.
2063
2064 \subsubsection{Load-time Options}
2065 \label{use:opt:ldt}
2066
2067 The following options must be used as \biblatex is loaded, \ie in the optional argument to \cmd{usepackage}.
2068
2069 \begin{optionlist}
2070
2071 \optitem[biber]{backend}{\opt{bibtex}, \opt{bibtex8}, \opt{biber}}
2072
2073 Specifies the database backend. The following backends are supported:
2074
2075 \begin{valuelist}
2076
2077 \item[biber] \biber, the default backend of \biblatex, supports \acr{US-ASCII}, 8-bit encodings, \utf, on-the-fly reencoding, locale"=specific sorting, and many other features. Locale"=specific sorting, case"=sensitive sorting, and upper\slash lowercase precedence are controlled by the options \opt{sortlocale}, \opt{sortcase}, and \opt{sortupper}, respectively.
2078
2079 \item[bibtex] Legacy \bibtex. Traditional \bibtex supports \acr{US-ASCII} encoding only. Sorting is always case"=insensitive.
2080
2081 \item[bibtex8] \bin{bibtex8}, the 8-bit implementation of \bibtex, supports \acr{US-ASCII} and 8-bit encodings such as Latin~1.
2082
2083
2084 \end{valuelist}
2085
2086 See \secref{use:bibtex} for details of using \bibtex as a backend.
2087
2088 \valitem[numeric]{style}{file}
2089
2090 Loads the bibliography style \prm{file}\path{.bbx} and the citation style \prm{file}\path{.cbx}. See \secref{use:xbx} for an overview of the standard styles.
2091
2092 \valitem[numeric]{bibstyle}{file}
2093
2094 Loads the bibliography style \prm{file}\path{.bbx}. See \secref{use:xbx:bbx} for an overview of the standard bibliography styles.
2095
2096 \valitem[numeric]{citestyle}{file}
2097
2098 Loads the citation style \prm{file}\path{.cbx}. See \secref{use:xbx:cbx} for an overview of the standard citation styles.
2099
2100 \valitem{datamodel}{file}
2101
2102 Loads the data model \prm{file}\path{.dbx}. Note that \path{.dbx} files corresponding to the \opt{style} or \opt{bibstyle}/\opt{citestyle} are loaded automatically if available unless this option specifies another file. See \secref{aut:ctm:dm} for more details.
2103
2104 \boolitem[false]{natbib}
2105
2106 Loads compatibility module which provides aliases for the citation commands of the \sty{natbib} package. See \secref{use:cit:nat} for details.
2107
2108 \boolitem[false]{mcite}
2109
2110 Loads a citation module which provides \sty{mcite}\slash\sty{mciteplus}-like citation commands. See \secref{use:cit:mct} for details.
2111
2112 \optitem[auto]{casechanger}{\opt{auto}, \opt{latex2e}, \opt{expl3}}
2113
2114 This option selects the implementation of \biblatex's case changing functions, most prominently \cmd{MakeSentenceCase*}. \opt{expl3} selects the new implementation based on the \latex3 module \sty{l3text}. Note that the \sty{l3text} module assumes \utf input and that your \sty{expl3} version should be new enough (at least version 2020-04-06). \opt{latex2e} selects the original implementation, which has tricky brace protection behaviour and some shortcomings when dealing with non-\acr{US-ASCII} characters. The default \opt{auto} selects the case changing code based on the available \sty{expl3} version and detected document encoding (\opt{expl3} is selected if \sty{expl3} is at least version 2020-04-06 and the document encoding is detected as \utf).
2115
2116 \end{optionlist}
2117
2118 \subsubsection{Preamble Options}
2119 \label{use:opt:pre}
2120
2121 \paragraph{General}
2122 \label{use:opt:pre:gen}
2123
2124 The following options may be used in the optional argument to \cmd{usepackage} as well as in the configuration file and the document preamble. The default value listed to the right is the package default. Note that bibliography and citation styles may modify the default setting at load time, see \secref{use:xbx} for details.
2125
2126 \begin{optionlist}
2127
2128 \optitem[nty]{sorting}{\opt{nty}, \opt{ntd}, \opt{nyt}, \opt{ndt}, \opt{nyvt}, \opt{ndvt}, \opt{anyt}, \opt{andt}, \opt{anyvt}, \opt{andvt}, \opt{ynt}, \opt{dnt}, \opt{ydnt}, \opt{ddnt}, \opt{none}, \opt{count}, \opt{debug}, \prm{name}}
2129
2130 The sorting order of the bibliography. Unless stated otherwise, the entries are sorted in ascending order. The following choices are available by default:
2131
2132 \begin{valuelist}
2133 \item[nty] Sort by name, title, year.
2134 \item[ntd] Sort by name, title, full date.
2135 \item[nyt] Sort by name, year, title.
2136 \item[ndt] Sort by name, full date, title.
2137 \item[nyvt] Sort by name, year, volume, title.
2138 \item[ndvt] Sort by name, full date, volume, title.
2139 \item[anyt] Sort by alphabetic label, name, year, title.
2140 \item[andt] Sort by alphabetic label, name, full date, title.
2141 \item[anyvt] Sort by alphabetic label, name, year, volume, title.
2142 \item[andvt] Sort by alphabetic label, name, full date, volume, title.
2143 \item[ynt] Sort by year, name, title.
2144 \item[dnt] Sort by full date, name, title.
2145 \item[ydnt] Sort by year (descending), name, title.
2146 \item[ddnt] Sort by full date (descending), name, title.
2147 \item[none] Do not sort at all. All entries are processed in citation order.
2148 \item[count] Sort in descending order of number of times cited
2149 \item[debug] Sort by entry key. This is intended for debugging only.
2150 \item[\prm{name}] Use \prm{name}, as defined with \cmd{DeclareSortingTemplate} (\secref{aut:ctm:srt})
2151 \end{valuelist}
2152
2153 Using any of the <alphabetic> sorting templates only makes sense in conjunction with a bibliography style which prints the corresponding labels. Note that some bibliography styles initialize this package option to a value different from the package default (\opt{nty}). See \secref{use:xbx:bbx} for details. Please refer to \secref{use:srt} for an in"=depth explanation of the above sorting options as well as the fields considered in the sorting process. See also \secref{aut:ctm:srt} on how to adapt the predefined templates or define new ones.
2154
2155 \boolitem[true]{sortcase}
2156
2157 Whether or not to sort the bibliography and the list of shorthands case"=sensitively.
2158
2159 \boolitem[true]{sortupper}
2160
2161 This option corresponds to \biber's \opt{--sortupper} command-line option. If enabled, the bibliography is sorted in <uppercase before lowercase> order. Disabling this option means <lowercase before uppercase> order.
2162
2163 \optitem[auto]{sortlocale}{\opt{auto}, \prm{locale}}
2164
2165 This option sets the global sorting locale. Every sorting template inherits this locale if none is specified using the \prm{locale} option to \cmd{printbibliography}. Setting this to \opt{auto} requests that it be set to the \sty{babel}/\sty{polyglossia} main document language identifier, if these packages are used and \texttt{en\_US} otherwise. \biber will map \sty{babel}/\sty{polyglossia} language identifiers into sensible locale identifiers (see the \biber documentation). You can therefore specify either a normal locale identifier like \texttt{de\_DE\_phonebook}, \texttt{es\_ES} or one of the supported \sty{babel}/\sty{polyglossia} language identifiers if the mapping \biber makes of this is fine for you.
2166
2167 \boolitem[false]{sortcites}
2168
2169 Whether or not to sort citations if multiple entry keys are passed to a citation command. If this option is enabled, citations are sorted according to the current bibliography context sorting template (see \secref{use:bib:context}). This feature works with all citation styles.
2170
2171 \boolitem[false]{sortsets}
2172
2173 Whether or not to sort set members according to the active reference context sorting scheme. By default this is false and set members appear in the order given in the data source.
2174
2175 \boolitem[false]{pluralothers}
2176
2177 Controls whether the localised <and others> string (e.g. <et al>) is forced
2178 to be plural. If true, it will only be printed in place of two or more
2179 names and if there is only one name it would replace, the name itself is
2180 printed instead. Defaults to false.
2181
2182 \intitem[3]{maxnames}
2183
2184 A threshold affecting all lists of names (\bibfield{author}, \bibfield{editor}, etc.). If a list exceeds this threshold, \ie if it holds more than \prm{integer} names, it is automatically truncated according to the setting of the \opt{minnames} option. \opt{maxnames} is the master option which sets \opt{maxbibnames}, \opt{maxcitenames} and \opt{maxsortnames}. Note that the \opt{uniquelist} feature can locally override \opt{maxnames}, see the documentation of the \opt{uniquelist} option in \secref{use:opt:pre:int} and \secref{aut:cav:amb}.
2185
2186 \intitem[1]{minnames}
2187
2188 A limit affecting all lists of names (\bibfield{author}, \bibfield{editor}, etc.). If a list holds more than \prm{maxnames} names, it is automatically truncated to \prm{minnames} names. The \prm{minnames} value must be smaller than or equal to \prm{maxnames}. \opt{minnames} is the master option which sets both \opt{minbibnames} and \opt{mincitenames}. Like \opt{maxnames} the value of \opt{minnames} can be overridden by \opt{uniquelist}.
2189
2190 \intitem[\prm{maxnames}]{maxbibnames}
2191
2192 Similar to \opt{maxnames} but affects only the bibliography.
2193
2194 \intitem[\prm{minnames}]{minbibnames}
2195
2196 Similar to \opt{minnames} but affects only the bibliography.
2197
2198 \intitem[\prm{maxnames}]{maxcitenames}
2199
2200 Similar to \opt{maxnames} but affects only the citations in the document body.
2201
2202
2203 \intitem[\prm{minnames}]{mincitenames}
2204
2205 Similar to \opt{minnames} but affects only the citations in the document body.
2206
2207 \intitem[\prm{maxbibnames}]{maxsortnames}
2208
2209 Similar to \opt{maxnames} but affects only the names visible to sorting. Since this defaults to \prm{maxbibnames}, you should set this after \opt{maxbibnames} if \opt{maxbibnames} is explicitly set.
2210
2211 \intitem[\prm{minbibnames}]{minsortnames}
2212
2213 Similar to \opt{minnames} but affects only the names visible to sorting. Since this defaults to \prm{minbibnames}, you should set this after \opt{minbibnames} if \opt{minbibnames} is explicitly set.
2214
2215 \intitem[3]{maxitems}
2216
2217 Similar to \opt{maxnames}, but affecting all literal lists (\bibfield{publisher}, \bibfield{location}, etc.).
2218
2219 \intitem[1]{minitems}
2220
2221 Similar to \opt{minnames}, but affecting all literal lists (\bibfield{publisher}, \bibfield{location}, etc.).
2222
2223 \optitem{autocite}{\opt{plain}, \opt{inline}, \opt{footnote}, \opt{superscript}, \opt{...}}
2224
2225 This option controls the behavior of the \cmd{autocite} command discussed in \secref{use:cit:aut}. The \opt{plain} option makes \cmd{autocite} behave like \cmd{cite}, \opt{inline} makes it behave like \cmd{parencite}, \opt{footnote} makes it behave like \cmd{footcite}, and \opt{superscript} makes it behave like \cmd{supercite}. The options \opt{plain}, \opt{inline}, and \opt{footnote} are always available, the \opt{superscript} option is only provided by the numeric citation styles which come with this package. The citation style may also define additional options. The default setting of this option depends on the selected citation style, see \secref{use:xbx:cbx}.
2226
2227 \boolitem[true]{autopunct}
2228
2229 This option controls whether the citation commands scan ahead for punctuation marks. See \secref{use:cit} and \cmd{DeclareAutoPunctuation} in \secref{aut:pct:cfg} for details.
2230
2231 \optitem[autobib]{language}{\opt{autobib}, \opt{autocite}, \opt{auto}, \prm{language}}
2232
2233 This option controls multilingual support. By default \biblatex automatically picks up the active surrounding language from the \sty{babel}/\sty{polyglossia} package\footnote{Note that \biblatex has only limited support for \sty{polyglossia} versions prior to v1.45. If \sty{polyglossia} is used, it should be updated to version~1.45 (2019/10/27) or above.} (and fall back to English if \sty{babel}/\sty{polyglossia} is not available). \opt{autobib} switches the language for each entry in the bibliography using the \bibfield{langid} field and the language environment specified by the \opt{autolang} option. \opt{autocite} switches the language for each citation using the \bibfield{langid} field and the language environment specified by the \opt{autolang} option. \opt{auto} is a shorthand to set both \opt{autobib} and \opt{autocite}. It is also possible to select the package language manually. In this case, the language chosen will override the \bibfield{langid} of entries and you should still choose a language switching environment with the \opt{autolang} option to select how the switch to the manually chosen language is handled. Please refer to \tabref{bib:fld:tab1} for a list of supported languages and the corresponding identifiers.
2234
2235 \boolitem[true]{clearlang}
2236
2237 If this option is enabled, \biblatex will automatically clear the \bibfield{language} field of all entries whose \bibfield{language} field matches the \sty{babel}/\sty{polyglossia} language of the document (or the language specified explicitly with the \opt{language} option) in order to omit redundant language specifications. The language mappings required by this feature are provided by the \cmd{DeclareRedundantLanguages} command from \secref{aut:lng:cmd}.
2238 This option is also settable on a per-type and per-entry basis.
2239
2240 \optitem[none]{autolang}{\opt{none}, \opt{hyphen}, \opt{other}, \opt{other*}, \opt{langname}}
2241
2242 This option controls which \sty{babel} language environment\footnote{\sty{polyglossia} understands the \sty{babel} language environments too and so this option controls both the \sty{babel} and \sty{polyglossia} language environments.} is used if the \sty{babel}/\sty{polyglossia} package is loaded and a bibliography entry includes a \bibfield{langid} field (see \secref{bib:fld:spc}). Note that regardless of the selected value \biblatex automatically adjusts to the main document language if \sty{babel}/\sty{polyglossia} is loaded. In multilingual documents, it will also continually adjust to the current language as far as citations and the default language of the bibliography is concerned. The effect of additional language adjustment, which can negate the effect of picking up the surrounding language, depends on the language environment selected by this option. The possible choices are:
2243
2244 \begin{valuelist}
2245
2246 \item[none]
2247 Do not use any additional enclosing language environment at all. This means that citations and the bibliography are set in the currently active language---this need not be the main language.
2248
2249 \item[hyphen]
2250 Enclose the entry in a \env{hyphenrules} environment. This will load hyphenation patterns for the language specified in the \bibfield{langid} field of the entry, if available. Localisation strings and extra language definitions are not changed and taken from the surrounding language environment.
2251
2252 \item[other]
2253 Enclose the entry in an \env{otherlanguage} environment. This will load hyphenation patterns for the specified language, enable all extra definitions which \sty{babel}/\sty{polyglossia} and \biblatex provide for the respective language, and translate key terms such as <editor> and <volume>. The extra definitions include localisations of the date format, of ordinals, and similar things.
2254
2255 \item[other*]
2256 Enclose the entry in an \env{otherlanguage*} environment. Please note that \biblatex treats \env{otherlanguage*} like \env{otherlanguage} if \opt{langhook} is set to \opt{extras}.
2257
2258 \item[langname]
2259 \sty{polyglossia} only. Enclose the entry in a \env{$<$languagename$>$} environment. The benefit of this option value for \sty{polyglossia} users is that it takes note of the \bibfield{langidopts} field so that you can add per-language options to an entry (like selecting a language variant). When using \sty{babel}, this option does the same as the \opt{other} option value.
2260
2261 \end{valuelist}
2262
2263 \optitem[captions]{langhook}{\opt{captions}, \opt{extras}}
2264
2265 This option controls whether bibliography strings and extras are written to \cmd{captions$<$language$>$} or \cmd{extras$<$language$>$}. The exact effect of this option depend on the language package (\sty{babel}/\sty{polyglossia}). Broadly speaking, the language switching environments provided by those packages (except \env{hyphenrules}) either switch language captions and extras or only language extras. Hence, if this option is set to \opt{extras}, all language switches will affect \biblatex, whereas with \opt{captions} only language switches that also switch other parts of the document language affect \biblatex.
2266
2267 \optitem[none]{block}{\opt{none}, \opt{space}, \opt{par}, \opt{nbpar}, \opt{ragged}}
2268
2269 This option controls the extra spacing between blocks, \ie larger segments of a bibliography entry. The possible choices are:
2270
2271 \begin{valuelist}
2272
2273 \item[none] Do not add anything at all.
2274
2275 \item[space] Insert additional horizontal space between blocks. This is similar to the default behavior of the standard \latex document classes.
2276
2277 \item[par] Start a new paragraph for every block. This is similar to the \opt{openbib} option of the standard \latex document classes.
2278
2279 \item[nbpar] Similar to the \opt{par} option, but disallows page breaks at block boundaries and within an entry.
2280
2281 \item[ragged] Inserts a small negative penalty to encourage line breaks at block boundaries and sets the bibliography ragged right.
2282
2283 \end{valuelist}
2284
2285 The \cmd{newblockpunct} command may also be redefined directly to achieve different results, see \secref{use:fmt:fmt}. Also see \secref{aut:pct:new} for additional information.
2286
2287 \boolitem[false]{locallabelwidth}
2288
2289 This option controls whether \cmd{printbibliography} uses a locally calculated value for \cmd{labelnumberwidth} and \cmd{labelalphawidth} or the global value calculated from all entries. The local value is calculated separately for each bibliography and takes into account only the entries displayed in that bibliography. This option is useful if there are several bibliographies with wildly varying label lengths in the same document.
2290
2291 \optitem[foot+end]{notetype}{\opt{foot+end}, \opt{footonly}, \opt{endonly}}
2292
2293 This option controls the behavior of \cmd{mkbibfootnote}, \cmd{mkbibendnote}, and similar wrappers from \secref{aut:fmt:ich}. The possible choices are:
2294
2295 \begin{valuelist}
2296 \item[foot+end] Support both footnotes and endnotes, \ie \cmd{mkbibfootnote} will generate footnotes and \cmd{mkbibendnote} will generate endnotes.
2297 \item[footonly] Force footnotes, \ie make \cmd{mkbibendnote} generate footnotes.
2298 \item[endonly] Force endnotes, \ie make \cmd{mkbibfootnote} generate endnotes.
2299 \end{valuelist}
2300
2301 \optitem[auto]{hyperref}{\opt{true}, \opt{false}, \opt{auto}, \opt{manual}}
2302
2303 Whether or not to transform citations and back references into clickable hyperlinks. This feature requires the \sty{hyperref} package. It also requires support by the selected citation style. All standard styles which ship with this package support hyperlinks. \kvopt{hyperref}{auto} automatically detects if the \sty{hyperref} package has been loaded. This is the default setting. \kvopt{hyperref}{false} explicitly disables links even if \sty{hyperref} is loaded. \kvopt{hyperref}{true} enables links when \sty{hyperref} is loaded, it cannot explicitly enable links if \sty{hyperref} is not loaded, as such it works exactly like \kvopt{hyperref}{auto} except that it will issue a warning if \sty{hyperref} is not loaded. \kvopt{hyperref}{manual} gives full manual control over \sty{hyperref} interaction, it should only be needed by package authors in very special circumstances. With the \kvopt{hyperref}{manual} setting you are responsible to enable or disable \sty{hyperref} support manually with \cmd{BiblatexManualHyperrefOn} or \cmd{BiblatexManualHyperrefOff} yourself. One of the two commands must be called exactly once; \cmd{BiblatexManualHyperrefOn} can only be called after \sty{hyperref} is loaded.
2304
2305 \boolitem[false]{backref}
2306
2307 Whether or not to print back references in the bibliography. The back references are a list of page numbers indicating the pages on which the respective bibliography entry is cited. If there are \env{refsection} environments in the document, the back references are local to the reference sections. Strictly speaking, this option only controls whether the \biblatex package collects the data required to print such references. This feature still has to be supported by the selected bibliography style. All standard styles which come with this package do so.
2308
2309 \optitem[three]{backrefstyle}{\opt{none}, \opt{three}, \opt{two}, \opt{two+}, \opt{three+}, \opt{all+}}
2310
2311 This option controls how sequences of consecutive pages in the list of back references are formatted. The following styles are available:
2312
2313 \begin{valuelist}
2314
2315 \item[none] Disable this feature, \ie do not compress the page list.
2316
2317 \item[three] Compress any sequence of three or more consecutive pages to a range, \eg the list <1, 2, 11, 12, 13, 21, 22, 23, 24> is compressed to <1, 2, 11--13, 21--24>.
2318
2319 \item[two] Compress any sequence of two or more consecutive pages to a range, \eg the above list is compressed to <1--2, 11--13, 21--24>.
2320
2321 \item[two+] Similar in concept to \opt{two} but a sequence of exactly two consecutive pages is printed using the starting page and the localisation string \texttt{sequens}, \eg the above list is compressed to <1\,sq., 11--13, 21--24>.
2322
2323 \item[three+] Similar in concept to \opt{two+} but a sequence of exactly three consecutive pages is printed using the starting page and the localisation string \texttt{sequentes}, \eg the above list is compressed to <1\,sq., 11\,sqq., 21--24>.
2324
2325 \item[all+] Similar in concept to \opt{three+} but any sequence of consecutive pages is printed as an open-ended range, \eg the above list is compressed to <1\,sq., 11\,sqq., 21\,sqq.>.
2326
2327 \end{valuelist}
2328
2329 All styles support both Arabic and Roman numerals. In order to avoid potentially ambiguous lists, different sets of numerals will not be mixed when generating ranges, \eg the list <iii, iv, v, 6, 7, 8> is compressed to <iii--v, 6--8>.
2330
2331 \optitem[setonly]{backrefsetstyle}{\opt{setonly}, \opt{memonly}, \opt{setormem}, \opt{setandmem}, \opt{memandset}, \opt{setplusmem}}
2332
2333 This option controls how back references to \bibtype{set} entries and their members are handled. The following options are available:
2334
2335 \begin{valuelist}
2336
2337 \item[setonly] All back references are added to the \bibtype{set} entry. The \bibfield{pageref} lists of set members remain blank.
2338
2339 \item[memonly] References to set members are added to the respective member. References to the \bibtype{set} entry are added to all members. The \bibfield{pageref} list of the \bibtype{set} entry remains blank.
2340
2341 \item[setormem] References to the \bibtype{set} entry are added to the \bibtype{set} entry. References to set members are added to the respective member.
2342
2343 \item[setandmem] References to the \bibtype{set} entry are added to the \bibtype{set} entry. References to set members are added to the respective member and to the \bibtype{set} entry.
2344
2345 \item[memandset] References to the \bibtype{set} entry are added to the \bibtype{set} entry and to all members. References to set members are added to the respective member.
2346
2347 \item[setplusmem] References to the \bibtype{set} entry are added to the \bibtype{set} entry and to all members. References to set members are added to the respective member and to the \bibtype{set} entry.
2348
2349 \end{valuelist}
2350
2351 \boolitem[true]{backreffloats}
2352
2353 Whether to enable back references to citations in floats.
2354
2355
2356 \optitem[false]{indexing}{\opt{true}, \opt{false}, \opt{cite}, \opt{bib}}
2357
2358 This option controls indexing in citations and in the bibliography. More precisely, it affects the \cmd{ifciteindex} and \cmd{ifbibindex} commands from \secref{aut:aux:tst}. The option is settable on a global, a per-type, or on a per-entry basis. The possible choices are:
2359
2360 \begin{valuelist}
2361 \item[true] Enable indexing globally.
2362 \item[false] Disable indexing globally.
2363 \item[cite] Enable indexing in citations only.
2364 \item[bib] Enable indexing in the bibliography only.
2365 \end{valuelist}
2366
2367 This feature requires support by the selected citation style. All standard styles which come with this package support indexing of both citations and entries in the bibliography. Note that you still need to enable indexing globally with \cmd{makeindex} to get an index.
2368
2369 \optitem[normalized]{citepagerange}{\opt{normalized}, \opt{2sq}, \opt{3sqq}, \opt{allsqq}, \opt{compressed}}
2370
2371 This option controls how page ranges are formatted in the postnote field of citations. The following formats are available:
2372
2373 \begin{valuelist}
2374 \item[normalized] The cited pages are output with normalized ranges and full starting and ending pages in all cases, \eg the list <1-2, 11-13, 21-24> is output as <1--2, 11--13, 21--24>.
2375 \item[2sq] A range of exactly two consecutive pages is printed using the starting page and the localisation string \texttt{sequens}, \eg the above list is compressed to <1\,sq., 11--13, 21--24>.
2376 \item[3sqq] Similar in concept to \opt{2sq} but, additionally, a range of exactly three consecutive pages is printed using the starting page and the localisation string \texttt{sequentes}, \eg the above list is compressed to <1\,sq., 11\,sqq., 21--24>.
2377 \item[allsqq] Similar in concept to \opt{3sqq} with the difference that \texttt{sequentes} is defined as <any range of more than two consecutive pages>. Hence, the above list is compressed to <1\,sq., 11\,sqq., 21\,sqq.>.
2378 \item[compressed] The page ranges are compressed with \cmd{mkcomprange} (see \secref{aut:aux:msc}), so the above list comes out as <1--2, 11--3, 21--4>.
2379 \end{valuelist}
2380
2381 The spacing inserted between the page number and the respective localisation string may be modified by redefining the macro \cmd{sqspace}.
2382
2383 Note that this feature is only supported by citation styles that use \cmd{mkautorange} or \cmd{mkautorange*} for formatting page ranges in the postscript field (see \secref{aut:aux:msc}). When using \cmd{mkseqrange} or \cmd{mkseqrange*}, \opt{2sq}, \opt{3ssq}, and \opt{allsqq} are considered, any other value equals \opt{3ssq}.
2384
2385 \boolitem[false]{loadfiles}
2386
2387 This option controls whether external files requested by way of the \cmd{printfile} command are loaded. See also \secref{use:use:prf} and \cmd{printfile} in \secref{aut:bib:dat}. Note that this feature is disabled by default for performance reasons.
2388
2389 \optitem[none]{refsection}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2390
2391 This option automatically starts a new reference section at a document division such as a chapter or a section. This is equivalent to the \cmd{newrefsection} command, see \secref{use:bib:sec} for details. The following choice of document divisions is available:
2392
2393 \begin{valuelist}
2394 \item[none] Disable this feature.
2395 \item[part] Start a reference section at every \cmd{part} command.
2396 \item[chapter] Start a reference section at every \cmd{chapter} command.
2397 \item[chapter+] Start a reference section at every \cmd{chapter} and every higher level of sectioning, i.e. \cmd{part}.
2398 \item[section] Start a reference section at every \cmd{section} command.
2399 \item[section+] Start a reference section at every \cmd{section} and every higher level of sectioning, i.e. \cmd{part} and \cmd{chapter} (if available).
2400 \item[subsection] Start a reference section at every \cmd{subsection} command.
2401 \item[subsection+] Start a reference section at every \cmd{subsection} and every higher level of sectioning, i.e. \cmd{part}, \cmd{chapter} (if available) and \cmd{section}.
2402 \end{valuelist}
2403
2404 \optitem[none]{refsegment}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2405
2406 Similar to the \opt{refsection} option but starts a new reference segment. This is equivalent to the \cmd{newrefsegment} command, see \secref{use:bib:seg} for details. When using both options, note that you can only apply this option to a lower"=level document division than the one \opt{refsection} is applied to and that nested reference segments will be local to the enclosing reference section.
2407
2408 \optitem[none]{citereset}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2409
2410 This option automatically executes the \cmd{citereset} command from \secref{use:cit:msc} at a document division such as a chapter or a section. The following choice of document divisions is available:
2411
2412 \begin{valuelist}
2413 \item[none] Disable this feature.
2414 \item[part] Perform a reset at every \cmd{part} command.
2415 \item[chapter] Perform a reset at every \cmd{chapter} command.
2416 \item[chapter+] Perform a reset at every \cmd{chapter} and \cmd{part} command.
2417 \item[section] Perform a reset at every \cmd{section} command.
2418 \item[section+] Perform a reset at every \cmd{section}, \prm{chapter} (if supported by the class) and \cmd{part} command.
2419 \item[subsection] Perform a reset at every \cmd{subsection} command.
2420 \item[subsection+] Perform a reset at every \cmd{subsection}, \cmd{section}, \prm{chapter} (if supported by the class) and \cmd{part} command.
2421 \end{valuelist}
2422
2423 \boolitem[true]{abbreviate}
2424
2425 Whether or not to use long or abbreviated strings in citations and in the bibliography. This option affects the localisation modules. If this option is enabled, key terms such as <editor> are abbreviated. If not, they are written out.
2426 This option is also settable on a per-type or per-entry basis.
2427
2428 \optitem[comp]{date}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2429
2430 This option controls the basic format of printed date specifications. The following choices are available:
2431
2432 \begin{valuelist}
2433 \item[year] Use only years, for example:\par
2434 2010\par
2435 2010--2012\par
2436 \item[short] Use the short format with verbose ranges, for example:\par
2437 01/01/2010\par
2438 21/01/2010--30/01/2010\par
2439 01/21/2010--01/30/2010
2440 \item[long] Use the long format with verbose ranges, for example:\par
2441 1st January 2010\par
2442 21st January 2010--30th January 2010\par
2443 January 21, 2010--January 30, 2010\par
2444 \item[terse] Use the short format with compact ranges, for example:\par
2445 21--30/01/2010\par
2446 01/21--01/30/2010
2447 \item[comp] Use the long format with compact ranges, for example:\par
2448 21st--30th January 2010\par
2449 January 21--30, 2010\par
2450 \item[iso] Use ISO8601 Extended Format (\texttt{yyyy-mm-dd}), for example:\par
2451 2010-01-01\par
2452 2010-01-21/2010-01-30
2453 \item[ymd] A year-month-day format which can be modified by other options unlike strict \acr{ISO8601-2}, for example:\par
2454 2010-1-1\par
2455 2010-1-21/2010-1-30
2456 \end{valuelist}
2457 %
2458 Note that \opt{iso} format will enforce \kvopt{dateera}{astronomical}, \kvopt{datezeros}{true}, \kvopt{timezeros}{true}, \kvopt{seconds}{true}, \kvopt{$<$datetype$>$time}{24h} and \kvopt{julian}{false}. \opt{ymd} is an EDTF-like format but which can change the various options which the strict \opt{iso} option does not allow for.
2459
2460 As seen in the above examples, the actual date format is language specific. Note that the month name in all long formats is responsive to the \opt{dateabbrev} package option. The leading zeros for months and days in all short formats may be controlled separately with the \opt{datezeros} package option. The leading zeros for hours, minutes and seconds in all short formats may be controlled separately with the \opt{timezeros} package option. If outputting times, the printing of seconds and timezones is controlled by the \opt{seconds} and \opt{timezones} options respectively.
2461
2462 The options \opt{julian} and \opt{gregorianstart} may be used to control when to output Julian Calendar dates.
2463
2464 \optitem[year]{labeldate}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2465
2466 Similar to the \opt{date} option but controls the format of the date field selected with \cmd{DeclareLabeldate}.
2467
2468 \optitem[comp]{$<$datetype$>$date}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2469
2470 Similar to the \opt{date} option but controls the format of the \bibfield{$<$datetype$>$date} field in the datamodel.
2471
2472 \optitem{alldates}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2473
2474 Sets the option for all dates in the datamodel to the same value. The date fields in the default data model are \bibfield{date}, \bibfield{origdate}, \bibfield{eventdate} and \bibfield{urldate}.
2475
2476 \boolitem[false]{julian}
2477
2478 This option controls whether dates before the date specified in the \opt{gregorianstart} option will be converted automatically to the Julian Calendar. Dates so changed will return <true> for the \cmd{ifdatejulian} and \cmd{if$<$datetype$>$datejulian} tests (see \secref{aut:aux:tst}). Please bear in mind that dates consisting of just a year like <1565> will never be converted to a Julian Calendar date because a date without a month and day has an ambiguous Julian Calendar representation\footnote{This is potentially true for dates missing times too but this is not relevant for bibliographic work.}. For example, in the case of <1565>, this is Julian year <1564> until after the Gregorian date <10th January 1565> when the Julian year becomes <1565>.
2479
2480 \valitem{gregorianstart}{YYYY-MM-DD}
2481
2482 This option controls the date before which dates are converted to the Julian Calendar. It is a strict format string, 4-digit year, 2-digit month and day, separated by a single dash character (any valid Unicode character with the <Dash> property). The default is '1582-10-15', the date of the instigation of the standard Gregorian Calendar. This option does not nothing unless \opt{julian} is set to <true>.
2483
2484 \boolitem[true]{datezeros}
2485
2486 This option controls whether \texttt{short} and \texttt{terse} date components are printed with leading zeros unless overridden by specific formatting.
2487
2488 \boolitem[true]{timezeros}
2489
2490 This option controls whether time components are printed with leading zeros unless overridden by specific formatting.
2491
2492 \boolitem[false]{timezones}
2493
2494 This option controls whether timezones are printed when printing times.
2495
2496 \boolitem[false]{seconds}
2497
2498 This option controls whether seconds are printed when printing times.
2499
2500 \boolitem[true]{dateabbrev}
2501
2502 This option controls whether \texttt{long} and \texttt{comp} dates are printed with long or abbreviated month/yeardivision names. The option is similar to the generic \opt{abbreviate} option but specific to the date formatting.
2503 This option is also settable on a per-type and per-entry basis.
2504
2505 \boolitem[false]{datecirca}
2506
2507 This option controls whether to output <circa> information about dates. If set to \opt{true}, dates will be preceded by the expansion of the \cmd{datecircaprint} macro (\secref{use:fmt:fmt}).
2508
2509 \boolitem[false]{dateuncertain}
2510
2511 This option controls whether to output uncertainty information about dates. If set to \opt{true}, dates will be followed by the expansion of the \cmd{dateuncertainprint} macro and end dates will be followed by the \cmd{enddateuncertainprint} macro (\secref{use:fmt:fmt}).
2512
2513 \optitem[astronomical]{dateera}{\opt{astronomical}, \opt{secular}, \opt{christian}}
2514
2515 This option controls how date era information is printed. <astronomical> uses \cmd{dateeraprintpre} to print era information \emph{before} start/end dates. <secular> and <christian> uses \cmd{dateeraprint} to print era information \emph{after} the start/end/dates. By default <astronomical> results in a minus sign before BCE/BC dates and <secular>/<christian> results in the relevant localisation strings like <BCE> or <BC> after BCE/BC dates. See the relevant comments in \secref{use:fmt:fmt} and the localisation strings in \secref{aut:lng:key:dt}.
2516
2517 \intitem[0]{dateeraauto}
2518
2519 This option sets the astronomical year, below which era localisation strings are automatically added. This option does nothing without \opt{dateera} being set to <secular> or <christian>.
2520
2521 \optitem[24h]{time}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2522
2523 This option controls the basic format of printed time specifications. The following choices are available:
2524
2525 \begin{valuelist}
2526 \item[24h] 24-hour format, for example:\par
2527 14:03:23\par
2528 14:3:23\par
2529 14:03:23+05:00\par
2530 14:03:23Z\par
2531 14:21:23--14:23:45\par
2532 14:23:23--14:23:45\par
2533 \item[24hcomp] 24-hour format with compressed ranges, for example:\par
2534 14:21--23 (hours are the same)\par
2535 14:23:23--45 (hour and minute are the same)\par
2536 \item[12h] 12-hour format with (localised) AM/PM markers, for example:\par
2537 2:34 PM\par
2538 2:34 PM--3:50 PM\par
2539 \end{valuelist}
2540 %
2541 As seen in the above examples, the actual time format is language specific. Note that the AM/PM string is responsive to the \opt{abbreviate} package option, if this makes a difference in the specific locale. The leading zeros in the 24-hour formats may be controlled separately with the \opt{timezeros} package option. The separator between time components (\cmd{bibtimesep} and \cmd{bibtzminsep}) and between the time and any timezone (\cmd{bibtimezonesep}) are also language specific and customisable, see \secref{use:fmt:lng}. There are global package options which determine whether seconds and timezones are printed (\opt{seconds} and \opt{timezones}, respectively, see \secref{use:opt:pre:gen}). Timezones, if present, are either <Z> or a numeric positive or negative offset. No default styles print time information. Custom styles may print times by using the \cmd{print$<$datetype$>$time} commands, see \secref{aut:bib:dat}.
2542
2543 \optitem[24h]{labeltime}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2544
2545 Similar to the \opt{time} option but controls the format of the time part fields obtained from the field selected with \cmd{DeclareLabeldate}.
2546
2547 \optitem[24h]{$<$datetype$>$time}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2548
2549 Similar to the \opt{time} option but controls the format of the time part fields obtained from the \bibfield{$<$datetype$>$date} field in the datamodel.
2550
2551 \optitem{alltimes}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2552
2553 Sets \opt{labeltime} and the \opt{$<$datetype$>$time} option for all times in the datamodel to the same value. The date fields supporting time parts in the default data model are \bibfield{date}, \bibfield{origdate}, \bibfield{eventdate} and \bibfield{urldate}.
2554
2555 \boolitem[false]{dateusetime}
2556
2557 Specifies whether to print any time component of a date field after the date component. The separator between the date and time components is \cmd{bibdatetimesep} from \secref{use:fmt:lng}.
2558
2559 \boolitem[false]{labeldateusetime}
2560
2561 Similar to the \opt{dateusetime} option but controls the whether to print time components for the field selected with \cmd{DeclareLabeldate}.
2562
2563 \boolitem[false]{$<$datetype$>$dateusetime}
2564
2565 Similar to the \opt{dateusetime} option but controls the whether to print time components for the \bibfield{$<$datetype$>$date} field in the datamodel.
2566
2567 \boolitem[false]{alldatesusetime}
2568
2569 Sets \opt{labeldateusetime} and the \opt{$<$datetype$>$dateusetime} option for all \bibfield{$<$datetype$>$date} fields in the datamoel.
2570
2571 \boolitem[false]{defernumbers}
2572
2573 In contrast to standard \latex, the numeric labels generated by this package are normally assigned to the full list of references at the beginning of the document body. If this option is enabled, numeric labels (\ie the \bibfield{labelnumber} field discussed in \secref{aut:bbx:fld}) are assigned the first time an entry is printed in any bibliography. See \secref{use:cav:lab} for further explanation. This option requires two \latex runs after the data has been exported to the \file{bbl} file by the backend (in addition to any other runs required by page breaks changing etc.). An important thing to note is that if you are using this option, then changes to options, the \file{bib} file or certain commands like \cmd{printbibliography} will usually require that you delete your current \file{aux} file and re-run \latex to obtain the correct numbering. See \secref{aut:int}.
2574
2575 \boolitem[false]{punctfont}
2576
2577 This option enables an alternative mechanism for dealing with unit punctuation after a field printed in a different font (for example, a title printed in italics). See \cmd{setpunctfont} in \secref{aut:pct:new} for details.
2578
2579 \optitem[abs]{arxiv}{\opt{abs}, \opt{ps}, \opt{pdf}, \opt{format}}
2580
2581 Path selector for arXiv links. If hyperlink support is enabled, this option controls which version of the document the arXiv \bibfield{eprint} links will point to. The following choices are available:
2582
2583 \begin{valuelist}
2584 \item[abs] Link to the abstract page.
2585 \item[ps] Link to the PostScript version.
2586 \item[pdf] Link to the \pdf version.
2587 \item[format] Link to the format selector page.
2588 \end{valuelist}
2589
2590 See \secref{use:use:epr} for details on support for arXiv and electronic publishing information.
2591
2592 \optitem[auto]{texencoding}{\opt{auto}, \prm{encoding}}
2593
2594 Specifies the encoding of the \file{tex} file. This option affects the data transferred from the backend to \biblatex. This corresponds to \biber's \opt{--output-encoding} option. The following choices are available:
2595
2596 \begin{valuelist}
2597
2598 \item[auto] Try to auto-detect the input encoding. If the \sty{inputenc}\slash \sty{inputenx}\slash \sty{luainputenc} package is available, \biblatex will get the main encoding from that package. If not, it assumes \utf encoding if a \latex format using at least the April 2018 version of the kernel, \xetex or \luatex has been detected, and \acr{US-ASCII} otherwise.
2599
2600 \item[\prm{encoding}] Specifies the \prm{encoding} explicitly. This is for odd cases in which auto-detection fails or you want to force a certain encoding for some reason.
2601
2602 \end{valuelist}
2603 %
2604 Note that setting \kvopt{texencoding}{\prm{encoding}} will also affect the \opt{bibencoding} option if \kvopt{bibencoding}{auto}.
2605
2606 \optitem[auto]{bibencoding}{\opt{auto}, \prm{encoding}}
2607
2608 Specifies the default encoding of the \file{bib} files. This can be overridden on a per-datasource basis using the \opt{bibencoding} option to \cmd{addbibresource}, see \secref{use:bib:res}. This option corresponds to \biber's \opt{--input-encoding} option. The following choices are available:
2609
2610 \begin{valuelist}
2611
2612 \item[auto] Use this option if the workflow is transparent, \ie if the encoding of the \file{bib} file is identical to the encoding of the \file{tex} file.
2613
2614 \item[\prm{encoding}] If the encoding of the \file{bib} file is different from the one of the \file{tex} file, you need to specify it explicitly.
2615
2616 \end{valuelist}
2617
2618 By default, \biblatex assumes that the \file{tex} file and the \file{bib} file use the same encoding (\kvopt{bibencoding}{auto}).
2619
2620 \boolitem[false]{safeinputenc}
2621
2622 If this option is enabled, \biblatex will automatically force \kvopt{texencoding}{ascii} if the \sty{inputenc}\slash \sty{inputenx} package has been loaded and the input encoding is \utf, \ie it will ignore any macro-based \utf support and use \acr{US-ASCII} only. \biber will then try to convert any non-\acr{US-ASCII} data in the \file{bib} file to \acr{US-ASCII}. For example, it will convert \texttt{\d{S}} to |\d{S}|. See \secref{bib:cav:enc:enc} for an explanation of why you may want to enable this option.
2623
2624 \boolitem[true]{bibwarn}
2625
2626 By default, \biblatex will report warnings issued by the backend concerning the data in the \file{bib} file as \latex warnings. Use this option to suppress such warnings.
2627
2628 \intitem[2]{mincrossrefs}
2629
2630 Sets the minimum number of cross references to \prm{integer} when requesting a backend run.\footnote{If an entry which is cross-referenced by other entries in the \file{bib} file hits this threshold, it is included in the bibliography even if it has not been cited explicitly. This is a standard feature of the \bibtex format and not specific to \biblatex. See the description of the \bibfield{crossref} field in \secref{bib:fld:spc} for further information.} This option also affects the handling of the \bibfield{xref} field. See the field description in \secref{bib:fld:spc} as well as \secref{bib:cav:ref} for details.
2631
2632 \intitem[2]{minxrefs}
2633
2634 As \opt{mincrossrefs} but for \bibfield{xref} fields.
2635
2636 \boolitem[true]{bibtexcaseprotection}
2637
2638 This option only has an effect when the \sty{expl3} implementation of the case changing functions is selected. If the option is set to \opt{true}, \cmd{MakeSentenceCase*} supports brace protection of words from case change as in classical \bibtex. If the option is set to \opt{false}, pairs of braces no longer imply case protection, which can now be achieved by wrapping the relevant word in \cmd{NoCaseChange}---this makes for a less confusing, if more verbose, markup of case protection.
2639 For examples of the effect of this option refer to the documentation of \cmd{MakeSentenceCase*} in \secref{aut:aux:msc}.
2640
2641 \end{optionlist}
2642
2643 \paragraph{Style-specific}
2644 \label{use:opt:pre:bbx}
2645
2646 The following options are provided by all standard bibliography styles (as opposed to the core package). The options are available as preamble options like those in \secref{use:opt:pre:gen} and at a per-type and per-entry scope.
2647
2648 \begin{optionlist}
2649
2650 \boolitem[true]{isbn}
2651
2652 This option controls whether the fields \bibfield{isbn}\slash \bibfield{issn}\slash \bibfield{isrn} are printed.
2653
2654 \boolitem[true]{url}
2655
2656 This option controls whether the \bibfield{url} field and the access date is printed. The option only affects entry types whose \bibfield{url} information is optional. The \bibfield{url} field of \bibtype{online} entries is always printed.
2657
2658 \boolitem[true]{doi}
2659
2660 This option controls whether the field \bibfield{doi} is printed.
2661
2662 \boolitem[true]{eprint}
2663
2664 This option controls whether \bibfield{eprint} information is printed.
2665
2666 \boolitem[true]{related}
2667
2668 Whether to use information from related entries or not. See \secref{use:rel}.
2669
2670 \end{optionlist}
2671
2672 \subparagraph{\texttt{alphabetic}/\texttt{numeric}} Additionally, styles of the \texttt{alphabetic} and \texttt{numeric} family support the \opt{subentry} option in global, per-type and per-entry scope.
2673
2674 \begin{optionlist}
2675
2676 \boolitem[false]{subentry}
2677
2678 This option affects the handling of citations to set members and the display of sets in the bibliography. If the option is enabled, citations to individual set members feature an additional letter that identifies the member, that letter is also printed in the bibliography. If the option is disabled, a citation to the member of a set will display just as a citation to the entire set and there will be no additional letters in the bibliography entries enumerating the members.
2679
2680 Suppose \texttt{key1} and \texttt{key2} are members of the set \texttt{set1}. With \opt{subentry} set to \texttt{true} in a numeric style a citation to \texttt{key1} will show as <[1a]> and a citation to \texttt{key2} as <[1b]>, while the entire set \texttt{set1} will be cited as <[1]>. Furthermore <(a)> and <(b)> will be added in front of the entry data for the set members in the bibliography entry for the set. With \opt{subentry} set to \texttt{false} citations to all three keys will show as <[1]>, no additional letter will be printed in the bibliography.
2681
2682 \end{optionlist}
2683
2684 \subparagraph{\texttt{numeric-comp}} The citation style \texttt{numeric-comp} supports the \opt{subentrycomp} option in global, per-type and per-entry scope.
2685
2686 \begin{optionlist}
2687
2688 \boolitem[true]{subentrycomp}
2689
2690 This option determines whether or not citations to set members are compressed similar to non-set citations. The option only has an effect if \opt{subentry} is set to \texttt{true}.
2691
2692 Suppose \texttt{key1}, \texttt{key2} and \texttt{key3} are members of the set \texttt{set1}. With \opt{subentrycomp} set to \texttt{true} the three entries will be compressed to <[1a--c]> in citations. With \opt{subentry} set to \texttt{false} the citation will show in the more verbose form <[1a, 1b, 1c]>.
2693
2694 The option is intended mainly for backwards compatibility, because earlier versions of \biblatex did not compress set member citations.
2695
2696 \end{optionlist}
2697
2698 \subparagraph{\texttt{authortitle}/\texttt{authoryear}} All bibliography styles of the \texttt{authoryear} and \texttt{authortitle} family as well as all bibliography styles of the \texttt{verbose} family---whose bibliography styles are based on \texttt{authortitle}---support the option \opt{dashed} in global scope.
2699
2700 \begin{optionlist}
2701
2702 \boolitem[true]{dashed}
2703
2704 This option controls whether recurrent the same author\slash editor list in the bibliography are replaced by a dash (\cmd{bibnamedash}, see \secref{use:fmt:fmt}). If the option is enabled, subsequent mentions of the same name list at the beginning of an entry are replaced by a dash provided the entry is not the first on the current page. If the option is disabled, name lists are never replaced by a dash.
2705
2706 \end{optionlist}
2707
2708 \subparagraph{\texttt{authoryear}} Bibliography styles of the \texttt{authoryear} family provide the option \opt{mergedate} in global, per-type and per-entry scope.
2709
2710 \begin{optionlist}
2711
2712 \optitem[true]{mergedate}{\opt{false}, \opt{minimum}, \opt{basic}, \opt{compact}, \opt{maximum}, \opt{true}}
2713
2714 This option controls whether and how the date specification in the entry is merged with the date label shown directly after the author\slash editor list.
2715
2716 \begin{valuelist}
2717 \item[false] Strictly separate the date specification shown in the entry (styled with \opt{date}) from the date label (styled with \opt{labeldate}). The date will always be shown twice.
2718 \item[minimum] Omit the date specification whenever it coincides \emph{exactly}---including \bibfield{extradate} information---with the output of the date label.
2719 \item[basic] Similar to \opt{minimum}, but the date specification will also be omitted if it differs from the date label only by the absence of the \bibfield{extradate} letter.
2720 \item[compact] Merges all date specifications with the date label. The date format of that merged date label is controlled by \opt{date}, not \opt{labeldate}, even if it is printed in the position of the date label. The \bibfield{issue} field is not merged.
2721 \item[maximum] Like \opt{compact}, but if present the \bibfield{issue} field will also be moved into the date label at the beginning of the entry.
2722 \item[true] An alias for \opt{compact}.
2723 \end{valuelist}
2724
2725 More in-depth examples of this option can be found in the style examples.
2726 \end{optionlist}
2727
2728 \subparagraph{<ibid> styles} Citation styles with <ibid.>\ function, namely \texttt{authortitle-ibid}, \texttt{author\allowbreakhere title-icomp}, \texttt{author\allowbreakhere year-ibid}, \texttt{authoryear-icomp}, \texttt{ver\allowbreakhere bose-ibid}, \texttt{verbose-inote}, \texttt{verbose-trad1}, \texttt{verbose-trad2} and \texttt{verbose-trad3} provide the global \opt{ibidpage} option.
2729
2730 \begin{optionlist}
2731
2732 \boolitem[false]{ibidpage}
2733
2734 Whether \emph{ibidem} without page reference means <same work> or <same work + same page>. If set to \texttt{true} a page range postnote will be suppressed in an \emph{ibidem} citation if the last citation was to the same page range. With \texttt{ibidpage=false} the postnote is not omitted. Citations to different page ranges than the previous always produce the page ranges with either setting.
2735
2736 \end{optionlist}
2737
2738 \subparagraph{\texttt{verbose}} All citation styles of the \texttt{verbose} family provide the global option \opt{citepages}.
2739
2740 \begin{optionlist}
2741
2742 \optitem[permit]{citepages}{\opt{permit}, \opt{suppress}, \opt{omit}, \opt{separate}}
2743
2744 This option controls the output of the \bibfield{pages}\slash\bibfield{pagetotal} field in the full citation in combination with a postnote containing a page range. The option can be used to suppress references to two page ranges in full citations like the following
2745
2746 \begin{quote}
2747 Author. \enquote{Title.} In: \emph{Book,} pp.\,100--150, p.\,125.
2748 \end{quote}
2749
2750 Here <p.\,125> is the \bibfield{postnote} argument and <pp.\,100--150> is the value of the \bibfield{pages} field.
2751
2752 \begin{valuelist}
2753 \item[permit] Allow duplication of page specifications, i.e.\ print both \bibfield{pages}\slash\bibfield{pagetotal} and \bibfield{postnote}.
2754 \item[suppress] Unconditionally suppress the \bibfield{pages}\slash\bibfield{pagetotal} fields in citations, regardless of the \bibfield{postnote}.
2755 \item[omit] Suppress the \bibfield{pages}\slash \bibfield{pagetotal} if the \bibfield{postnote} contains a page range. They are still printed if there is no \bibfield{postnote} or if the \bibfield{postnote} is not a number or range.
2756 \item[separate] Separate the \bibfield{pages}\slash\bibfield{pagetotal} from the \bibfield{postnote} if the latter contains a page range. The string \texttt{thiscite} is added to separate the two page ranges.
2757 \end{valuelist}
2758
2759 \end{optionlist}
2760
2761 \subparagraph{\texttt{verbose-trad}} The citation styles of the \texttt{verbose-trad} family support the global option \opt{strict}.
2762
2763 \begin{optionlist}
2764
2765 \boolitem[false]{strict}
2766
2767 This option allows to restrict the use of the scholarly abbreviations <ibid.> and <op.~cit.> to avoid ambiguities. If the option is set to \texttt{true} these terms will only be used if the relevant work was cited in the same or previous footnote.
2768
2769 \end{optionlist}
2770
2771 \subparagraph{\texttt{reading}} The \texttt{reading} style supports a number of additional options, but these are not of general interest and can be found in the style example.
2772
2773
2774 \paragraph{Internal}
2775 \label{use:opt:pre:int}
2776
2777 The default settings of the following preamble options are controlled by bibliography and citation styles. Apart from the \opt{pagetracker} and \opt{$<$name$>$inits} options, which you may want to adapt, there is normally no need to set them explicitly.
2778
2779 \begin{optionlist}
2780
2781 \optitem[false]{pagetracker}{\opt{true}, \opt{false}, \opt{page}, \opt{spread}}
2782
2783 This option controls the page tracker which is required by the \cmd{ifsamepage} and \cmd{iffirstonpage} tests from \secref{aut:aux:tst}. The possible choices are:
2784
2785 \begin{valuelist}
2786 \item[true] Enable the tracker in automatic mode. This is like \opt{spread} if \latex is in twoside mode, and like \opt{page} otherwise.
2787 \item[false] Disable the tracker.
2788 \item[page] Enable the tracker in page mode. In this mode, tracking works on a per"=page basis.
2789 \item[spread] Enable the tracker in spread mode. In this mode, tracking works on a per"=spread (double page) basis.
2790 \end{valuelist}
2791
2792 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2793
2794 \optitem[false]{citecounter}{\opt{true}, \opt{false}, \opt{context}}
2795
2796 This option controls the citation counter which is required by \cnt{citecounter} from \secref{aut:aux:tst}. The possible choices are:
2797
2798 \begin{valuelist}
2799 \item[true] Enable the citation counter in global mode.
2800 \item[false] Disable the citation counter.
2801 \item[context] Enable the citation counter in context"=sensitive mode. In this mode, citations in footnotes and in the body text are counted independently.
2802 \end{valuelist}
2803
2804 \optitem[false]{citetracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2805
2806 This option controls the citation tracker which is required by the \cmd{ifciteseen} and \cmd{ifentryseen} tests from \secref{aut:aux:tst}. The possible choices are:
2807
2808 \begin{valuelist}
2809 \item[true] Enable the tracker in global mode.
2810 \item[false] Disable the tracker.
2811 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked independently.
2812 \item[strict] Enable the tracker in strict mode. In this mode, an item is only considered by the tracker if it appeared in a stand-alone citation, \ie if a single entry key was passed to the citation command.
2813 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}.
2814 \end{valuelist}
2815
2816 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2817 This option is also settable on a per-type or per-entry basis.
2818
2819 \optitem[false]{ibidtracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2820
2821 This option controls the <ibidem> tracker which is required by the \cmd{ifciteibid} test from \secref{aut:aux:tst}. The possible choices are:
2822
2823 \begin{valuelist}
2824 \item[true] Enable the tracker in global mode.
2825 \item[false] Disable the tracker.
2826 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2827 \item[strict] Enable the tracker in strict mode. In this mode, potentially ambiguous references are suppressed. A reference is considered ambiguous if either the current citation (the one including the <ibidem>) or the previous citation (the one the <ibidem> refers to) consists of a list of references.\footnote{For example, suppose the initial citation is «Jones, \emph{Title}; Williams, \emph{Title}» and the following one «ibidem». From a technical point of view, it is fairly clear that the <ibidem> refers to <Williams> because this is the last reference processed by the previous citation command. To a human reader, however, this may not be obvious because the <ibidem> may also refer to both titles. The strict mode avoids such ambiguous references.}
2828 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}. It also keeps track of footnote numbers and detects potentially ambiguous references in footnotes in a stricter way than the \opt{strict} option. In addition to the conditions imposed by the \opt{strict} option, a reference in a footnote will only be considered as unambiguous if the current citation and the previous citation are given in the same footnote or in immediately consecutive footnotes.
2829 \end{valuelist}
2830
2831 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2832 This option is also settable on a per-type or per-entry basis.
2833
2834 \optitem[false]{opcittracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2835
2836 This option controls the <opcit> tracker which is required by the \cmd{ifopcit} test from \secref{aut:aux:tst}. This feature is similar to the <ibidem> tracker, except that it tracks citations on a per-author/editor basis, \ie \cmd{ifopcit} will yield \texttt{true} if the cited item is the same as the last one by this author\slash editor. The possible choices are:
2837
2838 \begin{valuelist}
2839 \item[true] Enable the tracker in global mode.
2840 \item[false] Disable the tracker.
2841 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2842 \item[strict] Enable the tracker in strict mode. In this mode, potentially ambiguous references are suppressed. See \kvopt{ibidtracker}{strict} for details.
2843 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}. See the explanation of \kvopt{ibidtracker}{constrict} for details.
2844 \end{valuelist}
2845
2846 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2847 This option is also settable on a per-type or per-entry basis.
2848
2849 \optitem[false]{loccittracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2850
2851 This option controls the <loccit> tracker which is required by the \cmd{ifloccit} test from \secref{aut:aux:tst}. This feature is similar to the <opcit> tracker except that it also checks whether the \prm{postnote} arguments match, \ie \cmd{ifloccit} will yield \texttt{true} if the citation refers to the same page cited before. The possible choices are:
2852
2853 \begin{valuelist}
2854 \item[true] Enable the tracker in global mode.
2855 \item[false] Disable the tracker.
2856 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2857 \item[strict] Enable the tracker in strict mode. In this mode, potentially ambiguous references are suppressed. See \kvopt{ibidtracker}{strict} for details. In addition to that, this mode also checks if the \prm{postnote} argument is numerical (based on \cmd{ifnumerals} from \secref{aut:aux:tst}).
2858 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}. See the explanation of \kvopt{ibidtracker}{constrict} for details. In addition to that, this mode also checks if the \prm{postnote} argument is numerical (based on \cmd{ifnumerals} from \secref{aut:aux:tst}).
2859 \end{valuelist}
2860
2861 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2862 This option is also settable on a per-type or per-entry basis.
2863
2864 \optitem[false]{idemtracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2865
2866 This option controls the <idem> tracker which is required by the \cmd{ifciteidem} test from \secref{aut:aux:tst}. The possible choices are:
2867
2868 \begin{valuelist}
2869 \item[true] Enable the tracker in global mode.
2870 \item[false] Disable the tracker.
2871 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2872 \item[strict] This is an alias for \texttt{true}, provided only for consistency with the other trackers. Since <idem> replacements do not get ambiguous in the same way as <ibidem> or <op.~cit.>, the \texttt{strict} tracking mode does not apply to them.
2873 \item[constrict] This mode is similar to \opt{context} with one additional condition: a reference in a footnote will only be considered as unambiguous if the current citation and the previous citation are given in the same footnote or in immediately consecutive footnotes.
2874 \end{valuelist}
2875
2876 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2877 This option is also settable on a per-type or per-entry basis.
2878
2879 \boolitem[false]{trackfloats}
2880
2881 Whether to enable citation tracking in floats. Citation tracking in floats can be tricky, so this option should only be enabled if absolutely necessary and the output should be scrutinised carefully, see also \secref{aut:cav:flt}.
2882
2883 \boolitem[true]{parentracker}
2884
2885 This option controls the parenthesis tracker which keeps track of nested parentheses and brackets. This information is used by \cmd{parentext} and \cmd{brackettext} from \secref{use:cit:txt}, \cmd{mkbibparens} and \cmd{mkbibbrackets} from \secref{aut:fmt:ich} and \cmd{bibopenparen}, \cmd{bibcloseparen}, \cmd{bibopenbracket}, \cmd{bibclosebracket} (also \secref{aut:fmt:ich}).
2886
2887 \intitem[3]{maxparens}
2888
2889 The maximum permitted nesting level of parentheses and brackets. If parentheses and brackets are nested deeper than this value, \biblatex will issue errors.
2890
2891 \boolitem[false]{$<$namepart$>$inits}
2892
2893 The option sets the \cmd{if$<$namepart$>$inits} test from \secref{aut:aux:tst}. \texttt{$<$namepart$>$} is any valid name part as defined in the data model by the \cmd{DeclareDatamodelConstant} command (\secref{aut:bbx:drv}). For the given name, for example, the option becomes \opt{giveninits}.
2894 This option is also settable on a per-type, per-entry, per-namelist and per-name basis.
2895
2896 If \opt{giveninits} is set to \opt{true}, the default name formats will only render the given name initials and not the full given name. The standard styles only use the test \cmd{ifgiveninits} and hence only respond to the option \opt{giveninits}. Setting the option for a name part different from \texttt{given} has no effect on the default name formats.
2897
2898 Note that sorting and name uniqueness are not automatically affected by this option, these have to be requested explicitly via \cmd{DeclareSortingNamekeyTemplate} and the \opt{uniquename} option (or \cmd{DeclareUniquenameTemplate}), respectively. A warning will be issued if \opt{giveninits} is used together with \opt{uniquename} set to one of the \opt{full} values and \opt{uniquename} is automatically set to the corresponding \opt{init} value.
2899
2900 \boolitem[false]{terseinits}
2901
2902 This option controls the format of all initials generated by \biblatex. If enabled, initials are rendered using a terse format without dots and spaces. For example, the initials of Donald Ervin Knuth would be rendered as <D.~E.> by default, and as <DE> if this option is enabled. The option will affect the \cmd{ifterseinits} test from \secref{aut:aux:tst}. The option works by redefining some macros which control the format of initials. See \secref{use:cav:nam} for details.
2903 This option is also settable on a per-type, per-entry, per-name and per-namelist basis.
2904
2905 \boolitem[false]{labelalpha}
2906
2907 Whether or not to provide the special fields \bibfield{labelalpha} and \bibfield{extraalpha}, see \secref{aut:bbx:fld} for details.
2908 This option is also settable on a per-type and per-entry basis. See also \opt{maxalphanames} and \opt{minalphanames}. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
2909
2910 \intitem[3]{maxalphanames}
2911
2912 Similar to the \opt{maxnames} option but customizes the format of the \bibfield{labelalpha} field.
2913
2914 \intitem[1]{minalphanames}
2915
2916 Similar to the \opt{minnames} option but customizes the format of the \bibfield{labelalpha} field.
2917
2918 \boolitem[false]{labelnumber}
2919
2920 Whether or not to provide the special field \bibfield{labelnumber}, see \secref{aut:bbx:fld} for details.
2921 This option is also settable on a per-type and per-entry basis.
2922
2923 \boolitem[false]{noroman}
2924
2925 Whether or not to try to parse roman numerals encountered in integer fields for sorting purposes. Since \biber also tries to parse alphanumeric values when sorting integer fields, this roman numeral parsing can be a problem when, for example, <C> is encountered as this could be a roman numeral or a simple alphanumeric string which would have a different integer value depending on how it was parsed. It is likely that this is most useful on a per-entry basis for entries that have, for example, a \bibfield{volume} field with values such as <A>, <B>, <C>, <D> which should not be parsed as roman numerals since this would give incorrect integer values for <C> and <D>.
2926
2927 This option is also settable on a per-type and per-entry basis.
2928
2929 \boolitem[false]{labeltitle}
2930
2931 Whether or not to provide the special field \bibfield{extratitle}, see \secref{aut:bbx:fld} for details. Note that the special field \bibfield{labeltitle} is always provided and this option controls rather whether \bibfield{labeltitle} is used to generate \bibfield{extratitle} information. This option is also settable on a per-type and per-entry basis. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
2932
2933 \boolitem[false]{labeltitleyear}
2934
2935 Whether or not to provide the special field \bibfield{extratitleyear}, see \secref{aut:bbx:fld} for details. Note that the special field \bibfield{labeltitleyear} is always provided and this option controls rather whether \bibfield{labeltitleyear} is used to generate \bibfield{extratitleyear} information. This option is also settable on a per-type and per-entry basis. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
2936
2937 \boolitem[false]{labeldateparts}
2938
2939 Whether or not to provide the special fields \bibfield{labelyear}, \bibfield{labelmonth}, \bibfield{labelday}, \bibfield{labelendyear}, \bibfield{labelendmonth}, \bibfield{labelendday}, \bibfield{labelhour}, \bibfield{labelendhour}, \bibfield{labelminute}, \bibfield{labelendminute}, \bibfield{labelsecond}, \bibfield{labelendsecond}, \bibfield{labelyeardivision}, \bibfield{labelendyeardivision}, \bibfield{labeltimezone}, \bibfield{labelendtimeone} and \bibfield{extradate}, see \secref{aut:bbx:fld} for details.
2940 This option is also settable on a per-type and per-entry basis. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
2941
2942 \begin{table}
2943 \caption{Work Uniqueness options}
2944 \label{use:opt:wu}
2945 \footnotesize
2946 \ttfamily
2947 \tablesetup
2948 \begin{tabularx}{\textwidth}{XXX}
2949 \toprule
2950 \multicolumn{1}{@{}H}{Option} &
2951 \multicolumn{1}{@{}H}{Test} &
2952 \multicolumn{1}{@{}H}{Tracks} \\
2953 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}
2954 singletitle & \cmd{ifsingletitle} & labelname\\
2955 uniquetitle & \cmd{ifuniquetitle} & labeltitle\\
2956 uniquebaretitle & \cmd{ifuniquebaretitle} & labeltitle {\rmfamily when} labelname {\rmfamily is null}\\
2957 uniquework & \cmd{ifuniquework} & labelname+labeltitle\\
2958 \bottomrule
2959 \end{tabularx}
2960 \end{table}
2961
2962 \boolitem[false]{singletitle}
2963
2964 Whether or not to provide the data required by the \cmd{ifsingletitle} test, see \secref{aut:aux:tst} for details. See \tabref{use:opt:wu} for details on what determines the data for this test.
2965 This option is also settable on a per-type and per-entry basis.
2966
2967 \boolitem[false]{uniquetitle}
2968
2969 Whether or not to provide the data required by the \cmd{ifuniquetitle} test, see \secref{aut:aux:tst} for details. See \tabref{use:opt:wu} for details on what determines the data for this test.
2970 This option is also settable on a per-type and per-entry basis.
2971
2972 \boolitem[false]{uniquebaretitle}
2973
2974 Whether or not to provide the data required by the \cmd{ifuniquebaretitle} test, see \secref{aut:aux:tst} for details. See \tabref{use:opt:wu} for details on what determines the data for this test.
2975 This option is also settable on a per-type and per-entry basis.
2976
2977 \boolitem[false]{uniquework}
2978
2979 Whether or not to provide the data required by the \cmd{ifuniquework} test, see \secref{aut:aux:tst} for details. See \tabref{use:opt:wu} for details on what determines the data for this test.
2980 This option is also settable on a per-type and per-entry basis.
2981
2982 \boolitem[false]{uniqueprimaryauthor}
2983
2984 Whether or not to provide the data required by the \cmd{ifuniqueprimaryauthor} test, see \secref{aut:aux:tst} for details.
2985 This option is also settable on a per-type and per-entry basis.
2986
2987 \optitem[false]{uniquename}{\opt{true}, \opt{false}, \opt{init}, \opt{full}, \opt{allinit}, \opt{allfull},
2988 \opt{mininit}, \opt{minfull}, \opt{minyearinit}, \opt{minyearfull}}
2989
2990 Whether or not to update the \cnt{uniquename} counter, see \secref{aut:aux:tst} for details. This feature will disambiguate individual names in the \bibfield{labelname} list. This option is also settable on a per-type, per-entry, per-namelist and per-name basis. The possible choices are:
2991
2992 \begin{valuelist}
2993 \item[true] An alias for \opt{full}.
2994 \item[false] Disable this feature.
2995 \item[init] Disambiguate using initials only.
2996 \item[full] Disambiguate using initials or full names, as required.
2997 \item[allinit] Similar to \opt{init} but disambiguates all names in the \bibfield{labelname} list, beyond \opt{maxnames}\slash \opt{minnames}\slash \opt{uniquelist}.
2998 \item[allfull] Similar to \opt{full} but disambiguates all names in the \bibfield{labelname} list, beyond \opt{maxnames}\slash \opt{minnames}\slash \opt{uniquelist}.
2999 \item[mininit] A variant of \texttt{init} which only disambiguates names in identical lists of base nameparts (by default, lists of family names).
3000 \item[minfull] A variant of \texttt{full} which only disambiguates names in identical lists of base nameparts (by default, lists of family names).
3001 \item[minyearinit] A variant of \texttt{mininit} which only disambiguates names in identical lists of base nameparts plus labelyear.
3002 \item[minyearfull] A variant of \texttt{minfull} which only disambiguates names in identical lists of base nameparts plus labelyear.
3003 \end{valuelist}
3004 %
3005 Note that the \opt{uniquename} option will also affect \opt{uniquelist}, the \cmd{ifsingletitle} test, and the \bibfield{extradate} and \bibfield{extraname} fields. See \secref{aut:cav:amb} for further details and practical examples.
3006
3007 \optitem[false]{uniquelist}{\opt{true}, \opt{false}, \opt{minyear}}
3008
3009 Whether or not to update the \cnt{uniquelist} counter, see \secref{aut:aux:tst} for details. This feature will disambiguate the \bibfield{labelname} list if it has become ambiguous after \opt{maxnames}\slash \opt{minnames} truncation. Essentially, it overrides \opt{maxnames}\slash \opt{minnames} on a per-field basis. This option is also settable on a per-type, per-entry and per-namelist basis. The possible choices are:
3010
3011 \begin{valuelist}
3012 \item[true] Disambiguate the \bibfield{labelname} list.
3013 \item[false] Disable this feature.
3014 \item[minyear] Disambiguate the \bibfield{labelname} list only if the truncated list is identical to another one with the same \bibfield{labelyear}. This mode of operation is useful for author-year styles and requires \kvopt{labeldateparts}{true}.
3015 \end{valuelist}
3016 %
3017 Note that the \opt{uniquelist} option will also affect the \cmd{ifsingletitle} test and the \bibfield{extradate} and \bibfield{extraname} fields. See \secref{aut:cav:amb} for further details and practical examples.
3018
3019 \boolitem[false]{nohashothers}
3020
3021 By default, name lists which are truncated with <et al>--either explicitly by <and others> in the data source or the \opt{uniquelist} and \opt{min/maxnames} options--result in different name list hashes (and therefore different \opt{extraname} and \opt{extradate} values) and different sorting. This option allows this behaviour to be tuned. When set to \prm{true}, \biber ignores <et al> truncations for the purposes of generating name list hashes. Consider:
3022
3023 \begin{lstlisting}{}
3024 Jones 1972
3025 Jones/and others 1972
3026 Smith 2000
3027 Smith/Vogel/Beast/Tremble 2000
3028 \end{lstlisting}
3029 %
3030 With \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{nohashothers}{false}, the result would be:
3031
3032 \begin{lstlisting}{}
3033 Jones 1972
3034 Jones et al. 1972
3035 Smith 2000
3036 Smith et al. 2000
3037 \end{lstlisting}
3038 %
3039 Whereas with \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{nohashothers}{true}, the result would be:
3040
3041 \begin{lstlisting}{}
3042 Jones 1972a
3043 Jones et al. 1972b
3044 Smith 2000a
3045 Smith et al. 2000b
3046 \end{lstlisting}
3047
3048 If desired, this could be further simplified by removing the <et al.\@>
3049 to obtain:
3050
3051 \begin{lstlisting}{}
3052 Jones 1972a
3053 Jones 1972b
3054 Smith 2000a
3055 Smith 2000b
3056 \end{lstlisting}
3057 %
3058 Note that the \opt{nohashothers} option will affect the \bibfield{extradate} and \bibfield{extraname} fields.
3059
3060 This option is also settable on a per-type, per-entry and per-namelist basis.
3061
3062 \boolitem[false]{nosortothers}
3063
3064 The option has a related to effect to \opt{nohashothers} but applies to sorting--the visible list of names (which is the \opt{minsortnames} value) used to determine sorting will ignore any truncation. This means that with \kvopt{nosortothers}{true}, the name lists:
3065
3066 \begin{lstlisting}{}
3067 Jones, Smith
3068 Jones, Smith et al
3069 \end{lstlisting}
3070 %
3071 will sort exactly the same. The default setting of \opt{nosortothers} always sorts in the order shown in the example, that is, by default, truncated names lists always sort after any name lists identical to the point of truncation.
3072
3073 This option is also settable on a per-type, per-entry and per-namelist basis.
3074 \end{optionlist}
3075
3076 \begin{table}
3077 \caption{Disambiguation counters}
3078 \label{use:opt:tab1}
3079 \footnotesize
3080 \ttfamily
3081 \tablesetup
3082 \begin{tabularx}{\textwidth}{XXXX}
3083 \toprule
3084 \multicolumn{1}{@{}H}{Option} &
3085 \multicolumn{1}{@{}H}{Enabled field(s)} &
3086 \multicolumn{1}{@{}H}{Enabled counter} &
3087 \multicolumn{1}{@{}H}{Counter tracks} \\
3088 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
3089 labelalpha & labelalpha & extraalpha & label\\
3090 labeldateparts & labelyear & extradate & extradate context+labelyear\\
3091 & labelmonth & & \\
3092 & labelday & & \\
3093 & labelendyear & & \\
3094 & labelendmonth & & \\
3095 & labelendday & & \\
3096 & labelhour & & \\
3097 & labelminute & & \\
3098 & labelsecond & & \\
3099 & labelendhour & & \\
3100 & labelendminute & & \\
3101 & labelendsecond & & \\
3102 & labelyeardivision & & \\
3103 & labelendyeardivision & & \\
3104 & labeltimezone & & \\
3105 & labelendtimezone & & \\
3106 labeltitle & {\rmfamily ---} & extratitle & labelname+labeltitle\\
3107 labeltitleyear & {\rmfamily ---} & extratitleyear & labeltitle+labelyear\\
3108 {\rmfamily ---} & {\rmfamily ---} & extraname & labelname\\
3109 \bottomrule
3110 \end{tabularx}
3111 \end{table}
3112
3113 \subsubsection{Entry Options}
3114 \label{use:opt:bib}
3115
3116 Entry options are package options which determine how bibliography data entries are handled. They may be set at various scopes defined below.
3117
3118 \paragraph{Preamble/Type/Entry Options}
3119 \label{use:opt:bib:hyb}
3120
3121 The following options are settable on a per"=type basis or on a per"=entry in the \bibfield{options} field. In addition to that, they may also be used in the optional argument to \cmd{usepackage} as well as in the configuration file and the document preamble. This is useful if you want to change the default behaviour globally.
3122
3123 \begin{optionlist}
3124
3125 \boolitem[true]{useauthor}
3126
3127 Whether the \bibfield{author} is used in labels and considered during sorting. This may be useful if an entry includes an \bibfield{author} field but is usually not cited by author for some reason. Setting \kvopt{useauthor}{false} does not mean that the \bibfield{author} is ignored completely. It means that the \bibfield{author} is not used in labels and ignored during sorting. The entry will then be alphabetized by \bibfield{editor} or \bibfield{title}. With the standard styles, the \bibfield{author} is printed after the title in this case. See also \secref{use:srt}.
3128 This option is also settable on a per-type and per-entry basis.
3129
3130 \boolitem[true]{useeditor}
3131
3132 Whether the \bibfield{editor} replaces a missing \bibfield{author} in labels and during sorting. This may be useful if an entry includes an \bibfield{editor} field but is usually not cited by editor. Setting \kvopt{useeditor}{false} does not mean that the \bibfield{editor} is ignored completely. It means that the \bibfield{editor} does not replace a missing \bibfield{author} in labels and during sorting. The entry will then be alphabetized by \bibfield{title}. With the standard styles, the \bibfield{editor} is printed after the title in this case. See also \secref{use:srt}.
3133 This option is also settable on a per-type and per-entry basis.
3134
3135 \boolitem[false]{usetranslator}
3136
3137 Whether the \bibfield{translator} replaces a missing \bibfield{author}\slash \bibfield{editor} in labels and during sorting. Setting \kvopt{usetranslator}{true} does not mean that the \bibfield{translator} overrides the \bibfield{author}\slash \bibfield{editor}. It means that the \bibfield{translator} is considered as a fallback if the \bibfield{author}\slash \bibfield{editor} is missing or if \opt{useauthor} and \opt{useeditor} are set to \texttt{false}. In other words, in order to cite a book by translator rather than by author, you need to set the following options:
3138 This option is also settable on a per-type and per-entry basis.
3139
3140 \begin{lstlisting}[style=bibtex]{}
3141 @Book{...,
3142 options = {useauthor=false,usetranslator=true},
3143 author = {...},
3144 translator = {...},
3145 ...
3146 \end{lstlisting}
3147 %
3148 With the standard styles, the \bibfield{translator} is printed after the title by default. See also \secref{use:srt}.
3149
3150 \boolitem[true]{use$<$name$>$}
3151
3152 As per \opt{useauthor}, \opt{useeditor} and \opt{usetranslator}, all name lists defined in the data model have an option controlling their behaviour in sorting and labelling automatically
3153 defined. Global, per-type and per-entry options called <use$<$name$>$>are automatically created.
3154
3155 \boolitem[false]{useprefix}
3156
3157 Whether the default data model name part <prefix> (von, van, of, da, de, della, etc.) is considered when:
3158
3159 \begin{itemize}
3160 \item Printing the family name in citations
3161 \item Sorting
3162 \item Generation of certain types of labels
3163 \item Generating name uniqueness information
3164 \item Formatting aspects of the bibliography
3165 \end{itemize}
3166
3167 %
3168 For example, if this option is enabled, \biblatex precedes the family name with the prefix---Ludwig van Beethoven would be cited as «van Beethoven» and alphabetized as «Van Beethoven, Ludwig». If this option is disabled (the default), he is cited as «Beethoven» and alphabetized as «Beethoven, Ludwig van» instead.
3169 This option is also settable on a per-type scope. With \biblatexml datasources and the \bibtex extended name format supported by \biber (see \secref{use:enf}), this is also settable on per-namelist and per-name scopes.
3170
3171 \optitem{indexing}{\opt{true}, \opt{false}, \opt{cite}, \opt{bib}}
3172
3173 The \opt{indexing} option is also settable per-type or per-entry basis. See \secref{use:opt:pre:gen} for details.
3174
3175 \boolitem[false]{skipbib}
3176
3177 If this option is enabled, the entry is excluded from the bibliography but it may still be cited.
3178 This option is also settable on a per-type basis.
3179
3180 \boolitem[false]{skipbiblist}
3181
3182 If this option is enabled, the entry is excluded from bibliography lists. It is still included in the bibliography and it may also be cited by shorthand etc.
3183 This option is also settable on a per-type basis.
3184
3185 \boolitem[false]{skiplab}
3186
3187 If this option is enabled, \biblatex will not assign any labels to the entry. It is not required for normal operation. Use it with care. If enabled, \biblatex can not guarantee unique citations for the respective entry and citations styles which require labels may fail to create valid citations for the entry.
3188 This option is also settable on a per-type basis.
3189
3190 \boolitem[false]{dataonly}
3191
3192 Setting this option is equivalent to \kvopt{uniquename}{false}, \kvopt{uniquelist}{false, }\opt{skipbib}, \opt{skipbiblist}, and \opt{skiplab}. It is not required for normal operation. Use it with care.
3193 This option is also settable on a per-type basis.
3194
3195 \paragraph{Entry Only Options}
3196 \label{use:opt:bib:entry}
3197
3198 The following options are settable only on a per"=entry in the \bibfield{options} field. They are not available globally or per"=type.
3199
3200 \valitem{labelnamefield}{fieldname}
3201
3202 Specifies the field to consider first when looking for a \bibfield{labelname} candidate. It is essentially prepended to the search list created by \cmd{DeclareLabelname} for just this entry.
3203
3204 \valitem{labeltitlefield}{fieldname}
3205
3206 Specifies the field to consider first when looking for a \bibfield{labeltitle} candidate. It is essentially prepended to the search list created by \cmd{DeclareLabeltitle} for just this entry.
3207
3208 \end{optionlist}
3209
3210 \subsubsection{Legacy Options}
3211
3212 The following legacy option may be used globally in the optional argument to \cmd{documentclass} or locally in the optional argument to \cmd{usepackage}:
3213
3214 \begin{optionlist}
3215
3216 \legitem{openbib}\DeprecatedMark This option is provided for backwards compatibility with the standard LaTeX document classes. \opt{openbib} is similar to \kvopt{block}{par}.
3217
3218 \end{optionlist}
3219
3220 \subsection{Global Customization}
3221 \label{use:cfg}
3222
3223 Apart from writing new citation and bibliography styles, there are numerous ways to customize the styles which come with this package. Customization will usually take place in the preamble, but there is also a configuration file for permanent adaptions. The configuration file may also be used to initialize the package options to a value different from the package default.
3224
3225 \subsubsection{Configuration File}
3226 \label{use:cfg:cfg}
3227
3228 If available, this package will load the configuration file \path{biblatex.cfg}. This file is read at the end of the package, immediately after the citation and bibliography styles have been loaded.
3229
3230 \subsubsection{Setting Package Options}
3231 \label{use:cfg:opt}
3232
3233 The load-time package options in \secref{use:opt:ldt} must be given in the optional argument to \cmd{usepackage}. The package options in \secref{use:opt:pre} may also be given in the preamble. The options are executed with the following command:
3234
3235 \begin{ltxsyntax}
3236
3237 \cmditem{ExecuteBibliographyOptions}[entrytype, \dots]{key=value, \dots}
3238
3239 This command may also be used in the configuration file to modify the default setting of a package option. Certain options are also settable on a per-type basis. In this case, the optional \prm{entrytype} argument specifies the entry type. The \prm{entrytype} argument may be a comma"=separated list of values.
3240
3241 \end{ltxsyntax}
3242
3243 \subsection{Standard Styles}
3244 \label{use:xbx}
3245
3246 This section provides a short description of all bibliography and citation styles which come with the \biblatex package. Each style is further illustrated in a style example which is linked in the right margin. The local link may not be available if this document does not reside in the expected folder structure. If you want to write your own styles, see \secref{aut}.
3247
3248 \subsubsection{Citation Styles}
3249 \label{use:xbx:cbx}
3250
3251 The citation styles which come with this package implement several common citation schemes. All standard styles cater for the \bibfield{shorthand} field and support hyperlinks as well as indexing.
3252
3253 \begin{marglist}
3254
3255 \item[numeric]\seestyleexample{30-style-numeric-biber}
3256 This style implements a numeric citation scheme similar to the standard bibliographic facilities of \latex. It should be employed in conjunction with a numeric bibliography style which prints the corresponding labels in the bibliography. It is intended for in-text citations. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labelnumber}{true}. This style also provides an additional preamble option called \opt{subentry} which affects the handling of entry sets. If this option is disabled, citations referring to a member of a set will point to the entire set. If it is enabled, the style supports citations like «[5c]» which point to a subentry in a set (the third one in this example). See the style example for details.
3257
3258 \item[numeric-comp]\seestyleexample{31-style-numeric-comp-biber}
3259 A compact variant of the \texttt{numeric} style which prints a list of more than two consecutive numbers as a range. This style is similar to the \sty{cite} package and the \opt{sort\&compress} option of the \sty{natbib} package in numerical mode. For example, instead of «[8, 3, 1, 7, 2]» this style would print «[1--3, 7, 8]». It is intended for in-text citations. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{sortcites}{true}, \kvopt{labelnumber}{true}. It also provides the \opt{subentry} and \opt{subentrycomp} options.
3260
3261 \item[numeric-verb]\seestyleexample{32-style-numeric-verb-biber}
3262 A verbose variant of the \texttt{numeric} style. The difference affects the handling of a list of citations and is only apparent when multiple entry keys are passed to a single citation command. For example, instead of «[2, 5, 6]» this style would print «[2]; [5]; [6]». It is intended for in-text citations. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labelnumber}{true}. It also provides the \opt{subentry} option.
3263
3264 \item[alphabetic]\seestyleexample{40-style-alphabetic-biber}
3265 This style implements an alphabetic citation scheme similar to the \path{alpha.bst} style of traditional \bibtex. The alphabetic labels resemble a compact author"=year style to some extent, but the way they are employed is similar to a numeric citation scheme. For example, instead of «Jones 1995» this style would use the label «[Jon95]». «Jones and Williams 1986» would be rendered as «[JW86]». This style should be employed in conjunction with an alphabetic bibliography style which prints the corresponding labels in the bibliography. It is intended for in-text citations. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labelalpha}{true}. This style also provides an additional preamble option called \opt{subentry} which affects the handling of entry sets. If this option is disabled, citations referring to a member of a set will point to the entire set. If it is enabled, the style supports citations like «[SGW(c)]» which point to a subentry in a set (the third one in this example). See the style example for details.
3266
3267 \item[alphabetic-verb]\seestyleexample{41-style-alphabetic-verb-biber}
3268 A verbose variant of the \texttt{alphabetic} style. The difference affects the handling of a list of citations and is only apparent when multiple entry keys are passed to a single citation command. For example, instead of «[Doe92; Doe95; Jon98]» this style would print «[Doe92]; [Doe95]; [Jon98]». It is intended for in-text citations. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labelalpha}{true}. It also provides the subentry option.
3269
3270 \item[authoryear]\seestyleexample{50-style-authoryear-biber}
3271 This style implements an author"=year citation scheme. If the bibliography contains two or more works by the same author which were all published in the same year, a letter is appended to the year. For example, this style would print citations such as «Doe 1995a; Doe 1995b; Jones 1998». This style should be employed in conjunction with an author"=year bibliography style which prints the corresponding labels in the bibliography. It is primarily intended for in-text citations, but it could also be used with citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labeldateparts}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3272
3273 \item[authoryear-comp]\seestyleexample{52-style-authoryear-comp-biber}
3274 A compact variant of the \texttt{authoryear} style which prints the author only once if subsequent references passed to a single citation command share the same author. If they share the same year as well, the year is also printed only once. For example, instead of «Doe 1995b; Doe 1992; Jones 1998; Doe 1995a» this style would print «Doe 1992, 1995a,b; Jones 1998». It is primarily intended for in-text citations, but it could also be used with citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{sortcites}{true}, \kvopt{labeldateparts}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3275
3276 \item[authoryear-ibid]\seestyleexample{51-style-authoryear-ibid-biber}
3277 A variant of the \texttt{authoryear} style which replaces repeated citations by the abbreviation \emph{ibidem} unless the citation is the first one on the current page or double-page spread, or the \emph{ibidem} would be ambiguous in the sense of the package option \kvopt{ibidtracker}{constrict}. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labeldateparts}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}. This style also provides an additional preamble option called \opt{ibidpage}. See the style example for details.
3278
3279 \item[authoryear-icomp]\seestyleexample{53-style-authoryear-icomp-biber}
3280 A style combining \texttt{authoryear-comp} and \texttt{authoryear-ibid}. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{labeldateparts}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}, \kvopt{sortcites}{true}. This style also provides an additional preamble option called \opt{ibidpage}. See the style example for details.
3281
3282 \item[authortitle]\seestyleexample{60-style-authortitle-biber}
3283 This style implements a simple author"=title citation scheme. It will make use of the \bibfield{shorttitle} field, if available. It is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3284
3285 \item[authortitle-comp]\seestyleexample{62-style-authortitle-comp-biber}
3286 A compact variant of the \texttt{authortitle} style which prints the author only once if subsequent references passed to a single citation command share the same author. For example, instead of «Doe, \emph{First title}; Doe, \emph{Second title}» this style would print «Doe, \emph{First title}, \emph{Second title}». It is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{sortcites}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3287
3288 \item[authortitle-ibid]\seestyleexample{61-style-authortitle-ibid-biber}
3289 A variant of the \texttt{authortitle} style which replaces repeated citations by the abbreviation \emph{ibidem} unless the citation is the first one on the current page or double-page spread, or the \emph{ibidem} would be ambiguous in the sense of the package option \kvopt{ibidtracker}{constrict}. It is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}. This style also provides an additional preamble option called \opt{ibidpage}. See the style example for details.
3290
3291 \item[authortitle-icomp]\seestyleexample{63-style-authortitle-icomp-biber}
3292 A style combining the features of \texttt{authortitle-comp} and \texttt{authortitle-ibid}. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}, \kvopt{sortcites}{true}. This style also provides an additional preamble option called \opt{ibidpage}. See the style example for details.
3293
3294 \item[authortitle-terse]\seestyleexample{64-style-authortitle-terse-biber}
3295 A terse variant of the \texttt{authortitle} style which only prints the title if the bibliography contains more than one work by the respective author\slash editor. This style will make use of the \bibfield{shorttitle} field, if available. It is suitable for in-text citations as well as citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{singletitle}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3296
3297 \item[authortitle-tcomp]\seestyleexample{65-style-authortitle-tcomp-biber}
3298 A style combining the features of \texttt{authortitle-comp} and \texttt{authortitle-terse}. This style will make use of the \bibfield{shorttitle} field, if available. It is suitable for in-text citations as well as citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{sortcites}{true}, \kvopt{singletitle}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}.
3299
3300 \item[authortitle-ticomp]\seestyleexample{66-style-authortitle-ticomp-biber}
3301 A style combining the features of \texttt{authortitle-icomp} and \texttt{authortitle-terse}. In other words: a variant of the \texttt{authortitle-tcomp} style with an \emph{ibidem} feature. This style is suitable for in-text citations as well as citations given in footnotes. It will set the following package options at load time: \kvopt{autocite}{inline}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}, \kvopt{sortcites}{true}, \kvopt{singletitle}{true}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}. This style also provides an additional preamble option called \opt{ibidpage}. See the style example for details.
3302
3303 \item[verbose]\seestyleexample{70-style-verbose-biber}
3304 A verbose citation style which prints a full citation similar to a bibliography entry when an entry is cited for the first time, and a short citation afterwards. If available, the \bibfield{shorttitle} field is used in all short citations. If the \bibfield{shorthand} field is defined, the shorthand is introduced on the first citation and used as the short citation thereafter. This style may be used without a list of references and shorthands since all bibliographic data is provided on the first citation. It is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}. This style also provides an additional preamble option called \opt{citepages}. See the style example for details.
3305
3306 \item[verbose-ibid]\seestyleexample{71-style-verbose-ibid-biber}
3307 A variant of the \texttt{verbose} style which replaces repeated citations by the abbreviation \emph{ibidem} unless the citation is the first one on the current page or double-page spread, or the \emph{ibidem} would be ambiguous in the sense of \kvopt{ibidtracker}{strict}. This style is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{ibidtracker}{constrict}, \kvopt{pagetracker}{true}. This style also provides additional preamble options called \opt{ibidpage} and \opt{citepages}. See the style example for details.
3308
3309 \item[verbose-note]\seestyleexample{72-style-verbose-note-biber}
3310 This style is similar to the \texttt{verbose} style in that it prints a full citation similar to a bibliography entry when an entry is cited for the first time, and a short citation afterwards. In contrast to the \texttt{verbose} style, the short citation is a pointer to the footnote with the full citation. If the bibliography contains more than one work by the respective author\slash editor, the pointer also includes the title. If available, the \bibfield{shorttitle} field is used in all short citations. If the \bibfield{shorthand} field is defined, it is handled as with the \texttt{verbose} style. This style may be used without a list of references and shorthands since all bibliographic data is provided on the first citation. It is exclusively intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{singletitle}{true}. This style also provides additional preamble options called \opt{pageref} and \opt{citepages}. See the style example for details.
3311
3312 \item[verbose-inote]\seestyleexample{73-style-verbose-inote-biber}
3313 A variant of the \texttt{verbose"=note} style which replaces repeated citations by the abbreviation \emph{ibidem} unless the citation is the first one on the current page or double-page spread, or the \emph{ibidem} would be ambiguous in the sense of \kvopt{ibidtracker}{strict}. This style is exclusively intended for citations given in footnotes. It will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{ibidtracker}{constrict}, \kvopt{singletitle}{true}, \kvopt{pagetracker}{true}. This style also provides additional preamble options called \opt{ibidpage}, \opt{pageref}, and \opt{citepages}. See the style example for details.
3314
3315 \item[verbose-trad1]\seestyleexample{74-style-verbose-trad1-biber}
3316 This style implements a traditional citation scheme. It is similar to the \texttt{verbose} style in that it prints a full citation similar to a bibliography entry when an item is cited for the first time, and a short citation afterwards. Apart from that, it uses the scholarly abbreviations \emph{ibidem}, \emph{idem}, \emph{op.~cit.}, and \emph{loc.~cit.} to replace recurrent authors, titles, and page numbers in repeated citations in a special way. If the \bibfield{shorthand} field is defined, the shorthand is introduced on the first citation and used as the short citation thereafter. This style may be used without a list of references and shorthands since all bibliographic data is provided on the first citation. It is intended for citations given in footnotes. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{ibidtracker}{constrict}, \kvopt{idemtracker}{constrict}, \kvopt{opcittracker}{context}, \kvopt{loccittracker}{context}. This style also provides additional preamble options called \opt{ibidpage}, \opt{strict}, and \opt{citepages}. See the style example for details.
3317
3318 \item[verbose-trad2]\seestyleexample{75-style-verbose-trad2-biber}
3319 Another traditional citation scheme. It is also similar to the \texttt{verbose} style but uses scholarly abbreviations like \emph{ibidem} and \emph{idem} in repeated citations. In contrast to the \texttt{verbose-trad1} style, the logic of the \emph{op.~cit.} abbreviations is different in this style and \emph{loc.~cit.} is not used at all. It is in fact more similar to \texttt{verbose-ibid} and \texttt{verbose-inote} than to \texttt{verbose-trad1}. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{ibidtracker}{constrict}, \kvopt{idemtracker}{constrict}. This style also provides additional preamble options called \opt{ibidpage}, \opt{strict}, and \opt{citepages}. See the style example for details.
3320
3321 \item[verbose-trad3]\seestyleexample{76-style-verbose-trad3-biber}
3322 Yet another traditional citation scheme. It is similar to the \texttt{verbose-trad2} style but uses the scholarly abbreviations \emph{ibidem} and \emph{op.~cit.} in a slightly different way. The style will set the following package options at load time: \kvopt{autocite}{footnote}, \kvopt{citetracker}{context}, \kvopt{ibidtracker}{constrict}, \kvopt{loccittracker}{constrict}. This style also provides additional preamble options called \opt{strict} and \opt{citepages}. See the style example for details.
3323
3324 \item[reading]\seestyleexample{80-style-reading-biber}
3325 A citation style which goes with the bibliography style by the same name. It simply loads the \texttt{authortitle} style.
3326
3327 \end{marglist}
3328
3329 The following citation styles are special purpose styles. They are not intended for the final version of a document:
3330
3331 \begin{marglist}
3332
3333 \item[draft]\seestyleexample{81-style-draft-biber}
3334 A draft style which uses the entry keys in citations. The style will set the following package options at load time: \kvopt{autocite}{plain}.
3335
3336 \item[debug]\seestyleexample{82-style-debug-biber}
3337 This style prints the entry key rather than some kind of label. It is intended for debugging only and will set the following package options at load time: \kvopt{autocite}{plain}.
3338
3339 \end{marglist}
3340
3341 \subsubsection{Bibliography Styles}
3342 \label{use:xbx:bbx}
3343
3344 All bibliography styles which come with this package use the same basic format for the individual bibliography entries. They only differ in the kind of label printed in the bibliography and the overall formatting of the list of references. There is a matching bibliography style for every citation style. Note that some bibliography styles are not mentioned below because they simply load a more generic style. For example, the bibliography style \texttt{authortitle-comp} will load the \texttt{authortitle} style.
3345
3346 \begin{marglist}
3347
3348 \item[numeric]\seestyleexample{30-style-numeric-biber}
3349 This style prints a numeric label similar to the standard bibliographic facilities of \latex. It is intended for use in conjunction with a numeric citation style. Note that the \bibfield{shorthand} field overrides the default label. The style will set the following package options at load time: \kvopt{labelnumber}{true}. This style also provides an additional preamble option called \opt{subentry} which affects the formatting of entry sets. If this option is enabled, all members of a set are marked with a letter which may be used in citations referring to a set member rather than the entire set. See the style example for details.
3350
3351 \item[alphabetic]\seestyleexample{40-style-alphabetic-biber}
3352 This style prints an alphabetic label similar to the \path{alpha.bst} style of traditional \bibtex. It is intended for use in conjunction with an alphabetic citation style. Note that the \bibfield{shorthand} field overrides the default label. The style will set the following package options at load time: \kvopt{labelalpha}{true}, \kvopt{sorting}{anyt}.
3353
3354 \item[authoryear]\seestyleexample{50-style-authoryear-biber}
3355 This style differs from the other styles in that the publication date is not printed towards the end of the entry but rather after the author\slash editor. It is intended for use in conjunction with an author"=year citation style. Recurring author and editor names are replaced by a dash unless the entry is the first one on the current page or double-page spread. This style provides an additional preamble option called \opt{dashed} which controls this feature. It also provided a preamble option called \opt{mergedate}. See the style example for details. The style will set the following package options at load time: \kvopt{labeldateparts}{true}, \kvopt{sorting}{nyt}, \kvopt{pagetracker}{true}, \kvopt{mergedate}{true}.
3356
3357 \item[authortitle]\seestyleexample{60-style-authortitle-biber}
3358 This style does not print any label at all. It is intended for use in conjunction with an author"=title citation style. Recurring author and editor names are replaced by a dash unless the entry is the first one on the current page or double-page spread. This style also provides an additional preamble option called \opt{dashed} which controls this feature. See the style example for details. The style will set the following package options at load time: \kvopt{pagetracker}{true}.
3359
3360 \item[verbose]\seestyleexample{70-style-verbose-biber}
3361 This style is similar to the \texttt{authortitle} style. It also provides an additional preamble option called \opt{dashed}. See the style example for details. The style will set the following package options at load time: \kvopt{pagetracker}{true}.
3362
3363 \item[reading]\seestyleexample{80-style-reading-biber}
3364 This special bibliography style is designed for personal reading lists, annotated bibliographies, and similar applications. It optionally includes the fields \bibfield{annotation}, \bibfield{abstract}, \bibfield{library}, and \bibfield{file} in the bibliography. If desired, it also adds various kinds of short headers to the bibliography. This style also provides the additional preamble options \opt{entryhead}, \opt{entrykey}, \opt{annotation}, \opt{abstract}, \opt{library}, and \opt{file} which control whether or not the corresponding items are printed in the bibliography. See the style example for details. See also \secref{use:use:prf}. The style will set the following package options at load time: \kvopt{loadfiles}{true}, \kvopt{entryhead}{true}, \kvopt{entrykey}{true}, \kvopt{annotation}{true}, \kvopt{abstract}{true}, \kvopt{library}{true}, \kvopt{file}{true}.
3365
3366 \end{marglist}
3367
3368 The following bibliography styles are special purpose styles. They are not intended for the final version of a document:
3369
3370 \begin{marglist}
3371
3372 \item[draft]\seestyleexample{81-style-draft-biber}
3373 This draft style includes the entry keys in the bibliography. The bibliography will be sorted by entry key. The style will set the following package options at load time: \kvopt{sorting}{debug}.
3374
3375 \item[debug]\seestyleexample{82-style-debug-biber}
3376 This style prints all bibliographic data in tabular format. It is intended for debugging only and will set the following package options at load time: \kvopt{sorting}{debug}.
3377
3378 \end{marglist}
3379
3380 \subsection{Extended Name Format}
3381 \label{use:enf}
3382 The parsing rules for \bibtex names are rather archaic and not suited to
3383 many international name formats. \biber supports an extended name format
3384 which allows explicit specification of the parts of names. This allows the
3385 use of custom name parts apart from the four standard \bibtex parts. Extended
3386 name formats are supported in all name fields and can be used along with
3387 the usual \bibtex name format. Recognition of extended name format can be
3388 disabled with the \biber option \opt{--noxname} in case you do not need the
3389 extended format and the auto-detection causes problems with normal name
3390 parsing. The separator \verb+=+ which comes between the namepart names and
3391 values is customisable with the \biber option \opt{--xnamesep}. Here is an
3392 example:
3393
3394 \begin{lstlisting}[style=bibtex]{}
3395 AUTHOR = {Hans Harman and Simon de Beumont}
3396 AUTHOR = {given=Hans, family=Harman and given=Simon, prefix=de, family=Beumont}
3397 \end{lstlisting}
3398 %
3399 These two name specifications are equivalent but the extended format
3400 explicitly names the parts. The supported parts are those specified by the
3401 \biblatex data mode constant \opt{nameparts}, see \secref{aut:bbx:drv}. As
3402 with traditional \bibtex name parsing, initials are automatically generated
3403 but it is also possible to specify these explicitly:
3404
3405 \begin{lstlisting}[style=bibtex]{}
3406 AUTHOR = {given=Jean, prefix=de la, prefix-i=d, family=Rousse}
3407 AUTHOR = {given={Jean Pierre Simon}, given-i=JPS}
3408 \end{lstlisting}
3409 %
3410 Initials are specified by adding the suffix \verb+-i+ to the namepart name.
3411 Compound parts may be protected with braces:
3412
3413 \begin{lstlisting}[style=bibtex]{}
3414 AUTHOR = {given={Jean Pierre}}
3415 \end{lstlisting}
3416 %
3417 If a namepart contains a comma, the whole namepart should be protected with
3418 quotes:
3419
3420 \begin{lstlisting}[style=bibtex]{}
3421 AUTHOR = {"family={Robert and Sons, Inc.}"}
3422 \end{lstlisting}
3423 %
3424 Traditional \bibtex name formats and the extended form may be used together:
3425
3426 \begin{lstlisting}[style=bibtex]{}
3427 AUTHOR = {Hans Harman and given=Simon, prefix=de, family=Beumont}
3428 \end{lstlisting}
3429 %
3430 Per-namelist and per-name options may be specified in the extended name
3431 format, see \secref{use:opt:bib:hyb}:
3432
3433 \begin{lstlisting}[style=bibtex]{}
3434 AUTHOR = {nosortothers=true and Hans Harman and
3435 given=Simon, family=Beumont, prefix=de, useprefix=true}
3436 \end{lstlisting}
3437 %
3438 A special \prm{id} parameter may also be used for any name and this will be used to override the hash used to detect identical names, for example, a gender change could be handled like this (see also \secref{aut:cav:ni}):
3439
3440 \begin{lstlisting}[style=bibtex]{}
3441 AUTHOR = {id=person1, given=Simon, family=Beumont}
3442 AUTHOR = {id=person1, given=Simone, family=Beumont}
3443 \end{lstlisting}
3444
3445 \subsection{Related Entries}
3446 \label{use:rel}
3447
3448 Almost all bibliography styles require authors to specify certain types of relationship between entries such as «Reprint of», «Reprinted in» etc. It is impossible to provide data fields to cover all of these relationships and so \biblatex provides a general mechanism for this using the entry fields \bibfield{related}, \bibfield{relatedtype} and \bibfield{relatedstring}. A related entry does not need to be cited and does not appear in the bibliography itself (unless of course it is also cited itself independently) as a clone is taken of the related entry to be used as a data source. The \bibfield{relatedtype} field specifies the type of relation between the current and the related entry. It can select a type-specific bibliography macro to print the related entries and will often also be a localisation string which will be printed before the information from the related entries is printed, for example «Orig. Pub. as». The \bibfield{relatedstring} field can be used to override the string determined via \bibfield{relatedtype}. Some examples:
3449
3450 \begin{lstlisting}[style=bibtex]{}
3451 @Book{key1,
3452 ...
3453 related = {key2},
3454 relatedtype = {reprintof},
3455 ...
3456 }
3457
3458 @Book{key2,
3459 ...
3460 }
3461 \end{lstlisting}
3462 %
3463 Here we specify that entry \texttt{key1} is a reprint of entry \texttt{key2}. In the bibliography driver for \texttt{Book} entries, when \cmd{usebibmacro\{related\}} is called for entry \texttt{key1}:
3464
3465 \begin{itemize}
3466 \item If the localisation string «\texttt{reprintof}» is defined, it is printed in the \texttt{relatedstring:reprintof} format. If this formatting directive is undefined, the string is printed in the \texttt{relatedstring:default} format.
3467 \item If the \texttt{related:reprintof} macro is defined, it is used to format the information contained in entry \texttt{key2}, otherwise the \texttt{related:default} macro is used
3468 \item If the \texttt{related:reprintof} format is defined, it is used to format both the localisation string and data. If this format is not defined, then the \texttt{related} format is used instead.
3469 \end{itemize}
3470 %
3471 It is also supported to have cascading and/or circular relations:
3472
3473 \begin{lstlisting}[style=bibtex]{}
3474 @Book{key1,
3475 ...
3476 related = {key2},
3477 relatedtype = {reprintof},
3478 ...
3479 }
3480
3481 @Book{key2,
3482 ...
3483 related = {key3},
3484 relatedtype = {translationof},
3485 ...
3486 }
3487
3488 @Book{key3,
3489 ...
3490 related = {key2},
3491 relatedtype = {translationas},
3492 ...
3493 }
3494 \end{lstlisting}
3495 %
3496 Multiple relations to the same entry are also possible:
3497 \begin{lstlisting}[style=bibtex]{}
3498 @MVBook{key1,
3499 ...
3500 related = {key2,key3},
3501 relatedtype = {multivolume},
3502 ...
3503 }
3504
3505 @Book{key2,
3506 ...
3507 }
3508
3509 @Book{key3,
3510 ...
3511 }
3512 \end{lstlisting}
3513 %
3514 Note the order of the keys in lists of multiple related entries is important. The data from multiple related entries is printed in the order of the keys listed in this field. See \secref{aut:ctm:rel} for a more details on the mechanisms behind this feature. You can turn this feature off using the package option \opt{related} from \secref{use:opt:pre:gen}.
3515
3516 You can use the \bibfield{relatedoptions} to set options on the related entry data clone. This is useful if you need to override the \opt{dataonly} option which is set by default on all related entry clones. For example, if you will expose some of the names in the related clone in your document, you may want to have them disambiguated from names in other entries but normally this won't happen as related clones have the per"=entry \opt{dataonly} option set and this in turn sets \kvopt{uniquename}{false} and \kvopt{uniquelist}{false}. In such a case, you can set \bibfield{relatedoptions} to just \opt{skiplab, skipbib, skipbiblist}.
3517
3518 \subsection{Sorting Options}
3519 \label{use:srt}
3520
3521 This package supports fully customisable sorting templates for the bibliography. The default global sorting template is selected with the \opt{sorting} package option from \secref{use:opt:pre:gen}. Apart from the regular data fields there are also some special fields which may be used to optimize the sorting of the bibliography. \Apxref{apx:srt:a1, apx:srt:a2} give an outline of the default alphabetic sorting templates supported by \biblatex. Chronological sorting templates are listed in \apxref{apx:srt:chr}. A few explanations concerning the default templates are in order.
3522
3523 The first item considered in the sorting process is always the \bibfield{presort} field of the entry. If this field is undefined, \biblatex will use the default value <\texttt{mm}> as a presort string. The next item considered is the \bibfield{sortkey} field. If this field is defined, it serves as the master sort key. Apart from the \bibfield{presort} field, no further data is considered in this case. If the \bibfield{sortkey} field is undefined, sorting continues with the name. The package will try using the \bibfield{sortname}, \bibfield{author}, \bibfield{editor}, and \bibfield{translator} fields, in this order. Which fields are considered also depends on the setting of the \opt{use$<$name$>$} options. If all such options are disabled, the \bibfield{sortname} field is ignored as well. Note that all name fields are responsive to \opt{maxnames} and \opt{minnames}. If no name field is available, either because all of them are undefined or because all \opt{use$<$name$>$} options are disabled, \biblatex will fall back to the \bibfield{sorttitle} and \bibfield{title} fields as a last resort. The remaining items are, in various order: the \bibfield{sortyear} field, if defined, or the first four digits of the \bibfield{year} field otherwise; the \bibfield{sorttitle} field, if defined, or the \bibfield{title} field otherwise; the \bibfield{volume} field. Note that the sorting templates shown in \apxref{apx:srt:a2} include an additional item: \bibfield{labelalpha} is the label used by <alphabetic> bibliography styles. Strictly speaking, the string used for sorting is \bibfield{labelalpha}~+ \bibfield{extraalpha}. The sorting templates in \apxref{apx:srt:a2} are intended to be used in conjunction with alphabetic styles only.
3524
3525 The chronological sorting templates presented in \apxref{apx:srt:chr} also make use of the \bibfield{presort} and \bibfield{sortkey} fields, if defined. The next item considered is the \bibfield{sortyear} or the \bibfield{year} field, depending on availability. The \opt{ynt} template extracts the first four Arabic figures from the field. If both fields are undefined, the string \texttt{9999} is used as a fallback value. This means that all entries without a year will be moved to the end of the list. The \opt{ydnt} template is similar in concept but sorts the year in descending order. As with the \opt{ynt} template, the string \texttt{9999} is used as a fallback value. The remaining items are similar to the alphabetic sorting templates discussed above. Note that the \opt{ydnt} sorting template will only sort the date in descending order. All other items are sorted in ascending order as usual.
3526
3527 Most built-in sorting templates have a variant which sorts on all of the available parts of a full ISO8601 date right down to \bibfield{seconds} instead of only the year, see \secref{use:opt:pre}.
3528
3529 Using special fields such as \bibfield{sortkey}, \bibfield{sortname}, or \bibfield{sorttitle} is usually not required. The \biblatex package is quite capable of working out the desired sorting order by using the data found in the regular fields of an entry. You will only need them if you want to manually modify the sorting order of the bibliography or if any data required for sorting is missing. Please refer to the field descriptions in \secref{bib:fld:spc} for details on possible uses of the special fields.
3530
3531 \subsection{Data Annotations}
3532 \label{use:annote}
3533 Ideally, there should be no formatting information in a bibliography data file, however, sometimes such questionable practice seems to the only way in which the desired results can be achieved. Data annotations are a way of addressing this by allowing users to attach semantic information (rather than typographical markup) to information in a bibliography data source so that the information can be used at markup time by a style. For example, if you wanted to highlight certain names in a work depending on whether they were a student author (indicated by a superscript asterisk in the references) or a corresponding author (indicated by bold face), then you might be tempted to try:
3534
3535 \begin{lstlisting}[style=bibtex]{}
3536 @MISC{Article1,
3537 AUTHOR = {Last1\textsuperscript{*}, First1 and \textbf{Last2}, \textbf{First2} and Last3, First3}
3538 }
3539 \end{lstlisting}
3540 %
3541 There are several problems with this. Firstly, it will break \bibtex's fragile name parsing routines and probably won't compile at all. Secondly, it is not only mixing up data with markup, it does so in a hard-coded way: this data can't easily be shared and used with other styles. While it is possible to achieve this formatting using \biblatex internals in a style or document, this is a complex and unreliable method which many users will not wish to use.
3542
3543 In order to address these issues, \biblatex has a general data annotation facility which allows you to attach any number of a comma"=separated list of annotations to data fields, items within data field lists (like names) and even parts of specific items such as parts of names (given name, family name etc.). There are macros provided to check for annotations which can be used in formatting directives.
3544
3545 There are three «scopes» for data annotations, in order of increasing specificity:
3546
3547 \begin{itemize}
3548 \item \opt{field}---applied to top-level fields in a data source entry
3549 \item \opt{item}---applied to items within a list field in a data source entry
3550 \item \opt{part}---applied to parts within items within a list field in a data source entry
3551 \end{itemize}
3552 %
3553 Data annotations are supported for \bibtex and \biblatexml data sources.
3554
3555 \begin{lstlisting}[style=bibtex]{}
3556 @MISC{ann1,
3557 AUTHOR = {Last1, First1 and Last2, First2 and Last3, First3},
3558 AUTHOR+an = {1:family=student;2=corresponding},
3559 TITLE = {The Title},
3560 TITLE+an:default = {=titleannotation},
3561 TITLE+an:french = {="Le titre"},
3562 TITLE+an:german = {="Der Titel"},
3563 }
3564 \end{lstlisting}
3565 %
3566 Here the field name suffix \texttt{+an} is a user-definable\footnote{See \biber's \opt{--annotation-marker} option.} suffix which marks a data field as an annotation of the unsuffixed field. Multiple annotations can be provided for the same field since all annotations are named. After the annotation marker is the optional named annotation marker \footnote{See \biber's \opt{--named-annotation-marker} option.} and an optional annotation name. The annotation name is <default> if not specified and so in the above example the following two are equivalent:
3567
3568 \begin{lstlisting}[style=bibtex]{}
3569 TITLE+an = {=titleannotation},
3570 TITLE+an:default = {=titleannotation},
3571 \end{lstlisting}
3572 %
3573 The format of annotation fields in \bibtex data sources is is as follows:
3574
3575 \begin{lstlisting}
3576 <annotationspecs> ::= <annotationspec> [ ";" <annotationspec> ]
3577 <annotationspec> ::= [ <itemcount> [ ":" <part> ] ] "=" <annotations>
3578 <annotations> ::= <annotation> [ "," <annotation> ]
3579 <annotation> ::= ["] (string) ["]
3580 \end{lstlisting}
3581 %
3582 That is, one or more specifications separated by semicolons. Each specification is an equals sign followed by a comma"=separated list of annotation keywords or a string enclosed in double-quotes (a <literal> annotation, see below). To annotate a specific item in a list, put the number of the list item before the equals sign (lists start at 1). If you need to annotate a specific part of the list item, give its name after the list item number, preceded by a colon. Name part names are defined in the data model, see \secref{aut:bbx:drv}. Some further examples:
3583
3584 \begin{lstlisting}[style=bibtex]{}
3585 AUTHOR = {Last1, First1 and Last2, First2 and Last3, First3},
3586 AUTHOR+an = {3:given=annotation1, annotation2},
3587 TITLE = {A title},
3588 TITLE+an = {=a title annotation, another title annotation},
3589 LANGUAGE = {english and french},
3590 LANGUAGE+an = {1=annotation3; 2=annotation4}
3591 }
3592 \end{lstlisting}
3593 %
3594 Attaching annotations to data is similar in \biblatexml data sources. Using the example above, we would have:
3595
3596 \begin{lstlisting}[language=xml]
3597 <bltx:entries xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
3598 <bltx:entry id="test" entrytype="misc">
3599 <bltx:names type="author">
3600 <bltx:name>
3601 <bltx:namepart type="given" initial="F">First1</bltx:namepart>
3602 <bltx:namepart type="family" initial="L">Last1</bltx:namepart>
3603 </bltx:name>
3604 <bltx:name>
3605 <bltx:namepart type="given" initial="F">First2</bltx:namepart>
3606 <bltx:namepart type="family" initial="L">Last2</bltx:namepart>
3607 </bltx:name>
3608 <bltx:name>
3609 <bltx:namepart type="given" initial="F">First3</bltx:namepart>
3610 <bltx:namepart type="family" initial="L">Last3</bltx:namepart>
3611 </bltx:name>
3612 </bltx:names>
3613 </bltx:annotation field="author" item="1" part="family">student</bltx:annotation>
3614 </bltx:annotation field="author" item="2">corresponding</bltx:annotation>
3615 </bltx:entry>
3616 </bltx:entries>
3617 \end{lstlisting}
3618 %
3619 To access the annotation information when formatting bibliography data, macros are provided, corresponding to the three annotation scopes:
3620
3621 \begin{ltxsyntax}
3622
3623 \cmditem{iffieldannotation}[field][annotationname]{annotation}{true}{false}
3624
3625 Executes \prm{true} if the data field \prm{field} has an annotation \prm{annotation} for the annotation called \prm{annotationname} and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). If \prm{field} is not given, the current data field as indicated by \cmd{currentfield}, \cmd{currentlist} or \cmd{currentname} (see \secref{aut:bib:fmt}) is assumed. Of course, this is only possible if these commands are defined, that is, inside formatting directives.
3626
3627 \cmditem{ifitemannotation}[field][annotationname][item]{annotation}{true}{false}
3628
3629 Executes \prm{true} if the item \prm{item} in the data field \prm{field} has an annotation \prm{annotation} and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The optional argument \prm{field} can be inferred if not provided as with \cmd{iffieldannotation}. If \prm{item} is not given, the number of the item currently being processed as given by \cnt{listcount} is used.
3630
3631 \cmditem{ifpartannotation}[field][annotationname][item]{part}{annotation}{true}{false}
3632
3633 Executes \prm{true} if the part named \prm{part} in item \prm{item} in the data field \prm{field} has an annotation \prm{annotation} and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The two optional arguments \prm{field} and \prm{item} can be inferred as in \cmd{ifitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3634
3635 Date fields are special and handled in a context where \cmd{currentfield} is not accessible. Thus there is a fourth command to test annotations for dates.
3636
3637 \cmditem{ifdateannotation}[annotationname]{datetype}{annotation}{true}{false}
3638
3639 Executes \prm{true} if the date field \prm{datetype} has an annotation \prm{annotation} and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The \prm{datetype} argument is mandatory, because it cannot be inferred in most contexts where \cmd{ifdateannotation} will be used.
3640
3641 \cmditem{hasfieldannotation}[field][annotationname]{true}{false}
3642
3643 Executes \prm{true} if the data field \prm{field} has a literal annotation \prm{annotationname} defined and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). If \prm{field} is not given, the current data field as indicated by \cmd{currentfield}, \cmd{currentlist} or \cmd{currentname} (see \secref{aut:bib:fmt}) is assumed. Of course, this is only possible if these commands are defined, that is, inside formatting directives.
3644
3645 \cmditem{hasitemannotation}[field][annotationname][item]{true}{false}
3646
3647 Executes \prm{true} if the item \prm{item} in the data field \prm{field} has a literal annotation \prm{annotationname} defined and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The optional argument \prm{field} can be inferred if not provided as with \cmd{iffieldannotation}. If \prm{item} is not given, the number of the item currently being processed as given by \cnt{listcount} is used.
3648
3649 \cmditem{haspartannotation}[field][annotationname][item]{part}{true}{false}
3650
3651 Executes \prm{true} if the part named \prm{part} in the item \prm{item} in the data field \prm{field} has a literal annotation \prm{annotationname} defined and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The two optional arguments \prm{field} and \prm{item} can be inferred as in \cmd{ifitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3652
3653 Date fields are special and handled in a context where \cmd{currentfield} is not accessible. Thus there is a fourth command to test the existence of annotations for dates.
3654
3655 \cmditem{hasdateannotation}[annotationname]{datetype}{true}{false}
3656
3657 Executes \prm{true} if the date field \prm{datetype} has any annotation \prm{annotationname} defined and false otherwise. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The \prm{datetype} argument is mandatory, because it cannot be inferred in most contexts where \cmd{ifdateannotation} will be used.
3658
3659 \end{ltxsyntax}
3660 %
3661 As an example of how to use the annotation information to solve the problem originally presented in this section, this could be used in the name formatting directives to put an asterisk after all family names annotated as «student»:
3662
3663 \begin{lstlisting}[style=latex]{}
3664 \ifpartannotation{family}{student}
3665 {\textsuperscript{*}}
3666 {}%
3667 \end{lstlisting}
3668 %
3669 To put the given and family names of name list items annotated as «corresponding» in boldface:
3670
3671 \begin{lstlisting}[style=latex]{}
3672 \renewcommand*{\mkbibnamegiven}[1]{%
3673 \ifitemannotation{corresponding}
3674 {\textbf{#1}}
3675 {#1}}
3676
3677 \renewcommand*{\mkbibnamefamily}[1]{%
3678 \ifitemannotation{corresponding}
3679 {\textbf{#1}}
3680 {#1}}
3681 \end{lstlisting}
3682
3683 \subsubsection{Literal Annotations}
3684
3685 If the annotation is a string enclosed in double-quotes, the annotation is a <literal> annotation. In this case the annotation can be retrieved and used as a string rather than as meta-information used to determine formatting. This is useful in order to be able to attached specific annotations to data which are to be printed as-is. For example:
3686
3687 \begin{lstlisting}[style=bibtex]{}
3688 AUTHOR = {{American Educational Research Association} and {American Psychological Association}
3689 and {National Council on Measurement in Education}},
3690 AUTHOR+an = {1:family="AERA"; 2:family="APA"; 3:family="NCME"}
3691 }
3692 \end{lstlisting}
3693 %
3694 Such annotations are not keys whose presence can be tested for but are rather literal information attached to the data. The values are retrieved by the following macros
3695
3696 \begin{ltxsyntax}
3697
3698 \cmditem{getfieldannotation}[field][annotationname]
3699
3700 Retrieves any literal annotation for the field \prm{field}. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). If \prm{field} is not given, the current data field as indicated by \cmd{currentfield}, \cmd{currentlist} or \cmd{currentname} (see \secref{aut:bib:fmt}) is assumed. Of course, this is only possible if these commands are defined, that is, inside formatting directives.
3701
3702 \cmditem{getitemannotation}[field][annotationname][item]
3703
3704 Retrieves any literal annotation for the item \prm{item} in the field \prm{field}. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The optional argument \prm{field} can be inferred if not provided as with \cmd{getfieldannotation}. If \prm{item} is not given, the number of the item currently being processed as given by \cnt{listcount} is used.
3705
3706 \cmditem{getpartannotation}[field][annotationname][item]{part}
3707
3708 Retrieves any literal annotation for the part \prm{part}. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The two optional arguments \prm{field} and \prm{item} can be inferred as in \cmd{getitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3709
3710 Date fields are special and handled in a context where \cmd{currentfield} is not accessible. Thus there is a fourth command to access literal annotations for dates.
3711
3712 \cmditem{getdateannotation}[annotationname]{datetype}
3713
3714 Retrieve a literal annotation for the datefield \prm{datetype}. If \prm{annotationname} is not given, then the annotation named <default> is assumed (this is the name given to annotations defined without an explicit name). The \prm{datetype} argument is mandatory, because it cannot be inferred in most contexts where \cmd{getdateannotation} will be used.
3715
3716 \end{ltxsyntax}
3717 %
3718 So, for example, given the bibliography entry above, we could put the following in the preamble:
3719
3720 \begin{ltxexample}[style=latex]
3721 \renewcommand*{\mkbibnamefamily}[1]{%
3722 #1\space\mkbibparens{\getpartannotation{family}}}
3723 \end{ltxexample}
3724 %
3725 In order to get something like this in the bibliography when formatting names:
3726
3727 \begin{lstlisting}[style=bibtex]{}
3728 American Educational Research Association (AERA) and
3729 American Psychological Association (APA), and
3730 National Council on Measurement in Education (NCME)
3731 }
3732 \end{lstlisting}
3733 %
3734 Naturally there are semantically more elegant ways of dealing with corporate authors without using the <family> namepart (see \secref{aut:bbx:drv}) but this example demonstrates clearly a use for literal annotations.
3735
3736 \subsection{Bibliography Commands}
3737 \label{use:bib}
3738
3739 \subsubsection{Resources}
3740 \label{use:bib:res}
3741
3742 \begin{ltxsyntax}
3743
3744 \cmditem{addbibresource}[options]{resource}
3745
3746 Adds a \prm{resource}, such as a \file{.bib} file, to the default resource list. This command is only available in the preamble. It replaces the \cmd{bibliography} legacy command. Note that files must be specified with their full name, including the extension. With \biber, the resource name can be a BSD-style glob pattern. This only makes sense when resources refer to files with an absolute or relative path and does not work when looking for data resources in \biber s input/output directories or with resources located by \prm{kpsewhich} etc. When running on Windows, \biber will switch to a Windows compatible globbing mode where backslashes are also usable as path separators and case does not matter. If the resources contain duplicate entries (that is, duplicate \bibfield{entrykey}s), it is backend dependent what then happens. For example, by default \biber will ignore further occurrence of \bibfield{entrykey}s unless its \opt{--noskipduplicates} options is used. Invoke \cmd{addbibresource} multiple times to add more resources, for example:
3747
3748 \begin{ltxexample}
3749 \addbibresource{bibfile1.bib}
3750 \addbibresource{bibfile2.bib}
3751 \addbibresource[glob]{bibfiles/bibfile*.bib}
3752 \addbibresource[glob]{bibfile-num?.bib}
3753 \addbibresource[glob]{bibfile{1,2,3}.bib}
3754 \addbibresource[location=remote]{https://raw.githubusercontent.com/plk/biblatex/master/bibtex/bib/biblatex/biblatex-examples.bib}
3755 \addbibresource[location=remote,label=lan]{ftp://192.168.1.57/~user/file.bib}
3756 \end{ltxexample}
3757 %
3758 Since the \prm{resource} string is read in a verbatim-like mode, it may contain arbitrary characters. The only restriction is that any curly braces must be balanced. The following \prm{options} are available:
3759
3760 \begin{optionlist*}
3761
3762 \valitem{bibencoding}{bibencoding}
3763
3764 This option can be used to override the global \opt{bibencoding} option for a particular \prm{resource}.
3765
3766 \valitem{label}{identifier}
3767
3768 Assigns a label to a resource. The \prm{identifier} may be used in place of the full resource name in the optional argument of \env{refsection} (see \secref{use:bib:sec}). The label is a \emph{unique} identifier for the \prm{resource}, so each label should only be used once.
3769
3770 \valitem[local]{location}{location}
3771
3772 The location of the resource. The \prm{location} may be either \texttt{local} for local resources or \texttt{remote} for \acr{URL}s. Remote resources require \biber. The protocols \acr{HTTP/HTTPS} and \acr{FTP} are supported. The remote \acr{URL} must be a fully qualified path to a \file{bib} file or a \acr{URL} which returns a \file{bib} file.
3773
3774 \valitem[file]{type}{type}
3775
3776 The type of resource. Currently, the only supported type is \texttt{file}.
3777
3778 \valitem[bibtex]{datatype}{datatype}
3779
3780 The data type (format) of the resource. The following formats are currently supported:
3781
3782 \begin{valuelist}
3783
3784 \item[bibtex] \bibtex format.
3785
3786 \item[biblatexml] Experimental XML format for \biblatex. See \secref{apx:biblatexml}.
3787
3788 \end{valuelist}
3789
3790 \boolitem{glob}
3791
3792 Whether \biber should glob (expand according to pattern) the datasource name. There is
3793 a global setting for this in \biber (false by default and settable to true
3794 using the \opt{--glob-datasources} option). This option allows overriding
3795 the \biber default on a per-resource basis.
3796
3797 \end{optionlist*}
3798
3799 \cmditem{addglobalbib}[options]{resource}
3800
3801 This command differs from \cmd{addbibresource} in that the \prm{resource} is added to the global resource list. The difference between default resources and global resources is only relevant if there are reference sections in the document and the optional argument of \env{refsection} (\secref{use:bib:sec}) is used to specify alternative resources which replace the default resource list. Any global resources are added to all reference sections.
3802
3803 \cmditem{addsectionbib}[options]{resource}
3804
3805 This command differs from \cmd{addbibresource} in that the resource \prm{options} are registered but the \prm{resource} not added to any resource list. This is only required for resources which 1) are given exclusively in the optional argument of \env{refsection} (\secref{use:bib:sec}) and 2) require options different from the default settings. In this case, \cmd{addsectionbib} is employed to qualify the \prm{resource} prior to using it by setting the appropriate \prm{options} in the preamble. The \opt{label} option may be useful to assign a short name to the resource.
3806
3807 \cmditem{bibliography}{bibfile, \dots}\DeprecatedMark
3808
3809 The legacy command for adding bibliographic resources, supported for backwards compatibility. Like \cmd{addbibresource}, this command is only available in the preamble and adds resources to the default resource list. Its argument is a comma"=separated list of \file{bib} files. The \file{.bib} extension may be omitted from the filename. Invoking this command multiple times to add more files is permissible. This command is deprecated. Please consider using \cmd{addbibresource} instead.
3810
3811 \subsubsection{The Bibliography}
3812 \label{use:bib:bib}
3813
3814 \cmditem{printbibliography}[key=value, \dots]
3815
3816 This command prints the bibliography. It takes one optional argument, which is a list of options given in \keyval notation. The following options are available:
3817
3818 \end{ltxsyntax}
3819
3820 \begin{optionlist*}
3821
3822 \valitem[bibliography/shorthands]{env}{name}
3823
3824 The <high-level> layout of the bibliography and the list of shorthands is controlled by environments defined with \cmd{defbibenvironment}. This option selects an environment. The \prm{name} corresponds to the identifier used when defining the environment with \cmd{defbibenvironment}. By default, the \cmd{printbibliography} command uses the identifier \texttt{bibliography}; \cmd{printbiblist} uses \texttt{shorthands}. See also \secref{use:bib:biblist,use:bib:hdg}.
3825
3826 \valitem[bibliography/shorthands]{heading}{name}
3827
3828 The bibliography and the list of shorthands typically have a chapter or section heading. This option selects the heading \prm{name}, as defined with \cmd{defbibheading}. By default, the \cmd{printbibliography} command uses the heading \texttt{bibliography}; \cmd{printbiblist} uses \texttt{shorthands}. See also \secref{use:bib:biblist,use:bib:hdg}.
3829
3830 \valitem{title}{text}
3831
3832 This option overrides the default title provided by the heading selected with the \opt{heading} option, if supported by the heading definition. See \secref{use:bib:hdg} for details.
3833
3834 \valitem{label}{label}
3835
3836 If \prm{label} is nonempty, issue \texttt{\textbackslash label\{\prm{label}\}} after typesetting the heading. No sanity checking is done whether or not it is useful to set a label after the heading (\eg if the heading is not numbered a \texttt{\textbackslash ref} to the label might not result in useful output).
3837
3838 \optitem[\normalfont\emph{global setting} (\opt{none})]{block}{\opt{none}, \opt{space}, \opt{par}, \opt{nbpar}, \opt{ragged}}
3839
3840 This option overrides the global \opt{block} option (see \secref{use:opt:pre:gen}, the meaning of the settings is explained there as well).
3841
3842 \valitem{prenote}{name}
3843
3844 The prenote is an arbitrary piece of text to be printed after the heading but before the list of references. This option selects the prenote \prm{name}, as defined with \cmd{defbibnote}. By default, no prenote is printed. The note is printed in the standard text font. It is not affected by \cmd{bibsetup} and \cmd{bibfont} but it may contain its own font declarations. See \secref{use:bib:nts} for details.
3845
3846 \valitem{postnote}{name}
3847
3848
3849 The postnote is an arbitrary piece of text to be printed after the list of references. This option selects the postnote \prm{name}, as defined with \cmd{defbibnote}. By default, no postnote is printed. The note is printed in the standard text font. It is not affected by \cmd{bibsetup} and \cmd{bibfont} but it may contain its own font declarations. See \secref{use:bib:nts} for details.
3850
3851 \end{optionlist*}
3852
3853 The following options can be used to <filter> the entries printed in the bibliography.
3854 If several <filtering options> are used---including cases where the same option is used multiple times with different values---,
3855 an entry will only be printed if it satisfies all filtering conditions.
3856 In other words, <filtering options> are connected via a logic \emph{and}.
3857
3858 \begin{optionlist*}
3859 \intitem[\normalfont\em current section]{section}
3860
3861 Print only entries cited in reference section \prm{integer}. The reference sections are numbered starting at~1. All citations given outside a \env{refsection} environment are assigned to section~0. See \secref{use:bib:sec} for details and \secref{use:use:mlt} for usage examples.
3862
3863 \intitem{segment}
3864
3865 Print only entries cited in reference segment \prm{integer}. The reference segments are numbered starting at~1. All citations given outside a \env{refsegment} environment are assigned to segment~0. See \secref{use:bib:seg} for details and \secref{use:use:mlt} for usage examples. Remember that segments within a section are numbered local to the section so the segment you request will be the nth segment in the requested (or currently active enclosing) section.
3866
3867 \valitem{type}{entrytype}
3868
3869 Print only entries whose entry type is \prm{entrytype}.
3870
3871 \valitem{nottype}{entrytype}
3872
3873 Print only entries whose entry type is not \prm{entrytype}. This option may be used multiple times.
3874
3875 \valitem{subtype}{subtype}
3876
3877 Print only entries whose \bibfield{entrysubtype} is defined and \prm{subtype}.
3878
3879 \valitem{notsubtype}{subtype}
3880
3881 Print only entries whose \bibfield{entrysubtype} is undefined or not \prm{subtype}. This option may be used multiple times.
3882
3883 \valitem{keyword}{keyword}
3884
3885 Print only entries whose \bibfield{keywords} field includes \prm{keyword}. This option may be used multiple times.
3886
3887 \valitem{notkeyword}{keyword}
3888
3889 Print only entries whose \bibfield{keywords} field does not include \prm{keyword}. This option may be used multiple times.
3890
3891 \valitem{category}{category}
3892
3893 Print only entries assigned to category \prm{category}. This option may be used multiple times.
3894
3895 \valitem{notcategory}{category}
3896
3897 Print only entries not assigned to category \prm{category}. This option may be used multiple times.
3898
3899 \valitem{filter}{name}
3900
3901 Filter the entries with filter \prm{name}, as defined with \cmd{defbibfilter}. See \secref{use:bib:flt} for details.
3902
3903 \valitem{check}{name}
3904
3905 Filter the entries with check \prm{name}, as defined with \cmd{defbibcheck}. See \secref{use:bib:flt} for details.
3906
3907 \end{optionlist*}
3908
3909 The following options are useful in <split bibliography> setups, where several bibliographies (with different filtering options)
3910 are printed in the same document.
3911
3912 \begin{optionlist*}
3913
3914 \valitem{resetnumbers}{true,false,number}
3915
3916 This option applies to numerical citation\slash bibliography styles only and requires that the \opt{defernumbers} option from \secref{use:opt:pre:gen} be enabled globally. If enabled, it will reset the numerical labels assigned to the entries in the respective bibliography, \ie the numbering will restart at~1. You can also pass a number to this option, for example: \texttt{resetnumbers=10} to reset numbering to the specified number to aid numbering continuity across documents. Use this option with care as \biblatex can not guarantee unique labels globally if they are reset manually.
3917
3918 \boolitem{omitnumbers}
3919
3920 This option applies to numerical citation\slash bibliography styles only and requires that the \opt{defernumbers} option from \secref{use:opt:pre:gen} be enabled globally. If enabled, \biblatex will not assign a numerical label to the entries in the respective bibliography. This is useful when mixing a numerical subbibliography with one or more subbibliographies using a different scheme (\eg author-title or author-year).
3921
3922 \boolitem[false]{locallabelwidth}
3923
3924 Calculate \cmd{labelnumberwidth}, \cmd{labelalphawidth} and similar lengths locally for the present bibliography and not globally for all entries. See also \opt{labelnumberwidth} in \secref{use:opt:pre:gen}.
3925
3926 \end{optionlist*}
3927
3928 \begin{ltxsyntax}
3929
3930 \cmditem{bibbysection}[key=value, \dots]
3931
3932 This command automatically loops over all reference sections. This is equivalent to giving one \cmd{printbibliography} command for every section but has the additional benefit of automatically skipping sections without references. Note that \cmd{bibbysection} starts looking for references in section \texttt{1}. It will ignore references given outside of \env{refsection} environments since they are assigned to section~0. See \secref{use:use:mlt} for usage examples. The options are a subset of those supported by \cmd{printbibliography}. Valid options are \opt{env}, \opt{heading}, \opt{prenote}, \opt{postnote}. The current bibliography context sorting template is used for all sections (see \secref{use:bib:context}).
3933
3934 \cmditem{bibbysegment}[key=value, \dots]
3935
3936 This command automatically loops over all reference segments. This is equivalent to giving one \cmd{printbibliography} command for every segment in the current \env{refsection} but has the additional benefit of automatically skipping segments without references. Note that \cmd{bibbysegment} starts looking for references in segment \texttt{1}. It will ignore references given outside of \env{refsegment} environments since they are assigned to segment~0. See \secref{use:use:mlt} for usage examples. The options are a subset of those supported by \cmd{printbibliography}. Valid options are \opt{env}, \opt{heading}, \opt{prenote}, \opt{postnote}. The current bibliography context sorting template is used for all segments (see \secref{use:bib:context}).
3937
3938 \cmditem{bibbycategory}[key=value, \dots]
3939
3940 This command loops over all bibliography categories. This is equivalent to giving one \cmd{printbibliography} command for every category but has the additional benefit of automatically skipping empty categories. The categories are processed in the order in which they were declared. See \secref{use:use:mlt} for usage examples. The options are a subset of those supported by \cmd{printbibliography}. Valid options are \opt{env}, \opt{prenote}, \opt{postnote}, \opt{section}. Note that \opt{heading} is not available with this command. The name of the current category is automatically used as the heading name. This is equivalent to passing \texttt{heading=\prm{category}} to \cmd{printbibliography} and implies that there must be a matching heading definition for every category. The current bibliography context sorting template is used for all categories (see \secref{use:bib:context}).
3941
3942 \cmditem{printbibheading}[key=value, \dots]
3943
3944 This command prints a bibliography heading defined with \cmd{defbibheading}. It takes one optional argument, which is a list of options given in \keyval notation. The options are a small subset of those supported by \cmd{printbibliography}. Valid options are \opt{heading}, \opt{title}, \opt{label}, \opt{prenote} and \opt{postnote}. Note that both the \opt{prenote} and \opt{postnote} argument are printed after the heading. Their behaviour exactly mirrors that of \cmd{printbibliography}, except that no bibliography is created in between the two notes. By default, this command uses the heading \texttt{bibliography}. See \secref{use:bib:hdg} for details. Also see \secref{use:use:mlt,use:use:div} for usage examples.
3945
3946 \cmditem{DeclarePrintbibliographyDefaults}{key=value, \dots}
3947
3948 This command can be used to globally set defaults for some options to \cmd{printbibliography}, the \cmd{bibby...} bibliography commands and \cmd{printbibheading}.
3949 The supported keys are
3950 \begin{itemize}
3951 \item \opt{env}
3952 \item \opt{heading}
3953 \item \opt{title}
3954 \item \opt{prenote}
3955 \item \opt{postnote}
3956 \item \opt{filter}
3957 \end{itemize}
3958
3959 \end{ltxsyntax}
3960 %
3961 To print a bibliography with a different sorting template than the global sorting template, use the bibliography context switching commands from \secref{use:bib:context}.
3962
3963 \subsubsection{Bibliography Lists}
3964 \label{use:bib:biblist}
3965
3966 \biblatex can, in addition to printing normal bibliographies, also print arbitrary lists of information derived from the bibliography data such as a list of shorthand abbreviations for particular entries or a list of abbreviations of journal titles.
3967
3968 A bibliography list differs from a normal bibliography in that the same bibliography driver is used to print all entries rather than a specific driver being used for each entry depending on the entry type.
3969
3970 \begin{ltxsyntax}
3971
3972 \cmditem{printbiblist}[key=value, \dots]{biblistname}
3973
3974 This command prints a bibliography list. It takes an optional argument, which is a list of options given in \keyval notation. Valid options are all options supported by \cmd{printbibliography} (\secref{use:bib:bib}) except \opt{resetnumbers} and \opt{omitnumbers}. Additionally, the two options \opt{driver} and \opt{biblistfilter} are available. If there are any \env{refsection} environments in the document, the bibliography list will be local to these environments; see \secref{use:bib:sec} for details. By default, this command uses the heading \texttt{biblist}. See \secref{use:bib:hdg} for details.
3975
3976
3977 The \prm{biblistname} is a mandatory argument which names the bibliography list. This name is used to identify:
3978 \begin{itemize}
3979 \item The default bibliography driver used to print the list entries
3980 \item A default bibliography list filter declared with \cmd{DeclareBiblistFilter} (see \secref{aut:ctm:bibfilt}) used to filter the entries returned by \biber in the \file{.bbl}
3981 \item A default check declared with \cmd{defbibcheck} (see \secref{use:bib:flt}) used to post-process the list entries
3982 \item The default bib environment to use
3983 \item The default sorting template to use
3984 \end{itemize}
3985
3986 The two additional options can be used to change some of the defaults set by the mandatory argument.
3987
3988 \begin{optionlist*}
3989 \valitem[\prm{biblistname}]{driver}{driver}
3990
3991 Change the bibliography driver used to print the list entries.
3992 % \prm{driver} must be a valid driver declared with \cmd{DeclareBibliographyDriver} (see \secref{aut:bbx:bbx}).
3993
3994 \valitem[\prm{biblistname}]{biblistfilter}{biblistfilter}
3995
3996 Change the bibliography list filter used to filter the entries. \prm{biblistfilter} must be a valid bibliography list filter defined with \cmd{DeclareBiblistFilter} (see \secref{aut:ctm:bibfilt}).
3997 \end{optionlist*}
3998
3999 In terms of sorting the list, the default is to sort using the sorting template named after the bibliography list (if it exists) and only then to fall back to the current context sorting template if this is not defined (see \secref{use:bib:context}).
4000
4001 The most common bibliography list is a list of shorthand abbreviations for certain entries and so this has a convenience alias \cmd{printshorthands[\dots]} for backwards compatibility which is defined as:
4002
4003 \begin{ltxexample}
4004 \printbiblist[...]{shorthand}
4005 \end{ltxexample}
4006
4007 \biblatex provides automatic support for data source fields in the default data model marked as <Label fields> (See \secref{bib:fld:dat}). Such fields automatically have defined for them:
4008
4009 \begin{itemize}
4010 \item A default bib environment (See \secref{use:bib:hdg})
4011 \item A bibliography list filter (See \secref{aut:ctm:bibfilt})
4012 \item Some supporting formats and lengths (See \secref{aut:fmt:ilc} and \secref{aut:fmt:ich})
4013 \end{itemize}
4014 %
4015 Therefore only a minimal setup is required to print bibliography lists with such fields. For example, to print a list of journal title abbreviations, you can minimally put this in your preamble:
4016
4017 \begin{ltxexample}
4018 \DeclareBibliographyDriver{shortjournal}{%
4019 \printfield{journaltitle}}
4020 \end{ltxexample}
4021 %
4022 Then you can put this in your document where you want to print the list:
4023
4024 \begin{ltxexample}
4025 \printbiblist[title={Journal Shorthands}]{shortjournal}
4026 \end{ltxexample}
4027 %
4028 Since \bibfield{shortjournal} is defined in the default data model as a <Label field>, this example:
4029 \begin{itemize}
4030 \item Uses the automatically created <shortjournal> bib environment
4031 \item Uses the automatically created <shortjournal> bibliography list filter to return only entries with a \bibfield{shortjournal} field in the \file{.bbl}
4032 \item Uses the defined <shortjournal> bibliography driver to print the entries
4033 \item Uses the default <biblist> heading but overrides the title with <Journal Shorthands>
4034 \item Uses the current bibliography context sorting template if no template exists with the name \bibfield{shortjournal}
4035 \end{itemize}
4036 %
4037 Often, you will want to sort on the label field of the list and since a sorting template is automatically picked up if it is named after the list, in this case you could simply do:
4038
4039 \begin{ltxexample}
4040 \DeclareSortingTemplate{shortjournal}{
4041 \sort{
4042 \field{shortjournal}
4043 }
4044 }
4045 \end{ltxexample}
4046
4047 Naturally all defaults can be overridden by options to \cmd{printbiblist} and definitions of the environments, filters etc. and in this way arbitrary types of bibliography lists can be printed containing a variety of information from the bibliography data.
4048 \end{ltxsyntax}
4049
4050 Bibliography lists are often used to print lists of various kinds of shorthands and this can result in duplicate entries if more than one bibliography entry has the same shorthand. For example, several journal articles in the same journal would result in duplicate entries in a list of journal shorthands. You can use the fact that such lists automatically pick up a \cmd{bibcheck} with the same name as the list to define a check to remove duplicates. If you are defining a list to print all of the journal shorthands using the \bibfield{shortjournal} field, you could define a \cmd{bibcheck} like this:
4051
4052 \begin{ltxexample}[basicstyle=\displayverbfont\footnotesize]
4053 \defbibcheck{shortjournal}{%
4054 \iffieldundef{shortjournal}
4055 {\skipentry}
4056 {\iffieldundef{journaltitle}
4057 {\skipentry}
4058 {\ifcsdef{sjcheck@\therefsection
4059 -\strfield{shortjournal}=\strfield{journaltitle}}
4060 {\skipentry}
4061 {\savefieldcs{journaltitle}{sjcheck@\therefsection
4062 -\strfield{shortjournal}=\strfield{journaltitle}}}}}}
4063 \end{ltxexample}
4064
4065 \subsubsection{Bibliography Sections}
4066 \label{use:bib:sec}
4067
4068 The \env{refsection} environment is used in the document body to mark a reference section. This environment is useful if you want separate, independent bibliographies and bibliography lists in each chapter, section, or any other part of a document. Within a reference section, all cited works are assigned labels which are local to the environment. Technically, reference sections are completely independent from document divisions such as \cmd{chapter} and \cmd{section} even though they will most likely be used per chapter or section. See the \opt{refsection} package option in \secref{use:opt:pre:gen} for a way to automate this. Also see \secref{use:use:mlt} for usage examples.
4069
4070 \begin{ltxsyntax}
4071
4072 \envitem{refsection}[resource, \dots]
4073
4074 The optional argument is a comma"=separated list of resources specific to the reference section. If the argument is omitted, the reference section will use the default resource list, as specified with \cmd{addbibresource} in the preamble. If the argument is provided, it replaces the default resource list. Global resources specified with \cmd{addglobalbib} are always considered. \env{refsection} environments may not be nested, but you may use \env{refsegment} environments within a \env{refsection} to subdivide it into segments. Use the \opt{section} option of \cmd{printbibliography} to select a section when printing the bibliography, and the corresponding option of \cmd{printbiblist} when printing bibliography lists. Bibliography sections are numbered starting at~\texttt{1}. The number of the current section is also written to the transcript file. All citations given outside a \env{refsection} environment are assigned to section~0. If \cmd{printbibliography} is used within a \env{refsection}, it will automatically select the current section. The \opt{section} option is not required in this case. This also applies to \cmd{printbiblist}. Beginning a new reference section automatically ends the active reference context (see \secref{use:bib:context}).
4075
4076 \cmditem{newrefsection}[resource, \dots]
4077
4078 This command is similar to the \env{refsection} environment except that it is a stand"=alone command rather than an environment. It automatically ends the previous reference section (if any) and immediately starts a new one. Note that the reference section started by the last \cmd{newrefsection} command in the document will extend to the very end of the document. Use \cmd{endrefsection} if you want to terminate it earlier.
4079
4080 \end{ltxsyntax}
4081
4082 \subsubsection{Bibliography Segments}
4083 \label{use:bib:seg}
4084
4085 The \env{refsegment} environment is used in the document body to mark a reference segment. This environment is useful if you want one global bibliography which is subdivided by chapter, section, or any other part of the document. Technically, reference segments are completely independent from document divisions such as \cmd{chapter} and \cmd{section} even though they will typically be used per chapter or section. See the \opt{refsegment} package option in \secref{use:opt:pre:gen} for a way to automate this. Also see \secref{use:use:mlt} for usage examples.
4086
4087 \begin{ltxsyntax}
4088
4089 \envitem{refsegment}
4090
4091 The difference between a \env{refsection} and a \env{refsegment} environment is that the former creates labels which are local to the environment whereas the latter provides a target for the \opt{segment} filter of \cmd{printbibliography} without affecting the labels. They will be unique across the entire document. \env{refsegment} environments may not be nested, but you may use them in conjunction with \env{refsection} to subdivide a reference section into segments. In this case, the segments are local to the enclosing \env{refsection} environment. Use the \env{segment} option of \cmd{printbibliography} to select a segment when printing the bibliography. Within a section, the reference segments are numbered starting at~\texttt{1} and the number of the current segment will be written to the transcript file. All citations given outside a \env{refsegment} environment are assigned to segment~0. In contrast to the \env{refsection} environment, the current segment is not selected automatically if \cmd{printbibliography} is used within a \env{refsegment} environment.
4092
4093 \csitem{newrefsegment}
4094
4095 This command is similar to the \env{refsegment} environment except that it is a stand"=alone command rather than an environment. It automatically ends the previous reference segment (if any) and immediately starts a new one. Note that the reference segment started by the last \cmd{newrefsegment} command will extend to the end of the document. Use \cmd{endrefsegment} if you want to terminate it earlier.
4096
4097 \end{ltxsyntax}
4098
4099 \subsubsection{Bibliography Categories}
4100 \label{use:bib:cat}
4101
4102 Bibliography categories allow you to split the bibliography into multiple parts dedicated to different topics or different types of references, for example primary and secondary sources. See \secref{use:use:div} for usage examples.
4103
4104 \begin{ltxsyntax}
4105
4106 \cmditem{DeclareBibliographyCategory}{category}
4107
4108 Declares a new \prm{category}, to be used in conjunction with \cmd{addtocategory} and the
4109 \opt{category} and \opt{notcategory} filters of \cmd{printbibliography}. This command is used in the document preamble.
4110
4111 \cmditem{addtocategory}{category}{key}
4112
4113 Assigns a \prm{key} to a \prm{category}, to be used in conjunction with the \opt{category} and \opt{notcategory} filters of \cmd{printbibliography}. This command may be used in the preamble and in the document body. The \prm{key} may be a single entry key or a comma"=separated list of keys. The assignment is global.
4114
4115 \end{ltxsyntax}
4116
4117 \subsubsection{Bibliography Headings and Environments}
4118 \label{use:bib:hdg}
4119
4120 \begin{ltxsyntax}
4121
4122 \cmditem{defbibenvironment}{name}{begin code}{end code}{item code}
4123
4124 This command defines bibliography environments. The \prm{name} is an identifier passed to the \opt{env} option of \cmd{printbibliography} and \cmd{printbiblist} when selecting the environment. The \prm{begin code} is \latex code to be executed at the beginning of the environment; the \prm{end code} is executed at the end of the environment; the \prm{item code} is code to be executed at the beginning of each entry in the bibliography or a bibliography list. Here is an example of a definition based on the standard \latex \env{list} environment:
4125
4126 \begin{ltxexample}
4127 \defbibenvironment{bibliography}
4128 {\list{}
4129 {\setlength{\leftmargin}{\bibhang}%
4130 \setlength{\itemindent}{-\leftmargin}%
4131 \setlength{\itemsep}{\bibitemsep}%
4132 \setlength{\parsep}{\bibparsep}}}
4133 {\endlist}
4134 {\item}
4135 \end{ltxexample}
4136 %
4137 As seen in the above example, usage of \cmd{defbibenvironment} is roughly similar to \cmd{newenvironment} except that there is an additional mandatory argument for the \prm{item code}.
4138
4139 \cmditem{defbibheading}{name}[title]{code}
4140
4141 This command defines bibliography headings. The \prm{name} is an identifier to be passed to the \opt{heading} option of \cmd{printbibliography} or \cmd{printbibheading} and \cmd{printbiblist} when selecting the heading. The \prm{code} should be \latex code generating a fully"=fledged heading, including page headers and an entry in the table of contents, if desired. If \cmd{printbibliography} or \cmd{printbiblist} are invoked with a \opt{title} option, the title will be passed to the heading definition as |#1|. If not, the default title specified by the optional \prm{title} argument is passed as |#1| instead. The \prm{title} argument will typically be \cmd{bibname}, \cmd{refname}, or \cmd{biblistname} (see \secref{aut:lng:key:bhd}). This command is often needed after changes to document headers in the preamble. Here is an example of a simple heading definition:
4142
4143 \begin{ltxexample}
4144 \defbibheading{bibliography}[\bibname]{%
4145 \chapter*{#1}%
4146 \markboth{#1}{#1}}
4147 \end{ltxexample}
4148
4149 \end{ltxsyntax}
4150
4151 The following headings, which are intended for use with \cmd{printbibliography} and \cmd{printbibheading}, are predefined:
4152
4153 \begin{valuelist*}
4154
4155 \item[bibliography]
4156 This is the default heading used by \cmd{printbibliography} if the \opt{heading} option is not given. Its default definition depends on the document class. If the class provides a \cmd{chapter} command, the heading is similar to the bibliography heading of the standard \latex \texttt{book} class, \ie it uses \cmd{chapter*} to create an unnumbered chapter heading which is not included in the table of contents. If there is no \cmd{chapter} command, it is similar to the bibliography heading of the standard \latex \texttt{article} class, \ie it uses \cmd{section*} to create an unnumbered section heading which is not included in the table of contents. The string used in the heading also depends on the document class. With \texttt{book}-like classes the localisation string \texttt{bibliography} is used, with other classes it is \texttt{references} (see \secref{aut:lng:key}). See also \secref{use:cav:scr, use:cav:mem} for class-specific hints.
4157
4158 \item[subbibliography]
4159 Similar to \texttt{bibliography} but one sectioning level lower. This heading definition uses \cmd{section*} instead of \cmd{chapter*} with a \texttt{book}-like class and \cmd{subsection*} instead of \cmd{section*} otherwise.
4160
4161 \item[bibintoc]
4162 Similar to \texttt{bibliography} above but adds an entry to the table of contents.
4163
4164 \item[subbibintoc]
4165 Similar to \texttt{subbibliography} above but adds an entry to the table of contents.
4166
4167 \item[bibnumbered]
4168 Similar to \texttt{bibliography} above but uses \cmd{chapter} or \cmd{section} to create a numbered heading which is also added to the table of contents.
4169
4170 \item[subbibnumbered]
4171 Similar to \texttt{subbibliography} above but uses \cmd{section} or \cmd{subsection} to create a numbered heading which is also added to the table of contents.
4172
4173 \item[none]
4174 A blank heading definition. Use this to suppress the heading.
4175
4176 \end{valuelist*}
4177
4178 The following headings intended for use with \cmd{printbiblist} are predefined:
4179
4180 \begin{valuelist*}
4181
4182 \item[biblist]
4183 This is the default heading used by \cmd{printbiblist} if the \opt{heading} option is not given. It is similar to \texttt{bibliography} above except that it uses the localisation string \texttt{shorthands} instead of \texttt{bibliography} or \texttt{references} (see \secref{aut:lng:key}). See also \secref{use:cav:scr, use:cav:mem} for class-specific hints.
4184
4185 \item[biblistintoc]
4186 Similar to \texttt{biblist} above but adds an entry to the table of contents.
4187
4188 \item[biblistnumbered]
4189 Similar to \texttt{biblist} above but uses \cmd{chapter} or \cmd{section} to create a numbered heading which is also added to the table of contents.
4190
4191 \end{valuelist*}
4192
4193 \subsubsection{Bibliography Notes}
4194 \label{use:bib:nts}
4195
4196 \begin{ltxsyntax}
4197
4198 \cmditem{defbibnote}{name}{text}
4199
4200 Defines the bibliography note \prm{name}, to be used via the \opt{prenote} and \opt{postnote} options of \cmd{printbibliography} and \cmd{printbiblist}. The \prm{text} may be any arbitrary piece of text, possibly spanning several paragraphs and containing font declarations. Also see \secref{use:cav:act}.
4201
4202 \end{ltxsyntax}
4203
4204 \subsubsection{Bibliography Filters and Checks}
4205 \label{use:bib:flt}
4206
4207 \begin{ltxsyntax}
4208
4209 \cmditem{defbibfilter}{name}{expression}
4210
4211 Defines the custom bibliography filter \prm{name}, to be used via the \opt{filter} option of \cmd{printbibliography}. The \prm{expression} is a complex test based on the logical operators \texttt{and}, \texttt{or}, \texttt{not}, the group separator \texttt{(...)}, and the following atomic tests:
4212
4213 \end{ltxsyntax}
4214
4215 \begin{optionlist*}
4216
4217 \valitem{segment}{integer}
4218
4219 Matches all entries cited in reference segment \prm{integer}.
4220
4221 \valitem{type}{entrytype}
4222
4223 Matches all entries whose entry type is \prm{entrytype}.
4224
4225 \valitem{subtype}{subtype}
4226
4227 Matches all entries whose \bibfield{entrysubtype} is \prm{subtype}.
4228
4229 \valitem{keyword}{keyword}
4230
4231 Matches all entries whose \bibfield{keywords} field includes \prm{keyword}. If the \prm{keyword} contains spaces, it needs to be wrapped in braces.
4232
4233 \valitem{category}{category}
4234
4235 Matches all entries assigned to \prm{category} with \cmd{addtocategory}.
4236
4237 \end{optionlist*}
4238
4239 Here is an example of a filter expression:
4240
4241 \begin{ltxexample}[style=latex,keywords={and,or,not,type,keyword}]
4242 \defbibfilter{example}{%
4243 ( type=book or type=inbook )
4244 and keyword=abc
4245 and not keyword={x y z}
4246 }
4247 \end{ltxexample}
4248 %
4249 This filter will match all entries whose entry type is either \bibtype{book} or \bibtype{inbook} and whose \bibfield{keywords} field includes the keyword <\texttt{abc}> but not <\texttt{x y z}>. As seen in the above example, all elements---including \texttt{(} and \texttt{)}---are separated by whitespace (spaces, tabs, or line endings) on either side. There is no spacing around the equal sign. The logical operators are evaluated with the \cmd{ifboolexpr} command from the \sty{etoolbox} package. See the \sty{etoolbox} manual for details about the syntax. The syntax of the \cmd{ifthenelse} command from the \sty{ifthen} package, which has been employed in older versions of \biblatex, is still supported. This is the same test using \sty{ifthen}-like syntax:
4250
4251 \begin{ltxexample}[style=ifthen,morekeywords={\\type,\\keyword}]
4252 \defbibfilter{example}{%
4253 \( \type{book} \or \type{inbook} \)
4254 \and \keyword{abc}
4255 \and \not \keyword{x y z}
4256 }
4257 \end{ltxexample}
4258 %
4259 Note that custom filters are local to the reference section in which they are used. Use the \texttt{section} filter of \cmd{printbibliography} to select a different section. This is not possible from within a custom filter.
4260
4261 \begin{ltxsyntax}
4262
4263 \cmditem{defbibcheck}{name}{code}
4264
4265 Defines the custom bibliography filter \prm{name}, to be used via the \opt{check} option of \cmd{printbibliography}. \cmd{defbibcheck} is similar in concept to \cmd{defbibfilter} but much more low-level. Rather than a high-level expression, the \prm{code} is \latex code, much like the code used in driver definitions, which may perform arbitrary tests to decide whether or not a given entry is to be printed. The bibliographic data of the respective entry is available when the \prm{code} is executed. Issuing the command \cmd{skipentry} in the \prm{code} will cause the current entry to be skipped. For example, the following filter will only output entries with an \bibfield{abstract} field:
4266
4267 \begin{ltxexample}
4268 \defbibcheck{<<abstract>>}{%
4269 \iffieldundef{abstract}{<<\skipentry>>}{}}
4270 ...
4271 \printbibliography[<<check=abstract>>]
4272 \end{ltxexample}
4273 %
4274 The following check will exclude all entries published before the year 2000:
4275
4276 \begin{ltxexample}
4277 \defbibcheck{recent}{%
4278 \iffieldint{year}
4279 {\ifnumless{\thefield{year}}{2000}
4280 {\skipentry}
4281 {}}
4282 {\skipentry}}
4283 \end{ltxexample}
4284 %
4285 See the author guide, in particular \secref{aut:aux:tst,aut:aux:ife}, for further details.
4286
4287 \end{ltxsyntax}
4288
4289 \subsubsection{Reference Contexts}
4290 \label{use:bib:context}
4291
4292 References in a bibliography are cited and printed in a <context>. The context determines the data which is actually used to cite or provide bibliographic data for an entry. A context consists of the following information:
4293
4294 \begin{itemize}
4295 \item A sorting template
4296 \item A template for constructing the sorting keys for names
4297 \item A string prefix for citation schemes which use alphabetic or numeric labels
4298 \item A template for calculating name uniqueness information
4299 \item A template for constructing alphabetic labels for names
4300 \end{itemize}
4301 %
4302 The purpose of bibliography contexts is twofold. Firstly, they are used to set options which influence a printed bibliography and secondly to influence the data printed by citation commands.
4303 The former use is the most common when one needs to print more than one bibliography list with different, for example, sorting.
4304
4305 \begin{ltxexample}
4306 \usepackage[sorting=nyt]{biblatex}
4307 \begin{document}
4308 \cite{one}
4309 \cite{two}
4310 \printbibliography
4311 \newrefcontext[sorting=ydnt]
4312 \printbibliography
4313 \end{ltxexample}
4314 %
4315 Here we print two bibliographies, one with the default <nyt> sorting template and one with the <ydnt> sorting template.
4316
4317 To demonstrate the second type of use of bibliography contexts, we have to understand that the actual data for an entry can vary depending on the context. This is most obvious in the case of the \bibfield{extra*} fields like \bibfield{extradate} which are generated by the backend according to the order of entries \emph{after} sorting so that they come out in the expected <a, b, c> order. This clearly shows that the \emph{data} in an entry can be different between sorting templates. If a document contains more than one bibliography list with different sorting templates, it can happen then that the \file{.bbl} contains sorting lists with the same entry but containing different data (a different value for \bibfield{extradate}, for example). The purpose of bibliography contexts is to encapsulate things inside a context so that \biblatex can use the correct entry data. An example is printing a bibliography list with a different sorting order to the global sorting order where the \opt{extra*} fields are different for the same entry between sorting lists:
4318
4319 \begin{ltxexample}
4320 \usepackage[sorting=nyt,style=authoryear]{biblatex}
4321 \DeclareSortingTemplate{yntd}{
4322 \sort{
4323 \field[strside=left,strwidth=4]{sortyear}
4324 \field[strside=left,strwidth=4]{year}
4325 \literal{9999}
4326 }
4327 \sort{
4328 \field{sortname}
4329 \field{author}
4330 \field{editor}
4331 }
4332 \sort[direction=descending]{
4333 \field{sorttitle}
4334 \field{title}
4335 }
4336 }
4337 \begin{document}
4338 \cite{one}
4339 \cite{two}
4340 \printbibliography
4341 \newrefcontext[sorting=yntd]
4342 \cite{one}
4343 \cite{two}
4344 \printbibliography
4345 \end{ltxexample}
4346 %
4347 Here, the second use of the citations, along with the \cmd{printbibliography} command will use data from the context of the custom <yntd> sorting template which may well be different from the data associated with the default <nyt> template. That is, the citation labels (in an authoryear style which uses \opt{extradate}) may be different \emph{for the exact same entries} between different bibliography contexts and so the citations themselves may look different.
4348
4349 Reference contexts can be declared with \cmd{DeclareRefcontext} and referred to by name, see below.
4350
4351 By default, data for a citation is drawn from the reference context of the last bibliography in which it was printed. For example:
4352
4353 \begin{ltxexample}[style=latex]
4354 \DeclareRefcontext{ap}{labelprefix=A}
4355 \begin{document}
4356
4357 \cite{book, article, misc}
4358
4359 \printbibliography[type=book]
4360
4361 \newrefcontext{ap}
4362 \printbibliography[type=article]
4363
4364 \newrefcontext[sorting=ydnt]
4365 \printbibliography[type=misc]
4366
4367 \end{document}
4368 \end{ltxexample}
4369 %
4370 This example also shows the declaration and use of a named reference context. Assuming the entrykeys are indicative of their entrytypes, this is the default situation for the citations which corresponds to what users normally expect:
4371
4372 \begin{itemize}
4373 \item The citation of entry \bibfield{book} would draw its data from the global reference context, because the last bibliography in which it was printed was the one in the global reference context.
4374 \item The citation of entry \bibfield{article} would draw its data from reference context with \opt{labelprefix=A} and would therefore have a <A> prefix when cited.
4375 \item The citation of entry \bibfield{misc} would draw its data from the reference context with \opt{sorting=ydnt}
4376 \end{itemize}
4377 %
4378 In cases where the user has entries which occur in multiple bibliographies in different forms or with potentially different labels (in a numeric scheme with different \bibfield{labelprefix} values for example), it may be necessary to tell \biblatex from which reference context you wish to draw the citation information. As shown above this can be done by explicitly putting citations inside reference contexts. This can be onerous in a large document and so there is specific functionality for assigning citations to reference contexts programmatically, see the \cmd{assignrefcontext*} macros below.
4379
4380 \begin{ltxsyntax}
4381
4382 \cmditem{DeclareRefcontext}{name}{key=value, \dots}
4383
4384 Declares a named reference context with name \prm{name}. The \prm{key=value} options define the context attributes. All context attributes are optional and default to the global settings if absent. The valid options are:
4385
4386 \begin{optionlist*}
4387
4388 \valitem{sorting}{name}
4389
4390 Specify a sorting template defined previously with \cmd{DeclareSortingTemplate}. This template is used to determine which data to retrieve and/or print for an entry in the commands inside the context.
4391
4392 \valitem{sortingnamekeytemplatename}{name}
4393
4394 Specify a sorting name key template defined previously with \cmd{DeclareSortingNamekeyTemplate}. This template is used to construct sorting keys for names inside the context. The template name can also be specified (in increasing order of preference) per"=entry, per"=name list and per"=name. See \secref{apx:opt} for information on setting per"=option, per"=namelist and per"=name options.
4395
4396 \valitem{uniquenametemplatename}{name}
4397
4398 Specify a uniquename template defined previously with \cmd{DeclareUniquenameTemplate} (see \secref{aut:cav:amb}). This template is used to calculate uniqueness information for names inside the context. The template name can also be specified (in increasing order of preference) per"=entry, per"=name list and per"=name. See \secref{apx:opt} for information on setting per"=option, per"=namelist and per"=name options.
4399
4400 \valitem{labelalphanametemplatename}{name}
4401
4402 Specify a template defined previously with \cmd{DeclareLabelalphaNameTemplate} (see \secref{aut:ctm:lab}). This template is used to construct name parts of alphabetic labels for names inside the context. The template name can also be specified (in increasing order of preference) per"=entry, per"=name list and per"=name. See \secref{apx:opt} for information on setting per"=option, per"=namelist and per"=name options.
4403
4404 \valitem{namehashtemplatename}{name}
4405
4406 Specify a template defined previously with \cmd{DeclareNamehashTemplate} (see \secref{aut:cav:ni}). This template is used to construct name hashes used to determine whether names refer to the same person. The template name can also be specified (in increasing order of preference) per"=entry, per"=name list and per"=name. See \secref{apx:opt} for information on setting per"=option, per"=namelist and per"=name options.
4407
4408 \valitem{nametemplates}{name}
4409
4410 A convenience meta-option which sets \opt{sortingnamekeytemplate}, \opt{uniquenametemplate}, \opt{labelalphanametemplate} and \opt{namehashtemplate} to the same template name. This option can also be specified (in increasing order of preference) per"=entry, per"=name list and per"=name. See \secref{apx:opt} for information on setting per"=option, per"=namelist and per"=name options.
4411
4412 \valitem{labelprefix}{string}
4413
4414 This option applies to numerical citation\slash bibliography styles only and requires that the \opt{defernumbers} option from \secref{use:opt:pre:gen} be enabled globally. Setting this option will implicitly enable \opt{resetnumbers} for the any \cmd{printbibliography} in the scope of the context (unless overridden by a user-specified value for \opt{resetnumbers}). The option assigns the \prm{string} as a prefix to all entries in the reference context. For example, if the \prm{string} is \texttt{A}, the numerical labels printed will be \texttt{[A1]}, \texttt{[A2]}, \texttt{[A3]}, etc. This is useful for subdivided numerical bibliographies where each subbibliography uses a different prefix. The \prm{string} is available to styles in the \bibfield{labelprefix} field of all affected entries. Note that the \prm{string} is fully expanded, which means that you can use context-dependent macros like \cmd{thechapter}, but not unexpandable commands such as \cmd{dag}. If you need to pass unexpandable code to \prm{string}, protect it from expansion with \cmd{detokenize}. See \secref{aut:bbx:fld:lab} for details.
4415
4416 \end{optionlist*}
4417 %
4418
4419 \envitem{refcontext}[key=value, \dots]{name}
4420
4421 Wraps a reference context environment. The possible \prm{key=value} optional arguments are as for \cmd{DeclareRefcontext} and override options given for the named reference context \prm{name}. \prm{name} can also be omitted as \verb+{}+ or by omitting even the empty braces\footnote{This slightly odd syntax possibility is a result of backwards compatibility with \biblatex $<$3.5}.
4422
4423 The \opt{refcontext} environment cannot be nested and \biblatex will generate an error if you try to do so.
4424
4425 \cmditem{newrefcontext}[key=value, \dots]{name}
4426
4427 This command is similar to the \env{refcontext} environment except that it is a stand"=alone command rather than an environment. It automatically ends any previous reference context section begun with \cmd{newrefcontext} (if any) and immediately starts a new one. Note that the context section started by the last \cmd{newrefcontext} command in the document will extend to the end of the current refsection. Use \cmd{endrefcontext} if you want to terminate it earlier.
4428
4429 \cmditem{localrefcontext}[key=value, \dots]{name}
4430
4431 This command is similar to the \env{newrefcontext} command except that it sets up the reference context only locally.
4432 This is useful if the reference context needs to be changed within a group. There is no need to end a local reference context, it will automatically be reset once the group ends.
4433 \end{ltxsyntax}
4434 %
4435 At the beginning of the document, there is always a global context containing global settings for each of the reference context options. Here is an example summarising the reference contexts with various settings:
4436
4437 \begin{ltxexample}[style=latex]
4438 \usepackage[sorting=nty]{biblatex}
4439
4440 \DeclareRefcontext{testrc}{sorting=nyt}
4441
4442 % Global reference context:
4443 % sorting=nty
4444 % sortingnamekeytemplate=global
4445 % labelprefix=
4446
4447 \begin{document}
4448
4449 \begin{refcontext}{testrc}
4450 % reference context:
4451 % sorting=nyt
4452 % sortingnamekeytemplate=global
4453 % labelprefix=
4454 \end{refcontext}
4455
4456 \begin{refcontext}[labelprefix=A]{testrc}
4457 % reference context:
4458 % sorting=nyt
4459 % sortingnamekeytemplate=global
4460 % labelprefix=A
4461 \end{refcontext}
4462
4463 \begin{refcontext}[sorting=ydnt,labelprefix=A]
4464 % reference context:
4465 % sorting=ydnt
4466 % sortingnamekeytemplate=global
4467 % labelprefix=A
4468 \end{refcontext}
4469
4470 \newrefcontext}[labelprefix=B]
4471 % reference context:
4472 % sorting=nty
4473 % sortingnamekeytemplate=global
4474 % labelprefix=B
4475 \endrefcontext
4476
4477 \newrefcontext}[sorting=ynt,labelprefix=C]{testrc}
4478 % reference context:
4479 % sorting=ynt
4480 % sortingnamekeytemplate=global
4481 % labelprefix=C
4482 \endrefcontext
4483 \end{ltxexample}
4484
4485 \begin{ltxsyntax}
4486
4487 \cmditem{assignrefcontextkeyws}[key=value, \dots]{keyword1,keyword2, ...}
4488 \cmditem{assignrefcontextkeyws*}[key=value, \dots]{keyword1,keyword2, ...}
4489 \cmditem{assignrefcontextcats}[key=value, \dots]{category1, category2, ...}
4490 \cmditem{assignrefcontextcats*}[key=value, \dots]{category1, category2, ...}
4491 \cmditem{assignrefcontextentries}[key=value, \dots]{entrykey1, entrykey2, ...}
4492 \cmditem{assignrefcontextentries*}[key=value, \dots]{entrykey1, entrykey2, ...}
4493 \cmditem{assignrefcontextentries}[key=value, \dots]{*}
4494 \cmditem{assignrefcontextentries*}[key=value, \dots]{*}
4495
4496 \end{ltxsyntax}
4497 These commands automate putting citations into refcontexts when the default behaviour is not sufficient. The \prm{key=value} options are as for \cmd{DeclareRefcontext} with the addition of the \kvopt{name}{refcontextname} option which sets all options from those defined for the named refcontext \prm{refcontextname}. Use \kvopt{name}{default} to use the global default refcontext options. The specific \keyval options override those set by any named \prm{refcontextname}. The default behaviour is that the data for a citation is drawn from the refcontext of the most recently processed bibliography in which it was printed\footnote{This does not always mean what one might think. In a document containing multiple bibliographies, the last bibliography will be the context for any citations \emph{before} the first bibliography because all bibliographies are processed when the \file{.bbl} is read.}. For citations that are used in some way but not printed in a bibliography or bibliography list, they default to drawing their data from the global refcontext established at the beginning of the document. To override this behaviour, instead of manually wrapping citation commands in \env{refcontext} environments, which might be error-prone and tedious, you can register a comma"=separated list of \prm{keywords}, \prm{categories} or \prm{entrykeys} which, respectively, make the entries with any of the specified keywords, entries in any of the specified categories (see \secref{use:use:div}) or entries with any of the specified citation keys draw their data from a particular named refcontext and/or specified \prm{refcontext key/values}. Such refcontext auto-assignments are specific to the current refsection. You may specify the same citation key in any of these commands but be aware that assignment is done in the order \prm{keywords}, \prm{categories}, \prm{entrykeys} with the later specifications overriding the earlier. \cmd{assignrefcontextentries} accepts a single asterisk instead of a list of entrykeys which allows the assignment of all keys in a refsection to a refcontext with having to explicitly list them. An example:
4498
4499 \begin{ltxexample}[style=latex]
4500 \assignrefcontextentries[labelprefix=A]{key2}
4501 \cite{key1}
4502 \begin{refcontext}[labelprefix=B]
4503 \cite{key2}
4504 \end{refcontext}
4505 \end{ltxexample}
4506 %
4507 Here, the data for the citation of \bibfield{key2} will be drawn from refcontext \opt{labelprefix=A} and not \opt{labelprefix=B} (resulting in a label with prefix <A> and not <B>).
4508 The starred versions do not override a local refcontext and so with:
4509
4510 \begin{ltxexample}[style=latex]
4511 \assignrefcontextentries*[labelprefix=A]{key2}
4512 \cite{key1}
4513 \begin{refcontext}[labelprefix=B]
4514 \cite{key2}
4515 \end{refcontext}
4516 \end{ltxexample}
4517 %
4518 the data for the citation of \bibfield{key2} will be drawn from refcontext \opt{labelprefix=B}. Note that these commands are rarely necessary unless you have multiple bibliographies in which the same citations occur and \biblatex\ cannot by default tell which bibliography list a citation should refer to. See the example file \file{94-labelprefix.tex} for more details.
4519
4520 \begin{ltxexample}[style=latex]
4521 \DeclareRefcontext{testrc}{labelprefix=A}
4522 \assignrefcontextentries[name=testrc]{key2}
4523 \cite{key1}
4524 \begin{refcontext}[labelprefix=B]
4525 \cite{key2}
4526 \end{refcontext}
4527 \end{ltxexample}
4528 %
4529 Here, the data for the citation of \bibfield{key2} will be drawn from the refcontext named <testrc> which has \opt{labelprefix=A} and not \opt{labelprefix=B} (resulting in a label with prefix <A> and not <B>).
4530
4531 \begin{ltxexample}[style=latex]
4532 \DeclareRefcontext{testrc}{labelprefix=A}
4533 \assignrefcontextentries[name=testrc,labelprefix=C]{key2}
4534 \cite{key1}
4535 \begin{refcontext}[labelprefix=B]
4536 \cite{key2}
4537 \end{refcontext}
4538 \end{ltxexample}
4539 %
4540 Here, the data for the citation of \bibfield{key2} will be drawn from refcontext with \opt{labelprefix=C} and not \opt{labelprefix=A} since the explicit options override the named refcontext (resulting in a label with prefix <C> and not <A> or <B>).
4541
4542 \begin{ltxsyntax}
4543 \cmditem{GenRefcontextData}{key=value, \dots}
4544
4545 This command takes the same key/value options as \cmd{DeclareRefcontext}. It forces the currently active refcontext, optionally modified by the key/value options, to be written to the \file{.bcf} so that \biber will create a sorted data list for the specified refcontext. Normally this is automatic when \cmd{printbibliography}/\cmd{prinbiblist} is used in a reference context but there are situations where the data for a refcontext will be needed but no reference list is generated in that context e.g. to sort citations with the \opt{sortcites} option when the sorting of citations requires a different refcontext to that used for the actual reference list.
4546 \end{ltxsyntax}
4547
4548 \subsubsection{Dynamic Entry Sets}
4549 \label{use:bib:set}
4550
4551 In addition to the \bibtype{set} entry type, \biblatex also supports dynamic entry sets defined on a per-document\slash per-refsection basis. The following command, which may be used in the document preamble or the document body, defines the set \prm{key}:
4552
4553 \begin{ltxsyntax}
4554
4555 \cmditem{defbibentryset}{key}{key1,key2,key3, \dots}
4556
4557 The \prm{key} is the entry key of the set, which is used like any other entry key when referring to the set. The \prm{key} must be unique and it must not conflict with any other entry key. The second argument is a comma"=separated list of the entry keys which make up the set. \cmd{defbibentryset} implies the equivalent of a \cmd{nocite} command, \ie all sets which are declared are also added to the bibliography. When declaring the same set more than once, only the first invocation of \cmd{defbibentryset} will define the set. Subsequent definitions of the same \prm{key} are ignored and work like \cmd{nocite}\prm{key}. Dynamic entry sets defined in the document body are local to the enclosing \env{refsection} environment, if any. Otherwise, they are assigned to reference section~0. Those defined in the preamble are assigned to reference section~0. See \secref{use:use:set} for further details.
4558
4559 \end{ltxsyntax}
4560
4561 \subsection{Citation Commands}
4562 \label{use:cit}
4563
4564 All citation commands generally take one mandatory and two optional arguments. The \prm{prenote} is text to be printed at the beginning of the citation. This is usually a notice such as <see> or <compare>. The \prm{postnote} is text to be printed at the very end of the citation. This is usually a page number. If only one of these arguments is given, it is taken as a postnote. If you want to specify a prenote but no postnote, you need to leave the second optional argument empty, as in |\cite[see][]{key}|. The \prm{key} argument to all citation commands is mandatory. This is the entry key or a comma"=separated list of keys corresponding to the entry keys in the \file{bib} file. In sum, all basic citations commands listed further down have the following syntax:
4565
4566 \begin{ltxsyntax}
4567
4568 \cmditem*{command}[prenote][postnote]{keys}<punctuation>
4569
4570 If the \opt{autopunct} package option from \secref{use:opt:pre:gen} is enabled, they will scan ahead for any \prm{punctuation} immediately following their last argument. This is useful to avoid spurious punctuation marks after citations. This feature is configured with \cmd{DeclareAutoPunctuation}, see \secref{aut:pct:cfg} for details.
4571
4572 \end{ltxsyntax}
4573
4574 \subsubsection{Standard Commands}
4575 \label{use:cit:std}
4576
4577 The following commands are defined by the citation style. Citation styles may provide any arbitrary number of specialized commands, but these are the standard commands typically provided by general-purpose styles.
4578
4579 \begin{ltxsyntax}
4580
4581 \cmditem{cite}[prenote][postnote]{key}
4582 \cmditem{Cite}[prenote][postnote]{key}
4583
4584 These are the bare citation commands. They print the citation without any additions such as parentheses. The numeric and alphabetic styles still wrap the label in square brackets since the reference may be ambiguous otherwise. \cmd{Cite} is similar to \cmd{cite} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix and the citation style prints any name at all.
4585
4586 \cmditem{parencite}[prenote][postnote]{key}
4587 \cmditem{Parencite}[prenote][postnote]{key}
4588
4589 These commands use a format similar to \cmd{cite} but enclose the entire citation in parentheses. The numeric and alphabetic styles use square brackets instead. \cmd{Parencite} is similar to \cmd{parencite} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix and the citation style prints any name at all.
4590
4591 \cmditem{footcite}[prenote][postnote]{key}
4592 \cmditem{footcitetext}[prenote][postnote]{key}
4593
4594 These command use a format similar to \cmd{cite} but put the entire citation in a footnote and add a period at the end. In the footnote, they automatically capitalize the name prefix of the first name if the \opt{useprefix} option is enabled, provided that there is a name prefix and the citation style prints any name at all. \cmd{footcitetext} differs from \cmd{footcite} in that it uses \cmd{footnotetext} instead of \cmd{footnote}.
4595
4596 \end{ltxsyntax}
4597
4598 \subsubsection{Style-specific Commands}
4599 \label{use:cit:cbx}
4600
4601 The following additional citation commands are only provided by some of the citation styles which come with this package.
4602
4603 \begin{ltxsyntax}
4604
4605 \cmditem{textcite}[prenote][postnote]{key}
4606 \cmditem{Textcite}[prenote][postnote]{key}
4607
4608 These citation commands are provided by all styles that come with this package. They are intended for use in the flow of text, replacing the subject of a sentence. They print the authors or editors followed by a citation label which is enclosed in parentheses. Depending on the citation style, the label may be a number, the year of publication, an abridged version of the title, or something else. The numeric and alphabetic styles use square brackets instead of parentheses. In the verbose styles, the label is provided in a footnote. Trailing punctuation is moved between the author or editor names and the footnote mark. \cmd{Textcite} is similar to \cmd{textcite} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix.
4609
4610 \cmditem{smartcite}[prenote][postnote]{key}
4611 \cmditem{Smartcite}[prenote][postnote]{key}
4612
4613 Like \cmd{parencite} in a footnote and like \cmd{footcite} in the body.
4614
4615 \cmditem{cite*}[prenote][postnote]{key}
4616
4617 This command is provided by all author-year and author-title styles. It is similar to the regular \cmd{cite} command but merely prints the year or the title, respectively.
4618
4619 \cmditem{parencite*}[prenote][postnote]{key}
4620
4621 This command is provided by all author-year and author-title styles. It is similar to the regular \cmd{parencite} command but merely prints the year or the title, respectively.
4622
4623 \cmditem{supercite}{key}
4624
4625 This command, which is only provided by the numeric styles, prints numeric citations as superscripts without brackets. It uses \cmd{supercitedelim} instead of \cmd{multicitedelim} as citation delimiter. Note that any \prm{prenote} and \prm{postnote} arguments are ignored. If they are given, \cmd{supercite} will discard them and issue a warning message.
4626
4627 \end{ltxsyntax}
4628
4629 \subsubsection{Qualified Citation Lists}
4630 \label{use:cit:mlt}
4631
4632 This package supports a class of special citation commands called <multicite> commands. The point of these commands is that their argument is a list of citations where each item forms a fully qualified citation with a pre- and\slash or postnote. This is particularly useful with parenthetical citations and citations given in footnotes. It is also possible to assign a pre- and\slash or postnote to the entire list. The multicite commands are built on top of backend commands like \cmd{parencite} and \cmd{footcite}. The citation style provides a multicite definition with \cmd{DeclareMultiCiteCommand} (see \secref{aut:cbx:cbx}). The following example illustrates the syntax of multicite commands:
4633
4634 \begin{ltxexample}
4635 \parencites[35]{key1}[88--120]{key2}[23]{key3}
4636 \end{ltxexample}
4637 %
4638 The format of the arguments is similar to that of the regular citation commands, except that only one citation command is given. If only one optional argument is given for an item in the list, it is taken as a postnote. If you want to specify a prenote but no postnote, you need to leave the second optional argument of the respective item empty:
4639
4640 \begin{ltxexample}
4641 \parencites[35]{key1}[chapter 2 in][]{key2}[23]{key3}
4642 \end{ltxexample}
4643 %
4644 In addition to that, the entire citation list may also have a pre- and\slash or postnote. The syntax of these global notes differs from other optional arguments in that they are given in parentheses rather than the usual brackets:
4645
4646 \begin{ltxexample}
4647 \parencites<<(>>and chapter 3<<)>>[35]{key1}[78]{key2}[23]{key3}
4648 \parencites<<(>>Compare<<)()>>[35]{key1}[78]{key2}[23]{key3}
4649 \parencites<<(>>See<<)(>>and the introduction<<)>>[35]{key1}[78]{key2}[23]{key3}
4650 \end{ltxexample}
4651 %
4652 Note that the multicite commands keep on scanning for arguments until they encounter a token that is not the start of an optional or mandatory argument. If a left brace or bracket follows a multicite command, you need to mask it by adding \cmd{relax} or a control space (a backslash followed by a space) after the last valid argument. This will cause the scanner to stop.
4653
4654 \begin{ltxexample}[style=latex,showspaces]
4655 \parencites[35]{key1}[78]{key2}<<\relax>>[...]
4656 \parencites[35]{key1}[78]{key2}<<\ >>{...}
4657 \end{ltxexample}
4658 %
4659 By default, this package provides the following multicite commands which correspond to regular commands from \secref{use:cit:std, use:cit:cbx}:
4660
4661 \begin{ltxsyntax}
4662
4663 \cmditem{cites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4664 \cmditem{Cites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4665
4666 The multicite version of \cmd{cite} and \cmd{Cite}, respectively.
4667
4668 \cmditem{parencites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4669 \cmditem{Parencites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4670
4671 The multicite version of \cmd{parencite} and \cmd{Parencite}, respectively.
4672
4673 \cmditem{footcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4674 \cmditem{footcitetexts}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4675
4676 The multicite version of \cmd{footcite} and \cmd{footcitetext}, respectively.
4677
4678 \cmditem{smartcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4679 \cmditem{Smartcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4680
4681 The multicite version of \cmd{smartcite} and \cmd{Smartcite}, respectively.
4682
4683 \cmditem{textcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4684 \cmditem{Textcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4685
4686 The multicite version of \cmd{textcite} and \cmd{Textcite}, respectively.
4687
4688 \cmditem{supercites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4689
4690 The multicite version of \cmd{supercite}. This command is only provided by the numeric styles.
4691
4692 \end{ltxsyntax}
4693
4694 \subsubsection{Style-independent Commands}
4695 \label{use:cit:aut}
4696
4697 Sometimes it is desirable to give the citations in the source file in a format that is not tied to a specific citation style and can be modified globally in the preamble. The format of the citations is easily changed by loading a different citation style. However, when using commands such as \cmd{parencite} or \cmd{footcite}, the way the citations are integrated with the text is still effectively hard"=coded. The idea behind the \cmd{autocite} command is to provide higher"=level citation markup which makes global switching from inline citations to citations given in footnotes (or as superscripts) possible. The \cmd{autocite} command is built on top of backend commands like \cmd{parencite} and \cmd{footcite}. The citation style provides an \cmd{autocite} definition with \cmd{DeclareAutoCiteCommand} (see \secref{aut:cbx:cbx}). This definition may be activated with the \opt{autocite} package option from \secref{use:opt:pre:gen}. The citation style will usually initialize this package option to a value which is suitable for the style, see \secref{use:xbx:cbx} for details. Note that there are certain limits to high"=level citation markup. For example, inline author-year citation schemes often integrate citations so tightly with the text that it is virtually impossible to automatically convert them to footnotes. The \cmd{autocite} command is only applicable in cases in which you would normally use \cmd{parencite} or \cmd{footcite} (or \cmd{supercite}, with a numeric style). The citations should be given at the end of a sentence or a partial sentence, immediately preceding the terminal punctuation mark, and they should not be a part of the sentence in a grammatical sense (like \cmd{textcite}, for example).
4698
4699 \begin{ltxsyntax}
4700
4701 \cmditem{autocite}[prenote][postnote]{key}
4702 \cmditem{Autocite}[prenote][postnote]{key}
4703
4704 In contrast to other citation commands, the \cmd{autocite} command does not only scan ahead for punctuation marks following its last argument to avoid double punctuation marks, it actually moves them around if required. For example, with \kvopt{autocite}{footnote}, a trailing punctuation mark will be moved such that the footnote mark is printed after the punctuation. \cmd{Autocite} is similar to \cmd{autocite} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix and the citation style prints any name at all.
4705
4706 \cmditem*{autocite*}[prenote][postnote]{key}
4707 \cmditem*{Autocite*}[prenote][postnote]{key}
4708
4709 The starred variants of \cmd{autocite} do not behave differently from the regular ones. The asterisk is simply passed on to the backend command. For example, if \cmd{autocite} is configured to use \cmd{parencite}, then \cmd{autocite*} will execute \cmd{parencite*}.
4710
4711 \cmditem{autocites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4712 \cmditem{Autocites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4713
4714 This is the multicite version of \cmd{autocite}. It also detects and moves punctuation if required. Note that there is no starred variant. \cmd{Autocites} is similar to \cmd{autocites} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix and the citation style prints any name at all.
4715
4716 \end{ltxsyntax}
4717
4718 \subsubsection{Text Commands}
4719 \label{use:cit:txt}
4720
4721 The following commands are provided by the core of \biblatex. They are intended for use in the flow of text. Note that all text commands are excluded from citation tracking.
4722
4723 \begin{ltxsyntax}
4724
4725 \cmditem{citeauthor}[prenote][postnote]{key}
4726 \cmditem*{citeauthor*}[prenote][postnote]{key}
4727 \cmditem{Citeauthor}[prenote][postnote]{key}
4728 \cmditem*{Citeauthor*}[prenote][postnote]{key}
4729
4730 These commands print the authors. Strictly speaking, it prints the \bibfield{labelname} list, which may be the
4731 \bibfield{author}, the \bibfield{editor}, or the \bibfield{translator}. \cmd{Citeauthor} is similar to \cmd{citeauthor} but capitalizes the name prefix of the first name in the citation if the \opt{useprefix} option is enabled, provided that there is a name prefix. The starred variants effectively force maxcitenames to 1 for just this command on so only print the first name in the labelname list (potentially followed by the «et al» string if there are more names). This allows more natural textual flow when referring to a paper in the singular when otherwise \cmd{citeauthor} would generate a (naturally plural) list of names.
4732
4733 \cmditem{citetitle}[prenote][postnote]{key}
4734 \cmditem*{citetitle*}[prenote][postnote]{key}
4735
4736 This command prints the title. It will use the abridged title in the \bibfield{shorttitle} field, if available. Otherwise it falls back to the full title found in the \bibfield{title} field. The starred variant always prints the full title.
4737
4738 \cmditem{citeyear}[prenote][postnote]{key}
4739 \cmditem*{citeyear*}[prenote][postnote]{key}
4740
4741 This command prints the year (\bibfield{year} field or year component of \bibfield{date}). The starred variant includes the \bibfield{extradate} information, if any.
4742
4743 \cmditem{citedate}[prenote][postnote]{key}
4744 \cmditem*{citedate*}[prenote][postnote]{key}
4745
4746 This command prints the full date (\bibfield{date} or \bibfield{year}). The starred variant includes the \bibfield{extradate} information, if any.
4747
4748 \cmditem{citeurl}[prenote][postnote]{key}
4749
4750 This command prints the \bibfield{url} field.
4751
4752 \cmditem{parentext}{text}
4753
4754 This command wraps the \prm{text} in context sensitive parentheses.
4755
4756 \cmditem{brackettext}{text}
4757
4758 This command wraps the \prm{text} in context sensitive brackets.
4759
4760 \end{ltxsyntax}
4761
4762 \subsubsection{Special Commands}
4763 \label{use:cit:spc}
4764
4765 The following special commands are also provided by the core of \biblatex.
4766
4767 \begin{ltxsyntax}
4768
4769 \cmditem{nocite}{key}
4770 \cmditem*{nocite}|\{*\}|
4771
4772 This command is similar to the standard \latex \cmd{nocite} command. It
4773 adds the \prm{key} to the bibliography without printing a citation. If the
4774 \prm{key} is an asterisk, all entries available in the in-scope bibliography datasource(s) are added to the bibliography. Like all other citation commands, \cmd{nocite} commands in the document body are local to the enclosing \env{refsection} environment, if any. In contrast to standard \latex, \cmd{nocite} may also be used in the document preamble. In this case, the references are assigned to reference section~0. For the purposes of ordering citations by appearance \cmd{nocite} will behave like all other cite commands, with the added rule that a \cmd{nocite} issued in the preamble is treated as coming before all explicit citations in reference section~0 from the document body.
4775
4776 \cmditem{fullcite}[prenote][postnote]{key}
4777
4778 This command uses the bibliography driver for the respective entry type to create a full citation similar to the bibliography entry. It is thus related to the bibliography style rather than the citation style.
4779
4780 \cmditem{footfullcite}[prenote][postnote]{key}
4781
4782 Similar to \cmd{fullcite} but puts the entire citation in a footnote and adds a period at the end.
4783
4784 \cmditem{volcite}[prenote]{volume}[pages]{key}
4785 \cmditem{Volcite}[prenote]{volume}[pages]{key}
4786
4787 These commands are similar to \cmd{cite} and \cmd{Cite} but intended for references to multi"=volume works which are cited by volume and page number. Instead of the \prm{postnote}, they take a mandatory \prm{volume} and an optional \prm{pages} argument. Since they merely compose the postnote and pass it to the \cmd{cite} command provided by the citation style as a \prm{postnote} argument, these commands are style independent. The volume and pages/text portion are formatted with the macro \cmd{mkvolcitenote} when they are passed on to the citation command. Additionally they are made available in the special fields \bibfield{volcitevolume} and \bibfield{volcitepages} (\secref{aut:cbx:fld}) The format of the volume portion is controlled by the field formatting directive \opt{volcitevolume}, the format of the pages/text portion is controlled by the field formatting directive \opt{volcitepages} (\secref{aut:fmt:ich}). The delimiter printed between the volume portion and the pages/text portion may be modified by redefining the macro \cmd{volcitedelim} (\secref{aut:fmt:fmt}).
4788
4789 \cmditem{volcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4790 \cmditem{Volcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4791
4792 The multicite version of \cmd{volcite} and \cmd{Volcite}, respectively.
4793
4794 \cmditem{pvolcite}[prenote]{volume}[pages]{key}
4795 \cmditem{Pvolcite}[prenote]{volume}[pages]{key}
4796
4797 Similar to \cmd{volcite} but based on \cmd{parencite}.
4798
4799 \cmditem{pvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4800 \cmditem{Pvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4801
4802 The multicite version of \cmd{pvolcite} and \cmd{Pvolcite}, respectively.
4803
4804 \cmditem{fvolcite}[prenote]{volume}[pages]{key}
4805 \cmditem{Fvolcite}[prenote]{volume}[pages]{key}
4806 \cmditem{ftvolcite}[prenote]{volume}[pages]{key}
4807 \cmditem{Ftvolcite}[prenote]{volume}[pages]{key}
4808
4809 Similar to \cmd{volcite} but based on \cmd{footcite} and \cmd{footcitetext}, respectively.
4810
4811 \cmditem{fvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4812 \cmditem{Fvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4813 \cmditem{ftvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4814 \cmditem{Ftvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4815
4816 The multicite version of \cmd{fvolcite} and \cmd{ftvolcite}, respectively.
4817
4818 \cmditem{svolcite}[prenote]{volume}[pages]{key}
4819 \cmditem{Svolcite}[prenote]{volume}[pages]{key}
4820
4821 Similar to \cmd{volcite} but based on \cmd{smartcite}.
4822
4823 \cmditem{svolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4824 \cmditem{Svolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4825
4826 The multicite version of \cmd{svolcite} and \cmd{Svolcite}, respectively.
4827
4828 \cmditem{tvolcite}[prenote]{volume}[pages]{key}
4829 \cmditem{Tvolcite}[prenote]{volume}[pages]{key}
4830
4831 Similar to \cmd{volcite} but based on \cmd{textcite}.
4832
4833 \cmditem{tvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4834 \cmditem{Tvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4835
4836 The multicite version of \cmd{tvolcite} and \cmd{Tvolcite}, respectively.
4837
4838 \cmditem{avolcite}[prenote]{volume}[pages]{key}
4839 \cmditem{Avolcite}[prenote]{volume}[pages]{key}
4840
4841 Similar to \cmd{volcite} but based on \cmd{autocite}.
4842
4843 \cmditem{avolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4844 \cmditem{Avolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4845
4846 The multicite version of \cmd{avolcite} and \cmd{Avolcite}, respectively.
4847
4848 \cmditem{notecite}[prenote][postnote]{key}
4849 \cmditem{Notecite}[prenote][postnote]{key}
4850
4851 These commands print the \prm{prenote} and \prm{postnote} arguments but no citation. This may be useful for authors who incorporate implicit citations in their writing, only giving information not mentioned before in the running text, but who still want to take advantage of the automatic \prm{postnote} formatting and citation tracking. This is a generic, style"=independent citation command. Special citation styles may provide smarter facilities for the same purpose. The capitalized version forces capitalization (note that this is only applicable if the note starts with a command which is sensitive to \biblatex's punctuation tracker).
4852
4853 \cmditem{pnotecite}[prenote][postnote]{key}
4854 \cmditem{Pnotecite}[prenote][postnote]{key}
4855
4856 Similar to \cmd{notecite} but the notes are printed in parentheses.
4857
4858 \cmditem{fnotecite}[prenote][postnote]{key}
4859
4860 Similar to \cmd{notecite} but the notes are printed in a footnote.
4861
4862 \end{ltxsyntax}
4863
4864 \subsubsection{Low-level Commands}
4865 \label{use:cit:low}
4866
4867 The following commands are also provided by the core of \biblatex. They grant access to all lists and fields at a lower level.
4868
4869 \begin{ltxsyntax}
4870
4871 \cmditem{citename}[prenote][postnote]{key}[format]{name list}
4872
4873 The \prm{format} is a formatting directive defined with \cmd{DeclareNameFormat}. Formatting directives are discussed in \secref{aut:bib:fmt}. If this optional argument is omitted, this command falls back to the format \texttt{citename}. The last argument is the name of a \prm{name list}, in the sense explained in \secref{bib:fld}.
4874
4875 \cmditem{citelist}[prenote][postnote]{key}[format]{literal list}
4876
4877 The \prm{format} is a formatting directive defined with \cmd{DeclareListFormat}. Formatting directives are discussed in \secref{aut:bib:fmt}. If this optional argument is omitted, this command falls back to the format \texttt{citelist}. The last argument is the name of a \prm{literal list}, in the sense explained in \secref{bib:fld}.
4878
4879 \cmditem{citefield}[prenote][postnote]{key}[format]{field}
4880
4881 The \prm{format} is a formatting directive defined with \cmd{DeclareFieldFormat}. Formatting directives are discussed in \secref{aut:bib:fmt}. If this optional argument is omitted, this command falls back to the format \texttt{citefield}. The last argument is the name of a \prm{field}, in the sense explained in \secref{bib:fld}.
4882
4883 \end{ltxsyntax}
4884
4885 \subsubsection{Miscellaneous Commands}
4886 \label{use:cit:msc}
4887
4888 The commands in this section are little helpers related to citations.
4889
4890 \begin{ltxsyntax}
4891
4892 \csitem{citereset}
4893
4894 This command resets the citation style. This may be useful if the style replaces repeated citations with abbreviations like \emph{ibidem}, \emph{idem}, \emph{op. cit.}, etc. and you want to force a full citation at the beginning of a new chapter, section, or some other location. The command executes a style specific initialization hook defined with the \cmd{InitializeCitationStyle} command from \secref{aut:cbx:cbx}. It also resets the internal citation trackers of this package. The reset will affect the \cmd{ifciteseen}, \cmd{ifentryseen}, \cmd{ifciteibid}, and \cmd{ifciteidem} tests discussed in \secref{aut:aux:tst}. When used inside a \env{refsection} environment, the reset of the citation tracker is local to the current \env{refsection} environment. Also see the \opt{citereset} package option in \secref{use:opt:pre:gen}.
4895
4896 \csitem{citereset*}
4897
4898 Similar to \cmd{citereset} but only executes the style's initialization hook, without resetting the internal citation trackers.
4899
4900 \csitem{mancite}
4901
4902 Use this command to mark manually inserted citations if you mix automatically generated and manual citations. This is particularly useful if the citation style replaces repeated citations by an abbreviation like \emph{ibidem} which may get ambiguous or misleading otherwise. Always use \cmd{mancite} in the same context as the manual citation, \eg if the citation is given in a footnote, include \cmd{mancite} in the footnote. The \cmd{mancite} command executes a style specific reset hook defined with the \cmd{OnManualCitation} command from \secref{aut:cbx:cbx}. It also resets the internal <ibidem> and <idem> trackers of this package. The reset will affect the \cmd{ifciteibid} and \cmd{ifciteidem} tests discussed in \secref{aut:aux:tst}.
4903
4904 \csitem{pno}
4905
4906 This command forces a single page prefix in the \prm{postnote} argument to a citation command. See \secref{use:cav:pag} for further details and usage instructions. Note that this command is only available locally in citations and the bibliography.
4907
4908 \csitem{ppno}
4909
4910 Similar to \cmd{pno} but forces a range prefix. See \secref{use:cav:pag} for further details and usage instructions. Note that this command is only available locally in citations and the bibliography.
4911
4912 \csitem{nopp}
4913
4914 Similar to \cmd{pno} but suppresses all prefixes. See \secref{use:cav:pag} for further details and usage instructions. Note that this command is only available locally in citations and the bibliography.
4915
4916 \csitem{psq}
4917
4918 In the \prm{postnote} argument to a citation command, this command indicates a range of two pages where only the starting page is given. See \secref{use:cav:pag} for further details and usage instructions. The suffix printed is the localisation string \texttt{sequens}, see \secref{aut:lng:key}. The spacing inserted between the suffix and the page number may be modified by redefining the macro \cmd{sqspace}. The default is an unbreakable interword space. Note that this command is only available locally in citations and the bibliography.
4919
4920 Note also that you might want to use the option \opt{citepagerange} (see \secref{use:opt:pre:gen}) to automatize the use of this command rather than entering it manually.
4921
4922 \csitem{psqq}
4923
4924 Similar to \cmd{psq} but, depending on the convention, indicates either a range of three pages or an open-ended page range greater than two pages. See \secref{use:cav:pag} for further details and usage instructions. The suffix printed is the localisation string \texttt{sequentes}, see \secref{aut:lng:key}. This command is only available locally in citations and the bibliography.
4925
4926 Note also that you might want to use the option \opt{citepagerange} (see \secref{use:opt:pre:gen}) to automatize the use of this command rather than entering it manually.
4927
4928 \cmditem{pnfmt}{text}
4929
4930 This command formats its argument \prm{text} in the same format as \bibfield{postnote}. The command can be used to format a page range while adding additional text in the postnote argument of a cite command.
4931
4932 \begin{ltxexample}
4933 \autocite[\pnfmt{378-381, 383} and more]{sigfridsson}
4934 \end{ltxexample}
4935
4936 \cmditem{RN}{integer}
4937
4938 This command prints an integer as an uppercase Roman numeral. The formatting applied to the numeral may be modified by redefining the macro \cmd{RNfont}.
4939
4940 \cmditem{Rn}{integer}
4941
4942 Similar to \cmd{RN} but prints a lowercase Roman numeral. The formatting applied to the numeral may be modified by redefining the macro \cmd{Rnfont}.
4943
4944 \end{ltxsyntax}
4945
4946 \subsubsection{\sty{natbib} Compatibility Commands}
4947 \label{use:cit:nat}
4948
4949 The \opt{natbib} package option loads a \sty{natbib} compatibility module. The module defines aliases for the citation commands provided by the \sty{natbib} package. This includes aliases for the core citation commands \cmd{citet} and \cmd{citep} as well as the variants \cmd{citealt} and \cmd{citealp}. The starred variants of these commands, which print the full author list, are also supported. The \cmd{cite} command, which is handled in a particular way by \sty{natbib}, is not treated in a special way. The text commands (\cmd{citeauthor}, \cmd{citeyear}, etc.) are also supported, as are all commands which capitalize the name prefix (\cmd{Citet}, \cmd{Citep}, \cmd{Citeauthor}, etc.). Aliasing with \cmd{defcitealias}, \cmd{citetalias}, and \cmd{citepalias} is possible as well. Note that the compatibility commands will not emulate the citation format of the \sty{natbib} package. They merely alias \sty{natbib}'s commands to functionally equivalent facilities of the \biblatex package. The citation format depends on the main citation style. However, the compatibility style will adapt \cmd{nameyeardelim} to match the default style of the \sty{natbib} package.
4950
4951 \subsubsection[\sty{mcite}-like Citation Commands]{\sty{mcite}-like Citation Commands}
4952 \label{use:cit:mct}
4953
4954 The \opt{mcite} package option loads a special citation module which provides \sty{mcite}\slash \sty{mciteplus}-like citation commands. Strictly speaking, what the module provides are wrappers for the commands of the main citation style. For example, the following command:
4955
4956 \begin{ltxexample}
4957 \mcite{key1,setA,*keyA1,*keyA2,*keyA3,key2,setB,*keyB1,*keyB2,*keyB3}
4958 \end{ltxexample}
4959 %
4960 is essentially equivalent to this:
4961
4962 \begin{ltxexample}
4963 \defbibentryset{setA}{keyA1,keyA2,keyA3}%
4964 \defbibentryset{setB}{keyB1,keyB2,keyB3}%
4965 \cite{key1,setA,key2,setB}
4966 \end{ltxexample}
4967 %
4968 The \cmd{mcite} command will work with any style since the \cmd{cite} backend command is controlled by the main citation style as usual. The \texttt{mcite} module provides wrappers for the standard commands in \secref{use:cit:std,use:cit:cbx}. See \tabref{use:cit:mct:tab2} for an overview. Pre and postnotes as well as starred variants of all commands are also supported. The parameters will be passed to the backend command. For example:
4969
4970 \begin{ltxexample}
4971 \mcite*[pre][post]{setA,*keyA1,*keyA2,*keyA3}
4972 \end{ltxexample}
4973 %
4974 will execute:
4975
4976 \begin{ltxexample}
4977 \defbibentryset{setA}{keyA1,keyA2,keyA3}%
4978 \cite*[pre][post]{setA}
4979 \end{ltxexample}
4980 %
4981 Note that the \texttt{mcite} module is not a compatibility module. It provides commands which are very similar but not identical in syntax and function to \sty{mcite}'s commands. When migrating from \sty{mcite}\slash\sty{mciteplus} to \biblatex, legacy files must be updated. With \sty{mcite}, the first member of the citation group is also the identifier of the group as a whole. Borrowing an example from the \sty{mcite} manual, this group:
4982
4983 \begin{table}
4984 \caption{\sty{mcite}-like commands}
4985 \label{use:cit:mct:tab1}
4986 \tablesetup
4987 \begin{tabular}{@{}V{0.5\textwidth}@{}V{0.5\textwidth}@{}}
4988 \toprule
4989 \multicolumn{1}{@{}H}{Standard Command} &
4990 \multicolumn{1}{@{}H}{\sty{mcite}-like Command} \\
4991 \cmidrule(r){1-1}\cmidrule{2-2}
4992 |\cite| & |\mcite| \\
4993 |\Cite| & |\Mcite| \\
4994 |\parencite| & |\mparencite| \\
4995 |\Parencite| & |\Mparencite| \\
4996 |\footcite| & |\mfootcite| \\
4997 |\footcitetext| & |\mfootcitetext| \\
4998 |\textcite| & |\mtextcite| \\
4999 |\Textcite| & |\Mtextcite| \\
5000 |\supercite| & |\msupercite| \\
5001 |\autocite| & |\mautocite| \\
5002 |\Autocite| & |\Mautocite| \\
5003 \bottomrule
5004 \end{tabular}
5005 \end{table}
5006
5007 \begin{ltxexample}
5008 \cite{<<glashow>>,*salam,*weinberg}
5009 \end{ltxexample}
5010 %
5011 consists of three entries and the entry key of the first one also serves as identifier of the entire group. In contrast to that, a \biblatex entry set is an entity in its own right. Therefore, it requires a unique entry key which is assigned to the set as it is defined:
5012
5013 \begin{ltxexample}
5014 \mcite{<<set1>>,*glashow,*salam,*weinberg}
5015 \end{ltxexample}
5016 %
5017 Once defined, an entry set is handled like any regular entry in a \file{bib} file. When using one of the \texttt{numeric} styles which come with \biblatex and activating its \opt{subentry} option, it is even possible to refer to set members. See \tabref{use:cit:mct:tab2} for some examples. Restating the original definition of the set is redundant, but permissible. In contrast to \sty{mciteplus}, however, restating a part of the original definition is invalid. Use the entry key of the set instead.
5018
5019 \begin{table}
5020 \caption[\sty{mcite}-like syntax]
5021 {\sty{mcite}-like syntax (sample output with \kvopt{style}{numeric} and \opt{subentry} option)}
5022 \label{use:cit:mct:tab2}
5023 \tablesetup
5024 \begin{tabular}{@{}V{0.6\textwidth}@{}V{0.1\textwidth}@{}p{0.3\textwidth}@{}}
5025 \toprule
5026 \multicolumn{1}{@{}H}{Input} &
5027 \multicolumn{1}{@{}H}{Output} &
5028 \multicolumn{1}{@{}H}{Comment} \\
5029 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule{3-3}
5030 |\mcite{set1,*glashow,*salam,*weinberg}|& [1] & Defining and citing the set \\
5031 |\mcite{set1}| & [1] & Subsequent citation of the set \\
5032 |\cite{set1}| & [1] & Regular |\cite| works as usual \\
5033 |\mcite{set1,*glashow,*salam,*weinberg}|& [1] & Redundant, but permissible \\
5034 |\mcite{glashow}| & [1a] & Citing a set member \\
5035 |\cite{weinberg}| & [1c] & Regular |\cite| works as well \\
5036 \bottomrule
5037 \end{tabular}
5038 \end{table}
5039
5040 \subsection{Localization Commands}
5041 \label{use:lng}
5042
5043 The \biblatex package provides translations for key terms such as <edition> or <volume> as well as definitions for language specific features such as the date format and ordinals. These definitions, which are loaded automatically, may be modified or extended in the document preamble or the configuration file with the commands introduced in this section.
5044
5045 \begin{ltxsyntax}
5046
5047 \cmditem{DefineBibliographyStrings}{language}{definitions}
5048
5049 This command is used to define localisation strings. The \prm{language} must be a language name known to the \sty{babel}/\sty{polyglossia} packages, \ie one of the identifiers listed in \tabref{bib:fld:tab1} on page \pageref{bib:fld:tab1}. The \prm{definitions} are \keyval pairs which assign an expression to an identifier:
5050
5051 \begin{ltxexample}
5052 \DefineBibliographyStrings{american}{%
5053 bibliography = {Bibliography},
5054 shorthands = {Abbreviations},
5055 editor = {editor},
5056 editors = {editors},
5057 }
5058 \end{ltxexample}
5059 %
5060 A complete list of all keys supported by default is given is \secref{aut:lng:key}. Note that all expressions should be capitalized as they usually are when used in the middle of a sentence. The \biblatex package will automatically capitalize the first word when required at the beginning of a sentence. Expressions intended for use in headings should be capitalized in a way that is suitable for titling. In contrast to \cmd{DeclareBibliographyStrings}, \cmd{DefineBibliographyStrings} overrides both the full and the abbreviated version of the string. See \secref{aut:lng:cmd} for further details.
5061
5062 \cmditem{DefineBibliographyExtras}{language}{code}
5063
5064 This command is used to adapt language specific features such as the date format and ordinals. The \prm{language} must be a language name known to the \sty{babel}/\sty{polyglossia} packages. The \prm{code}, which may be arbitrary \latex code, will usually consist of redefinitions of the formatting commands from \secref{use:fmt:lng}.
5065
5066 \cmditem{UndefineBibliographyExtras}{language}{code}
5067
5068 This command is used to restore the original definition of any commands modified with \cmd{DefineBibliographyExtras}. If a redefined command is included in \secref{use:fmt:lng}, there is no need to restore its previous definition since these commands are adapted by all language modules anyway.
5069
5070 \cmditem{DefineHyphenationExceptions}{language}{text}
5071
5072 This is a \latex frontend to \tex's \cmd{hyphenation} command which defines hyphenation exceptions.
5073 The \prm{language} must be a language name known to the \sty{babel}/\sty{polyglossia} packages. The \prm{text} is a whitespace"=separated list of words. Hyphenation points are marked with a dash:
5074
5075 \begin{ltxexample}
5076 \DefineHyphenationExceptions{american}{%
5077 hy-phen-ation ex-cep-tion
5078 }
5079 \end{ltxexample}
5080
5081 \cmditem{NewBibliographyString}{key}
5082
5083 This command declares new localisation strings, \ie it initializes a new \prm{key} to be used in the
5084 \prm{definitions} of \cmd{DefineBibliographyStrings}. The \prm{key} argument may also be a comma"=separated
5085 list of key names. The keys listed in \secref{aut:lng:key} are defined by default.
5086
5087 \end{ltxsyntax}
5088
5089 \subsection{Entry Querying Commands}
5090 \label{use:eq}
5091 The commands in this section are user-facing equivalents of the identically-named commands in section \secref{aut:aux:tst}. They can be used to test for the presence and attributes of specific bibliography entries. See section \secref{aut:aux:tst} for usage.
5092
5093 \begin{ltxsyntax}
5094 \cmditem{ifentryseen}{entrykey}{true}{false}
5095 \cmditem{ifentryinbib}{entrykey}{true}{false}
5096 \cmditem{ifentrycategory}{entrykey}{category}{true}{false}
5097 \cmditem{ifentrykeyword}{entrykey}{keyword}{true}{false}
5098 \end{ltxsyntax}
5099
5100 \subsection{Formatting Commands}
5101 \label{use:fmt}
5102
5103 The commands and facilities presented in this section may be used to adapt the format of citations and the bibliography.
5104
5105 \subsubsection{Generic Commands and Hooks}
5106 \label{use:fmt:fmt}
5107
5108 The commands in this section may be redefined with \cmd{renewcommand} in the document preamble. Those marked as <Context Sensitive> in the margin can also (and generally should) be customised with \cmd{DeclareDelimFormat} and are printed with \cmd{printdelim} (\secref{use:fmt:csd}). Note that all commands starting with \cmd{mk\dots} take one argument. All of these commands are defined in \path{biblatex.def}.
5109
5110 \begin{ltxsyntax}
5111
5112 \csitem{bibsetup}
5113 Arbitrary code to be executed at the beginning of the bibliography, intended for commands which affect the layout of the bibliography.
5114
5115 \csitem{bibfont}
5116 Arbitrary code setting the font used in the bibliography. This is very similar to \cmd{bibsetup} but intended for switching fonts.
5117
5118 \csitem{citesetup}
5119 Arbitrary code to be executed at the beginning of each citation command.
5120
5121 \csitem{newblockpunct}
5122 The separator inserted between <blocks> in the sense explained in \secref{aut:pct:new}. The default definition is controlled by the package option \opt{block} (see \secref{use:opt:pre:gen}).
5123
5124 \csitem{newunitpunct}
5125 The separator inserted between <units> in the sense explained in \secref{aut:pct:new}. This will usually be a period or a comma plus an interword space. The default definition is a period and a space.
5126
5127 \csitem{finentrypunct}
5128 The punctuation printed at the very end of every bibliography entry, usually a period. The default definition is a period.
5129
5130 \csitem{entrysetpunct}
5131 The punctuation printed between bibliography subentries of an entry set. The default definition is a semicolon and a space.
5132
5133 \csitem{bibnamedelima}
5134 This delimiter controls the spacing between the elements which make up a name part. It is inserted automatically by the backend after the first name element if the element is less than three characters long and before the last element. The default definition is \cmd{addhighpenspace}, \ie a space penalized by the value of the \cnt{highnamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
5135
5136 \csitem{bibnamedelimb}
5137 This delimiter controls the spacing between the elements which make up a name part. It is inserted automatically by the backend between all name elements where \cmd{bibnamedelima} does not apply. The default definition is \cmd{addlowpenspace}, \ie a space penalized by the value of the \cnt{lownamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
5138
5139 \csitem{bibnamedelimc}
5140 This delimiter controls the spacing between name parts. The default name formats use it between the name prefix and the family name if \kvopt{useprefix}{true}. The default definition is \cmd{addhighpenspace}, \ie a space penalized by the value of the \cnt{highnamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
5141
5142 \csitem{bibnamedelimd}
5143 This delimiter controls the spacing between name parts. The default name formats use it between all name parts where \cmd{bibnamedelimc} does not apply. The default definition is \cmd{addlowpenspace}, \ie a space penalized by the value of the \cnt{lownamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
5144
5145 \csitem{bibnamedelimi}
5146 This delimiter replaces \cmd{bibnamedelima/b} after initials. Note that this only applies to initials given as such in the \file{bib} file, not to the initials automatically generated by \biblatex which use their own set of delimiters.
5147
5148 \csitem{bibinitperiod}
5149 The punctuation inserted automatically by the backend after all initials unless \cmd{bibinithyphendelim} applies. The default definition is a period (\cmd{adddot}). Please refer to \secref{use:cav:nam} for further details.
5150
5151 \csitem{bibinitdelim}
5152 The spacing inserted automatically by the backend between multiple initials unless \cmd{bibinithyphendelim} applies. The default definition is an unbreakable interword space. Please refer to \secref{use:cav:nam} for further details.
5153
5154 \csitem{bibinithyphendelim}
5155 The punctuation inserted automatically by the backend between the initials of hyphenated name parts, replacing \cmd{bibinitperiod} and \cmd{bibinitdelim}. The default definition is a period followed by an unbreakable hyphen. Please refer to \secref{use:cav:nam} for further details.
5156
5157 \csitem{bibindexnamedelima}
5158 Replaces \cmd{bibnamedelima} in the index.
5159
5160 \csitem{bibindexnamedelimb}
5161 Replaces \cmd{bibnamedelimb} in the index.
5162
5163 \csitem{bibindexnamedelimc}
5164 Replaces \cmd{bibnamedelimc} in the index.
5165
5166 \csitem{bibindexnamedelimd}
5167 Replaces \cmd{bibnamedelimd} in the index.
5168
5169 \csitem{bibindexnamedelimi}
5170 Replaces \cmd{bibnamedelimi} in the index.
5171
5172 \csitem{bibindexinitperiod}
5173 Replaces \cmd{bibinitperiod} in the index.
5174
5175 \csitem{bibindexinitdelim}
5176 Replaces \cmd{bibinitdelim} in the index.
5177
5178 \csitem{bibindexinithyphendelim}
5179 Replaces \cmd{bibinithyphendelim} in the index.
5180
5181 \csitem{revsdnamepunct}
5182 The punctuation to be printed between the given and family name parts when a name is reversed. The default is a comma. Here is an example showing a name with the default comma as \cmd{revsdnamedelim}:
5183
5184 \begin{ltxexample}
5185 Jones<<,>> Edward
5186 \end{ltxexample}
5187
5188 This command should be used with \cmd{bibnamedelimd} as a reversed-name separator in formatting directives for name lists. Please refer to \secref{use:cav:nam} for further details.
5189
5190 \csitem{bibnamedash}
5191 The dash to be used as a replacement for recurrent authors or editors in the bibliography. The default is an <em> or an <en> dash, depending on the indentation of the list of references.
5192
5193 \csitem{labelnamepunct}\DeprecatedMark
5194 A separator to be printed after the name used for alphabetizing in the bibliography (\bibfield{author} or \bibfield{editor}, if the \bibfield{author} field is undefined) instead of \cmd{newunitpunct}. The default is \cmd{newunitpunct}, \ie it is not handled differently from regular unit punctuation but permits convenient reconfiguration. This punctuation command is deprecated and has been superseded by the context-sensitive \cmd{nametitledelim} (see \secref{use:fmt:csd}). For backwards compatibility reasons, however, \cmd{nametitledelim} still defaults to \cmd{labelnamepunct} in the \texttt{bib} and \texttt{biblist} contexts. Style authors may want to consider replacing \cmd{labelnampunct} with \texttt{\textbackslash printdelim\{nametitledelim\}} and users may want to prefer modifying the context-sensitive \texttt{nametitledelim} in the \texttt{bib} context with \cmd{DeclareDelimFormat} over redefining \cmd{labelnamepunct}, \eg
5195 \begin{ltxexample}
5196 \DeclareDelimFormat[bib]{nametitledelim}{%
5197 \addcolon\space}
5198 \end{ltxexample}
5199
5200 \csitem{subtitlepunct}
5201 The separator printed between the fields \bibfield{title} and \bibfield{subtitle}, \bibfield{booktitle} and \bibfield{booksubtitle}, as well as \bibfield{maintitle} and \bibfield{mainsubtitle}. With the default styles, this separator replaces \cmd{newunitpunct} at this location. The default definition is \cmd{newunitpunct}, \ie it is not handled differently from regular unit punctuation.
5202
5203 \csitem{intitlepunct}
5204 The separator between the word «in» and the following title in entry types such as \bibtype{article}, \bibtype{inbook}, \bibtype{incollection}, etc. The default definition is a colon plus an interword space (\eg «Article, in: \emph{Journal}» or «Title, in: \emph{Book}»). Note that this is the separator string, not only the punctuation mark. If you don't want a colon after «in», \cmd{intitlepunct} should still insert a space.
5205
5206 \csitem{bibpagespunct}
5207 The separator printed before the \bibfield{pages} field. The default is a comma plus an interword space.
5208
5209 \csitem{bibpagerefpunct}
5210 The separator printed before the \bibfield{pageref} field. The default is an interword space.
5211
5212 \csitem{bibeidpunct}
5213 The separator printed before the \bibfield{eid} field (similar to \cmd{bibpagespunct}). The default is a comma plus an interword space.
5214
5215 \csitem{multinamedelim}\CSdelimMark
5216 The delimiter printed between multiple items in a name list like \bibfield{author} or \bibfield{editor} if there are more than two names in the list. The default is a comma plus an interword space. See \cmd{finalnamedelim} for an example.\footnote{Note that \cmd{multinamedelim} is not used at all if there are only two names in the list. In this case, the default styles use the \cmd{finalnamedelim}.}
5217
5218 \csitem{finalnamedelim}\CSdelimMark
5219 The delimiter printed instead of \cmd{multinamedelim} before the final name in a name list. The default is the localised term <and>, separated by interword spaces. Here is an example:
5220
5221 \begin{ltxexample}
5222 Michel Goossens<<,>> Frank Mittelbach <<and>> Alexander Samarin
5223 Edward Jones <<and>> Joe Williams
5224 \end{ltxexample}
5225 %
5226 The comma in the first example is the \cmd{multinamedelim} whereas the string <and> in both examples is the \cmd{finalnamedelim}. See also \cmd{finalandcomma} in \secref{use:fmt:lng}.
5227
5228 \csitem{revsdnamedelim}\CSdelimMark
5229 An extra delimiter printed after the first name in a name list if the first name is reversed (only in lists with two names). The default is an empty string, \ie no extra delimiter will be printed. Here is an example showing a name list with a comma as \cmd{revsdnamedelim}:
5230
5231 \begin{ltxexample}
5232 Jones, Edward<<, and>> Joe Williams
5233 \end{ltxexample}
5234 %
5235 In this example, the comma after <Edward> is the \cmd{revsdnamedelim} whereas the string <and> is the \cmd{finalnamedelim}, printed in addition to the former.
5236
5237 \csitem{andothersdelim}\CSdelimMark
5238 The delimiter printed before the localisation string <\texttt{andothers}> if a name list like \bibfield{author} or \bibfield{editor} is truncated. The default is an interword space.
5239
5240 \csitem{multilistdelim}\CSdelimMark
5241 The delimiter printed between multiple items in a literal list like \bibfield{publisher} or \bibfield{location} if there are more than two items in the list. The default is a comma plus an interword space. See \cmd{multinamedelim} for further explanation.
5242
5243 \csitem{finallistdelim}\CSdelimMark
5244 The delimiter printed instead of \cmd{multilistdelim} before the final item in a literal list. The default is the localised term <and>, separated by interword spaces. See \cmd{finalnamedelim} for further explanation.
5245
5246 \csitem{andmoredelim}\CSdelimMark
5247 The delimiter printed before the localisation string <\texttt{andmore}> if a literal list like \bibfield{publisher} or \bibfield{location} is truncated. The default is an interword space.
5248
5249 \csitem{multicitedelim}
5250 The delimiter printed between citations if multiple entry keys are passed to a single citation command. The default is a semicolon plus an interword space.
5251
5252 \csitem{multiciterangedelim}
5253 The delimiter printed between two citations if they are compressed to a range. The default is \cmd{bibrangedash}.
5254
5255 \csitem{multicitesubentrydelim}
5256 The delimiter printed between subentry citations of the same set. This delimiter is only used in citation styles that reduce citations of the same set to a more compact form (\opt{subentry} of \texttt{numeric-comp}). The default is a comma.
5257
5258 \csitem{multicitesubentryrangedelim}
5259 The delimiter printed between two citations of the same set if they are compressed to a range. The default is \cmd{multiciterangedelim}.
5260
5261 \csitem{supercitedelim}
5262 Similar to \cmd{multicitedelim}, but used by the \cmd{supercite} command only. The default is a comma.
5263
5264 \csitem{superciterangedelim}
5265 Analogue of \cmd{multiciterangedelim} for \cmd{supercite}. The default is \cmd{bibrangedash}.
5266
5267 \csitem{supercitesubentrydelim}
5268 Analogue of \cmd{multicitesubentrydelim} for \cmd{supercite}. The default is \cmd{supercitedelim}.
5269
5270 \csitem{supercitesubentryrangedelim}
5271 Analogue of \cmd{multicitesubentryrangedelim} for \cmd{supercite}. The default is \cmd{superciterangedelim}.
5272
5273 \csitem{compcitedelim}
5274 Similar to \cmd{multicitedelim}, but used by certain citation styles when <compressing> multiple citations. The default definition is a comma plus an interword space.
5275
5276 \csitem{textcitedelim}
5277 Similar to \cmd{multicitedelim}, but used by \cmd{textcite} and related commands (\secref{use:cit:cbx}). The default is a comma plus an interword space. The standard styles modify this provisional definition to ensure that the delimiter before the final citation is the localised term <and>, separated by interword spaces. See also \cmd{finalandcomma} and \cmd{finalandsemicolon} in \secref{use:fmt:lng}.
5278
5279 \csitem{nametitledelim}\CSdelimMark
5280 The delimiter printed between the author\slash editor and the title by author-title and some verbose citation styles and in the bibliography. In author-year bibliography styles this delimiter is placed after the author\slash editor and year and before the title. The default definition inside bibliographies is the now deprecated \cmd{labelnamepunct} and is a comma plus an interword space otherwise.
5281
5282 \csitem{nameyeardelim}\CSdelimMark
5283 The delimiter printed between the author\slash editor and the year by author-year citation and bibliography styles. The default definition is an interword space.
5284
5285 \csitem{namelabeldelim}\CSdelimMark
5286 The delimiter printed between the name\slash title and the label by alphabetic and numeric citation styles. The default definition is an interword space.
5287
5288 \csitem{nonameyeardelim}\CSdelimMark
5289 The delimiter printed between the substitute for the labelname when it does not exist (usually the label or title in standard styles) and the year in author-year citation and bibliography styles. This is only used when there is no labelname since when the labelname exists, \cmd{nameyeardelim} is used. The default definition is an interword space.
5290
5291 \csitem{authortypedelim}\CSdelimMark
5292 The delimiter printed between the author and the \texttt{authortype}. The default is a comma followed by a space.
5293
5294 \csitem{editortypedelim}\CSdelimMark
5295 The delimiter printed between the editor and the \texttt{editor} or \texttt{editortype} string. The default is a comma followed by a space.
5296
5297 \csitem{translatortypedelim}\CSdelimMark
5298 The delimiter printed between the translator and the \texttt{translator} string. The default is a comma followed by a space.
5299
5300 \csitem{labelalphaothers}
5301 A string to be appended to the non"=numeric portion of the \bibfield{labelalpha} field (\ie the field holding the citation label used by alphabetic citation styles) if the number of authors\slash editors exceeds the \opt{maxalphanames} threshold or the \bibfield{author}\slash \bibfield{editor} list was truncated in the \file{bib} file with the keyword <\texttt{and others}>. This will typically be a single character such as a plus sign or an asterisk. The default is a plus sign. This command may also be redefined to an empty string to disable this feature. In any case, it must be redefined in the preamble.
5302
5303 \csitem{sortalphaothers}
5304 Similar to \cmd{labelalphaothers} but used in the sorting process. Setting it to a different value is advisable if the latter contains formatting commands, for example:
5305
5306 \begin{ltxexample}
5307 \renewcommand*{\labelalphaothers}{\textbf{+}}
5308 \renewcommand*{\sortalphaothers}{+}
5309 \end{ltxexample}
5310 %
5311 If \cmd{sortalphaothers} is not redefined, it defaults to \cmd{labelalphaothers}.
5312
5313 \csitem{volcitedelim}
5314 The delimiter printed between the volume portion and the page/text portion of \cmd{volcite} and related commands (\secref{use:cit:spc}).
5315
5316 \cmditem{mkvolcitenote}{volume}{pages}
5317
5318 This macro formats the \prm{volume} and \prm{pages} arguments of \cmd{volcite} and related commands (\secref{use:cit:spc}) when they are passed on to the underlying citation command.
5319
5320 \csitem{prenotedelim}\CSdelimMark
5321 The delimiter printed after the \prm{prenote} argument of a citation command. See \secref{use:cit} for details. The default is an interword space.
5322
5323 \csitem{postnotedelim}\CSdelimMark
5324 The delimiter printed before the \prm{postnote} argument of a citation command. See \secref{use:cit} for details. The default is a comma plus an interword space.
5325
5326 \csitem{extpostnotedelim}\CSdelimMark
5327 The delimiter printed between the citation and the parenthetical \prm{postnote} argument of a citation command when the postnote occurs outside of the citation parentheses. In the standard styles, this occurs when the citation uses the shorthand field of the entry. See \secref{use:cit} for details. The default is an interword space.
5328
5329 \csitem{multiprenotedelim}\CSdelimMark
5330 The delimiter printed after the \prm{multiprenote} argument of a citation command. See \secref{use:cit} for details. The default is \cs{prenotedelim}.
5331
5332 \csitem{multipostnotedelim}\CSdelimMark
5333 The delimiter printed before the \prm{multipostnote} argument of a citation command. See \secref{use:cit} for details. The default is \cs{postnotedelim}.
5334
5335 \cmditem{mkbibname<namepart>}{text}
5336 This command, which takes one argument, is used to format the name part <namepart> of name list fields. The default datamodel defines the name parts <family>, <given>, <prefix> and <suffix> and therefore the following macros are automatically defined:
5337
5338 \begin{ltxexample}
5339 \mkbibnamefamily
5340 \mkbibnamegiven
5341 \mkbibnameprefix
5342 \mkbibnamesuffix
5343 \end{ltxexample}
5344 %
5345 For backwards compatibility with the legacy \bibtex name parts, the following are also defined, will generate warnings and will set the correct macro:
5346
5347 \begin{ltxexample}
5348 \mkbibnamelast
5349 \mkbibnamefirst
5350 \mkbibnameaffix
5351 \end{ltxexample}
5352
5353 \cmditem{mkbibcompletenamefamily}{text}
5354 This command, which takes one argument, is used to format the complete name in \texttt{family} format order.
5355
5356 \cmditem{mkbibcompletenamefamilygiven}{text}
5357 This command, which takes one argument, is used to format the complete name in \texttt{family-given} format order.
5358
5359 \cmditem{mkbibcompletenamegivenfamily}{text}
5360 This command, which takes one argument, is used to format the complete name in \texttt{given-family} format order.
5361
5362 \cmditem{mkbibcompletename}{text}
5363 The initial value of all default formatting hooks \cmd{mkbibcompletename<formatorder>}.
5364
5365 \csitem{datecircadelim}\CSdelimMark
5366 When formatting dates with the global option \opt{datecirca} enabled, the delimiter printed after any localised <circa> term. Defaults to interword space.
5367
5368 \csitem{dateeradelim}\CSdelimMark
5369 When formatting dates with the global option \opt{dateera} set, the delimiter printed before the localisation era term. Defaults to interword space.
5370
5371 \csitem{dateuncertainprint}
5372 Prints date uncertainty information when the global option \opt{dateuncertain} is enabled and the \cmd{ifdateuncertain} test is true. By default, prints the language specific \cmd{bibdateuncertain} string (\secref{use:fmt:lng}).
5373
5374 \csitem{enddateuncertainprint}
5375 Prints date uncertainty information when the global option \opt{dateuncertain} is enabled and the \cmd{ifenddateuncertain} test is true. By default, prints the language specific \cmd{bibdateuncertain} string (\secref{use:fmt:lng}).
5376
5377 \csitem{datecircaprint}
5378 Prints date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifdatecirca} test is true. By default, prints the <circa> localised term (\secref{aut:lng:key:dt}) and the \opt{datecircadelim} delimiter.
5379
5380 \csitem{enddatecircaprint}
5381 Prints date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifenddatecirca} test is true. By default, prints the <circa> localised term (\secref{aut:lng:key:dt}) and the \opt{datecircadelim} delimiter.
5382
5383 \csitem{datecircaprintiso}
5384 Prints \acr{ISO8601-2} format date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifdatecirca} test is true. Prints \cmd{textasciitilde}.
5385
5386 \csitem{enddatecircaprintiso}
5387 Prints \acr{ISO8601-2} format date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifenddatecirca} test is true. Prints \cmd{textasciitilde}.
5388
5389 \cmditem{dateeraprint}{yearfield}
5390 Prints date era information when the global option \opt{dateera} is set to <secular> or <christian>. By default, prints the \opt{dateeradelim} delimiter and the appropriate localised era term (\secref{aut:lng:key:dt}). If the \opt{dateeraauto} option is set, then the passed \prm{yearfield} (which is the name of a year field such as <year>, <origyear>, <endeventyear> etc.) is tested to see if its value is earlier than the \opt{dateeraauto} threshold and if so, then the BCE/CE localisation will be output too. The default setting for \opt{dateeraauto} is 0 and so only BCE/BC localisation strings are candidates for output. Detects whether the start or end year era information is to be printed by looking at the \prm{yearfield} name passed to it.
5391
5392 \csitem{dateeraprintpre}
5393 Prints date era information when the global option \opt{dateera} is set to <astronomical>. By default, prints \opt{bibdataeraprefix}. Detects whether the start or end year era information is to be printed by looking at the \prm{yearfield} name passed to it.
5394
5395 \csitem{relatedpunct}
5396 The separator between the \bibfield{relatedtype} bibliography localisation string and the data from the first related entry. Here is an example with \cmd{relatedpunct} set to a dash:
5397
5398 \begin{ltxexample}
5399 A. Smith. Title. 2000, (Orig. pub. as<<->>Origtitle)
5400 \end{ltxexample}
5401
5402 \csitem{relateddelim}
5403 The generic separator between the data of multiple related entries. The default definition is an optional dot plus linebreak. Here is an example where volumes A-E are related entries of the 5 volume main work:
5404
5405 \begin{ltxexample}
5406 Donald E. Knuth. Computers & Typesetting. 5 vols. Reading, Mass.: Addison-Wesley, 1984-1986.
5407 Vol. A: The TEXbook. 1984.
5408 Vol. B: TEX: The Program. 1986.
5409 Vol. C: The METAFONTbook. By. 1986.
5410 Vol. D: METAFONT: The Program. 1986.
5411 Vol. E: Computer Modern Typefaces. 1986.
5412 \end{ltxexample}
5413
5414 \csitem{relateddelim$<$relatedtype$>$}
5415 The separator between the data of multiple related entries inside related entries of type <relatedtype>. There is no default, if such a type-specific delimiter does not exist, \cmd{relateddelim} is used.
5416
5417 \csitem{begrelateddelim}
5418 The generic separator before the block of related entries. The default definition is \cmd{newunitpunct}.
5419
5420 \csitem{begrelateddelim$<$relatedtype$>$}
5421 The separator between the block of related entries of type <relatedtype>. There is no default, if such a type-specific delimiter does not exist, \cmd{relateddelim} is used.
5422
5423 \end{ltxsyntax}
5424
5425 \subsubsection{Context-sensitive Delimiters}
5426 \label{use:fmt:csd}
5427 Many delimiters described in \secref{use:fmt:fmt} are globally defined. That is, no matter where you use them, they print the same thing. This is not necessarily desirable for delimiters which you might want to print different things in different contexts. Here <context> means things like <inside a text citation> or <inside a bibliography item>. For this reason, \biblatex\ provides a more sophisticated delimiter specification and user interface alongside the standard one based on normal macros defined with \cmd{newcommand}.
5428
5429 For backwards compatibility reasons all context-sensitive delimiters (\ie all delimiters marked as <context sensitive> in \secref{use:fmt:fmt}) can be redefined with \cmd{renewcommand} in the global context. It is, however, strongly recommended to use the interface documented below (primarily \cmd{DeclareDelimFormat}) to redefine these delimiters---even if \cmd{renewcommand} would suffice for the job at hand.
5430 \begin{ltxsyntax}
5431
5432 \cmditem{DeclareDelimFormat}[context, \dots]{name}{code}
5433 \cmditem*{DeclareDelimFormat}*[context, \dots]{name}{code}
5434
5435 Declares the delimiter macro \prm{name} with the replacement text \prm{code}. If the optional comma"=separated list of \prm{contexts} is given, declare \prm{name} only for those contexts. \prm{name} defined without any \prm{contexts} behaves just like the global delimiter definitions which \cmd{newcommand} gives---just a plain macro with a replacement which can be used as \cmd{name}. However, you can also call delimiter macros defined in this way by using \cmd{printdelim}, which is context-aware. The starred version clears all \prm{context} specific declarations for all \prm{names} first.
5436
5437 \cmditem{DeclareDelimAlias}[alias context, \dots]{alias}[delim context]{delim}
5438
5439 Declares \prm{alias} to be an alias for the delimiter \prm{delim}. If the optional \prm{alias context, \dots} nor \prm{delim context} are given, the assignment is performed for all existing contexts of the target \prm{delim} separately, so that \prm{alias} becomes an exact copy of \prm{delim} in all contexts. If only the second optional argument \prm{delim context} is given, all existing contexts of \prm{alias} will be cleared and the global/empty context becomes an alias of \prm{delim} in the context \prm{delim context}. The first optional argument \prm{alias context, \dots} may hold a list of contexts for which the alias is assigned. In that case the second optional argument \prm{delim context} specifies the context of the target delimiter. This argument may not be a list, it can only hold one context. If it is missing, the \prm{alias context} is assumed (if \prm{alias context} is a list, the assignment is performed separately for each list item), if it is empty the global context is used.
5440
5441
5442 \begin{ltxexample}[style=latex]
5443 \DeclareDelimAlias[bib,biblist]{finalnamedelim}[]{multinamedelim}
5444 \end{ltxexample}
5445 %
5446 Defines the \opt{bib} and \opt{biblist} contexts of \cmd{finalnamedelim} as aliases of \cmd{multinamedelim} in global context.
5447 On the other hand
5448 \begin{ltxexample}[style=latex]
5449 \DeclareDelimAlias[bib,biblist]{finalnamedelim}{multinamedelim}
5450 \end{ltxexample}
5451 %
5452 defines \cmd{finalnamedelim} in the context \opt{bib} to be an alias of \cmd{multinamedelim} in the \opt{bib} context and defines \cmd{finalnamedelim} in \opt{biblist} context to be an alias of \cmd{multinamedelim} in \opt{biblist}.
5453
5454 \cmditem*{DeclareDelimAlias}*[alias context, \dots]{alias}[delim context]{delim}\DeprecatedMark
5455
5456 The starred version of \cmd{DeclareDelimAlias} is deprecated in favour of using unstarred \cmd{DeclareDelimAlias} with optional arguments.
5457
5458 It assigns the delimiter alias for specific contexts only. The first optional argument \prm{alias context} holds a list of contexts for which the assignment is going to be performed. If it is empty or missing the global/empty context is assumed. The second optional argument \prm{delim context} specifies the context of the target delimiter. This argument may not be a list, it can only hold one context. If it is missing the \prm{alias context} is assumed (if \prm{alias context} is a list, the assignment is performed separately for each list item), if it is empty the global context is used.
5459
5460 \cmditem{printdelim}[context]{name}
5461
5462 Prints a delimiter with name \prm{name}, locally establishing a optional \prm{context} first. Without the optional \prm{context}, \cmd{printdelim} uses the currently active delimiter context.
5463
5464 Delimiter contexts are simply a string, the value of the internal macro \cmd{blx@delimcontext} which can be set manually by the command \cmd{delimcontext}
5465
5466 \cmditem{delimcontext}{context}
5467
5468 Set the delimiter context to \prm{context}. This setting is not global so that delimiter contexts can be nested using the usual \latex group method.
5469
5470 \cmditem{DeclareDelimcontextAlias}{alias}{name}
5471
5472 The context-sensitive delimiter system creates delimiter contexts based on
5473 the name of citation commands (<parencite>, <textcite> etc.) passed to
5474 \cmd{DeclareCiteCommand}. In certain cases where there are nested
5475 definitions of citation commands where \cmd{DeclareCiteCommand} calls
5476 itself (see the definition of \cmd{textcite} in \sty{authoryear-icomp}
5477 for example). The delimiter context is then usually incorrect and the
5478 delimiter specifications do not work. For example, the definition of
5479 \cmd{textcite} in fact defines and uses \cmd{cbx@textcite} and so the
5480 context is automatically set to \opt{cbx@textcite} when printing the
5481 citation. Delimiter definitions expecting to see the context \opt{textcite}
5482 therefore do not work. Therefore this command is provided for style authors
5483 which aliases the context \prm{alias} to the context \prm{name}. For
5484 example:
5485
5486 \begin{ltxexample}[style=latex]
5487 \DeclareDelimcontextAlias{cbx@textcite}{textcite}
5488 \end{ltxexample}
5489 %
5490 This (which is a default setting), makes sure that when inside the
5491 \cmd{cbx@textcite} citation command, the context is in fact \opt{textcite}
5492 as expected.
5493
5494 \cmditem{UndeclareDelimcontextAlias}{alias}
5495
5496 Removes the delimiter context alias declared for \prm{alias}.
5497
5498 \end{ltxsyntax}
5499 %
5500 \biblatex\ has several default contexts which are established automatically in various places:
5501
5502 \begin{description}
5503 \item[none] At begin document
5504 \item[bib] Inside a bibliography begun with \cmd{printbibliography} or inside a \cmd{usedriver}
5505 \item[biblist] Inside a bibliography list begun with \cmd{printbiblist}
5506 \item[<citecommand>] Inside a citation command \cmd{citecommand} defined with \cmd{DeclareCiteCommand}
5507 \end{description}
5508
5509 For example, the defaults for \cmd{nametitledelim} are:
5510
5511 \begin{ltxexample}[style=latex]
5512 \DeclareDelimFormat{nametitledelim}{\addcomma\space}
5513 \DeclareDelimFormat[bib,biblist]{nametitledelim}{\labelnamepunct}
5514 \DeclareDelimFormat[textcite]{nametitledelim}{\addspace}
5515 \end{ltxexample}
5516 %
5517 This means that \cmd{nametitledelim} is defined globally as <\cmd{addcomma}\cmd{space}> as per the standard delimiter interface. However, in addition, the delimiter can be printed using \cmd{printdelim} which would print the same as \cmd{nametitledelim} apart from inside a \cmd{textcite}, in which it would print \cmd{addspace} which is more suitable for running text, and in a bibliography (list) in which it takes the value of \cmd{labelnamepunct} for compatibility reasons. If desired, a context can be forced with the optional argument to \cmd{printdelim}, so
5518
5519 \begin{ltxexample}[style=latex]
5520 \printdelim[textcite]{nametitledelim}
5521 \end{ltxexample}
5522 %
5523 would print \cmd{addspace} regardless of the surrounding context of the \cmd{printdelim}. Contexts are just arbitrary strings and so you can establish them at any time, using \cmd{delimcontext}. If \cmd{printdelim} finds no special value for the delimiter \prm{name} in the current context, it simply prints \cmd{name}. This means that style authors can use \cmd{printdelim} and users expecting to be able to use \cmd{renewcommand} to redefine delimiters can do so with one caveat---such a definition won't change any context-specific delimiters which are defined:
5524
5525 \begin{ltxexample}[style=latex]
5526 \DeclareDelimFormat{delima}{X}
5527 \DeclareDelimFormat[textcite]{delima}{Y}
5528 \renewcommand*{\delima}{Z}
5529 \end{ltxexample}
5530 %
5531 Here, \cmd{delima} always prints <Z>. \verb+\printdelim{delima}+ in any context other than <textcite> also prints \cmd{delima} and hence <Z> but in a <textcite> context prints <Y>. See the \file{04-delimiters.tex} example file that comes with \biblatex\ for more information.
5532
5533 \subsubsection{Language-specific Commands}
5534 \label{use:fmt:lng}
5535
5536 The commands in this section are language specific. When redefining them, you need to wrap the new definition in a \cmd{DeclareBibliographyExtras} command (in an \file{.lbx} file) or a \cmd{DefineBibliographyExtras} command (user documents), see \secref{use:lng} for details. Note that all commands starting with \cmd{mk\dots} take one or more arguments.
5537
5538 \begin{ltxsyntax}
5539
5540 \csitem{bibrangedash}
5541
5542 The language specific dash to be used for ranges of numbers. Defaults to \cmd{textendash}.
5543
5544 \csitem{bibrangessep}
5545
5546 The language specific separator to be used between multiple ranges. Defaults to a comma followed by a space.
5547
5548 \csitem{bibdatesep}
5549
5550 The language specific separator used between date components in terse/short date formats. Defaults to \cmd{hyphen}.
5551
5552 \csitem{bibdatendsep}
5553
5554 The language specific separator used between date components in terse/short date formats when there is no day part of the date (usually meaning month and year only). Defaults to \cmd{hyphen}.
5555
5556 \csitem{bibdaterangesep}
5557
5558 The language specific separator to be used for date ranges. Defaults to \cmd{textendash} for all date formats apart from \opt{ymd} which defaults to a \cmd{slash}. The date format option \opt{iso} is hard-coded to \cmd{slash} since this is a standards compliant format.
5559
5560 \csitem{mkbibdatelong}
5561
5562 Takes the names of three field as arguments which correspond to three date components (in the order year\slash month\slash day) and uses their values to print the date in the language specific long date format.
5563
5564 \csitem{mkbibdateshort}
5565
5566 Similar to \cmd{mkbibdatelong} but using the language specific short date format.
5567
5568 \csitem{mkbibtimezone}
5569
5570 Modifies a timezone string passed in as the only argument. By default this changes <Z> to the value of \cmd{bibtimezone}.
5571
5572 \csitem{bibdateuncertain}
5573
5574 The language specific marker to be used after uncertain dates when the global option \opt{dateuncertain} is enabled. Defaults to a space followed by a question mark.
5575
5576 \csitem{bibdateeraprefix}
5577
5578 The language specific marker which is printed as a prefix to beginning BCE/BC dates in a date range when the option \opt{dateera} is set to <astronomical>. Defaults to \cmd{textminus}, if defined and \cmd{textendash} otherwise.
5579
5580 \csitem{bibdateeraendprefix}
5581
5582 The language specific marker which is printed as a prefix to end BCE/BC dates in a date range when the option \opt{dateera} is set to <astronomical>. Defaults to a thin space followed by \cmd{bibdateeraprefix} when \cmd{bibdaterangesep} is set to a dash and to \cmd{bibdateeraprefix} otherwise. This is a separate macro so that you may add extra space before a negative date marker which, for example follows a dash date range marker as this can look a little odd.
5583
5584 \csitem{bibtimesep}
5585
5586 The language specific marker which separates time components. Defaults to a colon.
5587
5588 \csitem{bibutctimezone}
5589
5590 The language specific string printed for the UTC timezone. Defaults to <Z>.
5591
5592 \csitem{bibtimezonesep}
5593
5594 The language specific marker which separates an optional time zone component from a time. Empty by default.
5595
5596 \csitem{bibtzminsep}
5597
5598 The language specific marker which separates hour and minute component of offset timezones. Defaults to a \cmd{bibtimesep}.
5599
5600 \csitem{bibdatetimesep}
5601
5602 The language specific separator printed between date and time components when printing time components along with date components (see the \opt{$<$datetype$>$dateusetime} option in \secref{use:opt:pre:gen}). Defaults to a space for non-\acr{ISO8601-2} output formats, and 'T' for \acr{ISO8601-2} output format.
5603
5604 \csitem{finalandcomma}
5605
5606 Prints the comma to be inserted before the final <and> in a list, if applicable in the respective language. Here is an example:
5607
5608 \begin{ltxexample}
5609 Michel Goossens, Frank Mittelbach<<,>> and Alexander Samarin
5610 \end{ltxexample}
5611 %
5612 \cmd{finalandcomma} is the comma before the word <and>. See also \cmd{multinamedelim}, \cmd{finalnamedelim}, \cmd{textcitedelim}, and \cmd{revsdnamedelim} in \secref{use:fmt:fmt}.
5613
5614 \csitem{finalandsemicolon}
5615
5616 Prints the semicolon to be inserted before the final <and> in a list of lists, if applicable in the respective language. Here is an example:
5617
5618 \begin{ltxexample}
5619 Goossens, Mittelbach, and Samarin; Bertram and Wenworth<<;>> and Knuth
5620 \end{ltxexample}
5621 %
5622 \cmd{finalandsemicolon} is the semicolon before the word <and>. See also \cmd{textcitedelim} in \secref{use:fmt:fmt}.
5623
5624 \cmditem{mkbibordinal}{integer}
5625
5626 This command, which takes an integer as its argument, prints an ordinal number.
5627
5628 \cmditem{mkbibmascord}{integer}
5629
5630 Similar to \cmd{mkbibordinal}, but prints a masculine ordinal, if applicable in the respective language.
5631
5632 \cmditem{mkbibfemord}{integer}
5633
5634 Similar to \cmd{mkbibordinal}, but prints a feminine ordinal, if applicable in the respective language.
5635
5636 \cmditem{mkbibneutord}{integer}
5637
5638 Similar to \cmd{mkbibordinal}, but prints a neuter ordinal, if applicable in the respective language.
5639
5640 \cmditem{mkbibordedition}{integer}
5641
5642 Similar to \cmd{mkbibordinal}, but intended for use with the term <edition>.
5643
5644 \cmditem{mkbibordseries}{integer}
5645
5646 Similar to \cmd{mkbibordinal}, but intended for use with the term <series>.
5647
5648 \end{ltxsyntax}
5649
5650 \subsubsection{Lengths and Counters}
5651 \label{use:fmt:len}
5652
5653 The length registers and counters in this section may be changed in the document preamble with \cmd{setlength} and \cmd{setcounter}, respectively.
5654
5655 \begin{ltxsyntax}
5656
5657 \lenitem{bibhang}
5658
5659 The hanging indentation of the bibliography, if applicable. This length is initialized to \cmd{parindent} at load-time. If \cmd{parindent} is zero length for some reason, \cmd{bibhang} will default to \texttt{1em}.
5660
5661 \lenitem{biblabelsep}
5662
5663 The horizontal space between entries and their corresponding labels in the bibliography. This only applies to bibliography styles which print labels, such as the \texttt{numeric} and \texttt{alphabetic} styles. This length is initialized to twice the value of \cmd{labelsep} at load-time.
5664
5665 \lenitem{bibitemsep}
5666
5667 The vertical space between the individual entries in the bibliography. This length is initialized to \cmd{itemsep} at load-time. Note that \len{bibitemsep}, \len{bibnamesep}, and \len{bibinitsep} obey the rules for \cmd{addvspace}, that is, when vertical space introduced by any of these commands immediately follows on from space introduced by another of them, the resulting total space is equal to the largest of them.
5668
5669 \lenitem{bibnamesep}
5670
5671 Vertical space to be inserted between two entries in the bibliography whenever an entry starts with a name which is different from the initial name of the previous entry. The default value is zero. Setting this length to a positive value greater than \len{bibitemsep} will group the bibliography by author\slash editor name. Note that \len{bibitemsep}, \len{bibnamesep}, and \len{bibinitsep} obey the rules for \cmd{addvspace}, that is, when vertical space introduced by any of these commands immediately follows on from space introduced by another of them, the resulting total space is equal to the largest of them.
5672
5673 \lenitem{bibinitsep}
5674
5675 Vertical space to be inserted between two entries in the bibliography whenever an entry starts with a letter which is different from the initial letter of the previous entry. The default value is zero. Setting this length to a positive value greater than \len{bibitemsep} will group the bibliography alphabetically. Note that \len{bibitemsep}, \len{bibnamesep}, and \len{bibinitsep} obey the rules for \cmd{addvspace}, that is, when vertical space introduced by any of these commands immediately follows on from space introduced by another of them, the resulting total space is equal to the largest of them.
5676
5677 \lenitem{bibparsep}
5678
5679 The vertical space between paragraphs within an entry in the bibliography. The default value is zero.
5680
5681 \cntitem{abbrvpenalty}
5682
5683 This counter, which is used by the localisation modules, holds the penalty used in short or abbreviated localisation strings. For example, a linebreak in expressions such as «et al.» or «ed. by» is unfortunate, but should still be possible to prevent overfull boxes. This counter is initialized to \cmd{hyphenpenalty} at load-time. The idea is making \tex treat the whole expression as if it were a single, hyphenatable word as far as line"=breaking is concerned. If you dislike such linebreaks, use a higher value. If you do not mind them at all, set this counter to zero. If you want to suppress them unconditionally, set it to <infinite> (10\,000 or higher).\footnote{The default values assigned to \cnt{abbrvpenalty}, \cnt{lownamepenalty}, and \cnt{highnamepenalty} are deliberately very low to prevent overfull boxes. This implies that you will hardly notice any effect on line-breaking if the text is set justified. If you set these counters to 10\,000 to suppress the respective breakpoints, you will notice their effect but you may also be confronted with overfull boxes. Keep in mind that line-breaking in the bibliography is often more difficult than in the body text and that you can not resort to rephrasing a sentence. In some cases it may be preferable to set the entire bibliography \cmd{raggedright} to prevent suboptimal linebreaks. In this case, even the fairly low default penalties will make a visible difference.}
5684
5685 \cntitem{highnamepenalty}
5686
5687 This counter holds a penalty affecting line"=breaking in names. Please refer to \secref{use:cav:nam,use:fmt:fmt} for explanation. The counter is initialized to \cmd{hyphenpenalty} at load-time. Use a higher value if you dislike the respective linebreaks. If you do not mind them at all, set this counter to zero. If you prefer the traditional \bibtex behavior (no linebreaks at \cnt{highnamepenalty} breakpoints), set it to <infinite> (10\,000 or higher).
5688
5689 \cntitem{lownamepenalty}
5690
5691 Similar to \cnt{highnamepenalty}. Please refer to \secref{use:cav:nam,use:fmt:fmt} for explanation. The counter is initialized to half the \cmd{hyphenpenalty} at load-time. Use a higher value if you dislike the respective linebreaks. If you do not mind them at all, set this counter to zero.
5692
5693 \cntitem{biburlnumpenalty}
5694
5695 If this counter is set to a value greater than zero, \biblatex will permit linebreaks after numbers in all strings formatted with the \cmd{url} command from the \sty{url} package. This will affect \acr{url}s and \acr{doi}s in the bibliography. The breakpoints will be penalized by the value of this counter. If \acr{url}s and/or \acr{doi}s in the bibliography run into the margin, try setting this counter to a value greater than zero but less than 10000 (you normally want to use a high value like 9000). Setting the counter to zero disables this feature. This is the default setting.
5696
5697 \cntitem{biburlucpenalty}
5698
5699 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all uppercase letters.
5700
5701 \cntitem{biburllcpenalty}
5702
5703 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all lowercase letters.
5704
5705 \cntitem{biburlbigbreakpenalty}
5706
5707 The \sty{biblatex} version of \sty{url}'s \len{UrlBigBreakPenalty}. The default value is \texttt{100}.
5708
5709 \cntitem{biburlbreakpenalty}
5710
5711 The \sty{biblatex} version of \sty{url}'s \len{UrlBreakPenalty}. The default value is \texttt{200}.
5712
5713 \lenitem{biburlbigskip}
5714
5715 The \sty{biblatex} version of \len{Urlmuskip}. This length holds the additional (stretchable) space inserted around breakable characters in the \cmd{url} command from the \sty{url} package. The default value is \texttt{0mu plus 3mu}.
5716
5717 \lenitem{biburlnumskip}
5718
5719 The additional space inserted after numbers in strings formatted with the \cmd{url} command from the \sty{url} package. This will affect \acr{url}s and \acr{doi}s in the bibliography. If \acr{url}s and/or \acr{doi}s in the bibliography run into the margin, it may help to set this length to add some small stretchable space, for example \texttt{0mu plus 1mu}. The default setting is \texttt{0mu}. This value is only used if \cnt{biburlnumpenalty} is set to a value different from zero.
5720
5721 \lenitem{biburlucskip}
5722
5723 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
5724
5725 \lenitem{biburllcskip}
5726
5727 Similar to \cnt{biburlnumskip}, except that it will add space after all lowercase letters.
5728
5729 \end{ltxsyntax}
5730
5731 \subsubsection{All-purpose Commands}
5732 \label{use:fmt:aux}
5733
5734 The commands in this section are all-purpose text commands which are generally available, not only in citations and the bibliography.
5735
5736 \begin{ltxsyntax}
5737
5738 \csitem{bibellipsis}
5739
5740 An ellipsis symbol with brackets: <[\dots\unkern]>.
5741
5742 \csitem{noligature}
5743
5744 Disables ligatures at this position and adds some space. Use this command to break up standard ligatures like <fi> and <fl>. It is similar to the \verb+"|+ shorthand provided by some language modules of the \sty{babel}/\sty{polyglossia} packages.
5745
5746 \csitem{hyphenate}
5747
5748 A conditional hyphen. In contrast to the standard \cmd{-} command, this one allows hyphenation in the rest of the word. It is similar to the \verb|"-| shorthand provided by some language modules of the \sty{babel}/\sty{polyglossia} packages.
5749
5750 \csitem{hyphen}
5751
5752 An explicit, breakable hyphen intended for compound words. In contrast to a literal <\texttt{-}>, this command allows hyphenation in the rest of the word. It is similar to the \verb|"=| shorthand provided by some language modules of the \sty{babel}/\sty{polyglossia} packages.
5753
5754 \csitem{nbhyphen}
5755
5756 An explicit, non-breakable hyphen intended for compound words. In contrast to a literal <\texttt{-}>, this command does not permit line breaks at the hyphen but still allows hyphenation in the rest of the word. It is similar to the \verb|"~| shorthand provided by some language modules of the \sty{babel}/\sty{polyglossia} packages.
5757
5758 \csitem{nohyphenation}
5759
5760 A generic switch which suppresses hyphenation locally. Its scope should normally be confined to a group. The command uses a language without hyphenation patterns to suppress hyphenation. The idea was taken from Peter Wilson's \sty{hyphenat} package. Note that this command should only be used for small portions of text and that its effects are negated if \sty{babel}/\sty{polyglossia} is used to switch the language while it is active.
5761
5762 \cmditem{textnohyphenation}{text}
5763
5764 Similar to \cmd{nohyphenation} but restricted to the \prm{text} argument.
5765
5766 \cmditem{mknumalph}{integer}
5767
5768 Takes an integer in the range 1--702 as its argument and converts it to a string as follows: 1=a, \textellipsis, 26=z, 27=aa, \textellipsis, 702=zz. This is intended for use in formatting directives for the \bibfield{extradate}, \bibfield{extraname} and \bibfield{extraalpha} fields.
5769
5770 \cmditem{mkbibacro}{text}
5771
5772 Generic command which typesets an acronym using the small caps variant of the current font, if available, and as-is otherwise. The acronym should be given in uppercase letters.
5773
5774 \cmditem{autocap}{character}
5775
5776 Automatically converts the \prm{character} to its uppercase form if \biblatex's punctuation tracker would capitalize a localisation string at the current location. This command is robust. It is useful for conditional capitalization of certain strings in an entry. Note that the \prm{character} argument is a single character given in lowercase. For example:
5777
5778 \begin{ltxexample}
5779 \autocap{s}pecial issue
5780 \end{ltxexample}
5781 %
5782 will yield <Special issue> or <special issue>, as appropriate. If the string to be capitalized starts with an inflected character given in \acr{US-ASCII} notation, include the accent command in the \prm{character} argument as follows:
5783
5784 \begin{ltxexample}
5785 \autocap{\'e}dition sp\'eciale
5786 \end{ltxexample}
5787 %
5788 This will yield <Édition spéciale> or <édition spéciale>. If the string to be capitalized starts with a command which prints a character, such as \cmd{ae} or \cmd{oe}, simply put the command in the \prm{character} argument:
5789
5790 \begin{ltxexample}
5791 \autocap{\oe}uvres
5792 \end{ltxexample}
5793 %
5794 This will yield <Œuvres> or <œuvres>.
5795
5796 \end{ltxsyntax}
5797
5798 \subsection[Language notes]{Language-specific Notes}
5799 \label{use:loc}
5800
5801 The facilities discussed in this section are specific to certain localisation modules.
5802
5803 \subsubsection{American}
5804 \label{use:loc:us}
5805
5806 The American localisation module uses \cmd{uspunctuation} from \secref{aut:pct:cfg} to enable <American-style> punctuation. If this feature is enabled, all trailing commas and periods after \cmd{mkbibquote} will be moved inside the quotes. If you want to disable this feature, use \cmd{stdpunctuation} as follows:
5807
5808 \begin{ltxexample}
5809 \DefineBibliographyExtras{american}{%
5810 \stdpunctuation
5811 }
5812 \end{ltxexample}
5813 %
5814 By default, the <American punctuation> feature is enabled by the \texttt{american} localisation module only. The above code is only required if you want American localisation without American punctuation. Since standard punctuation is the package default, it would be redundant with any other language.
5815
5816 It is highly advisable to always specify \texttt{american}, \texttt{british}, \texttt{australian}, etc. rather than \texttt{english} when loading the \sty{babel}/\sty{polyglossia} packages to avoid any possible confusion. Older versions of the \sty{babel} package used to treat \opt{english} as an alias for \opt{british}; more recent ones treat it as an alias for \opt{american}. The \biblatex package essentially treats \texttt{english} as an alias for \opt{american}, except for the above feature which is only enabled if \texttt{american} is requested explicitly.
5817
5818 \subsubsection{Bulgarian}
5819 \label{use:loc:bul}
5820
5821 Like the Greek localisation module, the Bulgarian module also requires \utf support. It will not work with any other encoding.
5822
5823 \subsubsection{Greek}
5824 \label{use:loc:grk}
5825
5826 The Greek localisation module requires \utf support. It will not work with any other encoding. Generally speaking, the \biblatex package is compatible with the \sty{inputenc} package and with the Unicode engines \lualatex and \xelatex. The \sty{ucs} package will not work. Note that you may need to load additional packages which set up Greek fonts. As a rule of thumb, a setup which works for regular Greek documents should also work with \biblatex. However, there is one fundamental limitation. As of this writing, \biblatex has no support for switching scripts. Greek titles in the bibliography should work fine, but English and other titles in the bibliography may be rendered in Greek letters. If you need multi-script bibliographies, using a Unicode engine is the only sensible choice.
5827
5828 \subsubsection{Hungarian}
5829 \label{use:loc:hun}
5830
5831 The Hungarian localisation module needs to redefine certain field formats to obtain the grammatically correct word order. This means that these field formats are overwritten whenever the Hungarian localisation is active, no matter whether they were defined in the preamble or by a custom style. So please be aware that using the Hungarian localisation module may cause the bibliography output to deviate from the format dictated by the loaded style and preamble definitions. Changes to this behaviour need to be made using \cmd{DefineBibliographyExtras}. In particular \cmd{mkpageprefix} is redefined to output the <page> or <pages> string as a suffix after the page number following Hungarian conventions, and all formats of fields involving pages, chapters and volumes were modified so that numbers are printed as ordinals.
5832
5833 \subsubsection{Latvian}
5834 \label{use:loc:lav}
5835
5836 The Latvian localisation module, like the Hungarian language module, needs to redefine certain field formats to obtain the grammatically correct word order. This means that these field formats are overwritten whenever the Latvian localisation is active, no matter whether they were defined in the preamble or by a custom style. So please be aware that using the Latvian localisation module may cause the bibliography output to deviate from the format dictated by the loaded style and preamble definitions. Changes to this behaviour need to be made using \cmd{DefineBibliographyExtras}. In particular \cmd{mkpageprefix} is redefined to output the <page> or <pages> string as a suffix after the page number following Latvian conventions, and all formats of fields involving pages, chapters and volumes were modified so that numbers are printed as ordinals.
5837
5838 \subsubsection{Lithuanian}
5839 \label{use:loc:lit}
5840
5841 The Lithuanian localisation module needs \utf support and will only work with this encoding.
5842
5843 \subsubsection{Marathi}
5844 \label{use:loc:mar}
5845
5846 The Marathi localisation module needs \utf support and will only work with this encoding, but users typesetting significant portions of Marathi will probably be using a Unicode engine anyway.
5847
5848 Like the Hungarian language module, the Marathi localisation needs to redefine certain field formats and internal formatting macros to obtain acceptable output. This means that these field formats are overwritten whenever the Marathi localisation is active, no matter whether they were defined in the preamble or by a custom style. So please be aware that using the Marathi localisation module may cause the bibliography output to deviate from the format dictated by the loaded style and preamble definitions. Changes to this behaviour need to be made using \cmd{DefineBibliographyExtras}.
5849
5850 There is some limited support for numeric operations with non-\acr{US-ASCII} Devanagari numerals. Due to the limitations of arithmetic operations to \acr{US-ASCII} numerals and backwards compatibility reasons additional work may be needed to support Devanagari numerals in places where they do not work at the moment.
5851
5852 \subsubsection{Romanian}
5853 \label{use:loc:ron}
5854
5855 The Romanian localisation module needs \utf support and will only work with this encoding.
5856
5857 Like the Hungarian and Latvian localisation modules, the Romanian \file{lbx} file applies some changes to macros that are usually not affected by localisation. \cmd{newunitpunct} is set to produce a comma followed by a space. \cmd{intitlepunct} only produces a space.
5858
5859 \subsubsection{Russian}
5860 \label{use:loc:rus}
5861
5862 Like the Greek and Lithuanian localisation module, the Russian module also requires \utf support. It will not work with any other encoding.
5863
5864 \subsubsection{Spanish}
5865 \label{use:loc:esp}
5866
5867 Handling the word <and> is more difficult in Spanish than in the other languages supported by this package because it may be <y> or <e>, depending on the initial sound of the following word. Therefore, the Spanish localisation module does not use the localisation string <\texttt{and}> but a special internal <smart and> command. The behavior of this command is controlled by the \cnt{smartand} counter.
5868
5869 \begin{ltxsyntax}
5870
5871 \cntitem{smartand}
5872
5873 This counter controls the behavior of the internal <smart and> command. When set to 1, it prints <y> or <e>, depending on the context. When set to 2, it always prints <y>. When set to 3, it always prints <e>. When set to 0, the <smart and> feature is disabled. This counter is initialized to 1 at load-time and may be changed in the preamble. Note that setting this counter to a positive value implies that the Spanish localisation module ignores \cmd{finalnamedelim} and \cmd{finallistdelim}.
5874
5875 \csitem{forceE}
5876
5877 Use this command in \file{bib} files if \biblatex gets the <and> before a certain name wrong. As its name suggests, it will enforce <e>. This command must be used in a special way to be correct \bibtex datafile format. Here is an example:
5878
5879 \begin{lstlisting}[style=bibtex]{}
5880 author = {Edward Jones and Eoin Maguire},
5881 author = {Edward Jones and <<{\forceE{E}}>>oin Maguire},
5882 \end{lstlisting}
5883 %
5884 Note that the initial letter of the respective name component is given as an argument to \cmd{forceE} and that the entire construct is wrapped in an additional pair of curly braces.
5885
5886 \csitem{forceY}
5887
5888 Similar to \cmd{forceE} but enforces <y>.
5889
5890 \end{ltxsyntax}
5891
5892 \subsubsection{Turkish}
5893 \label{use:loc:tur}
5894
5895 By default \sty{babel}'s Turkish localisation module makes <\texttt{=}> a <shorthand>, which breaks the \keyval parser uses by \biblatex. This problem can be resolved by telling \sty{babel} not to make <\texttt{=}> a shorthand (for example by loading \sty{babel} with the option \texttt{shorthands=:!}) or by loading a \keyval package that can deal with active characters (\sty{kvsetkeys} and \sty{xkeyval})\fnurl{https://tex.stackexchange.com/a/160428/35864}.
5896
5897
5898 \subsection{Usage Notes}
5899 \label{use:use}
5900
5901 The following sections give a basic overview of the \biblatex package and discuss some typical usage scenarios.
5902
5903 \subsubsection{Overview}
5904 \label{use:use:int}
5905
5906 Using the \biblatex package is slightly different from using traditional \bibtex styles and related packages. Before we get to specific usage scenarios, we will therefore have a look at the structure of a typical document first:
5907
5908 \begin{ltxexample}
5909 \documentclass{...}
5910 \usepackage[...]{biblatex}
5911 <<\addbibresource>>{<<bibfile.bib>>}
5912 \begin{document}
5913 <<\cite>>{...}
5914 ...
5915 <<\printbibliography>>
5916 \end{document}
5917 \end{ltxexample}
5918 %
5919 With traditional \bibtex, the \cmd{bibliography} command serves two purposes. It marks the location of the bibliography and it also specifies the \file{bib} file(s). The file extension is omitted. With \biblatex, resources are specified in the preamble with \cmd{addbibresource} using the full name with \file{.bib} suffix. The bibliography is printed using the \cmd{printbibliography} command which may be used multiple times (see \secref{use:bib} for details). The document body may contain any number of citation commands (\secref{use:cit}). Processing this example file requires that a certain procedure be followed. Suppose our example file is called \path{example.tex} and our bibliographic data is in \path{bibfile.bib}. The procedure, then, is as follows:
5920
5921 \begin{enumerate}
5922
5923 \item Run \bin{latex} on \path{example.tex}. If the file contains any citations, \biblatex will request the respective data from \biber by writing commands to the auxiliary file \path{example.bcf}.
5924 \item Run \bin{biber} on \path{example.bcf}. \biber will retrieve the data from \path{bibfile.bib} and write it to the auxiliary file \path{example.bbl} in a format which can be processed by \biblatex.
5925 \item Run \bin{latex} on \path{example.tex}. \biblatex will read the data from \path{example.bbl} and print all citations as well as the bibliography.
5926
5927 \end{enumerate}
5928
5929 \subsubsection{Auxiliary Files}
5930 \label{use:use:aux}
5931
5932 The \biblatex package uses one auxiliary \file{bcf} file only. Even if there are citation commands in a file included via \cmd{include}, you only need to run \biber on the main \file{bcf} file. All information \biber needs is in the \file{bcf} file, including information about all refsections if using multiple \env{refsection} environments (see \secref{use:use:mlt}).
5933
5934 \subsubsection{Multiple Bibliographies}
5935 \label{use:use:mlt}
5936
5937 In a collection of articles by different authors, such as a conference proceedings volume for example, it is very common to have one bibliography for each article rather than a global one for the entire book. In the example below, each article would be presented as a separate \cmd{chapter} with its own bibliography.
5938
5939 \begin{ltxexample}
5940 \documentclass{...}
5941 \usepackage{biblatex}
5942 \addbibresource{...}
5943 \begin{document}
5944 \chapter{...}
5945 <<\begin{refsection}>>
5946 ...
5947 <<\printbibliography[heading=subbibliography]>>
5948 <<\end{refsection}>>
5949 \chapter{...}
5950 <<\begin{refsection}>>
5951 ...
5952 <<\printbibliography[heading=subbibliography]>>
5953 <<\end{refsection}>>
5954 \end{document}
5955 \end{ltxexample}
5956 %
5957 If \cmd{printbibliography} is used inside a \env{refsection} environment, it automatically restricts the scope of the list of references to the enclosing \env{refsection} environment. For a cumulative bibliography which is subdivided by chapter but printed at the end of the book, use the \opt{section} option of \cmd{printbibliography} to select a reference section, as shown in the next example.
5958
5959 \begin{ltxexample}
5960 \documentclass{...}
5961 \usepackage{biblatex}
5962 <<\defbibheading>>{<<subbibliography>>}{%
5963 \section*{References for Chapter \ref{<<refsection:\therefsection>>}}}
5964 \addbibresource{...}
5965 \begin{document}
5966 \chapter{...}
5967 <<\begin{refsection}>>
5968 ...
5969 <<\end{refsection}>>
5970 \chapter{...}
5971 <<\begin{refsection}>>
5972 ...
5973 <<\end{refsection}>>
5974 \printbibheading
5975 <<\printbibliography>>[<<section=1>>,<<heading=subbibliography>>]
5976 <<\printbibliography>>[<<section=2>>,<<heading=subbibliography>>]
5977 \end{document}
5978 \end{ltxexample}
5979 %
5980 Note the definition of the bibliography heading in the above example. This is the definition taking care of the subheadings in the bibliography. The main heading is generated with a plain \cmd{chapter} command in this case. The \biblatex package automatically sets a label at the beginning of every \env{refsection} environment, using the standard \cmd{label} command. The identifier used is the string \texttt{refsection:} followed by the number of the respective \env{refsection} environment. The number of the current section is accessible via the \cnt{refsection} counter. When using the \opt{section} option of \cmd{printbibliography}, this counter is also set locally. This means that you may use the counter in heading definitions to print subheadings like «References for Chapter 3», as shown above. You could also use the title of the respective chapter as a subheading by loading the \sty{nameref} package and using \cmd{nameref} instead of \cmd{ref}:
5981
5982 \begin{ltxexample}
5983 \usepackage{<<nameref>>}
5984 \defbibheading{subbibliography}{%
5985 \section*{<<\nameref{refsection:\therefsection}>>}}
5986 \end{ltxexample}
5987 %
5988 Since giving one \cmd{printbibliography} command for each part of a subdivided bibliography is tedious, \biblatex provides a shorthand. The \cmd{bibbysection} command automatically loops over all reference sections. This is equivalent to giving one \cmd{printbibliography} command for every section but has the additional benefit of automatically skipping sections without references. In the example above, the bibliography would then be generated as follows:
5989
5990 \begin{ltxexample}
5991 \printbibheading
5992 <<\bibbysection[heading=subbibliography]>>
5993 \end{ltxexample}
5994 %
5995 When using a format with one cumulative bibliography subdivided by chapter (or any other document division) it may be more appropriate to use \env{refsegment} rather than \env{refsection} environments. The difference is that the \env{refsection} environment generates labels local to the environment while \env{refsegment} does not affect the generation of labels, hence they will be unique across the entire document. The next example could also be given in \secref{use:use:div} because, visually, it creates one global bibliography subdivided into multiple segments.
5996
5997 \begin{ltxexample}
5998 \documentclass{...}
5999 \usepackage{biblatex}
6000 <<\defbibheading>>{<<subbibliography>>}{%
6001 \section*{References for Chapter \ref{<<refsegment:\therefsection\therefsegment>>}}}
6002 \addbibresource{...}
6003 \begin{document}
6004 \chapter{...}
6005 <<\begin{refsegment}>>
6006 ...
6007 <<\end{refsegment}>>
6008 \chapter{...}
6009 <<\begin{refsegment}>>
6010 ...
6011 <<\end{refsegment}>>
6012 \printbibheading
6013 <<\printbibliography>>[<<segment=1>>,<<heading=subbibliography>>]
6014 <<\printbibliography>>[<<segment=2>>,<<heading=subbibliography>>]
6015 \end{document}
6016 \end{ltxexample}
6017 %
6018 The use of \env{refsegment} is similar to \env{refsection} and there is also a corresponding \opt{segment} option for \cmd{printbibliography}. The \biblatex package automatically sets a label at the beginning of every \env{refsegment} environment using the string \texttt{refsegment:} followed by the number of the respective \env{refsegment} environment as an identifier. There is a matching \cnt{refsegment} counter which may be used in heading definitions, as shown above. As with reference sections, there is also a shorthand command which automatically loops over all reference segments:
6019
6020 \begin{ltxexample}
6021 \printbibheading
6022 <<\bibbysegment[heading=subbibliography]>>
6023 \end{ltxexample}
6024 %
6025 This is equivalent to giving one \cmd{printbibliography} command for every segment in the current \env{refsection}.
6026
6027 \subsubsection{Subdivided Bibliographies}
6028 \label{use:use:div}
6029
6030 It is very common to subdivide a bibliography by certain criteria. For example, you may want to list printed and online resources separately or divide a bibliography into primary and secondary sources. The former case is straightforward because you can use the entry type as a criterion for the \opt{type} and \opt{nottype} filters of \cmd{printbibliography}. The next example also demonstrates how to generate matching subheadings for the two parts of the bibliography.
6031
6032 \begin{ltxexample}
6033 \documentclass{...}
6034 \usepackage{biblatex}
6035 \addbibresource{...}
6036 \begin{document}
6037 ...
6038 \printbibheading
6039 \printbibliography[<<nottype=online>>,heading=subbibliography,
6040 <<title={Printed Sources}>>]
6041 \printbibliography[<<type=online>>,heading=subbibliography,
6042 <<title={Online Sources}>>]
6043
6044 \end{document}
6045 \end{ltxexample}
6046 %
6047 You may also use more than two subdivisions:
6048
6049 \begin{ltxexample}
6050 \printbibliography[<<type=article>>,...]
6051 \printbibliography[<<type=book>>,...]
6052 \printbibliography[<<nottype=article>>,<<nottype=book>>,...]
6053 \end{ltxexample}
6054 %
6055 It is even possible to give a chain of different types of filters:
6056
6057 \begin{ltxexample}
6058 \printbibliography[<<section=2>>,<<type=book>>,<<keyword=abc>>,<<notkeyword=xyz>>]
6059 \end{ltxexample}
6060 %
6061 This would print all works cited in reference section~2 whose entry type is \bibtype{book} and whose \bibfield{keywords} field includes the keyword <abc> but not <xyz>. When using bibliography filters in conjunction with a numeric style, see \secref{use:cav:lab}. If you need complex filters with conditional expressions, use the \opt{filter} option in conjunction with a custom filter defined with \cmd{defbibfilter}. See \secref{use:bib:flt} for details on custom filters.
6062
6063 \begin{ltxexample}
6064 \documentclass{...}
6065 \usepackage{biblatex}
6066 \addbibresource{...}
6067 \begin{document}
6068 ...
6069 \printbibheading
6070 \printbibliography[<<keyword=primary>>,heading=subbibliography,%
6071 <<title={Primary Sources}>>]
6072 \printbibliography[<<keyword=secondary>>,heading=subbibliography,%
6073 <<title={Secondary Sources}>>]
6074 \end{document}
6075 \end{ltxexample}
6076 %
6077 Dividing a bibliography into primary and secondary sources is possible with a \bibfield{keyword} filter, as shown in the above example. In this case, with only two subdivisions, it would be sufficient to use one keyword as filter criterion:
6078
6079 \begin{ltxexample}
6080 \printbibliography[<<keyword=primary>>,...]
6081 \printbibliography[<<notkeyword=primary>>,...]
6082 \end{ltxexample}
6083 %
6084 Since \biblatex has no way of knowing if an item in the bibliography is considered to be primary or secondary literature, we need to supply the bibliography filter with the required data by adding a \bibfield{keywords} field to each entry in the \file{bib} file. These keywords may then be used as targets for the \opt{keyword} and \opt{notkeyword} filters, as shown above. It may be a good idea to add such keywords right away while building a \file{bib} file.
6085
6086 \begin{lstlisting}[style=bibtex]{}
6087 @Book{key,
6088 <<keywords>> = {<<primary>>,some,other,keywords},
6089 ...
6090 \end{lstlisting}
6091 %
6092 An alternative way of subdividing the list of references are bibliography categories. They differ from the keywords"=based approach shown in the example above in that they work on the document level and do not require any changes to the \file{bib} file.
6093
6094 \begin{ltxexample}
6095 \documentclass{...}
6096 \usepackage{biblatex}
6097 <<\DeclareBibliographyCategory>>{<<primary>>}
6098 <<\DeclareBibliographyCategory>>{<<secondary>>}
6099 <<\addtocategory>>{<<primary>>}{key1,key3,key6}
6100 <<\addtocategory>>{<<secondary>>}{key2,key4,key5}
6101 \addbibresource{...}
6102 \begin{document}
6103 ...
6104 \printbibheading
6105 \printbibliography[<<category=primary>>,heading=subbibliography,%
6106 <<title={Primary Sources}>>]
6107 \printbibliography[<<category=secondary>>,heading=subbibliography,%
6108 <<title={Secondary Sources}>>]
6109 \end{document}
6110 \end{ltxexample}
6111 %
6112 In this case it would also be sufficient to use one category only:
6113
6114 \begin{ltxexample}
6115 \printbibliography[<<category=primary>>,...]
6116 \printbibliography[<<notcategory=primary>>,...]
6117 \end{ltxexample}
6118 %
6119 It is still a good idea to declare all categories used in the bibliography explicitly because there is a \cmd{bibbycategory} command which automatically loops over all categories. This is equivalent to giving one \cmd{printbibliography} command for every category, in the order in which they were declared.
6120
6121 \begin{ltxexample}
6122 \documentclass{...}
6123 \usepackage{biblatex}
6124 <<\DeclareBibliographyCategory>>{<<primary>>}
6125 <<\DeclareBibliographyCategory>>{<<secondary>>}
6126 \addtocategory{primary}{key1,key3,key6}
6127 \addtocategory{secondary}{key2,key4,key5}
6128 <<\defbibheading>>{<<primary>>}{\section*{Primary Sources}}
6129 <<\defbibheading>>{<<secondary>>}{\section*{Secondary Sources}}
6130 \addbibresource{...}
6131 \begin{document}
6132 ...
6133 \printbibheading
6134 <<\bibbycategory>>
6135 \end{document}
6136 \end{ltxexample}
6137 %
6138 The handling of the headings is different from \cmd{bibbysection} and \cmd{bibbysegment} in this case. \cmd{bibbycategory} uses the name of the current category as a heading name. This is equivalent to passing \texttt{heading=\prm{category}} to \cmd{printbibliography} and implies that you need to provide a matching heading for every category.
6139
6140 \subsubsection{Entry Sets}
6141 \label{use:use:set}
6142
6143 An entry set is a group of entries which are cited as a single reference and listed as a single item in the bibliography. The individual entries in the set are separated by \cmd{entrysetpunct} (\secref{aut:fmt:fmt}). The \biblatex package supports two types of entry sets. Static entry sets are defined in the \file{bib} file like any other entry. Dynamic entry sets are defined with \cmd{defbibentryset} (\secref{use:bib:set}) on a per-document\slash per-refsection basis in the document preamble or the document body. This section deals with the definition of entry sets; style authors should also see \secref{aut:cav:set} for further information. Please note that entry sets only make sense for styles which refer to entries by labels such as the provided \texttt{numeric} and \texttt{alphabetic} styles. Styles which refer to entries via names, titles etc. (\texttt{authoryear}, \texttt{authortitle}, \texttt{verbose} etc.) rarely employ sets and do not support them by default when they are cited directly. Custom styles may of course choose to implement some manner of set citation support in any manner they choose.
6144
6145 \paragraph{Static entry sets}
6146
6147 Static entry sets are defined in the \file{bib} file like any other entry. Defining an entry set is as simple as adding an entry of type \bibtype{set}. The entry has an \bibfield{entryset} field defining the members of the set as a separated list of entry keys:
6148
6149 \begin{lstlisting}[style=bibtex]{}
6150 <<@Set>>{<<set1>>,
6151 <<entryset>> = {<<key1,key2,key3>>},
6152 }
6153 \end{lstlisting}
6154 %
6155 Entries may be part of a set in one document\slash refsection and stand-alone references in another one, depending on the presence of the \bibtype{set} entry. If the \bibtype{set} entry is cited, the set members are grouped automatically. If not, they will work like any regular entry. Note that with \bibtex as the backend, there must also be an \bibfield{entryset} field in the set members which point to the set parent. With \biber, this is not necessary.
6156
6157 \paragraph[Dynamic entry sets]{Dynamic entry sets}
6158
6159 Dynamic entry sets are set up and work much like static ones. The main difference is that they are defined in the document preamble or on the fly in the document body using the \cmd{defbibentryset} command from \secref{use:bib:set}:
6160
6161 \begin{lstlisting}[style=bibtex]{}
6162 \defbibentryset{set1}{key1,key2,key3}
6163 \end{lstlisting}
6164 %
6165 Dynamic entry sets in the document body are local to the enclosing \env{refsection} environment, if any. Otherwise, they are assigned to reference section~0. Those defined in the preamble are assigned to reference section~0.
6166
6167 \subsubsection[Data Containers]{Data Containers}
6168 \label{use:use:xdat}
6169
6170 The \bibtype{xdata} entry type serves as a data container holding one or more fields. Data in \bibtype{xdata} entries may be referenced and used by other entries. \bibtype{xdata} entries may not be cited or added to the bibliography, they only serve as a data source for other entries (including other \bibtype{xdata} entries). This data inheritance mechanism is useful for fixed field combinations such as \bibfield{publisher}\slash \bibfield{location} and for other frequently used data:
6171
6172 \begin{lstlisting}[style=bibtex]{}
6173 <<@XData>>{<<hup>>,
6174 publisher = {Harvard University Press},
6175 location = {Cambridge, Mass.},
6176 }
6177 @Book{...,
6178 author = {...},
6179 title = {...},
6180 date = {...},
6181 <<xdata>> = {<<hup>>},
6182 }
6183 \end{lstlisting}
6184 %
6185 Using a separated list of keys in its \bibfield{xdata} field, an entry may inherit data from several \bibtype{xdata} entries. Cascading \bibtype{xdata} entries are supported as well, \ie an \bibtype{xdata} entry may reference one or more other \bibtype{xdata} entries:
6186
6187 \begin{lstlisting}[style=bibtex]{}
6188 @XData{macmillan:name,
6189 publisher = {Macmillan},
6190 }
6191 @XData{macmillan:place,
6192 location = {New York and London},
6193 }
6194 @XData{macmillan,
6195 xdata = {macmillan:name,macmillan:place},
6196 }
6197 @Book{...,
6198 author = {...},
6199 title = {...},
6200 date = {...},
6201 xdata = {macmillan},
6202 }
6203 \end{lstlisting}
6204 %
6205 More granular \bibtype{xdata} entry data may be referenced. It is not necessary to reference only entire fields. For example:
6206
6207 \begin{lstlisting}[style=bibtex]{}
6208 @XData{someauthors,
6209 author = {John Smith and Brian Brown}
6210 }
6211 @XData{somelocations,
6212 location = {Location1 and Location2}
6213 }
6214 @XData{somenotes,
6215 note = {A note}
6216 }
6217 @Book{...,
6218 author = {Alan Drudge and xdata=someauthors-author-2},
6219 editor = {xdata=someauthors-author and Ann Editor},
6220 location = {xdata=somelocations-location-1 and Location3},
6221 note = {xdata=somenotes-note}
6222 }
6223 \end{lstlisting}
6224 %
6225 The format of granular \bibtype{xdata} references are as follows:
6226
6227 \begin{namesample}
6228 \item~\delim{x}{1}data\delim{=}{2}\delim{$<$}{3}key$>$\delim{-}{4}\delim{$<$}{5}field$>$\delim{-}{6}\delim{$<$}{7}index$>$
6229 \end{namesample}
6230
6231 \begin{enumerate}
6232 \item The value of the \biber option \opt{--xdatamarker} (by default '\texttt{xdata}')
6233 \item The value of the \biber option \opt{--xnamesep} (by default '\texttt{=}')
6234 \item A valid entry key of an \bibtype{xdata} entry
6235 \item The value of the \biber option \opt{--xdatasep} (by default '\texttt{-}')
6236 \item A valid entry field in the source \bibtype {xdata} entry
6237 \item (Optional) The value of the \biber option \opt{--xdatasep} (by default '\texttt{-}')
6238 \item (Optional) A valid 1-based index into a list/name field in the source \bibtype {xdata} entry
6239 \end{enumerate}
6240 %
6241 There are \opt{--output-*} variants of the above options for \biber tool mode output so that these separators and markers can be programmatically changed. Taking the example above, this \bibtype{book} would resolve to:
6242
6243 \begin{lstlisting}[style=bibtex]{}
6244 @Book{...,
6245 author = {Alan Drudge and Brian Brown},
6246 editor = {John Smith and Brian Brown and Ann Editor},
6247 location = {Location1 and Location3},
6248 note = {A note}
6249 }
6250 \end{lstlisting}
6251 %
6252 Things to note with granular \bibtype{xdata} references:
6253
6254 \begin{itemize}
6255 \item References must be made only to \bibtype{xdata} fields. A warning will be generated otherwise and the reference will not be resolved
6256 \item References must be made only to \bibtype{xdata} fields of the same type (list/name and datatype) as the referencing field. A warning will be generated otherwise and the reference will not be resolved
6257 \item References to fields of datatype 'date' are not possible. References to legacy \bibfield{year} and \bibfield{month} fields are possible
6258 \item References to missing entries, fields or list/name indices will generate a warning and the reference will not be resolved
6259 \item If an index is missing for a reference to a list/name field, the
6260 entire xdata name/list field will be spliced into the referencing field
6261 at the desired position.
6262 \end{itemize}
6263 %
6264 See also \secref{bib:typ:blx,bib:fld:spc}.
6265
6266 \subsubsection{Electronic Publishing Information}
6267 \label{use:use:epr}
6268
6269 The \biblatex package provides three fields for electronic publishing information: \bibfield{eprint}, \bibfield{eprinttype}, and \bibfield{eprintclass}. The \bibfield{eprint} field is a verbatim field similar to \bibfield{doi} which holds the identifier of the item. The \bibfield{eprinttype} field holds the resource name, \ie the name of the site or electronic archive. The optional \bibfield{eprintclass} field is intended for additional information specific to the resource indicated by the \bibfield{eprinttype} field. This could be a section, a path, classification information, etc. If the \bibfield{eprinttype} field is available, the standard styles will use it as a literal label. In the following example, they would print «Resource: identifier» rather than the generic «eprint: identifier»:
6270
6271 \begin{lstlisting}[style=bibtex]{}
6272 <<eprint>> = {<<identifier>>},
6273 <<eprinttype>> = {<<Resource>>},
6274 \end{lstlisting}
6275 %
6276 The standard styles feature dedicated support for a few online archives. For arXiv references, put the identifier in the \bibfield{eprint} field and the string \texttt{arxiv} in the \bibfield{eprinttype} field:
6277
6278 \begin{lstlisting}[style=bibtex]{}
6279 <<eprint>> = {<<math/0307200v3>>},
6280 <<eprinttype>> = {<<arxiv>>},
6281 \end{lstlisting}
6282 %
6283 For papers which use the new identifier scheme (April 2007 and later) add the primary classification in the \bibfield{eprintclass} field:
6284
6285 \begin{lstlisting}[style=bibtex]{}
6286 eprint = {1008.2849v1},
6287 eprinttype = {arxiv},
6288 <<eprintclass>> = {<<cs.DS>>},
6289 \end{lstlisting}
6290 %
6291 There are two aliases which ease the integration of arXiv entries. \bibfield{archiveprefix} is treated as an alias for \bibfield{eprinttype}; \bibfield{primaryclass} is an alias for \bibfield{eprintclass}. If hyperlinks are enabled, the eprint identifier will be transformed into a link to \nolinkurl{arxiv.org}. See the package option \opt{arxiv} in \secref{use:opt:pre:gen} for further details.
6292
6293 For \acr{JSTOR} references, put the stable \acr{JSTOR} number in the \bibfield{eprint} field and the string \texttt{jstor} in the \bibfield{eprinttype} field:
6294
6295 \begin{lstlisting}[style=bibtex]{}
6296 <<eprint>> = {<<number>>},
6297 <<eprinttype>> = {<<jstor>>},
6298 \end{lstlisting}
6299 %
6300 When using \acr{JSTOR}'s export feature to export citations in \bibtex format, \acr{JSTOR} uses the \bibfield{url} field by default (where the \prm{number} is a unique and stable identifier):
6301
6302 \begin{lstlisting}[style=bibtex]{}
6303 url = {http://www.jstor.org/stable/<<number>>},
6304 \end{lstlisting}
6305 %
6306 While this will work as expected, full \acr{URL}s tend to clutter the bibliography. With the \bibfield{eprint} fields, the standard styles will use the more readable «\acr{JSTOR}: \prm{number}» format which also supports hyperlinks. The \prm{number} becomes a clickable link if \sty{hyperref} support is enabled.
6307
6308 For PubMed references, put the stable PubMed identifier in the \bibfield{eprint} field and the string \texttt{pubmed} in the \bibfield{eprinttype} field. This means that:
6309
6310 \begin{lstlisting}[style=bibtex]{}
6311 url = {http://www.ncbi.nlm.nih.gov/pubmed/<<pmid>>},
6312 \end{lstlisting}
6313 %
6314 becomes:
6315
6316 \begin{lstlisting}[style=bibtex]{}
6317 <<eprint>> = {<<pmid>>},
6318 <<eprinttype>> = {<<pubmed>>},
6319 \end{lstlisting}
6320 %
6321 and the standard styles will print «\acr{PMID}: \prm{pmid}» instead of the lengthy \acr{URL}. If hyperref support is enabled, the \prm{pmid} will be a clickable link to PubMed.
6322
6323 For handles (\acr{HDL}s), put the handle in the \bibfield{eprint} field and the string \texttt{hdl} in the \bibfield{eprinttype} field:
6324
6325 \begin{lstlisting}[style=bibtex]{}
6326 <<eprint>> = {<<handle>>},
6327 <<eprinttype>> = {<<hdl>>},
6328 \end{lstlisting}
6329 %
6330 For Google Books references, put Google's identifier in the \bibfield{eprint} field and the string \texttt{googlebooks} in the \bibfield{eprinttype} field. This means that, for example:
6331
6332 \begin{lstlisting}[style=bibtex]{}
6333 url = {http://books.google.com/books?id=<<XXu4AkRVBBoC>>},
6334 \end{lstlisting}
6335 %
6336 would become:
6337
6338 \begin{lstlisting}[style=bibtex]{}
6339 <<eprint>> = {<<XXu4AkRVBBoC>>},
6340 <<eprinttype>> = {<<googlebooks>>},
6341 \end{lstlisting}
6342 %
6343 and the standard styles would print «Google Books: |XXu4AkRVBBoC|» instead of the full \acr{URL}. If hyperref support is enabled, the identifier will be a clickable link to Google Books.\footnote{Note that the Google Books \acr{id} seems to be a bit of an <internal> value. As of this writing, there does not seem to be any way to search for an \acr{id} on Google Books. You may prefer to use the \bibfield{url} in this case.}
6344
6345 Note that \bibfield{eprint} is a verbatim field. Always give the identifier in its unmodified form. For example, there is no need to replace |_| with |\_|. Also see \secref{aut:cav:epr} on how to add dedicated support for other eprint resources.
6346
6347 \subsubsection{External Abstracts and Annotations}
6348 \label{use:use:prf}
6349
6350 Styles which print the fields \bibfield{abstract} and\slash or \bibfield{annotation} may support an alternative way of adding abstracts or annotations to the bibliography. Instead of including the text in the \file{bib} file, it may also be stored in an external \latex file. For example, instead of saying
6351
6352 \begin{ltxexample}[style=bibtex]
6353 @Article{key1,
6354 ...
6355 abstract = {This is an abstract of entry `key1'.}
6356 }
6357 \end{ltxexample}
6358 %
6359 in the \file{bib} file, you may create a file named \path{bibabstract-key1.tex} and put the abstract in this file:
6360
6361 \begin{ltxexample}
6362 This is an abstract of entry `key1'.
6363 \endinput
6364 \end{ltxexample}
6365 %
6366 The name of the external file must be the entry key prefixed with \texttt{bibabstract-} or \texttt{bibannotation-}, respectively. You can change these prefixes by redefining \cmd{bibabstractprefix} and \cmd{bibannotationprefix}. Note that this feature needs to be enabled explicitly by setting the package option \opt{loadfiles} from \secref{use:opt:pre:gen}. The option is disabled by default for performance reasons. Also note that any \bibfield{abstract} and \bibfield{annotation} fields in the \file{bib} file take precedence over the external files. Using external files is strongly recommended if you have long abstracts or a lot of annotations since this may increase memory requirements significantly. It is also more convenient to edit the text in a dedicated \latex file. Style authors should see \secref{aut:cav:prf} for further information.
6367
6368 \subsection{Hints and Caveats}
6369 \label{use:cav}
6370
6371 This section provides additional usage hints and addresses some common problems and potential misconceptions.
6372
6373 \subsubsection{Usage with \acr{KOMA}-Script Classes}
6374 \label{use:cav:scr}
6375
6376 When used in conjunction with a recent version\footnote{At least \acr{KOMA}-Script 3.25 (2018/03/30).} one of the \sty{scrbook}, \sty{scrreprt}, or \sty{scrartcl} classes, \biblatex passes control over the (default) headings \texttt{bibliography} and \texttt{biblist} from \secref{use:bib:hdg} to the class. Hence, bibliography-heading-related class options can be used as usual. You can override the default headings by using the \opt{heading} option of \cmd{printbibliography}, \cmd{printbibheading} and \cmd{printbiblist}. See \secref{use:bib:bib, use:bib:biblist, use:bib:hdg} for details.
6377
6378 \biblatex also tries to detect bibliography-related class options and settings itself.\footnote{This applies to the traditional syntax of these options (\opt{bibtotoc} and \opt{bibtotocnumbered}) as well as to the \keyval syntax introduced in \acr{KOMA}-Script 3.x, \ie to \kvopt{bibliography}{nottotoc}, \kvopt{bibliography}{totoc}, and \kvopt{bibliography}{totocnumbered}. The global \kvopt{toc}{bibliography} and \kvopt{toc}{bibliographynumbered} options as well as their aliases are detected as well. In any case, the options must be set globally in the optional argument to \cmd{documentclass}.} This was required to be able to adapt the bibliography headings to the class settings in older versions of \acr{KOMA}-Script. If one of the above classes is detected, \biblatex will provide the following additional tests which may be useful in custom heading definitions. Since these tests rely on the error-prone external detection of \acr{KOMA}-Script settings and are no longer used with newer \acr{KOMA}-Script versions, these tests are deprecated and should no longer be used.
6379
6380 \begin{ltxsyntax}
6381
6382 \cmditem{ifkomabibtotoc}{true}{false}\DeprecatedMark
6383
6384 Expands to \prm{true} if the class would add the bibliography to the table of contents, and to \prm{false} otherwise. This test is deprecated.
6385
6386 \cmditem{ifkomabibtotocnumbered}{true}{false}\DeprecatedMark
6387
6388 Expands to \prm{true} if the class would add the bibliography to the table of contents as a numbered section, and to \prm{false} otherwise. If this test yields \prm{true}, \cmd{ifkomabibtotoc} will always yield \prm{true} as well, but not vice versa. This test is deprecated.
6389
6390 \end{ltxsyntax}
6391
6392 \subsubsection{Usage with the Memoir Class}
6393 \label{use:cav:mem}
6394
6395 When using \biblatex with the \sty{memoir} class, most class facilities for adapting the bibliography have no effect. Use the corresponding facilities of this package instead (\secref{use:bib:bib, use:bib:hdg, use:bib:nts}). Instead of redefining \sty{memoir}'s \cmd{bibsection}, use the \opt{heading} option of \cmd{printbibliography} and \cmd{defbibheading} (\secref{use:bib:bib, use:bib:hdg}). Instead of \cmd{prebibhook} and \cmd{postbibhook}, use the \opt{prenote} and \opt{postnote} options of \cmd{printbibliography} and \cmd{defbibnote} (\secref{use:bib:bib, use:bib:nts}). All default headings are adapted at load-time such that they blend well with the default layout of this class. The default headings \texttt{bibliography} and \texttt{biblist} (\secref{use:bib:hdg}) are also responsive to \sty{memoir}'s \cmd{bibintoc} and \cmd{nobibintoc} switches. The length register \len{bibitemsep} is used by \biblatex in a way similar to \sty{memoir} (\secref{use:fmt:len}). This section also introduces some additional length registers which correspond to \sty{memoir}'s \cmd{biblistextra}. Lastly, \cmd{setbiblabel} does not map to a single facility of the \biblatex package since the style of all labels in the bibliography is controlled by the bibliography style. See \secref{aut:bbx:env} in the author section of this manual for details. If the \sty{memoir} class is detected, \biblatex will also provide the following additional test which may be useful in custom heading definitions:
6396
6397 \begin{ltxsyntax}
6398
6399 \cmditem{ifmemoirbibintoc}{true}{false}
6400
6401 Expands to \prm{true} or \prm{false}, depending on \sty{memoir}'s \cmd{bibintoc} and \cmd{nobibintoc} switches. This is a \latex frontend to \sty{memoir}'s \cmd{ifnobibintoc} test. Note that the logic of the test is reversed.
6402
6403 \end{ltxsyntax}
6404
6405 \subsubsection{Page Numbers in Citations}
6406 \label{use:cav:pag}
6407
6408 If the \prm{postnote} argument to a citation command is a page number or page range, \biblatex will automatically prefix it with <p.> or <pp.> by default. This works reliably in typical cases, but sometimes manual intervention may be required. In this case, it is important to understand how this argument is handled in detail. First, \biblatex checks if the postnote is an Arabic or Roman numeral (case insensitive). If this test succeeds, the postnote is considered as a single page or other number which will be prefixed with <p.> or some other string which depends on the \sty{pagination} field (see \secref{bib:use:pag}). If it fails, a second test is performed to find out if the postnote is a range or a list of Arabic or Roman numerals. If this test succeeds, the postnote will be prefixed with <pp.> or some other string in the plural form. If it fails as well, the postnote is printed as is. Note that both tests expand the \prm{postnote}. All commands used in this argument must therefore be robust or prefixed with \cmd{protect}. Here are a few examples of \prm{postnote} arguments which will be correctly recognized as a single number, a range of numbers, or a list of numbers, respectively:
6409
6410 \begin{ltxexample}
6411 \cite[25]{key}
6412 \cite[vii]{key}
6413 \cite[XIV]{key}
6414 \cite[34--38]{key}
6415 \cite[iv--x]{key}
6416 \cite[185/86]{key}
6417 \cite[XI \& XV]{key}
6418 \cite[3, 5, 7]{key}
6419 \cite[vii--x; 5, 7]{key}
6420 \end{ltxexample}
6421 %
6422 In some other cases, however, the tests may get it wrong and you need to resort to the auxiliary commands \cmd{pnfmt}, \cmd{pno}, \cmd{ppno}, and \cmd{nopp} from \secref{use:cit:msc}. For example, suppose a work is cited by a special pagination scheme consisting of numbers and letters. In this scheme, the string <|27a|> would mean <page~27, part~a>. Since this string does not look like a number or a range to \biblatex, you need to force the prefix for a single number manually:
6423
6424 \begin{ltxexample}
6425 \cite[\pno~27a]{key}
6426 \end{ltxexample}
6427 %
6428 There is also a \cmd{ppno} command which forces a range prefix as well as a \cmd{nopp} command which suppresses all prefixes:
6429
6430 \begin{ltxexample}
6431 \cite[\ppno~27a--28c]{key}
6432 \cite[\nopp 25]{key}
6433 \end{ltxexample}
6434 %
6435 These commands may be used anywhere in the \prm{postnote} argument. They may also be used multiple times. For example, when citing by volume and page number, you may want to suppress the prefix at the beginning of the postnote and add it in the middle of the string:
6436
6437 \begin{ltxexample}
6438 \cite[VII, \pno~5]{key}
6439 \cite[VII, \pno~3, \ppno~40--45]{key}
6440 \cite[see][\ppno~37--46, in particular \pno~40]{key}
6441 \end{ltxexample}
6442 %
6443 The command \cmd{pnfmt} can be used for \prm{postnote}s consisting of a page range and some additional text. \cmd{pnfmt} prints its argument in the format specified for the postnote and can be used to format the page range automatically without the need for \cmd{pno} and \cmd{ppno}.
6444
6445 \begin{ltxexample}
6446 \cite[\pnfmt{37-46}, in particular \pnfmt{40}]{key}
6447 \end{ltxexample}
6448 %
6449 There are also two auxiliary command for suffixes like <the following page(s)>. Instead of inserting such suffixes literally (which would require \cmd{ppno} to force a prefix):
6450
6451 \begin{ltxexample}
6452 \cite[\ppno~27~sq.]{key}
6453 \cite[\ppno~55~sqq.]{key}
6454 \end{ltxexample}
6455 %
6456 use the auxiliary commands \cmd{psq} and \cmd{psqq}. Note that there is no space between the number and the command. This space will be inserted automatically and may be modified by redefining the macro \cmd{sqspace}.
6457
6458 \begin{ltxexample}
6459 \cite[27\psq]{key}
6460 \cite[55\psqq]{key}
6461 \end{ltxexample}
6462 %
6463 Since the postnote is printed without any prefix if it includes any character which is not an Arabic or Roman numeral, you may also type the prefix manually---though this is discouraged:
6464
6465 \begin{ltxexample}
6466 \cite[p.~5]{key}
6467 \end{ltxexample}
6468 %
6469 It is possible to suppress the prefix on a per"=entry basis by setting the \bibfield{pagination} field of an entry to <\texttt{none}>, see \secref{bib:use:pag} for details. If you do not want any prefixes at all or prefer to type them manually, you can also disable the entire mechanism in the document preamble or the configuration file as follows:
6470
6471 \begin{ltxexample}
6472 \DeclareFieldFormat{postnote}{#1}
6473 \end{ltxexample}
6474 %
6475 The \prm{postnote} argument is handled as a field and the formatting of this field is controlled by a field formatting directive which may be freely redefined. The above definition will simply print the postnote as is. See \secref{aut:cbx:fld, aut:bib:fmt} in the author guide for further details.
6476
6477 \subsubsection{Name Parts and Name Spacing}
6478 \label{use:cav:nam}
6479
6480 The \biblatex package gives users and style authors very fine"=grained control of name spacing and the line"=breaking behavior of names. The commands discussed in the following are documented in \secref{use:fmt:fmt,aut:fmt:fmt}. This section is meant to give an overview of how they are put together. A note on terminology: a name \emph{part} is a basic part of the name, for example the given or the family name. Each part of a name may be a single name or it may be composed of multiple names. For example, the name part \enquote*{given name} may be composed of a given and a middle name. The latter are referred to as name \emph{elements} in this section. Let's consider a simple name first: \enquote{John Edward Doe}. This name is composed of the following parts:
6481
6482 \begin{nameparts}
6483 Given & John Edward \\
6484 Prefix & --- \\
6485 Family & Doe \\
6486 Suffix & --- \\
6487 \end{nameparts}
6488 %
6489 The spacing, punctuation and line"=breaking behavior of names is controlled by six macros:
6490
6491 \begin{namedelims}
6492 a & \cmd{bibnamedelima} & Inserted by the backend after the first element of every name part if that element is less than three characters long and before the last element of every name part. \\
6493 b & \cmd{bibnamedelimb} & Inserted by the backend between all elements of a name part where \cmd{bibnamedelima} does not apply. \\
6494 c & \cmd{bibnamedelimc} & Inserted by a formatting directive between the name prefix and the family name if \kvopt{useprefix}{true}. If \kvopt{useprefix}{false}, \cmd{bibnamedelimd} is used instead. \\
6495 d & \cmd{bibnamedelimd} & Inserted by a formatting directive between name parts where \cmd{bibnamedelimc} does not apply. \\
6496 i & \cmd{bibnamedelimi} & Replaces \cmd{bibnamedelima/b} after initials \\
6497 p & \cmd{revsdnamepunct} & Inserted by a formatting directive after the family name when the name parts are reversed.
6498 \end{namedelims}
6499 %
6500 This is how the delimiters are employed:
6501
6502 \begin{namesample}
6503 \item John\delim{~}{a}Edward\delim{ }{d}Doe
6504 \item Doe\delim{,}{p}\delim{ }{d}John\delim{~}{a}Edward
6505 \end{namesample}
6506 %
6507 Initials in the \file{bib} file get a special delimiter:
6508
6509 \begin{namesample}
6510 \item J.\delim{~}{i}Edward\delim{ }{d}Doe
6511 \end{namesample}
6512 %
6513 Let's consider a more complex name: \enquote{Charles-Jean Étienne Gustave Nicolas de La Vallée Poussin}. This name is composed of the following parts:
6514
6515 \begin{nameparts}
6516 Given & Charles-Jean Étienne Gustave Nicolas \\
6517 Prefix & de \\
6518 Family & La Vallée Poussin \\
6519 Suffix & --- \\
6520 \end{nameparts}
6521 %
6522 The delimiters:
6523
6524 \begin{namesample}
6525 \item Charles-Jean\delim{~}{b}Étienne\delim{~}{b}Gustave\delim{~}{a}Nicolas\delim{ }{d}%
6526 de\delim{ }{c}%
6527 La\delim{~}{a}Vallée\delim{~}{a}Poussin
6528 \end{namesample}
6529 %
6530 Note that \cmd{bibnamedelima/b/i} are inserted by the backend. The backend processes the name parts and takes care of the delimiters between the elements that make up a name part, processing each part individually. In contrast to that, the delimiters between the parts of the complete name (\cmd{bibnamedelimc/d}) are added by name formatting directives at a later point in the processing chain. The spacing and punctuation of initials is also handled by the backend and may be customized by redefining the following three macros:
6531
6532 \begin{namedelims}
6533 a & \cmd{bibinitperiod} & Inserted by the backend after initials.\\
6534 b & \cmd{bibinitdelim} & Inserted by the backend between multiple initials.\\
6535 c & \cmd{bibinithyphendelim} & Inserted by the backend between the initials of hyphenated name parts, replacing \cmd{bibinitperiod} and \cmd{bibinitdelim}.\\
6536 \end{namedelims}
6537 %
6538 This is how they are employed:
6539
6540 \begin{namesample}
6541 \item J\delim{.}{a}\delim{~}{b}E\delim{.}{a} Doe
6542 \item K\delim{.-}{c}H\delim{.}{a} Mustermann
6543 \end{namesample}
6544
6545 \subsubsection{Split Bibliographies and Citation Labels}
6546 \label{use:cav:lab}
6547
6548 The citation labels generated by this package are assigned to the full list of references before it is split up by any bibliography filters. They are guaranteed to be unique across the entire document (or a \env{refsection} environment), no matter how many bibliography filters you are using. When using a numeric citation scheme, however, this will most likely lead to discontinuous numbering in split bibliographies. Use the \opt{defernumbers} package option to avoid this problem. If this option is enabled, numeric labels are assigned the first time an entry is printed in any bibliography.
6549
6550 Compare the output of the following example with \texttt{defernumbers=true} and \texttt{defernumbers=false}.
6551 %
6552 \begin{ltxexample}
6553 \documentclass{article}
6554 \usepackage[defernumbers=true]{biblatex}
6555
6556 \addbibresource{biblatex-examples.bib}
6557
6558 \begin{document}
6559 Lorem \autocite{worman} ipsum \autocite{sigfridsson}
6560 dolor \autocite{nussbaum} sit \autocite{aksin}
6561
6562 \printbibheading[title={Bibliography}]
6563 \printbibliography[heading=subbibliography,
6564 type=book, title={Books}]
6565 \printbibliography[heading=subbibliography,
6566 type=article, title={Articles}]
6567 \end{document}
6568 \end{ltxexample}
6569
6570 There are pathological cases where neither \texttt{defernumbers=true} nor \texttt{defernumbers=false} produce fully desirable output. This may be the case when entries can end up in several of the split bibliographies---or if there is an additional global bibliography. But in most cases with non-overlapping split bibliographies \texttt{defernumbers=true} produces better results. \sty{biblatex} will therefore suggest setting \opt{defernumbers} to \opt{true} in a warning when a split bibliography setup is detected. That warning can be suppressed in case setting \opt{defernumbers} to \opt{true} is not desirable.
6571
6572 \subsubsection{Active Characters in Bibliography Headings}
6573 \label{use:cav:act}
6574
6575 Packages using active characters, such as \sty{babel}, \sty{polyglossia}, \sty{csquotes}, or \sty{underscore}, usually do not make them active until the beginning of the document body to avoid interference with other packages. A typical example of such an active character is the \acr{US-ASCII} quote |"|, which is used by various language modules of the \sty{babel}/\sty{polyglossia} packages. If shorthands such as |"<| and |"a| are used in the argument to \cmd{defbibheading} and the headings are defined in the document preamble, the non-active form of the characters is saved in the heading definition. When the heading is typeset, they do not function as a command but are simply printed literally. The most straightforward solution consists in moving \cmd{defbibheading} after |\begin{document}|. Alternatively, you may use \sty{babel}'s \cmd{shorthandon} and \cmd{shorthandoff} commands to temporarily make the shorthands active in the preamble. The above also applies to bibliography notes and the \cmd{defbibnote} command.
6576
6577 \subsubsection{Grouping in Reference Sections and Segments}
6578 \label{use:cav:grp}
6579
6580 All \latex environments enclosed in \cmd{begin} and \cmd{end} form a group. This may have undesirable side effects if the environment contains anything that does not expect to be used within a group. This issue is not specific to \env{refsection} and \env{refsegment} environments, but it obviously applies to them as well. Since these environments will usually enclose much larger portions of the document than a typical \env{itemize} or similar environment, they are simply more likely to trigger problems related to grouping. If you observe any malfunctions after adding \env{refsection} environments to a document (for example, if anything seems to be <trapped> inside the environment), try the following syntax instead:
6581
6582 \begin{ltxexample}
6583 \chapter{...}
6584 <<\refsection>>
6585 ...
6586 <<\endrefsection>>
6587 \end{ltxexample}
6588 %
6589 This will not form a group, but otherwise works as usual. As far as \biblatex is concerned, it does not matter which syntax you use. The alternative syntax is also supported by the \env{refsegment} environment. Note that the commands \cmd{newrefsection} and \cmd{newrefsegment} do not form a group. See \secref{use:bib:sec, use:bib:seg} for details.
6590
6591 \subsection{Using the fallback \bibtex\ backend}
6592 \label{use:bibtex}
6593
6594 To utilise all of the features described here, \biblatex must be used with the
6595 \biber program as a backend. Indeed, the documentation in general assumes this. However, for a \emph{limited} subset of use cases it is possible to use the
6596 long-established \bibtex program (either the 7-bit \texttt{bibtex} or
6597 8-bit \texttt{bibtex8}) as the supporting backend. This works in much the
6598 same way as for \biber with the only proviso being that \bibtex is much more
6599 limited as a backend.
6600
6601 Using \bibtex as the backend requires that the option \opt{backend=bibtex}
6602 or \opt{backend=bibtex8} is given at load time. The \biblatex package will
6603 then write appropriate data for use by \bibtex into the auxiliary file(s)
6604 and a special data file (automatically included in those to be read by
6605 \bibtex). The \bibtex(8) program should then be run on each auxiliary file:
6606 \biblatex will list all of the required files in the log.
6607
6608 Key limitations of the \bibtex backend are:
6609 \begin{itemize}
6610 \item Sorting is global and is limited to \acr{US-ASCII} ordering
6611 \item No re-encoding is possible and thus database entries must be in
6612 LICR form to work reliably
6613 \item The data model is fixed
6614 \item Cross-referencing is more limited and entry sets must be written
6615 into the \path{.bib} file
6616 \item Fixed memory capacity (using the \verb|--wolfgang| option with
6617 \verb|bibtex8| is strongly recommended to minimize the likelihood of
6618 an issue here)
6619 \end{itemize}
6620
6621 \section{Author Guide}
6622 \label{aut}
6623
6624 This part of the manual documents the author interface of the \biblatex package. The author guide covers everything you need to know in order to write new citation and bibliography styles or localisation modules. You should read the user guide first before continuing with this part of the manual.
6625
6626 \subsection{Overview}
6627 \label{aut:int}
6628
6629 Before we get to the commands and facilities provided by \biblatex, we will have a look at some of its fundamental concepts. The \biblatex package uses auxiliary files in a special way. Most notably, the \file{bbl} file is used differently and there is no concept of a style-dependent \file{bst} file. With \latex's standard bibliographic facilities, a document includes any number of citation commands in the document body plus \cmd{bibliographystyle} and \cmd{bibliography}, usually towards the end of the document. The location of the former is arbitrary, the latter marks the spot where the list of references is to be printed:
6630
6631 \begin{ltxexample}
6632 \documentclass{...}
6633 \begin{document}
6634 \cite{...}
6635 ...
6636 \bibliographystyle{...}
6637 \bibliography{...}
6638 \end{document}
6639 \end{ltxexample}
6640 %
6641 Processing this files requires that a certain procedure be followed. This procedure is as follows:
6642
6643 \begin{enumerate}
6644
6645 \item Run \bin{latex}: On the first run, \cmd{bibstyle} and \cmd{bibdata} commands are written to the \file{aux} file, along with \cmd{citation} commands for all citations. At this point, the references are undefined because \latex is waiting for \bibtex to supply the required data. There is also no bibliography yet.
6646
6647 \item Run \bin{bibtex}: \bibtex writes a \env{thebibliography} environment to the \file{bbl} file, supplying all entries from the \file{bib} file which were requested by the \cmd{citation} commands in the \file{aux} file.
6648
6649 \item Run \bin{latex}: Starting with the second run, the \cmd{bibitem} commands in the \env{thebibliography} environment write one \cmd{bibcite} command for each bibliography entry to the \file{aux} file. These \cmd{bibcite} commands define the citation labels used by \cmd{cite}. However, the references are still undefined because the labels are not available until the end of this run.
6650
6651 \item Run \bin{latex}: Starting with the third run, the citation labels are defined as the \file{aux} file is read in at the end of the preamble. All citations can now be printed.
6652
6653 \end{enumerate}
6654
6655 Note that all bibliographic data is written to the \file{bbl} file in the final format. The \file{bbl} file is read in and processed like any printable section of the document. For example, consider the following entry in a \file{bib} file:
6656
6657 \begin{lstlisting}[style=bibtex]{}
6658 @Book{companion,
6659 author = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
6660 title = {The LaTeX Companion},
6661 publisher = {Addison-Wesley},
6662 address = {Reading, Mass.},
6663 year = {1994},
6664 }
6665 \end{lstlisting}
6666 %
6667 With the \path{plain.bst} style, \bibtex exports this entry to the \file{bbl} file as follows:
6668
6669 \begin{ltxexample}
6670 \bibitem{companion}
6671 Michel Goossens, Frank Mittelbach, and Alexander Samarin.
6672 \newblock {\em The LaTeX Companion}.
6673 \newblock Addison-Wesley, Reading, Mass., 1994.
6674 \end{ltxexample}
6675 %
6676 By default, \latex generates numeric citation labels, hence \cmd{bibitem} writes lines such as the following to the \file{aux} file:
6677
6678 \begin{ltxexample}
6679 \bibcite{companion}{1}
6680 \end{ltxexample}
6681 %
6682 Implementing a different citation style implies that more data has to be transferred via the \file{aux} file. With the \sty{natbib} package, for example, the \file{aux} file contains lines like this one:
6683
6684 \begin{ltxexample}
6685 \bibcite{companion}{{1}{1994}{{Goossens et~al.}}{{Goossens, Mittelbach,
6686 and Samarin}}}
6687 \end{ltxexample}
6688 %
6689 The \biblatex package supports citations in any arbitrary format, hence citation commands need access to all bibliographic data. What this would mean within the scope of the procedure outlined above becomes obvious when looking at the output of the \sty{jurabib} package which also makes all bibliographic data available in citations:
6690
6691 \begin{ltxexample}
6692 \bibcite{companion}{{Goossens\jbbfsasep Mittelbach\jbbstasep Samarin}%
6693 {}{{0}{}{book}{1994}{}{}{}{}{Reading, Mass.\bpubaddr{}Addison-Wesley%
6694 \bibbdsep{} 1994}}{{The LaTeX Companion}{}{}{2}{}{}{}{}{}}{\bibnf
6695 {Goossens}{Michel}{M.}{}{}\Bibbfsasep\bibnf{Mittelbach}{Frank}{F.}%
6696 {}{}\Bibbstasep\bibnf{Samarin}{Alexander}{A.}{}{}}{\bibtfont{The
6697 LaTeX Companion}.\ \apyformat{Reading, Mass.\bpubaddr{}
6698 Addison-Wesley\bibbdsep{} 1994}}}
6699 \end{ltxexample}
6700 %
6701 In this case, the contents of the entire \env{thebibliography} environment are effectively transferred via the \file{aux} file. The data is read from the \file{bbl} file, written to the \file{aux} file, read back from the \file{aux} file and then kept in memory. The bibliography itself is still generated as the \file{bbl} file is read in. The \biblatex package would also be forced to cycle all data through the \file{aux} file. This implies processing overhead and is also redundant because the data has to be kept in memory anyway.
6702
6703 The traditional procedure is based on the assumption that the full bibliographic data of an entry is only required in the bibliography and that all citations use short labels. This makes it very effective in terms of memory requirements, but it also implies that it does not scale well. That is why \biblatex takes a different approach. First of all, the document structure is slightly different. Instead of using \cmd{bibliography} in the document body, database files are specified in the preamble with \cmd{addbibresource}, \cmd{bibliographystyle} is omitted entirely (all features are controlled by package options), and the bibliography is printed using \cmd{printbibliography}:
6704
6705 \begin{ltxexample}
6706 \documentclass{...}
6707 \usepackage[...]{biblatex}
6708 \addbibresource{...}
6709 \begin{document}
6710 \cite{...}
6711 ...
6712 \printbibliography
6713 \end{document}
6714 \end{ltxexample}
6715 %
6716 In order to streamline the whole procedure, \biblatex essentially employs the \file{bbl} file like an \file{aux} file, rendering \cmd{bibcite} obsolete. We then get the following procedure:
6717
6718 \begin{enumerate}
6719
6720 \item Run \bin{latex}: The first step is similar to the traditional procedure described above: \cmd{bibstyle} and \cmd{bibdata} commands are written to th \file{bcf} file, along with \cmd{citation} commands for all citations. We then wait for the backend to supply the required data.
6721
6722 \item Run \bin{biber}: The backend supplies those entries from the \file{bib} file which were requested by the \cmd{citation} commands in the auxiliary file. However, it does not write a printable bibliography to the \file{bbl} file, but rather a structured representation of the bibliographic data. Just like an \file{aux} file, this \file{bbl} file does not print anything when read in. It merely puts data in memory.
6723
6724 \item Run \bin{latex}: Starting with the second run, the \file{bbl} file is processed right at the beginning of the document body, just like an \file{aux} file. From this point on, all bibliographic data is available in memory so that all citations can be printed right away.\footnote{If the \opt{defernumbers} package option is enabled \biblatex uses an algorithm similar to the traditional procedure to generate numeric labels. In this case, the numbers are assigned as the bibliography is printed and then cycled through the backend auxiliary file. It will take an additional \latex run for them to be picked up in citations.} The citation commands have access to the complete bibliographic data, not only to a predefined label. The bibliography is generated from memory using the same data and may be filtered or split as required.
6725
6726 \end{enumerate}
6727
6728 Let's consider the sample entry given above once more:
6729
6730 \begin{lstlisting}[style=bibtex]{}
6731 @Book{companion,
6732 author = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
6733 title = {The LaTeX Companion},
6734 publisher = {Addison-Wesley},
6735 address = {Reading, Mass.},
6736 year = {1994},
6737 }
6738 \end{lstlisting}
6739 %
6740 This entry is essentially exported in the following format:
6741
6742 \begin{ltxexample}
6743 \entry{companion}{book}{}
6744 \labelname{author}{3}{}{%
6745 {{uniquename=0,hash=...}{Goossens}{G.}{Michel}{M.}{}{}{}{}}%
6746 {{uniquename=0,hash=...}{Mittelbach}{M.}{Frank}{F.}{}{}{}{}}%
6747 {{uniquename=0,hash=...}{Samarin}{S.}{Alexander}{A.}{}{}{}{}}%
6748 }
6749 \name{author}{3}{}{%
6750 {{uniquename=0,hash=...}{Goossens}{G.}{Michel}{M.}{}{}{}{}}%
6751 {{uniquename=0,hash=...}{Mittelbach}{M.}{Frank}{F.}{}{}{}{}}%
6752 {{uniquename=0,hash=...}{Samarin}{S.}{Alexander}{A.}{}{}{}{}}%
6753 }
6754 \list{publisher}{1}{%
6755 {Addison-Wesley}%
6756 }
6757 \list{location}{1}{%
6758 {Reading, Mass.}%
6759 }
6760 \field{title}{The LaTeX Companion}
6761 \field{year}{1994}
6762 \endentry
6763 \end{ltxexample}
6764 %
6765 As seen in this example, the data is presented in a structured format that resembles the structure of a \file{bib} file to some extent. At this point, no decision concerning the final format of the bibliography entry has been made. The formatting of the bibliography and all citations is controlled by \latex macros, which are defined in bibliography and citation style files.
6766
6767 \subsection{Bibliography Styles}
6768 \label{aut:bbx}
6769
6770 A bibliography style is a set of macros which print the entries in the bibliography. Such styles are defined in files with the suffix \file{bbx}. The \biblatex package loads the selected bibliography style file at the end of the package. Note that a small repertory of frequently used macros shared by several of the standard bibliography styles is included in \path{biblatex.def}. This file is loaded at the end of the package as well, prior to the selected bibliography style.
6771
6772 \subsubsection{Bibliography Style Files}
6773 \label{aut:bbx:bbx}
6774
6775 Before we go over the individual components of a bibliography style, consider this example of the overall structure of a typical \file{bbx} file:
6776
6777 \begin{ltxexample}
6778 \ProvidesFile{example.bbx}[2006/03/15 v1.0 biblatex bibliography style]
6779
6780 \defbibenvironment{bibliography}
6781 {...}
6782 {...}
6783 {...}
6784 \defbibenvironment{shorthand}
6785 {...}
6786 {...}
6787 {...}
6788 \InitializeBibliographyStyle{...}
6789 \DeclareBibliographyDriver{article}{...}
6790 \DeclareBibliographyDriver{book}{...}
6791 \DeclareBibliographyDriver{inbook}{...}
6792 ...
6793 \DeclareBibliographyDriver{shorthand}{...}
6794 \endinput
6795 \end{ltxexample}
6796 %
6797 The main structure of a bibliography style file consists of the following commands:
6798
6799 \begin{ltxsyntax}
6800
6801 \cmditem{RequireBibliographyStyle}{style}
6802
6803 This command is optional and intended for specialized bibliography styles built on top of a more generic style. It loads the bibliography style \path{style.bbx}.
6804
6805 \cmditem{InitializeBibliographyStyle}{code}
6806
6807 Specifies arbitrary \prm{code} to be inserted at the beginning of the bibliography, but inside the group formed by the bibliography. This command is optional. It may be useful for definitions which are shared by several bibliography drivers but not used outside the bibliography. Keep in mind that there may be several bibliographies in a document. If the bibliography drivers make any global assignments, they should be reset at the beginning of the next bibliography.
6808
6809 \cmditem{DeclareBibliographyDriver}{entrytype}{code}
6810
6811 Defines a bibliography driver. A <driver> is a macro which handles a specific entry type (when printing bibliography lists) or a specific named bibliography list (when printing bibliography lists). The \prm{entrytype} corresponds to the entry type used in \file{bib} files, specified in lowercase letters (see \secref{bib:typ}). The \prm{entrytype} argument may also be an asterisk. In this case, the driver serves as a fallback which is used if no specific driver for the entry type has been defined. The \prm{code} is arbitrary code which typesets all bibliography entries of the respective \prm{entrytype}. This command is mandatory. Every bibliography style should provide a driver for each entry type.
6812
6813 \cmditem{DeclareBibliographyAlias}{alias}{entrytype}
6814
6815 If a bibliography driver covers more than one entry type, this command may be used to define an alias where \prm{entrytype} is the name of a defined driver. This command is optional. The \prm{alias} argument may also be an asterisk. In this case, the \prm{entrytype} driver serves as a fallback which is used if no specific driver for an entry has been defined.
6816
6817 Note that an alias declared with \cmd{DeclareBibliographyAlias} only <reroutes> the bibliography driver from \prm{alias} to \prm{entrytype}. Type-specific formatting directives still operate with the old \prm{alias} name. \cmd{DeclareBibliographyAlias} thus provides only a <soft> alias. If a complete alias is desired so that \prm{alias} and \prm{entrytype} are completely indistinguishable and use the same type-specific formatting, an approach with source mapping would be more appropriate (cf.~the mappings for \secref{bib:typ:als} in \secref{apx:maps:bibtex}, this would give a <hard> alias).
6818
6819 \cmditem{DeclareBibliographyOption}[datatype]{key}[value]{code}
6820
6821 This command defines additional preamble options in \keyval format. The \prm{key} is the option key. The \prm{code} is arbitrary \tex code to be executed whenever the option is used. The value passed to the option is passed on to the \prm{code} as |#1|. The optional \prm{value} is a default value to be used if the bare key is given without any value. This is useful for boolean switches.
6822 The \prm{datatype} is a the datatype for the option. If omitted, it defaults to <boolean>. For example, with a definition like the following:
6823
6824 \begin{ltxexample}
6825 \DeclareBibliographyOption[boolean]{somekey}[true]{...}
6826 \end{ltxexample}
6827 %
6828 giving <\texttt{somekey}> without a value is equivalent to <\kvopt{somekey}{true}>. Valid \prm{datatype} values are defined in the default \biber Datamodel as:
6829
6830 \begin{ltxexample}
6831 \DeclareDatamodelConstant[type=list]{optiondatatypes}{boolean,integer,string,xml}
6832 \end{ltxexample}
6833
6834 \cmditem{DeclareTypeOption}[datatype]{key}[value]{code}
6835
6836 Similar to \cmd{DeclareBibliographyOption} but defines options which are settable on a per"=type basis using the optional argument of \cmd{ExecuteBibliographyOptions} (see \secref{use:cfg:opt}). The \prm{code} is executed whenever \biblatex prepares the data of an entry of the type for which the option has been set for use by a citation command or a bibliography driver.
6837
6838 \cmditem{DeclareEntryOption}[datatype]{key}[value]{code}
6839
6840 Similar to \cmd{DeclareBibliographyOption} but defines options which are settable on a per"=entry basis in the \bibfield{options} field from \secref{bib:fld:spc}. The \prm{code} is executed whenever \biblatex prepares the data of the entry for use by a citation command or a bibliography driver.
6841
6842 \cmditem{DeclareBiblatexOption}{scope,\dots}[datatype]{key}[value]{code}
6843
6844 This command is a convenient interface to declare an option for several scopes at once. The \prm{scope} argument may be a comma"=separated list of scopes for which the option will be declared. Currently the scopes \opt{global}, \opt{type}, \opt{entry}, \opt{namelist} and \opt{name} are supported, the first three of which are equivalent to defining the option with \cmd{DeclareBibliographyOption}, \cmd{DeclareTypeOption} and \cmd{DeclareEntryOption}, respectively.
6845
6846 \end{ltxsyntax}
6847
6848 \subsubsection{Bibliography Environments}
6849 \label{aut:bbx:env}
6850
6851 Apart from defining bibliography drivers, the bibliography style is also responsible for the environments which control the layout of the bibliography and bibliography lists. These environments are defined with \cmd{defbibenvironment}. By default, \cmd{printbibliography} uses the environment \opt{bibliography}. Here is a definition suitable for a bibliography style which does not print any labels in the bibliography:
6852
6853 \begin{ltxexample}
6854 \defbibenvironment{bibliography}
6855 {\list
6856 {}
6857 {\setlength{\leftmargin}{\bibhang}%
6858 \setlength{\itemindent}{-\leftmargin}%
6859 \setlength{\itemsep}{\bibitemsep}%
6860 \setlength{\parsep}{\bibparsep}}}
6861 {\endlist}
6862 {\item}
6863 \end{ltxexample}
6864 %
6865 This definition employs a \env{list} environment with hanging indentation, using the \cmd{bibhang} length register provided by \biblatex. It allows for a certain degree of configurability by using \cmd{bibitemsep} and \cmd{bibparsep}, two length registers provided by \biblatex for this very purpose (see \secref{aut:fmt:len}). The \texttt{authoryear} and \texttt{authortitle} bibliography styles use a definition similar to this example.
6866
6867 \begin{ltxexample}
6868 \defbibenvironment{bibliography}
6869 {\list
6870 {\printfield[labelnumberwidth]{labelnumber}}
6871 {\setlength{\labelwidth}{\labelnumberwidth}%
6872 \setlength{\leftmargin}{\labelwidth}%
6873 \setlength{\labelsep}{\biblabelsep}%
6874 \addtolength{\leftmargin}{\labelsep}%
6875 \setlength{\itemsep}{\bibitemsep}%
6876 \setlength{\parsep}{\bibparsep}}%
6877 \renewcommand*{\makelabel}[1]{\hss##1}}
6878 {\endlist}
6879 {\item}
6880 \end{ltxexample}
6881 %
6882 Some bibliography styles print labels in the bibliography. For example, a bibliography style designed for a numeric citation scheme will print the number of every entry such that the bibliography looks like a numbered list. In the first example, the first argument to \cmd{list} was empty. In this example, we need it to insert the number, which is provided by \biblatex in the \bibfield{labelnumber} field. We also employ several length registers and other facilities provided by \biblatex, see \secref{aut:fmt:ich, aut:fmt:ilc} for details. The \texttt{numeric} bibliography style uses the definition given above. The \texttt{alphabetic} style is similar, except that \textsf{\texttt{labelnumber}} is replaced by \texttt{labelalpha} and \texttt{labelnumberwidth} by \texttt{labelalphawidth}.
6883
6884 Bibliography lists are handled in a similar way. \cmd{printbiblist} uses the environment named after the bibliography list by default. A typical example is given below. See \secref{aut:fmt:ich, aut:fmt:ilc} for details on the length registers and facilities used in this example.
6885
6886 \begin{ltxexample}
6887 \defbibenvironment{shorthand}
6888 {\list
6889 {\printfield[shorthandwidth]{shorthand}}
6890 {\setlength{\labelwidth}{\shorthandwidth}%
6891 \setlength{\leftmargin}{\labelwidth}%
6892 \setlength{\labelsep}{\biblabelsep}%
6893 \addtolength{\leftmargin}{\labelsep}%
6894 \setlength{\itemsep}{\bibitemsep}%
6895 \setlength{\parsep}{\bibparsep}%
6896 \renewcommand*{\makelabel}[1]{##1\hss}}}
6897 {\endlist}
6898 {\item}
6899 \end{ltxexample}
6900
6901 \subsubsection{Bibliography Drivers}
6902 \label{aut:bbx:drv}
6903
6904 Before we go over the commands which form the data interface of the \biblatex package, it may be instructive to have a look at the structure of a bibliography driver. Note that the example given below is greatly simplified, but still functional. For the sake of readability, we omit several fields which may be part of a \bibtype{book} entry and also simplify the handling of those which are considered. The main point is to give you an idea of how a driver is structured. For information about the mapping of the \bibtex file format fields to \biblatex's data types, see \secref{bib:fld}.
6905
6906 \begin{ltxexample}
6907 \DeclareBibliographyDriver{book}{%
6908 \printnames{author}%
6909 \newunit\newblock
6910 \printfield{title}%
6911 \newunit\newblock
6912 \printlist{publisher}%
6913 \newunit
6914 \printlist{location}%
6915 \newunit
6916 \printfield{year}%
6917 \finentry}
6918 \end{ltxexample}
6919 %
6920 The standard bibliography styles employ two bibliography macros \texttt{begentry} and \texttt{finentry}:
6921
6922 \begin{ltxexample}
6923 \DeclareBibliographyDriver{<<entrytype>>}{%
6924 \usebibmacro{begentry}
6925 ...
6926 \usebibmacro{finentry}}
6927 \end{ltxexample}
6928 %
6929 with the default definitions
6930 \begin{ltxexample}
6931 \newbibmacro*{begentry}{}
6932 \newbibmacro*{finentry}{\finentry}
6933 \end{ltxexample}
6934 %
6935 Use of these macros is recommended for easy hooks into the beginning and end of the driver.
6936
6937 Returning to the driver for the \texttt{book} entrytype above, there is still one piece missing: the formatting directives used by \cmd{printnames}, \cmd{printlist}, and \cmd{printfield}. To give you an idea of what a formatting directive looks like, here are some fictional ones used by our sample driver. Field formats are straightforward, the value of the field is passed to the formatting directive as an argument which may be formatted as desired. The following directive will simply wrap its argument in an \cmd{emph} command:
6938
6939 \begin{ltxexample}
6940 \DeclareFieldFormat{title}{\emph{#1}}
6941 \end{ltxexample}
6942 %
6943 List formats are slightly more complex. After splitting up the list into individual items, \biblatex will execute the formatting directive once for every item in the list. The item is passed to the directive as an argument. The separator to be inserted between the individual items in the list is also handled by the corresponding directive, hence we have to check whether we are in the middle of the list or at the end when inserting it.
6944
6945 \begin{ltxexample}
6946 \DeclareListFormat{location}{%
6947 #1%
6948 \ifthenelse{\value{listcount}<\value{liststop}}
6949 {\addcomma\space}
6950 {}}
6951 \end{ltxexample}
6952 %
6953 Formatting directives for names are similar to those for literal lists.
6954
6955 Names depend on the datamodel constant <nameparts> which has the default definition:
6956
6957 \begin{ltxexample}
6958 \DeclareDatamodelConstant[type=list]{nameparts}
6959 {prefix,family,suffix,given}
6960 \end{ltxexample}
6961 %
6962 This can be customised to add more name parts to deal with things like patronymics (see the example file \file{93-nameparts.tex}). This needs an extended name format for data sources since the standard \bibtex name format is very limited. \biblatexml (\secref{apx:biblatexml}) handles this natively and there is an extended name format which can handle custom nameparts when using \biber (see \secref{use:enf}).
6963
6964 Inside name formats, the <nameparts> constant declaration makes available two or three macros for each name part defined in the datamodel:
6965
6966 \begin{ltxexample}
6967 \namepart<namepart> \% The full <namepart>
6968 \namepart<namepart>i \% The initials of the <namepart>
6969 \namepart<namepart>un \% Numeric value indicating uniqueness level for <namepart>
6970 \end{ltxexample}
6971 %
6972 \cmd{namepart<namepart>un} only exists if the package option \opt{uniquename} is not set to <false> and can take the following values.
6973
6974 \begin{argumentlist}{00}
6975 \item[0] <namepart> was not used in disambiguating the name (because \opt{disambiguation=none} was set in \cmd{DeclareUniquenameTemplate}, see \secref{aut:cav:amb}). In this case the style should decide what to print for this <namepart>
6976 \item[1] Initials only should be printed for <namepart> to ensure uniqueness according to the \opt{uniquename} package option setting
6977 \item[2] The full <namepart> should be printed to ensure uniqueness according to the \opt{uniquename} package option setting
6978 \end{argumentlist}
6979
6980 Note these per-namepart uniqueness macros are essentially an override of the \opt{uniquename} value (see \secref{aut:aux:tst}) for the name as a whole. Styles can choose to use either the less granular \opt{uniquename} value or the more detailed per-namepart values. Usually the general \opt{uniquename} value is enough for ordinary Western names but the more granular information per-namepart is provided to allow sophisticated name uniqueness processing for more complex name schemata.
6981
6982 The name formatting directive is executed once for each name in the name list. Here is a simplified example---the standard name formats are more intricate:
6983
6984 \begin{ltxexample}
6985 \DeclareNameFormat{author}{%
6986 \ifthenelse{\value{listcount}=1}
6987 {\namepartfamily%
6988 \ifdefvoid{\namepartgiven}{}{\addcomma\space\namepartgiven}}
6989 {\ifdefvoid{\namepartgiven}{}{\namepartgiven\space}%
6990 \namepartfamily}%
6991 \ifthenelse{\value{listcount}<\value{liststop}}
6992 {\addcomma\space}
6993 {}}
6994 \end{ltxexample}
6995 %
6996 The above directive reverses the name of the first author («Family, Given») and prints the remaining names in their regular sequence («Given Family»). Note that the only component which is guaranteed to be available is the family name, hence we have to check which parts of the name are actually present. If a certain name part is not available, the corresponding macro will be empty. As with directives for literal lists, the separator to be inserted between the individual items in the name list is also handled by the formatting directive, hence we have to check whether we are in the middle of the list or at the end when inserting it. This is what the second \cmd{ifthenelse} test does. See also \secref{aut:bib:fmt}.
6997
6998 A similar output that also respects the \cmd{multinamedelim} and \cmd{finalnamedelim} commands as well as the <prefix> and <suffix> name parts can be achieved with
6999 \begin{ltxexample}
7000 \DeclareNameAlias{author}{family-given/given-family}
7001 \end{ltxexample}
7002
7003 \subsubsection{Special Fields}
7004 \label{aut:bbx:fld}
7005
7006 The following lists and fields are used by \biblatex to pass data to bibliography drivers and citation commands. They are not used in \file{bib} files but defined automatically by the package. From the perspective of a bibliography or citation style, they are not different from the fields in a \file{bib} file.
7007
7008 \paragraph{Generic Fields}
7009 \label{aut:bbx:fld:gen}
7010
7011 \begin{fieldlist}
7012
7013 \fielditem{$<$datetype$>$dateunspecified}{string}
7014
7015 If $<$datetype$>$date held an \acr{ISO8601-2} 4.3 <unspecified>, this field will be set to one of \opt{yearindecade}, \opt{yearincentury}, \opt{monthinyear}, \opt{dayinmonth} or \opt{dayinyear} which specifies the granularity of the unspecified information. These strings can be tested for and along with the date ranges which are automatically created for such <unspecified> dates, a style may choose to format the date in a special way. See \secref{bib:use:dat}. For example, an entry with dates such as:
7016
7017 \begin{lstlisting}[style=bibtex]{}
7018 @book{key,
7019 date = {19uu},
7020 origdate = {199u}
7021 }
7022 \end{lstlisting}
7023 %
7024 would result in the same information in the \file{.bbl} as:
7025 \begin{lstlisting}[style=bibtex]{}
7026 @book{key,
7027 date = {1900/1999},
7028 origdate = {1990/1999}
7029 }
7030 \end{lstlisting}
7031 %
7032 but would additionally have the field \bibfield{dateunspecified} set to <yearincentury> and \bibfield{origdateunspecified} set to <yearindecade>. This information could be used to render the \bibfield{date} as perhaps <20th century> and \bibfield{origdate} as <The 1990s>, information which cannot be derived from the date ranges alone. Since such auto-generated ranges have known values, given the <unspecified> meta-information, it is relatively easy to use the range values to format special cases. While the standard styles do not do this, examples are given in the file \file{96-dates.tex}.
7033
7034 \fielditem{entrykey}{string}
7035
7036 The entry key of an item in the \file{bib} file. This is the string used by \biblatex and the backend to identify an entry in the \file{bib} file.
7037
7038 Note that the set of characters allowed and usable in the string for \bibfield{entrykey} depends on the backend (\biber, \bibtex) as well as the \latex engine (\pdflatex, \lualatex, \xelatex).
7039 Generally, \acr{US-ASCII}-letters (\texttt{a-z}, \texttt{A-Z}) and numbers (\texttt{0-9}) are safe, so are the punctuation characters full stop (\texttt{.}) and solidus (\texttt{/}). The punctuation characters \texttt{-\_:;!?} are also safe even if they are made active by \sty{babel}/\sty{polyglossia}. If a Unicode engine is used, non-\acr{US-ASCII} characters are also acceptable.
7040 Curly braces (\texttt{\{\}}), commas, spaces, backslashes (\texttt{\textbackslash}), hashes (\texttt{\#}), percent characters (\texttt{\%}) and tildes (\texttt{\textasciitilde}) are always forbidden. \biber additionally forbids round brackets (\texttt{()}), quotation marks (\texttt{\textquotedbl}, \texttt{\textquotesingle}), and the equals sign (\texttt{=}).
7041 The \bibfield{entrykey} is case sensitive, but it is not recommended to exploit that fact too much by introducing two different entries whose key differs only in capitalisation (\eg\ \texttt{sigfridsson} and \texttt{Sigfridsson}).
7042 For full portability it is advisable to stick to a scheme of lowercase (and if so desired uppercase) \acr{US-ASCII}-letters, numbers and a small set of acceptable punctuation characters, say \texttt{.:-}.
7043
7044 \fielditem{childentrykey}{string}
7045
7046 This field is no longer necessary or recommended.\DeprecatedMark For backwards
7047 compatibility, it is merely a copy of the \bibfield{entrykey} field in any
7048 set children.
7049
7050 \fielditem{labelnamesource}{literal}
7051
7052 Holds the name of the field used to populate \bibfield{labelname},
7053 determined by \cmd{DeclareLabelname}.
7054
7055 \fielditem{labeltitlesource}{literal}
7056
7057 Holds the name of the field used to populate \bibfield{labeltitle},
7058 determined by \cmd{DeclareLabeltitle}.
7059
7060 \fielditem{labeldatesource}{literal}
7061
7062 Holds one of:
7063
7064 \begin{itemize}
7065 \item The prefix coming before <date> of the date field name chosen by
7066 \cmd{DeclareLabeldate}
7067 \item The name of a field
7068 \item A literal or localisation string
7069 \end{itemize}
7070 %
7071 Normally holds the prefix coming before <date> of the date field name chosen by \cmd{DeclareLabeldate}. For example, if the labeldate field is \bibfield{eventdate}, then \bibfield{labeldatesource} will be <event>. In case \cmd{DeclareLabeldate} selects the \bibfield{date} field, then \bibfield{labeldatesource} will be defined but will be an empty string as the prefix coming before <date> in the date label name is empty. This is so that the contents of \bibfield{labeldatesource} can be used in constructing references to the field which \cmd{DeclareLabeldate} chooses. Since \cmd{DeclareLabeldate} can also select literal strings for fallbacks, \bibfield{labeldatesource} may not refer to a field or may be undefined. Bear in mind that \cmd{DeclareLabeldate} can also be used to select non-date fields as a fallback and so \bibfield{labeldatesource} might contain a field name. So, in summary, the rules are
7072
7073 \begin{ltxexample}
7074 \iffieldundef{labeldatesource}
7075 {}% labeldate package option is not set
7076 {\iffieldundef{\thefield{labeldatesource}year}
7077 % \DeclareLabeldate resolved to either a literal/localisation
7078 % string or a non-date field since
7079 % if a date is defined by a date field, there is
7080 % at least a year
7081 {\iffieldundef{\thefield{labeldatesource}}
7082 {}% \DeclareLabeldate resolved to a literal/localisation string
7083 {}% \DeclareLabeldate resolved to a non-date field
7084 }
7085 {} % \DeclareLabeldate resolved a date field name prefix like "" or "orig"
7086 }
7087 \end{ltxexample}
7088
7089 \fielditem{entrytype}{string}
7090
7091 The entry type (\bibtype{book}, \bibtype{inbook}, etc.), given in lowercase letters.
7092
7093 \fielditem{childentrytype}{string}
7094
7095 This field is no longer necessary or recommended.\DeprecatedMark For backwards
7096 compatibility, it is merely a copy of the \bibfield{entrytype} field in any
7097 set children.
7098
7099 \fielditem{entrysetcount}{integer}
7100
7101 This field holds an integer indicating the position of a set member in the entry set (starting at \texttt{1}). This field is only available in the subentries of an entry set.
7102
7103 \fielditem{hash}{string}
7104
7105 This field is special in that it is only available locally in name formatting directives. It holds a hash string which uniquely identifies individual names in a name list. This information is available for all names in all name lists. See also \bibfield{namehash} and \bibfield{fullhash}. Sensitive to the hash customisations described in \secref{aut:cav:ni}.
7106
7107 \fielditem{namehash}{string}
7108
7109 A hash string which uniquely identifies the \bibfield{labelname} list. This is useful for recurrence checks. For example, a citation style which replaces recurrent authors or editors with a string like <idem> could save the \bibfield{namehash} field with \cmd{savefield} and use it in a comparison with \cmd{iffieldequals} later (see \secref{aut:aux:dat, aut:aux:tst}). The \bibfield{namehash} is derived from the truncated \bibfield{labelname} list, \ie it is responsive to \opt{maxcitenames} and \opt{mincitenames}. See also \bibfield{hash} and \bibfield{fullhash}. Sensitive to the hash customisations described in \secref{aut:cav:ni}.
7110
7111 \fielditem{bibnamehash}{string}
7112
7113 As \bibfield{namehash} but responsive to \opt{maxbibnames} and \opt{minbibnames}. This is not used in standard styles but may be used to make tests in bibliography lists (such as those used to determine whether dashes should replace repeated authors) behave differently. Sensitive to the hash customisations described in \secref{aut:cav:ni}.
7114
7115 \fielditem{$<$namelist$>$namehash}{string}
7116
7117 As \bibfield{namehash} for the name list called <namelist>.
7118
7119 \fielditem{$<$namelist$>$bibnamehash}{string}
7120
7121 As \bibfield{bibnamehash} for the name list called <namelist>.
7122
7123 \fielditem{fullhash}{string}
7124
7125 A hash string which uniquely identifies the \bibfield{labelname} list. This fields differs from \bibfield{namehash} in two details: 1) The \bibfield{shortauthor} and \bibfield{shorteditor} lists are ignored when generating the hash. 2) The hash always refers to the full list, ignoring \opt{maxnames} and \opt{minnames}. See also \bibfield{hash} and \bibfield{namehash}. Sensitive to the hash customisations described in \secref{aut:cav:ni}.
7126
7127 \fielditem{fullhashraw}{string}
7128
7129 As \bibfield{fullhash} but not sensitive to the hash customisations described in \secref{aut:cav:ni}. Basically a hash of all of the full nameparts of a name as it appears in the data. Not used in the default styles but could be used to discriminate between the literal given glyphs of a name and the name as it is desired to be identified for name matching purposes.
7130
7131 \fielditem{$<$namelist$>$fullhash}{string}
7132
7133 As \bibfield{fullhash} for the name list called <namelist>.
7134
7135 \fielditem{$<$namelist$>$fullhashraw}{string}
7136
7137 As \bibfield{fullhashraw} for the name list called <namelist>.
7138
7139 \listitem{pageref}{literal}
7140
7141 If the \opt{backref} package option is enabled, this list holds the page numbers of the pages on which the respective bibliography entry is cited. If there are \env{refsection} environments in the document, the back references are local to the reference sections.
7142
7143 \fielditem{sortinit}{literal}
7144
7145 This field holds the initial character of the information used during sorting.
7146
7147 \fielditem{sortinithash}{string}
7148
7149 This field holds a hash of the (locale-specific) Unicode Collation Algorithm primary weight of the first extended grapheme cluster (essentially the first character) of the string used during sorting. This is useful when subdividing the bibliography alphabetically and is used internally by \cmd{bibinitsep} (see \secref{use:fmt:len}).
7150
7151 \fielditem{clonesourcekey}{string}
7152
7153 This field holds the entry key of the entry from which an entry was cloned. Clones are created for
7154 entries which are mentioned in \bibfield{related} fields as part of related entry processing, for example.
7155
7156 \fielditem{urlraw}{verbatim}
7157
7158 This is the unencoded, raw version of any \bibfield{url}. This is intended for use when the display version and clickable link version of a URL are different. This can be the case when the URL contains special or Unicode characters. In the case where no such characters occur, may be identical to the \bibfield{url}.
7159 \end{fieldlist}
7160
7161 \paragraph{Fields for Use in Citation Labels}
7162 \label{aut:bbx:fld:lab}
7163
7164 \begin{fieldlist}
7165
7166 \fielditem{labelalpha}{literal}
7167
7168 A label similar to the labels generated by the \path{alpha.bst} style of traditional \bibtex. This default label consists of initials drawn from the \bibfield{labelname} list plus the last two digits of the publication year. The \bibfield{label} field may be used to override its non"=numeric portion. If the \bibfield{label} field is defined, \biblatex will use its value and append the last two digits of the publication year when generating \bibfield{labelalpha}. The \bibfield{shorthand} field may be used to override the entire label. If defined, \bibfield{labelalpha} is the \bibfield{shorthand} rather than an automatically generated label. Users can specify a template used to construct the alphabetic label (see \secref{aut:ctm:lab}) and the default template mirrors the format mentioned for bibtex above. A complete <alphabetic> label consists of the fields \bibfield{labelalpha} plus \bibfield{extraalpha}. Note that the \bibfield{labelalpha} and \bibfield{extraalpha} fields need to be requested with the package option \opt{labelalpha} (\secref{use:opt:pre:int}). See also \bibfield{extraalpha} as well as \cmd{labelalphaothers} in \secref{use:fmt:fmt}.
7169
7170 \fielditem{extraalpha}{integer}
7171
7172 The <alphabetic> citation scheme usually requires a letter to be appended to the label if the bibliography contains two or more works by the same author which were all published in the same year. In this case, the \bibfield{extraalpha} field holds an integer which may be converted to a letter with \cmd{mknumalph} or formatted in some other way. This field is similar to the role of \bibfield{extradate} in the author"=year scheme. A complete <alphabetic> label consists of the fields \bibfield{labelalpha} plus \bibfield{extraalpha}. Note that the \bibfield{labelalpha} and \bibfield{extraalpha} fields need to be requested with the package option \opt{labelalpha}, see \secref{use:opt:pre:int} for details. See also \bibfield{labelalpha} as well as \cmd{labelalphaothers} in \secref{use:fmt:fmt}. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
7173
7174 \listitem{labelname}{name}
7175
7176 The name to be printed in citations. This list is a copy of either the \bibfield{shortauthor}, the \bibfield{author}, the \bibfield{shorteditor}, the \bibfield{editor}, or the \bibfield{translator} list, which are normally checked for in this order. If no authors and editors are available, this list is undefined. Note that this list is also responsive to the \opt{use$<$name$>$}, options, see \secref{use:opt:bib}. Citation styles should use this list when printing the name in a citation. This list is provided for convenience only and does not carry any additional meaning.
7177 This field may be customized. See \secref{aut:ctm:fld} for details.
7178
7179 \fielditem{extraname}{integer}
7180
7181 Holds a count of the number of bibliography entries within a refsection which derive from the same \bibfield{labelname} list. This counter takes account of \opt{uniquename} settings (see \secref{use:opt:pre:int}). While not used by any standard styles, this field is useful in styles which wish to number bibliography entries on a per-\bibfield{labelname} basis. This field will only exist if there is a \bibfield{labelname}. The \bibfield{extraname} counter is related to, but conceptually different from \cmd{ifsingletitle} (see \secref{use:opt:pre:int} and \secref{aut:aux:tst}).
7182
7183 \fielditem{labelnumber}{literal}
7184
7185 The number of the bibliography entry, as required by numeric citation schemes. If the \bibfield{shorthand} field is defined, \biblatex does not assign a number to the respective entry. In this case \bibfield{labelnumber} is the shorthand rather than a number. Numeric styles must use the value of this field instead of a counter. Note that this field needs to be requested with the package option \opt{labelnumber}, see \secref{use:opt:pre:int} for details. Also see the package option \opt{defernumbers} in \secref{use:opt:pre:gen}.
7186
7187 \fielditem{labelprefix}{literal}
7188
7189 If the \opt{labelprefix} option of \cmd{newrefcontext} has been set in order to prefix all entries in a subbibliography with a fixed string, this string is available in the \bibfield{labelprefix} field of all affected entries. If no prefix has been set, the \bibfield{labelprefix} field of the respective entry is undefined. See the \opt{labelprefix} option of \cmd{newrefcontext} in \secref{use:bib:context} for details. If the \bibfield{shorthand} field is defined, \biblatex does not assign the prefix to the \bibfield{labelprefix} field of the respective entry. In this case, the \bibfield{labelprefix} field is undefined.
7190
7191 \fielditem{labeltitle}{literal}
7192
7193 The printable title of a work. In some circumstances, a style might need to choose a title from a list of a possible title fields. For example, citation styles printing short titles may want to print the \bibfield{shorttitle} field if it exists but otherwise print the \bibfield{title} field. The list of fields to be considered when constructing \bibfield{labeltitle} may be customized. See \secref{aut:ctm:fld} for details. Note that the \bibfield{extratitle} field needs to be requested with the package option \opt{labeltitle}, see \secref{use:opt:pre:int} for details. See also \bibfield{extratitle}. Note also that the \bibfield{extratitleyear} field needs to be requested with the package option \opt{labeltitleyear}. See also \bibfield{extratitleyear}.
7194
7195 \fielditem{extratitle}{integer}
7196
7197 It is sometimes useful, for example in author"=title citation schemes, to be able to disambiguate works with the same title. For works by the same \bibfield{labelname} with the same \bibfield{labeltitle}, the \bibfield{extratitle} field holds an integer which may be converted to a letter with \cmd{mknumalph} or formatted in some other way (or it can be merely used as a flag to say that some other field such as a date should be used in conjunction with the \bibfield{labeltitle} field). This field is undefined if there is only one work with the same \bibfield{labeltitle} by the same \bibfield{labelname} in the bibliography. Note that the \bibfield{extratitle} field needs to be requested with the package option \opt{labeltitle}, see \secref{use:opt:pre:int} for details. See also \bibfield{labeltitle}. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
7198
7199 \fielditem{extratitleyear}{integer}
7200
7201 It is sometimes useful, for example in author"=title citation schemes, to be able to disambiguate works with the same title in the same year but with no author. For works with the same \bibfield{labeltitle} and with the same \bibfield{labelyear}, the \bibfield{extratitleyear} field holds an integer which may be converted to a letter with \cmd{mknumalph} or formatted in some other way (or it can be merely used as a flag to say that some other field such as a publisher should be used in conjunction with the \bibfield{labelyear} field). This field is undefined if there is only one work with the same \bibfield{labeltitle} and \bibfield{labelyear} in the bibliography. Note that the \bibfield{extratitleyear} field needs to be requested with the package option \opt{labeltitleyear}, see \secref{use:opt:pre:int} for details. See also \bibfield{labeltitleyear}. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track.
7202
7203 \fielditem{labelyear}{literal}
7204
7205 The year of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) or the \bibfield{year} field, for use in author-year labels. A complete author-year label consists of the fields \bibfield{labelyear} plus \bibfield{extradate}. Note that the \bibfield{labelyear} and \bibfield{extradate} fields need to be requested with the package option \opt{labeldateparts}, see \secref{use:opt:pre:int} for details. See also \bibfield{extradate}.
7206
7207 \fielditem{labelendyear}{literal}
7208
7209 The end year of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7210
7211 \fielditem{labelmonth}{datepart}
7212
7213 The month of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}), or the \bibfield{month} field for use in author-year labels. Note that the \bibfield{labelmonth} field needs to be requested with the package option \opt{labeldateparts}, see \secref{use:opt:pre:int} for details.
7214
7215 \fielditem{labelendmonth}{datepart}
7216
7217 The end month of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7218
7219 \fielditem{labelday}{datepart}
7220
7221 The month of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) for use in author-year labels. Note that the \bibfield{labelday} field needs to be requested with the package option \opt{labeldateparts}, see \secref{use:opt:pre:int} for details.
7222
7223 \fielditem{labelendday}{datepart}
7224
7225 The end day of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7226
7227 \fielditem{extradate}{integer}
7228
7229 The author"=year citation scheme usually requires a letter to be appended to the year if the bibliography contains two or more works by the same author (actually the \bibfield{labelname}, which is usually the author by default but which need not be) which were all published in the same year. In this case, the \bibfield{extradate} field holds an integer which may be converted to a letter with \cmd{mknumalph} or formatted in some other way. This field is undefined if there is only one work by the author in the bibliography or if all works by the author have different publication years. A complete author-year label consists of the fields \bibfield{labelyear} plus \bibfield{extradate}. Note that the \bibfield{labelyear} and \bibfield{extradate} fields need to be requested with the package option \opt{labeldateparts}, see \secref{use:opt:pre:int} for details. See also \bibfield{labelyear}. Table \ref{use:opt:tab1} summarises the various \opt{extra*} disambiguation counters and what they track. Note that \biblatex allows a generalisation of this behaviour and the default context for \bibfield{extradate} disambiguation can be changed to allow other contexts than the author. The default will fall back to the \bibfield{labeltitle} if there is no \bibfield{labelname} (which is usually the author). See \cmd{DeclareExtradateContext} in \secref{aut:ctm:fld} to customise the \bibfield{extradate} context.
7230
7231 \fielditem{extradatescope}{literal}
7232
7233 This field contains the name of the most specific date part which determined the value of \bibfield{extradate}. It is not used by the standard styles but may be useful in controlling the placement of the \bibfield{extradate} field value. For example, if two works by the same author with dates <2020-05-04> and <2020-06-04> were disambiguated by \bibfield{extradate}, then \bibfield{extradatascope} would contain <labelyear> for both entries as the most specific difference is the (label)year. If the dates were <2020-05-04> and <2020-05-02>, then \bibfield{extradatascope} would contain <labelmonth>. See also \cmd{DeclareExtradate} (\secref{aut:ctm:fld}) which describes how to change the scope used to track dates.
7234
7235 \end{fieldlist}
7236
7237 \paragraph{Date Component Fields}
7238 \label{aut:bbx:fld:dat}
7239
7240 Note that it is possible to define new date fields in the datamodel which behave exactly like the default data model date fields described in this section.
7241
7242 See \tabref{aut:bbx:fld:tab1} for an overview of how the date fields in \file{bib} files are related to the date fields provided by the style interface. When testing for a field like \bibfield{origdate} in a style, use code like:
7243
7244 \begin{ltxcode}
7245 <<\iffieldundef>>{orig<<year>>}{...}{...}
7246 \end{ltxcode}
7247 %
7248 This will tell you if the corresponding date is defined at all. This test:
7249
7250 \begin{ltxcode}
7251 <<\iffieldundef>>{orig<<endyear>>}{...}{...}
7252 \end{ltxcode}
7253 %
7254 will tell you if the corresponding date is defined and a (fully specified) range. This test:
7255
7256 \begin{ltxcode}
7257 <<\iffieldequalstr>>{orig<<endyear>>}{}{...}{...}
7258 \end{ltxcode}
7259 %
7260 will tell you if the corresponding date is defined and an open"=ended range. Open"=ended ranges are indicated by an empty \texttt{endyear} component (as opposed to an undefined \texttt{endyear} component). See \secref{bib:use:dat} and \tabref{bib:use:tab1} on page~\pageref{bib:use:tab1} for further examples.
7261
7262 \begingroup
7263 \tablesetup
7264 \begin{longtable}[l]{%
7265 @{}V{0.15\textwidth}%
7266 @{}V{0.4\textwidth}%
7267 @{}V{0.3\textwidth}%
7268 @{}V{0.2\textwidth}@{}}
7269 \caption{Date Interface}
7270 \label{aut:bbx:fld:tab1}
7271 \endfirsthead
7272 \caption[]{Date Interface (cont'd)}
7273 \endhead
7274 \toprule
7275 \multicolumn{2}{@{}H}{\file{bib} File} &
7276 \multicolumn{2}{H}{Data Interface} \\
7277 \cmidrule(r){1-2}\cmidrule(l){3-4}
7278 \multicolumn{1}{@{}H}{Field} &
7279 \multicolumn{1}{H}{Value (Example)} &
7280 \multicolumn{1}{H}{Field} &
7281 \multicolumn{1}{H}{Value (Example)} \\
7282 \cmidrule{1-1}\cmidrule(lr){2-2}\cmidrule(l){3-3}\cmidrule(l){4-4}
7283 date & 1988 & day & undefined \\
7284 & & month & undefined \\
7285 & & year & 1988 \\
7286 & & yeardivision & undefined \\
7287 & & endday & undefined \\
7288 & & endmonth & undefined \\
7289 & & endyear & undefined \\
7290 & & endyeardivision & undefined \\
7291 & & hour & undefined \\
7292 & & minute & undefined \\
7293 & & second & undefined \\
7294 & & timezone & undefined \\
7295 & & endhour & undefined \\
7296 & & endminute & undefined \\
7297 & & endsecond & undefined \\
7298 & & endtimezone & undefined \\
7299 date & 1997/ & day & undefined \\
7300 & & month & undefined \\
7301 & & year & 1997 \\
7302 & & yeardivision & undefined \\
7303 & & endday & undefined \\
7304 & & endmonth & undefined \\
7305 & & endyear & empty \\
7306 & & endyeardivision & undefined \\
7307 & & hour & undefined \\
7308 & & minute & undefined \\
7309 & & second & undefined \\
7310 & & timezone & undefined \\
7311 & & endhour & undefined \\
7312 & & endminute & undefined \\
7313 & & endsecond & undefined \\
7314 & & endtimezone & undefined \\
7315 urldate & 2009-01-31 & urlday & 31 \\
7316 & & urlmonth & 01 \\
7317 & & urlyear & 2009 \\
7318 & & urlyeardivision & undefined \\
7319 & & urlendday & undefined \\
7320 & & urlendmonth & undefined \\
7321 & & urlendyear & undefined \\
7322 & & urlendyeardivision & undefined \\
7323 & & urlhour & undefined \\
7324 & & urlminute & undefined \\
7325 & & urlsecond & undefined \\
7326 & & urltimezone & undefined \\
7327 & & urlendhour & undefined \\
7328 & & urlendminute & undefined \\
7329 & & urlendsecond & undefined \\
7330 & & urlendtimezone & undefined \\
7331 urldate & 2009-01-31T15:34:04Z & urlday & 31 \\
7332 & & urlmonth & 01 \\
7333 & & urlyear & 2009 \\
7334 & & urlyeardivision & undefined \\
7335 & & urlendday & undefined \\
7336 & & urlendmonth & undefined \\
7337 & & urlendyear & undefined \\
7338 & & urlendyeardivision & undefined \\
7339 & & urlhour & 15 \\
7340 & & urlminute & 34 \\
7341 & & urlsecond & 04 \\
7342 & & urltimezone & Z \\
7343 & & urlendhour & undefined \\
7344 & & urlendminute & undefined \\
7345 & & urlendsecond & undefined \\
7346 & & urlendtimezone & undefined \\
7347 urldate & 2009-01-31T15:34:04+05:00 & urlday & 31 \\
7348 & & urlmonth & 01 \\
7349 & & urlyear & 2009 \\
7350 & & urlyeardivision & undefined \\
7351 & & urlendday & undefined \\
7352 & & urlendmonth & undefined \\
7353 & & urlendyear & undefined \\
7354 & & urlendyeardivision & undefined \\
7355 & & urlhour & 15 \\
7356 & & urlminute & 34 \\
7357 & & urlsecond & 04 \\
7358 & & urltimezone & +0500 \\
7359 & & urlendhour & undefined \\
7360 & & urlendminute & undefined \\
7361 & & urlendsecond & undefined \\
7362 & & urlendtimezone & undefined \\
7363 urldate & \parbox[t]{0.4\textwidth}{2009-01-31T15:34:04/\\2009-01-31T16:04:34}& urlday & 31 \\
7364 & & urlmonth & 1 \\
7365 & & urlyear & 2009 \\
7366 & & urlyeardivision & undefined \\
7367 & & urlendday & 31 \\
7368 & & urlendmonth & 1 \\
7369 & & urlendyear & 2009 \\
7370 & & urlendyeardivision & undefined \\
7371 & & urlhour & 15 \\
7372 & & urlminute & 34 \\
7373 & & urlsecond & 4 \\
7374 & & urltimezone & floating \\
7375 & & urlendhour & 16 \\
7376 & & urlendminute & 4 \\
7377 & & urlendsecond & 34 \\
7378 & & urlendtimezone & floating \\
7379 origdate & 2002-21/2002-23 & origday & undefined \\
7380 & & origmonth & 01 \\
7381 & & origyear & 2002 \\
7382 & & origyeardivision & spring \\
7383 & & origendday & undefined \\
7384 & & origendmonth & 02 \\
7385 & & origendyear & 2002 \\
7386 & & origendyeardivision & autumn \\
7387 & & orighour & undefined \\
7388 & & origminute & undefined \\
7389 & & origsecond & undefined \\
7390 & & origtimezone & undefined \\
7391 & & origendhour & undefined \\
7392 & & origendminute & undefined \\
7393 & & origendsecond & undefined \\
7394 & & origendtimezone & undefined \\
7395 eventdate & 1995-01-31/1995-02-05 & eventday & 31 \\
7396 & & eventmonth & 01 \\
7397 & & eventyear & 1995 \\
7398 & & eventyeardivision & undefined \\
7399 & & eventendday & 05 \\
7400 & & eventendmonth & 02 \\
7401 & & eventendyear & 1995 \\
7402 & & eventendyeardivision & undefined \\
7403 & & eventhour & undefined \\
7404 & & eventminute & undefined \\
7405 & & eventsecond & undefined \\
7406 & & eventtimezone & undefined \\
7407 & & eventendhour & undefined \\
7408 & & eventendminute & undefined \\
7409 & & eventendsecond & undefined \\
7410 & & eventendtimezone & undefined \\
7411 \bottomrule
7412 %\end{tabularx}
7413 \end{longtable}
7414 \endgroup
7415 \begin{fieldlist}
7416
7417 \fielditem{hour}{datepart}
7418
7419 This field holds the hour component of the \bibfield{date} field. If the date is a range, it holds the hour component of the start date.
7420
7421 \fielditem{minute}{datepart}
7422
7423 This field holds the minute component of the \bibfield{date} field. If the date is a range, it holds the minute component of the start date.
7424
7425 \fielditem{second}{datepart}
7426
7427 This field holds the second component of the \bibfield{date} field. If the date is a range, it holds the second component of the start date.
7428
7429 \fielditem{timezone}{datepart}
7430
7431 This field holds the timezone component of the \bibfield{date} field. If the date is a range, it holds the timezone component of the start date.
7432
7433 \fielditem{day}{datepart}
7434
7435 This field holds the day component of the \bibfield{date} field. If the date is a range, it holds the day component of the start date.
7436
7437 \fielditem{month}{datepart}
7438
7439 This field is the \bibfield{month} as given in the database file or it holds the month component of the \bibfield{date} field. If the date is a range, it holds the month component of the start date.
7440
7441 \fielditem{year}{datepart}
7442
7443 This field is the \bibfield{year} as given in the database file or it holds the year component of the \bibfield{date} field. If the date is a range, it holds the year component of the start date.
7444
7445 \fielditem{yeardivision}{datepart}
7446
7447 This field holds the year division (season, quarter, quadrimester etc.) component of the \bibfield{date} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the year division component of the start date.
7448
7449 \fielditem{season}{datepart}\DeprecatedMark
7450
7451 This field holds the season component of the \bibfield{date} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the season component of the start date. This is deprecated in favour of \bibfield{yeardivision} which is more generalised.
7452
7453 \fielditem{endhour}{datepart}
7454
7455 If the date specification in the \bibfield{date} field is a range, this field holds the hour component of the end date.
7456
7457 \fielditem{endminute}{datepart}
7458
7459 If the date specification in the \bibfield{date} field is a range, this field holds the minute component of the end date.
7460
7461 \fielditem{endsecond}{datepart}
7462
7463 If the date specification in the \bibfield{date} field is a range, this field holds the second component of the end date.
7464
7465 \fielditem{endtimezone}{datepart}
7466
7467 If the date specification in the \bibfield{date} field is a range, this field holds the timezone component of the end date.
7468
7469 \fielditem{endday}{datepart}
7470
7471 If the date specification in the \bibfield{date} field is a range, this field holds the day component of the end date.
7472
7473 \fielditem{endmonth}{datepart}
7474
7475 If the date specification in the \bibfield{date} field is a range, this field holds the month component of the end date.
7476
7477 \fielditem{endyear}{datepart}
7478
7479 If the date specification in the \bibfield{date} field is a range, this field holds the year component of the end date. A blank (but defined) \bibfield{endyear} component indicates an open ended \bibfield{date} range.
7480
7481 \fielditem{endyeardivision}{datepart}
7482
7483 If the date specification in the \bibfield{date} field is a range, this field holds the year division (season, quarter, quadrimester etc.) component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{endyeardivision} component indicates an open ended \bibfield{date} range.
7484
7485 \fielditem{endseason}{datepart}\DeprecatedMark
7486
7487 If the date specification in the \bibfield{date} field is a range, this field holds the season component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{endseason} component indicates an open ended \bibfield{date} range. This is deprecated in favour of \bibfield{endyeardivision} which is more generalised.
7488
7489 \fielditem{orighour}{datepart}
7490
7491 This field holds the hour component of the \bibfield{origdate} field. If the date is a range, it holds the hour component of the start date.
7492
7493 \fielditem{origminute}{datepart}
7494
7495 This field holds the minute component of the \bibfield{origdate} field. If the date is a range, it holds the minute component of the start date.
7496
7497 \fielditem{origsecond}{datepart}
7498
7499 This field holds the second component of the \bibfield{origdate} field. If the date is a range, it holds the second component of the start date.
7500
7501 \fielditem{origtimezone}{datepart}
7502
7503 This field holds the timezone component of the \bibfield{origdate} field. If the date is a range, it holds the timezone component of the start date.
7504
7505 \fielditem{origday}{datepart}
7506
7507 This field holds the day component of the \bibfield{origdate} field. If the date is a range, it holds the day component of the start date.
7508
7509 \fielditem{origmonth}{datepart}
7510
7511 This field holds the month component of the \bibfield{origdate} field. If the date is a range, it holds the month component of the start date.
7512
7513 \fielditem{origyear}{datepart}
7514
7515 This field holds the year component of the \bibfield{origdate} field. If the date is a range, it holds the year component of the start date.
7516
7517 \fielditem{origyeardivision}{datepart}
7518
7519 This field holds the year division (season, quarter, quadrimester etc.) component of the \bibfield{origdate} field as specified by \acr{ISO8601-2} 4.7 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the year division component of the start date. This is deprecated in favour of \bibfield{origyeardivision} which is more generalised.
7520
7521 \fielditem{origseason}{datepart}\DeprecatedMark
7522
7523 This field holds the season component of the \bibfield{origdate} field as specified by \acr{ISO8601-2} 4.7 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the season component of the start date. This is deprecated in favour of \bibfield{origyeardivision} which is more generalised.
7524
7525 \fielditem{origendhour}{datepart}
7526
7527 If the date specification in the \bibfield{origdate} field is a range, this field holds the hour component of the end date.
7528
7529 \fielditem{origendminute}{datepart}
7530
7531 If the date specification in the \bibfield{origdate} field is a range, this field holds the minute component of the end date.
7532
7533 \fielditem{origendsecond}{datepart}
7534
7535 If the date specification in the \bibfield{origdate} field is a range, this field holds the second component of the end date.
7536
7537 \fielditem{origendtimezone}{datepart}
7538
7539 If the date specification in the \bibfield{origdate} field is a range, this field holds the timezone component of the end date.
7540
7541 \fielditem{origendday}{datepart}
7542
7543 If the date specification in the \bibfield{origdate} field is a range, this field holds the day component of the end date.
7544
7545 \fielditem{origendmonth}{datepart}
7546
7547 If the date specification in the \bibfield{origdate} field is a range, this field holds the month component of the end date.
7548
7549 \fielditem{origendyear}{datepart}
7550
7551 If the date specification in the \bibfield{origdate} field is a range, this field holds the year component of the end date. A blank (but defined) \bibfield{origendyear} component indicates an open ended \bibfield{origdate} range.
7552
7553 \fielditem{origendyeardivision}{datepart}
7554
7555 If the date specification in the \bibfield{origdate} field is a range, this field holds the year division (season, quarter, quadrimester etc.) component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{origendyeardivision} component indicates an open ended \bibfield{origdate} range.
7556
7557 \fielditem{origendseason}{datepart}\DeprecatedMark
7558
7559 If the date specification in the \bibfield{origdate} field is a range, this field holds the season component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{origendseason} component indicates an open ended \bibfield{origdate} range. This is deprecated in favour of \bibfield{origendyeardivision} which is more generalised.
7560
7561 \fielditem{eventhour}{datepart}
7562
7563 This field holds the hour component of the \bibfield{eventdate} field. If the date is a range, it holds the hour component of the start date.
7564
7565 \fielditem{eventminute}{datepart}
7566
7567 This field holds the minute component of the \bibfield{eventdate} field. If the date is a range, it holds the minute component of the start date.
7568
7569 \fielditem{eventsecond}{datepart}
7570
7571 This field holds the second component of the \bibfield{eventdate} field. If the date is a range, it holds the second component of the start date.
7572
7573 \fielditem{eventtimezone}{datepart}
7574
7575 This field holds the timezone component of the \bibfield{eventdate} field. If the date is a range, it holds the timezone component of the start date.
7576
7577 \fielditem{eventday}{datepart}
7578
7579 This field holds the day component of the \bibfield{eventdate} field. If the date is a range, it holds the day component of the start date.
7580
7581 \fielditem{eventmonth}{datepart}
7582
7583 This field holds the month component of the \bibfield{eventdate} field. If the date is a range, it holds the month component of the start date.
7584
7585 \fielditem{eventyear}{datepart}
7586
7587 This field holds the year component of the \bibfield{eventdate} field. If the date is a range, it holds the year component of the start date.
7588
7589 \fielditem{eventyeardivision}{datepart}
7590
7591 This field holds the year division (season, quarter, quadrimester etc.) component of the \bibfield{eventdate} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the year division component of the start date.
7592
7593 \fielditem{eventseason}{datepart}\DeprecatedMark
7594
7595 This field holds the season component of the \bibfield{eventdate} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the season component of the start date. This is deprecated in favour of \bibfield{eventyeardivision} which is more generalised.
7596
7597 \fielditem{eventendhour}{datepart}
7598
7599 If the date specification in the \bibfield{eventdate} field is a range, this field holds the hour component of the end date.
7600
7601 \fielditem{eventendminute}{datepart}
7602
7603 If the date specification in the \bibfield{eventdate} field is a range, this field holds the minute component of the end date.
7604
7605 \fielditem{eventendsecond}{datepart}
7606
7607 If the date specification in the \bibfield{eventdate} field is a range, this field holds the second component of the end date.
7608
7609 \fielditem{eventendtimezone}{datepart}
7610
7611 If the date specification in the \bibfield{eventdate} field is a range, this field holds the timezone component of the end date.
7612
7613 \fielditem{eventendday}{datepart}
7614
7615 If the date specification in the \bibfield{eventdate} field is a range, this field holds the day component of the end date.
7616
7617 \fielditem{eventendmonth}{datepart}
7618
7619 If the date specification in the \bibfield{eventdate} field is a range, this field holds the month component of the end date.
7620
7621 \fielditem{eventendyear}{datepart}
7622
7623 If the date specification in the \bibfield{eventdate} field is a range, this field holds the year component of the end date. A blank (but defined) \bibfield{eventendyear} component indicates an open ended \bibfield{eventdate} range.
7624
7625 \fielditem{eventendyeardivision}{datepart}
7626
7627 If the date specification in the \bibfield{eventdate} field is a range, this field holds the year division (season, quarter, quadrimester etc.) component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{eventendyeardivision} component indicates an open ended \bibfield{eventdate} range.
7628
7629 \fielditem{eventendseason}{datepart}\DeprecatedMark
7630
7631 If the date specification in the \bibfield{eventdate} field is a range, this field holds the season component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{eventendseason} component indicates an open ended \bibfield{eventdate} range. This is deprecated in favour of \bibfield{eventendyeardivision} which is more generalised.
7632
7633 \fielditem{urlhour}{datepart}
7634
7635 This field holds the hour component of the \bibfield{urldate} field. If the date is a range, it holds the hour component of the start date.
7636
7637 \fielditem{urlminute}{datepart}
7638
7639 This field holds the minute component of the \bibfield{urldate} field. If the date is a range, it holds the minute component of the start date.
7640
7641 \fielditem{urlsecond}{datepart}
7642
7643 This field holds the second component of the \bibfield{urldate} field. If the date is a range, it holds the second component of the start date.
7644
7645 \fielditem{timezone}{urldatepart}
7646
7647 This field holds the timezone component of the \bibfield{urldate} field. If the date is a range, it holds the timezone component of the start date.
7648
7649 \fielditem{urlday}{datepart}
7650
7651 This field holds the day component of the \bibfield{urldate} field.
7652
7653 \fielditem{urlmonth}{datepart}
7654
7655 This field holds the month component of the \bibfield{urldate} field.
7656
7657 \fielditem{urlyear}{datepart}
7658
7659 This field holds the year component of the \bibfield{urldate} field.
7660
7661 \fielditem{urlyeardivision}{datepart}
7662
7663 This field holds the year division (season, quarter, quadrimester etc.) component of the \bibfield{urldate} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the year division component of the start date.
7664
7665 \fielditem{urlseason}{datepart}\DeprecatedMark
7666
7667 This field holds the season component of the \bibfield{urldate} field as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). If the date is a range, it holds the season component of the start date. This is deprecated in favour of \bibfield{urlyeardivision} which is more generalised.
7668
7669 \fielditem{urlendhour}{datepart}
7670
7671 If the date specification in the \bibfield{urldate} field is a range, this field holds the hour component of the end date.
7672
7673 \fielditem{urlendminute}{datepart}
7674
7675 If the date specification in the \bibfield{urldate} field is a range, this field holds the minute component of the end date.
7676
7677 \fielditem{urlendsecond}{datepart}
7678
7679 If the date specification in the \bibfield{urldate} field is a range, this field holds the second component of the end date.
7680
7681 \fielditem{urlendtimezone}{datepart}
7682
7683 If the date specification in the \bibfield{urldate} field is a range, this field holds the timezone component of the end date.
7684
7685 \fielditem{urlendday}{datepart}
7686
7687 If the date specification in the \bibfield{urldate} field is a range, this field holds the day component of the end date.
7688
7689 \fielditem{urlendmonth}{datepart}
7690
7691 If the date specification in the \bibfield{urldate} field is a range, this field holds the month component of the end date.
7692
7693 \fielditem{urlendyear}{datepart}
7694
7695 If the date specification in the \bibfield{urldate} field is a range, this field holds the year component of the end date. A blank (but defined) \bibfield{urlendyear} component indicates an open ended \bibfield{urldate} range.
7696
7697 \fielditem{urlendyeardivision}{datepart}
7698
7699 If the date specification in the \bibfield{urldate} field is a range, this field holds the year division (season, quarter, quadrimester etc.) component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a year division localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{urlendyeardivision} component indicates an open ended \bibfield{urldate} range.
7700
7701 \fielditem{urlendseason}{datepart}\DeprecatedMark
7702
7703 If the date specification in the \bibfield{urldate} field is a range, this field holds the season component of the end date as specified by \acr{ISO8601-2} 4.8 (\secref{bib:use:dat}). It contains a season localisation string (\secref{aut:lng:key:dt}). A blank (but defined) \bibfield{urlendseason} component indicates an open ended \bibfield{urldate} range. This is deprecated in favour of \bibfield{urlendyeardivision} which is more generalised.
7704
7705 \end{fieldlist}
7706
7707 \subsection{Citation Styles}
7708 \label{aut:cbx}
7709
7710 A citation style is a set of commands such as \cmd{cite} which print different types of citations. Such styles are defined in files with the suffix \file{cbx}. The \biblatex package loads the selected citation style file at the end of the package. Note that a small repertory of frequently used macros shared by several of the standard citation styles is also included in \path{biblatex.def}. This file is loaded at the end of the package as well, prior to the selected citation style. It also contains the definitions of the commands from \secref{use:cit:txt}.
7711
7712 \subsubsection{Citation Style Files}
7713 \label{aut:cbx:cbx}
7714
7715 Before we go over the individual commands available in citation style files, consider this example of the overall structure of a typical \file{cbx} file:
7716
7717 \begin{ltxexample}
7718 \ProvidesFile{example.cbx}[2006/03/15 v1.0 biblatex citation style]
7719
7720 \DeclareCiteCommand{\cite}{...}{...}{...}{...}
7721 \DeclareCiteCommand{\parencite}[\mkbibparens]{...}{...}{...}{...}
7722 \DeclareCiteCommand{\footcite}[\mkbibfootnote]{...}{...}{...}{...}
7723 \DeclareCiteCommand{\textcite}{...}{...}{...}{...}
7724 \endinput
7725 \end{ltxexample}
7726
7727 \begin{ltxsyntax}
7728
7729 \cmditem{RequireCitationStyle}{style}
7730
7731 This command is optional and intended for specialized citation styles built on top of a more generic style. It loads the citation style \path{style.cbx}.
7732
7733 \cmditem{InitializeCitationStyle}{code}
7734
7735 Specifies arbitrary \prm{code} required to initialize or reset the citation style. This hook will be executed once at package load-time and every time the \cmd{citereset} command from \secref{use:cit:msc} is used. The \cmd{citereset} command also resets the internal citation trackers of this package. The reset will affect the \cmd{ifciteseen}, \cmd{ifentryseen}, \cmd{ifciteibid}, and \cmd{ifciteidem} tests discussed in \secref{aut:aux:tst}. When used in a \env{refsection} environment, the reset of the citation tracker is local to the current \env{refsection} environment.
7736
7737 \cmditem{OnManualCitation}{code}
7738
7739 Specifies arbitrary \prm{code} required for a partial reset of the citation style. This hook will be executed every time the \cmd{mancite} command from \secref{use:cit:msc} is used. It is particularly useful in citation styles which replace repeated citations by abbreviations like <ibidem> or <op. cit.> which may get ambiguous if automatically generated and manual citations are mixed. The \cmd{mancite} command also resets the internal <ibidem> and <idem> trackers of this package. The reset will affect the \cmd{ifciteibid} and \cmd{ifciteidem} tests discussed in \secref{aut:aux:tst}.
7740
7741 \cmditem{DeclareCiteCommand}{command}[wrapper]{precode}{loopcode}{sepcode}{postcode} \cmditem*{DeclareCiteCommand*}{command}[wrapper]{precode}{loopcode}{sepcode}{postcode}
7742
7743 This is the core command used to define all citation commands. It takes one optional and five mandatory arguments. The \prm{command} is the command to be defined, for example \cmd{cite}. If the optional \prm{wrapper} argument is given, the entire citation will be passed to the \prm{wrapper} as an argument, \ie the wrapper command must take one mandatory argument.\footnote{Typical examples of wrapper commands are \cmd{mkbibparens} and \cmd{mkbibfootnote}.} The \prm{precode} is arbitrary code to be executed at the beginning of the citation. It will typically handle the \prm{prenote} argument which is available in the \bibfield{prenote} field. It may also be used to initialize macros required by the \prm{loopcode}. The \prm{loopcode} is arbitrary code to be executed for each entry key passed to the \prm{command}. This is the core code which prints the citation labels or any other data. The \prm{sepcode} is arbitrary code to be executed after each iteration of the \prm{loopcode}. It will only be executed if a list of entry keys is passed to the \prm{command}. The \prm{sepcode} will usually insert some kind of separator, such as a comma or a semicolon. The \prm{postcode} is arbitrary code to be executed at the end of the citation. The \prm{postcode} will typically handle the \prm{postnote} argument which is available in the \bibfield{postnote} field.\footnote{The bibliographic data available to the \prm{loopcode} is the data of the entry currently being processed. In addition to that, the data of the first entry is available to the \prm{precode} and the data of the last one is available to the \prm{postcode}. <First> and <last> refer to the order in which the citations are printed. If the \opt{sortcites} package option is active, this is the order of the list after sorting. Note that no bibliographic data is available to the \prm{sepcode}.} The starred variant of \cmd{DeclareCiteCommand} defines a starred \prm{command}. For example, |\DeclareCiteCommand*{\cite}| would define |\cite*|.\footnote{Note that the regular variant of \cmd{DeclareCiteCommand} defines a starred version of the \prm{command} implicitly, unless the starred version has been defined before. This is intended as a fallback. The implicit definition is an alias for the regular variant.}
7744
7745 \cmditem{DeclareMultiCiteCommand}{command}[wrapper]{cite}{delimiter}
7746
7747 This command defines <multicite> commands (\secref{use:cit:mlt}). The \prm{command} is the multicite command to be defined, for example \cmd{cites}. It is automatically made robust. Multicite commands are built on top of backend commands defined with \cmd{DeclareCiteCommand} and the \prm{cite} argument specifies the name of the backend command to be used. Note that the wrapper of the backend command (\ie the \prm{wrapper} argument passed to \cmd{DeclareCiteCommand}) is ignored. Use the optional \prm{wrapper} argument to specify an alternative wrapper. The \prm{delimiter} is the string to be printed as a separator between the individual citations in the list. This will typically be \cmd{multicitedelim}. The following examples are real definitions taken from \path{biblatex.def}:
7748
7749 \begin{ltxexample}
7750 \DeclareMultiCiteCommand{\cites}%
7751 {\cite}{\multicitedelim}
7752 \DeclareMultiCiteCommand{\parencites}[\mkbibparens]%
7753 {\parencite}{\multicitedelim}
7754 \DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]%
7755 {\footcite}{\multicitedelim}
7756 \end{ltxexample}
7757
7758 \cmditem{DeclareAutoCiteCommand}{name}[position]{cite}{multicite}
7759
7760 This command provides definitions for the \cmd{autocite} and \cmd{autocites} commands from \secref{use:cit:aut}. The definitions are enabled with the \opt{autocite} package option from \secref{use:opt:pre:gen}. The \prm{name} is an identifier which serves as the value passed to the package option. The autocite commands are built on top of backend commands like \cmd{parencite} and \cmd{parencites}. The arguments \prm{cite} and \prm{multicite} specify the backend commands to use. The \prm{cite} argument refers to \cmd{autocite} and \prm{multicite} refers to \cmd{autocites}. The \prm{position} argument controls the handling of any punctuation marks after the citation. Possible values are \texttt{l}, \texttt{r}, \texttt{f}. \texttt{r} means that the punctuation is placed to the right of the citation, \ie it will not be moved around. \texttt{l} means that any punctuation after the citation is moved to the left of the citation. \texttt{f} is like \texttt{r} in a footnote and like \texttt{l} otherwise. This argument is optional and defaults to \texttt{r}. See also \cmd{DeclareAutoPunctuation} in \secref{aut:pct:cfg} and the \opt{autopunct} package option in \secref{use:opt:pre:gen}. The following examples are real definitions taken from \path{biblatex.def}:
7761
7762 \begin{ltxexample}
7763 \DeclareAutoCiteCommand{plain}{\cite}{\cites}
7764 \DeclareAutoCiteCommand{inline}{\parencite}{\parencites}
7765 \DeclareAutoCiteCommand{footnote}[l]{\footcite}{\footcites}
7766 \DeclareAutoCiteCommand{footnote}[f]{\smartcite}{\smartcites}
7767 \end{ltxexample}
7768 %
7769 A definition provided in the document preamble can be subsequently adopted with the following: (see \secref{use:cfg:opt}).
7770
7771 \begin{ltxexample}
7772 \ExecuteBibliographyOptions{autocite=<<name>>}
7773 \end{ltxexample}
7774
7775 \cmditem{DeclareCitePunctuationPosition}{command}{position}
7776
7777 Set up the cite command \prm{command} to move punctuation marks after the citation like \cmd{autocite}. The \prm{position} argument can take the values \opt{r}, \opt{l}, \opt{f}, \opt{c}, \opt{o} and \opt{d}.
7778 If an unknown \prm{position} identifier is used, it defaults to \opt{o}.
7779 \begin{valuelist}
7780 \item[r] The punctuation mark is not moved and remains to the right of the citation.
7781 \item[l] The punctuation mark is moved to the left of the citation and thus appears before it.
7782 \item[f] Like \opt{r} in footnotes and like \opt{l} otherwise.
7783 \item[c] Pass the punctuation on to the internal implementation of the citation commands. It will then be executed within the \prm{wrapper} command if given.
7784 \item[o] Retain the default setup of \opt{c} for citation defined commands without \prm{wrapper} command and \opt{l} for citation commands defined with a \prm{wrapper} command.
7785 \item[d] Drop the explicit punctuation mark. It will only be available as the field \bibfield{postpunct}.
7786 \end{valuelist}
7787 %
7788 This command can not be used for \cmd{autocite}, to configure \cmd{autocite} use the optional \prm{position} argument for \cmd{DeclareAutoCiteCommand}.
7789 \end{ltxsyntax}
7790
7791 \subsubsection{Special Fields}
7792 \label{aut:cbx:fld}
7793
7794 The following fields are used by \biblatex to pass data to citation commands. They are not used in \file{bib} files but defined automatically by the package. From the perspective of a citation style, they are not different from the fields in a \file{bib} file. See also \secref{aut:bbx:fld}.
7795
7796 \begin{fieldlist}
7797
7798 \fielditem{prenote}{literal}
7799
7800 The \prm{prenote} argument passed to a citation command. This field is specific to citations and not available in the bibliography. If the \prm{prenote} argument is missing or empty, this field is undefined.
7801
7802 \fielditem{postnote}{literal}
7803
7804 The \prm{postnote} argument passed to a citation command. This field is specific to citations and not available in the bibliography. If the \prm{postnote} argument is missing or empty, this field is undefined.
7805
7806 \fielditem{multiprenote}{literal}
7807
7808 The \prm{multiprenote} argument passed to a multicite command. This field is specific to citations and not available in the bibliography. If the \prm{multiprenote} argument is missing or empty, this field is undefined.
7809
7810 \fielditem{multipostnote}{literal}
7811
7812 The \prm{multipostnote} argument passed to a multicite command. This field is specific to citations and not available in the bibliography. If the \prm{multipostnote} argument is missing or empty, this field is undefined.
7813
7814 \fielditem{volcitevolume}{literal}
7815
7816 The \prm{volume} argument passed to \cmd{volcite} or a related citation command (\secref{use:cit:spc}). This field is specific to \cmd{volcite} citations and not available in the bibliography or other citations.
7817
7818 \fielditem{volcitepages}{literal}
7819
7820 The \prm{pages} argument passed to \cmd{volcite} or a related citation command (\secref{use:cit:spc}). This field is specific to \cmd{volcite} citations and not available in the bibliography or other citations. If the \prm{pages} argument is missing or empty, this field is undefined.
7821
7822 \fielditem{postpunct}{punctuation command}
7823
7824 The trailing punctuation argument implicitly passed to a citation command. This field is specific to citations and not available in the bibliography. If the character following a given citation command is not specified in \cmd{DeclareAutoPunctuation} (\secref{aut:pct:cfg}), this field is undefined.
7825
7826 \end{fieldlist}
7827
7828 \subsection{Data Interface}
7829 \label{aut:bib}
7830
7831 The data interface are the facilities used to format and print all bibliographic data. These facilities are available in both bibliography and citation styles.
7832
7833 \subsubsection{Data Commands}
7834 \label{aut:bib:dat}
7835
7836 This section introduces the main data interface of the \biblatex package. These are the commands doing most of the work, \ie they actually print the data provided in lists and fields.
7837
7838 \begin{ltxsyntax}
7839
7840 \cmditem{DeprecateField}{field}{message}
7841 \cmditem{DeprecateList}{list}{message}
7842 \cmditem{DeprecateName}{name}{message}
7843
7844 When an attempt is made to print \prm{field}, \prm{list}, \prm{name}, a
7845 deprecation warning is issued with the additional \prm{message}. This aids
7846 style authors who are changing field names in their style. Note that the
7847 deprecated item must no longer be defined in the datamodel for this to work;
7848 \prm{field}, \prm{list} or \prm{name} cannot be listed anywhere as an
7849 argument to \cmd{DeclareDatamodelFields}.
7850
7851 \cmditem{DeprecateFieldWithReplacement}{field}{replacement}
7852 \cmditem{DeprecateListWithReplacement}{list}{replacement}
7853 \cmditem{DeprecateNameWithReplacement}{name}{replacement}
7854
7855 Similar to \cmd{DeprecateField}, \cmd{DeprecateList} and \cmd{DeprecateName}.
7856 The commands do not only issue a deprecation warning,
7857 they try to define a replacement for the deprecated field
7858 that is printed in its stead.
7859 The \cmd{replacement} must be of the same type as the deprecated
7860 \prm{field}, \prm{list} or \prm{name}.
7861 If the formatting of \prm{replacement} should be applied when printing
7862 the deprecated field, that needs to be requested with \cmd{DeclareFieldAlias}
7863 (see \secref{aut:bib:fmt}).
7864 Note that the deprecated item must no longer be defined in the datamodel
7865 for this work; \prm{field}, \prm{list} or \prm{name} cannot be listed
7866 anywhere as an argument to \cmd{DeclareDatamodelFields}.
7867
7868 \cmditem{printfield}[format]{field}
7869
7870 This command prints a \prm{field} using the formatting directive \prm{format}, as defined with \cmd{DeclareFieldFormat}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{field} is undefined, nothing is printed. If the \prm{format} is omitted, \cmd{printfield} tries using the name of the field as a format name. For example, if the \bibfield{title} field is to be printed and the \prm{format} is not specified, it will try to use the field format \texttt{title}.\footnote{In other words, \texttt{\textbackslash printfield\{title\}} is equivalent to \texttt{\textbackslash printfield[title]\{title\}}.} In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort. Note that \cmd{printfield} provides the name of the field currently being processed in \cmd{currentfield} for use in field formatting directives.
7871
7872 \cmditem{printlist}[format][start\ensuremath\rangle--\ensuremath\langle stop]{literal list}
7873
7874 This command loops over all items in a \prm{literal list}, starting at item number \prm{start} and stopping at item number \prm{stop}, including \prm{start} and \prm{stop} (all lists are numbered starting at~1). Each item is printed using the formatting directive \prm{format}, as defined with \cmd{DeclareListFormat}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{literal list} is undefined, nothing is printed. If the \prm{format} is omitted, \cmd{printlist} tries using the name of the list as a format name. In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort. The \prm{start} argument defaults to 1; \prm{stop} defaults to the total number of items in the list. If the total number is greater than \prm{maxitems}, \prm{stop} defaults to \prm{minitems} (see \secref{use:opt:pre:gen}). See \cmd{printnames} for further details. Note that \cmd{printlist} provides the name of the literal list currently being processed in \cmd{currentlist} for use in list formatting directives.
7875
7876 \cmditem{printnames}[format][start\ensuremath\rangle--\ensuremath\langle stop]{name list}
7877
7878 This command loops over all items in a \prm{name list}, starting at item number \prm{start} and stopping at item number \prm{stop}, including \prm{start} and \prm{stop} (all lists are numbered starting at~1). Each item is printed using the formatting directive \prm{format}, as defined with \cmd{DeclareNameFormat}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{name list} is undefined, nothing is printed. If the \prm{format} is omitted, \cmd{printnames} tries using the name of the list as a format name. In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort. The \prm{start} argument defaults to 1; \prm{stop} defaults to the total number of items in the list. If the total number is greater than \prm{maxnames}, \prm{stop} defaults to \prm{minnames} (see \secref{use:opt:pre:gen}). If you want to select a range but use the default list format, the first optional argument must still be given, but is left empty:
7879
7880 \begin{ltxexample}
7881 \printnames[][1-3]{...}
7882 \end{ltxexample}
7883
7884 One of \prm{start} and \prm{stop} may be omitted, hence the following arguments are all valid:
7885
7886 \begin{ltxexample}
7887 \printnames[...][-1]{...}
7888 \printnames[...][2-]{...}
7889 \printnames[...][1-3]{...}
7890 \end{ltxexample}
7891
7892 If you want to override \prm{maxnames} and \prm{minnames} and force printing of the entire list, you may refer to the \cnt{listtotal} counter in the second optional argument:
7893
7894 \begin{ltxexample}
7895 \printnames[...][-\value{listtotal}]{...}
7896 \end{ltxexample}
7897
7898 Whenever \cmd{printnames} and \cmd{printlist} process a list, information concerning the current state is accessible by way of four counters: the \cnt{listtotal} counter holds the total number of items in the current list, \cnt{listcount} holds the number of the item currently being processed, \cnt{liststart} is the \prm{start} argument passed to \cmd{printnames} or \cmd{printlist}, \cnt{liststop} is the \prm{stop} argument. These counters are intended for use in list formatting directives. \cnt{listtotal} may also be used in the second optional argument to \cmd{printnames} and \cmd{printlist}. Note that these counters are local to list formatting directives and do not hold meaningful values when used anywhere else. For every list, there is also a counter by the same name which holds the total number of items in the corresponding list. For example, the \cnt{author} counter holds the total number of items in the \bibfield{author} list. These counters are similar to \cnt{listtotal} except that they may also be used independently of list formatting directives. There are also \cnt{maxnames} and \cnt{minnames} as well as \cnt{maxitems} and \cnt{minitems} counters which hold the values of the corresponding package options. See \secref{aut:fmt:ilc} for a complete list of such internal counters. Note that \cmd{printnames} provides the name of the name list currently being processed in \cmd{currentname} for use in name formatting directives.
7899
7900 \cmditem{printtext}[format]{text}
7901
7902 This command prints \prm{text}, which may be printable text or arbitrary code generating printable text. It clears the punctuation buffer before inserting \prm{text} and informs \biblatex that printable text has been inserted. This ensures that all preceding and following \cmd{newblock} and \cmd{newunit} commands have the desired effect. \cmd{printfield} and \cmd{printnames} as well as \cmd{bibstring} and its companion commands (see \secref{aut:str}) do that automatically. Using this command is required if a bibliography styles inserts literal text (including the commands from \secref{aut:pct:pct, aut:pct:spc}) to ensure that block and unit punctuation works as advertised in \secref{aut:pct:new}. The optional \prm{format} argument specifies a field formatting directive to be used to format \prm{text}. This may also be useful when several fields are to be printed as one chunk, for example, by enclosing the entire chunk in parentheses or quotation marks. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{format} is omitted, the \prm{text} is printed as is. See also \secref{aut:cav:pct} for some practical hints.
7903
7904 \cmditem{printfile}[format]{file}
7905
7906 This command is similar to \cmd{printtext} except that the second argument is a file name rather than literal text. The \prm{file} argument must be the name of a valid \latex file found in \tex's search path. \cmd{printfile} will use \cmd{input} to load this \prm{file}. If there is no such file, \cmd{printfile} does nothing. The optional \prm{format} argument specifies a field formatting directive to be applied to the \prm{file}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{format} is omitted, the \prm{file} is printed as is. Note that this feature needs to be enabled explicitly by setting the package option \opt{loadfiles} from \secref{use:opt:pre:gen}. By default, \cmd{printfile} will not input any files.
7907
7908 \csitem{printdate}
7909
7910 This command prints the date of the entry, as specified in the fields \bibfield{date} or \bibfield{month}\slash \bibfield{year}. The date format is controlled by the package option \opt{date} from \secref{use:opt:pre:gen}. Additional formatting (fonts etc.) may be applied by adjusting the field format \texttt{date} (\secref{aut:fmt:ich}). Note that this command interfaces with the punctuation tracker. There is no need to wrap it in a \cmd{printtext} command.
7911
7912 \csitem{printdateextra}
7913
7914 Similar to \cmd{printdate} but incorporates the \bibfield{extradate} field in the date specification. This is useful for bibliography styles designed for author-year citations.
7915
7916 \csitem{printlabeldate}
7917
7918 Similar to \cmd{printdate} but prints the date field determined by \cmd{DeclareLabeldate}. The date format is controlled by the package option \opt{labeldate} from \secref{use:opt:pre:gen}. Additional formatting may be applied by adjusting the field format \texttt{labeldate} (\secref{aut:fmt:ich}).
7919
7920 \csitem{printlabeldateextra}
7921
7922 Similar to \cmd{printlabeldate} but incorporates the \bibfield{extradate} field in the date specification. This is useful for bibliography styles designed for author-year citations.
7923
7924 \csitem{print$<$datetype$>$date}
7925
7926 As \cmd{printdate} but prints the \bibfield{$<$datetype$>$date} of the entry. The date format is controlled by the package option \opt{$<$datetype$>$date} from \secref{use:opt:pre:gen}. Additional formatting may be applied by adjusting the field format \texttt{$<$datetype$>$date} (\secref{aut:fmt:ich}). The $<$datetype$>$s in the default data model are <> (for the main \bibfield{date} field), <orig>, <event> and <url>.
7927
7928 \csitem{printtime}
7929
7930 This command prints the time range of the entry, as specified in the \bibfield{date} field (see \secref{bib:use:dat}). The time format is controlled by the package option \opt{time} from \secref{use:opt:pre:gen}. Additional formatting (fonts etc.) may be applied by adjusting the field format \texttt{time} (\secref{aut:fmt:ich}). Relevant to time formatting are the \opt{timezeros} option and the \cmd{bibtimesep} and \cmd{bibtimezonesep} macros (\secref{use:fmt:lng}). Note that this command interfaces with the punctuation tracker. There is no need to wrap it in a \cmd{printtext} command. Note that this command prints a stand-alone time range apart from the date elements. With the \opt{$<$datepart$>$dateusetime} option, you can have the printed along with a date when printing a date range instead of printing the time range completely separately, which is what this command allows for.
7931
7932 \csitem{print$<$datetype$>$time}
7933
7934 As \cmd{printtime} but prints the \bibfield{$<$datetype$>$time} of the entry. The time format is controlled by the package option \opt{$<$datetype$>$time} from \secref{use:opt:pre:gen}. Additional formatting may be applied by adjusting the field format \texttt{$<$datetype$>$time} (\secref{aut:fmt:ich}). The $<$datetype$>$s in the default data model are <> (for the main \bibfield{date} field), <orig>, <event> and <url>.
7935
7936 \cmditem{indexfield}[format]{field}
7937
7938 This command is similar to \cmd{printfield} except that the \prm{field} is not printed but added to the index using the formatting directive \prm{format}, as defined with \cmd{DeclareIndexFieldFormat}. If a type"=specific \prm{format} has been declared, it takes precedence over the generic one. If the \prm{field} is undefined, this command does nothing. If the \prm{format} is omitted, \cmd{indexfield} tries using the name of the field as a format name. In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort.
7939
7940 \cmditem{indexlist}[format][start\ensuremath\rangle--\ensuremath\langle stop]{literal list}
7941
7942 This command is similar to \cmd{printlist} except that the items in the list are not printed but added to the index using the formatting directive \prm{format}, as defined with \cmd{DeclareIndexListFormat}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{literal list} is undefined, this command does nothing. If the \prm{format} is omitted, \cmd{indexlist} tries using the name of the list as a format name. In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort.
7943
7944 \cmditem{indexnames}[format][start\ensuremath\rangle--\ensuremath\langle stop]{name list}
7945
7946 This command is similar to \cmd{printnames} except that the items in the list are not printed but added to the index using the formatting directive \prm{format}, as defined with \cmd{DeclareIndexNameFormat}. If a type"=specific \prm{format} has been declared, the type"=specific formatting directive takes precedence over the generic one. If the \prm{name list} is undefined, this command does nothing. If the \prm{format} is omitted, \cmd{indexnames} tries using the name of the list as a format name. In this case, any type"=specific formatting directive will also take precedence over the generic one. If all of these formats are undefined, it falls back to \texttt{default} as a last resort.
7947
7948 \cmditem{entrydata}{key}{code}
7949 \cmditem*{entrydata*}{key}{code}
7950
7951 Data commands like \cmd{printfield} normally use the data of the entry currently being processed. You may use \cmd{entrydata} to switch contexts locally. The \prm{key} is the entry key of the entry to use locally. The \prm{code} is arbitrary code to be executed in this context. This code will be executed in a group. See \secref{aut:cav:mif} for an example. Note that this command will automatically switch languages if the \opt{autolang} package option is enabled. The starred version \cmd{entrydata*} will clone all fields of the enclosing entry, using field, counter, and other resource names prefixed with the string <\texttt{saved}>. This is useful when comparing two data sets. For example, inside the \prm{code} argument, the \bibfield{author} field holds the author of entry \prm{key} and the author of the enclosing entry is available as \bibfield{savedauthor}. The \cnt{author} counter holds the number of names in the \bibfield{author} field of \prm{key}; the \bibfield{savedauthor} counter refers to the author count of the enclosing entry.
7952
7953 \cmditem{entryset}{precode}{postcode}
7954
7955 This command is intended for use in bibliography drivers handling \bibtype{set} entries. It will loop over all members of the set, as indicated by the \bibfield{entryset} field, and execute the appropriate driver for the respective set member. This is similar to executing the \cmd{usedriver} command from \secref{aut:aux:msc} for each set member. The \prm{precode} is arbitrary code to be executed prior to processing each item in the set. The \prm{postcode} is arbitrary code to be executed immediately after processing each item. Both arguments are mandatory in terms of the syntax but may be left empty. See \secref{aut:cav:set} for usage examples.
7956
7957 \cmditem{DeclareFieldInputHandler}{field}{code}
7958
7959 This command can be used to define a data input handler for \prm{field} when it is read from the \file{.bbl}. The \prm{code} is passed one argument (\lstinline{#1}), which contains the input field value, it should then redefine the command \cmd{NewValue}, which holds the desired output field value. For example, to ignore the \bibfield{volumes} field when it appears, you could do
7960
7961 \begin{ltxexample}
7962 \DeclareFieldInputHandler{volumes}{\def\NewValue{}}
7963 \end{ltxexample}
7964 %
7965 Generally, you would want to use \cmd{DeclareSourcemap} (see \secref{aut:ctm:map}) to remove and modify fields but this alternative method may be useful in some circumstances when the emphasis is on appearance rather than data since the \prm{code} can be arbitrary \tex.
7966
7967 In general, \cmd{DeclareFieldInputHandler} should not be used to apply formatting to a field, since that should happen with \cmd{DeclareFieldFormat}, so the following is just a toy example that shows how \cmd{DeclareFieldInputHandler} works.
7968
7969 \begin{ltxexample}
7970 \DeclareFieldInputHandler{volumes}{\def\NewValue{\textbf{#1}}}
7971 \end{ltxexample}
7972
7973 \cmditem{DeclareListInputHandler}{list}{code}
7974
7975 As \cmd{DeclareFieldInputHandler} but for lists. Within the \prm{code}, the macro \cmd{NewValue}
7976 contains the value of the list and \cmd{NewCount} contains the number of items in the list.
7977 Note that \cmd{NewValue} as well as the single argument to \prm{code} contain the internal representation of the list.
7978
7979 \cmditem{DeclareNameInputHandler}{name}{code}
7980
7981 As \cmd{DeclareFieldInputHandler} but for names. Within the \prm{code}, the macro \cmd{NewValue}
7982 contains the value of the name, \cmd{NewCount} contains the number of individual names in the name and \cmd{NewOption} contains any per-name options passed in the \file{.bbl}.
7983 Note that \cmd{NewValue} as well as the single argument to \prm{code} contain the internal representation of the name list.
7984
7985 \end{ltxsyntax}
7986
7987 \subsubsection{Formatting Directives}
7988 \label{aut:bib:fmt}
7989
7990 This section introduces the commands used to define the formatting directives required by the data commands from \secref{aut:bib:dat}. Note that all standard formats are defined in \path{biblatex.def}.
7991
7992 \begin{ltxsyntax}
7993
7994 \cmditem{DeclareFieldFormat}[entrytype, \dots]{format}{code}
7995 \cmditem*{DeclareFieldFormat}*{format}{code}
7996
7997 Defines the field format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed by \cmd{printfield}. The value of the field will be passed to the \prm{code} as its first and only argument. The name of the field currently being processed is available to the \prm{code} as \cmd{currentfield}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
7998
7999 \cmditem{DeclareListFormat}[entrytype, \dots]{format}{code}
8000 \cmditem*{DeclareListFormat}*{format}{code}
8001
8002 Defines the literal list format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed for every item in a list processed by \cmd{printlist}. The current item will be passed to the \prm{code} as its first and only argument. The name of the literal list currently being processed is available to the \prm{code} as \cmd{currentlist}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. Note that the formatting directive also handles the punctuation to be inserted between the individual items in the list. You need to check whether you are in the middle of or at the end of the list, \ie whether \cnt{listcount} is smaller than or equal to \cnt{liststop}. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8003
8004
8005 \cmditem{DeclareNameFormat}[entrytype, \dots]{format}{code}
8006 \cmditem*{DeclareNameFormat}*{format}{code}
8007
8008 Defines the name list format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed for every name in a list processed by \cmd{printnames}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. The individual parts of a name will be available in automatically created macros (see below). The default data mode defines four name part which correspond to the standard \bibtex name parts arguments:
8009
8010 \begin{argumentlist}{00}
8011 \item[family] The family name(s), know as <last> in \bibtex. If a name consists of a single part only (for example, <Aristotle>), this part will be treated as the family name.
8012 \item[given] The given name(s). Note that given names are referred to as the <first> names in the \bibtex file format documentation.
8013 \item[prefix] Any name prefices, for example von, van, of, da, de, del, della, etc. Note that name prefices are referred to as the <von> part of the name in the \bibtex file format documentation.
8014 \item[suffix] Any name suffices, for example Jr, Sr. Note that name suffices are referred to as the <Jr> part of the name in the \bibtex file format documentation.
8015 \end{argumentlist}
8016 %
8017 The value of the datamodel <nameparts> constant (see \secref{aut:bbx:drv}) creates two macros for each name part in the datamodel for the name. So, for example, in the default data model, name formats will have defined the following macros:
8018
8019 \begin{ltxexample}
8020 \namepartprefix
8021 \namepartprefixi
8022 \namepartfamily
8023 \namepartfamilyi
8024 \namepartsuffix
8025 \namepartsuffixi
8026 \namepartgiven
8027 \namepartgiveni
8028 \end{ltxexample}
8029 %
8030 If a certain part of a name is not available, the corresponding macro will be empty, hence you may use, for example, the \sty{etoolbox} tests like \cmd{ifdefvoid} to check for the individual parts of a name. The name of the name list currently being processed is available to the \prm{code} as \cmd{currentname}. Note that the formatting directive also handles the punctuation to be inserted between separate names and between the individual parts of a name. You need to check whether you are in the middle of or at the end of the list, \ie whether \cnt{listcount} is smaller than or equal to \cnt{liststop}. See also \secref{use:cav:nam}. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8031
8032 \cmditem{DeclareListWrapperFormat}[entrytype, \dots]{format}{code}
8033 \cmditem*{DeclareListWrapperFormat}*{format}{code}
8034
8035 Defines the list wrapper format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed once for the entire list processed by \cmd{printlist}. The name of the literal list currently being processed is available to the \prm{code} as \cmd{currentlist}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8036
8037 \cmditem{DeclareNameWrapperFormat}[entrytype, \dots]{format}{code}
8038 \cmditem*{DeclareNameWrapperFormat}*{format}{code}
8039
8040 Defines the list wrapper format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed once for the entire name list processed by \cmd{printnames}. The name of the literal list currently being processed is available to the \prm{code} as \cmd{currentname}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8041
8042 \cmditem{DeclareIndexFieldFormat}[entrytype, \dots]{format}{code}
8043 \cmditem*{DeclareIndexFieldFormat}*{format}{code}
8044
8045 Defines the field format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed by \cmd{indexfield}. The value of the field will be passed to the \prm{code} as its first and only argument. The name of the field currently being processed is available to the \prm{code} as \cmd{currentfield}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. This command is similar to \cmd{DeclareFieldFormat} except that the data handled by the \prm{code} is not intended to be printed but written to the index. Note that \cmd{indexfield} will execute the \prm{code} as is, \ie the \prm{code} must include \cmd{index} or a similar command. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8046
8047 \cmditem{DeclareIndexListFormat}[entrytype, \dots]{format}{code}
8048 \cmditem*{DeclareIndexListFormat}*{format}{code}
8049
8050 Defines the literal list format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed for every item in a list processed by \cmd{indexlist}. The current item will be passed to the \prm{code} as its only argument. The name of the literal list currently being processed is available to the \prm{code} as \cmd{currentlist}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. This command is similar to \cmd{DeclareListFormat} except that the data handled by the \prm{code} is not intended to be printed but written to the index. Note that \cmd{indexlist} will execute the \prm{code} as is, \ie the \prm{code} must include \cmd{index} or a similar command. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8051
8052 \cmditem{DeclareIndexNameFormat}[entrytype, \dots]{format}{code}
8053 \cmditem*{DeclareIndexNameFormat}*{format}{code}
8054
8055 Defines the name list format \prm{format}. This formatting directive is arbitrary \prm{code} to be executed for every name in a list processed by \cmd{indexnames}. The name of the name list currently being processed is available to the \prm{code} as \cmd{currentname}. If an \prm{entrytype} is specified, the format is specific to that type. The \prm{entrytype} argument may be a comma"=separated list of values. The parts of the name will be passed to the \prm{code} as separate arguments. This command is very similar to \cmd{DeclareNameFormat} except that the data handled by the \prm{code} is not intended to be printed but written to the index. Note that \cmd{indexnames} will execute the \prm{code} as is, \ie the \prm{code} must include \cmd{index} or a similar command. The starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8056
8057 \cmditem{DeclareFieldAlias}[entry type]{alias}[format entry type]{format}
8058
8059 Declares \prm{alias} to be an alias for the field format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8060
8061 \cmditem{DeclareListAlias}[entry type]{alias}[format entry type]{format}
8062
8063 Declares \prm{alias} to be an alias for the literal list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8064
8065 \cmditem{DeclareNameAlias}[entry type]{alias}[format entry type]{format}
8066
8067 Declares \prm{alias} to be an alias for the name list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8068
8069 \cmditem{DeclareListWrapperAlias}[entry type]{alias}[format entry type]{format}
8070
8071 Declares \prm{alias} to be an alias for the outer list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8072
8073 \cmditem{DeclareNameWrapperAlias}[entry type]{alias}[format entry type]{format}
8074
8075 Declares \prm{alias} to be an alias for the outer name list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8076
8077 \cmditem{DeclareIndexFieldAlias}[entry type]{alias}[format entry type]{format}
8078
8079 Declares \prm{alias} to be an alias for the field format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8080
8081 \cmditem{DeclareIndexListAlias}[entry type]{alias}[format entry type]{format}
8082
8083 Declares \prm{alias} to be an alias for the literal list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8084
8085 \cmditem{DeclareIndexNameAlias}[entry type]{alias}[format entry type]{format}
8086
8087 Declares \prm{alias} to be an alias for the name list format \prm{format}. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8088
8089 \cmditem{DeprecateFieldFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8090
8091 Declares \prm{alias} to be an alias for the name list format \prm{format} and issue a deprecation warning. If an \prm{entrytype} is specified, the alias is specific to that type. The \prm{format entry type} is the entry type of the backend format. This is only required when declaring an alias for a type"=specific formatting directive.
8092
8093 \cmditem{DeprecateListFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8094
8095 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for list formats.
8096
8097 \cmditem{DeprecateNameFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8098
8099 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for name formats.
8100
8101 \cmditem{DeprecateListWrapperFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8102
8103 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for outer list formats.
8104
8105 \cmditem{DeprecateNameWrapperFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8106
8107 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for outer name formats.
8108
8109 \cmditem{DeprecateIndexFieldFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8110
8111 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index field formats.
8112
8113 \cmditem{DeprecateIndexListFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8114
8115 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index list formats.
8116
8117 \cmditem{DeprecateIndexNameFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8118
8119 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index name formats.
8120
8121 \end{ltxsyntax}
8122
8123 \subsection{Customization}
8124 \label{aut:ctm}
8125
8126 \subsubsection{Related Entries}
8127 \label{aut:ctm:rel}
8128 The related entries feature comprises the following components:
8129 \begin{itemize}
8130 \item Special fields in an entry to set up and describe relationships
8131 \item Optionally, localisation strings to prefix the related data
8132 \item Macros to extract and print the related data
8133 \item Formats to format the localisation string and related data
8134 \end{itemize}
8135 %
8136 The special fields are \bibfield{related}, \bibfield{relatedtype}, \bibfield{relatedstring} and \bibfield{relatedoptions}:
8137 \begin{keymarglist}
8138 \item[related] A separated list of keys of entries which are related to this entry in some way. Note the order of the keys is important. The data from multiple related entries is printed in the order of the keys listed in this field.
8139 \item[relatedtype] The type of relationship. This serves three purposes. If the value of this field resolves to a localisation string identifier, then the resulting localised string is printed before the data from the related entries. Secondly, if there is a macro called \texttt{related:\prm{relatedtype}}, this is used to format the data from the related entries. If no such macro exists, then the macro \texttt{related:default} is used. Lastly, if there is a format named \texttt{related:\prm{relatedtype}}, then it is used to format both the localised string and related entry data. If there is no related type specific format, the \texttt{related} format is used.
8140 \item[relatedstring] If an entry contains this field, then if value of the field resolves to a localisation string identifier, the localisation key value specified is printed before data from the related entries. If the field does not specify a localisation key, its value is printed literally. If both \bibfield{relatedtype} and \bibfield{relatedstring} are present in an entry, \bibfield{relatedstring} is used for the pre-data string (but \bibfield{relatedtype} is still used to determine the macro and format to use when printing the data).
8141 \item[relatedoptions] A list of per"=entry options to set on the related entry (actually on the clone of the related entry which is used as a data source---the actual related entry is not modified because it might be cited directly itself).
8142 \end{keymarglist}
8143
8144 The related entry feature is enabled by default by the package option \opt{related} from \secref{use:opt:pre:gen}. The related information entry data from the related entries is included via a \cmd{usebibmacro\{related\}} call. Standard styles call this macro towards the end of each driver. Style authors should ensure the existence of (or take note of existing) localisation strings which are useful as values for the \bibfield{relatedtype} field, such as \texttt{translationof} or perhaps \texttt{translationas}. A plural variant can be identified with the localisation key \prm{relatedtype}\texttt{s}. This key's corresponding string is printed whenever more than one entry is specified in \bibfield{related}. Bibliography macros and formatting directives for printing entries related by \prm{relatedtype} should be defined using the name \texttt{related:\prm{relatedtype}}. The file \path{biblatex.def} contains macros and formats for some common relation types which can be used as templates. In particular, the \cmd{entrydata*} command is essential in such macros in order to make the data of the related entries available. Examples of entries using this feature can be found in the \biblatex distribution examples file \path{biblatex-examples.bib}. There are some specific formatting macros for this feature which control delimiters and separators in related entry information, see \secref{aut:fmt:fmt}.
8145
8146 \subsubsection{Datasource Sets}
8147 \label{aut:ctm:dsets}
8148
8149 It is useful to be able to define named sets of datasource field names for use in loops etc. In addition, \biber can use such sets in order to apply options and perform operations on particular sets of datasource fields. The following macros allow the user to define arbitrary sets of datasource fields, exposed to \biblatex as \sty{etoolbox} lists and to \biber in the \file{.bcf}.
8150
8151
8152 \begin{ltxsyntax}
8153
8154 \cmditem{DeclareDatafieldSet}{name}{specification}
8155
8156 Declare a set of datasource fields with name \prm{name}.
8157
8158 \begin{optionlist*}
8159
8160 \valitem{name}{set name}
8161
8162 The name of the set.
8163
8164 \end{optionlist*}
8165
8166 The \prm{specification} is one or more \cmd{member} items:
8167
8168 \cmditem{member}
8169
8170 \begin{optionlist*}
8171
8172 \valitem{fieldtype}{fieldtype}
8173 \valitem{datatype}{datatype}
8174 \valitem{field}{fieldname}
8175
8176 \end{optionlist*}
8177
8178 A \cmd{member} specification appends fields to the set. Fields can be specified by datamodel \prm{fieldtype} and/or \prm{datatype} (see \secref{aut:ctm:dm}). Alternatively, fields can be explicitly added by name using the \prm{field} option. Once defined, the set is available as an \sty{etoolbox} list called \cmd{datafieldset<setname>} and is also passed via the \file{.bcf} to \biber.
8179
8180 For example, here are the default sets defined by \biblatex for name fields and title fields:
8181
8182 \end{ltxsyntax}
8183
8184 \begin{ltxexample}[style=latex]
8185 \DeclareDatafieldSet{setnames}{
8186 \member[datatype=name, fieldtype=list]
8187 }
8188
8189 \DeclareDatafieldSet{settitles}{
8190 \member[field=title]
8191 \member[field=booktitle]
8192 \member[field=eventtitle]
8193 \member[field=issuetitle]
8194 \member[field=journaltitle]
8195 \member[field=maintitle]
8196 \member[field=origtitle]
8197 }
8198 \end{ltxexample}
8199 %
8200 This defines the macros \cmd{datafieldsetsetnames} and \cmd{datafieldsetsettitles} as \sty{etoolbox} lists containing the names of the member datasource fields specified.
8201
8202 \subsubsection{Dynamic Modification of Data}
8203 \label{aut:ctm:map}
8204
8205 Bibliographic data sources which are automatically generated or which you have no control over can be a problem if you need to edit them in some way. For this reason, \biber has the ability to modify data as it is read so that you can apply modifications to the source data stream without actually changing it. The modification can be defined in \biber's config file (see \biber docs), or via \biblatex macros in which case you can apply the modification only for specific documents, styles or globally.
8206
8207 Source mapping happens during data parsing and therefore before any other operation such as inheritance and sorting.
8208
8209 Source mappings can be defined at different «levels» which are applied
8210 in a defined order. See the \biblatex\ manual regarding these macros:\\[2ex]
8211
8212 \noindent \texttt{user}-level maps defined with \cmd{DeclareSourcemap}$\rightarrow$\\
8213 \hspace*{1em}\texttt{user}-level maps defined in the \biber config file (see \biber docs)$\rightarrow$\\
8214 \hspace*{2em}\texttt{style}-level maps defined with \cmd{DeclareStyleSourcemap}$\rightarrow$\\
8215 \hspace*{3em}\texttt{driver}-level maps defined with \cmd{DeclareDriverSourcemap}\\[2ex]
8216
8217 \begin{ltxsyntax}
8218
8219 \cmditem{DeclareSourcemap}{specification}
8220
8221 Defines source data modification (mapping) rules which can be used to perform any combination of the following tasks:
8222
8223 \begin{itemize}
8224 \item Map data source entrytypes to different entrytypes
8225 \item Map datasource fields to different fields
8226 \item Add new fields to an entry
8227 \item Remove fields from an entry
8228 \item Modify the contents of a field using standard Perl regular expression
8229 match and replace\footnote{See for example \url{https://perldoc.perl.org/perlretut.html}, \url{https://perldoc.perl.org/perlrequick.html} and \url{https://perldoc.perl.org/perlre.html}. There are many more resources available about regular expessions in Perl.}
8230 \item Restrict any of the above operations to entries coming from
8231 particular datasources which you defined in \cmd{addresource} macros
8232 \item Restrict any of the above operations to entries only of a certain
8233 entrytype
8234 \item Restrict any of the above operations to entries in a particular
8235 reference section
8236 \end{itemize}
8237
8238 The \prm{specification} is an undelimited list of \cmd{maps} directives which specify containers for mappings rules applying to a particular data source type (\secref{use:bib:res}). Spaces, tabs, and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble and can be used multiple times, the maps being run in order of definition.
8239
8240 \cmditem{maps}[options]{elements}
8241
8242 Contains an ordered set of \cmd{map} elements each of which is a logically related set of mapping steps to apply to the data source. The \prm{options} are:
8243
8244 \begin{optionlist*}
8245
8246 \choitem[bibtex]{datatype}{bibtex, biblatexml}
8247
8248 Data source type to which the contained \cmd{map} directives apply (\secref{use:bib:res}).
8249
8250 \boolitem[false]{overwrite}
8251
8252 Specify whether a mapping rule is allowed to overwrite already existing data in an entry. If this option is not specified, the default is \texttt{false}. The short form \opt{overwrite} is equivalent to \kvopt{overwrite}{true}.
8253
8254 \end{optionlist*}
8255
8256 \cmditem{map}[options]{restrictions,steps}
8257
8258 A container for an ordered set of map \cmd{step}s, optionally restricted to particular entrytypes or data sources. This is a grouping element to allow a set of mapping steps to apply only to specific entrytypes or data sources. Mapping steps must always be contained within a \cmd{map} element. The \prm{options} are:
8259
8260 \begin{optionlist*}
8261
8262 \boolitem{overwrite}
8263
8264 As the same option on the parent \cmd{maps} element. This option allows an override on a per-map group basis. If this option is not specified, the default is the parent \cmd{maps} element option value. The short form \opt{overwrite} is equivalent to \kvopt{overwrite}{true}.
8265
8266 \valitem{foreach}{loopval}
8267
8268 Loop over all \cmd{step}s in this \cmd{map}, setting the special variable |$MAPLOOP| %$
8269 to each of the comma-separated values contained in \prm{loopval}. \prm{loopval} can either be the name of a datafield set defined with \cmd{DeclareDatafieldSet} (see \secref{aut:ctm:dsets}), a datasource field which is fetched and parsed as a comma"=separated values list or an explicit comma"=separated values list. \prm{loopval} is determined in this order. This allows the user to repeat a group of \cmd{step}s for each value \prm{loopval}. Using regexp maps, it is possible to create a CSV field for use with this functionality. The special variable |$MAPUNIQ| %$
8270 may also be used in the \cmd{step}s to generate a random unique string. This can be useful when creating keys for new entries. An example:
8271
8272 \begin{ltxexample}[style=latex]
8273 \DeclareSourcemap{
8274 \maps[datatype=bibtex]{
8275 \map[overwrite, foreach={author,editor, translator}]{
8276 \step[fieldsource=\regexp{$MAPLOOP}, match={Smith}, replace={Jones}]
8277 }
8278 }
8279 }
8280 \end{ltxexample}
8281 %$<- to stop emacs highlighting breaking
8282
8283 \intitem{refsection}
8284
8285 Only apply the contained \cmd{step} commands to entries in the reference section with number \prm{refsection}.
8286
8287 \end{optionlist*}
8288
8289 \cmditem{perdatasource}{datasource}
8290
8291 Restricts all \cmd{step}s in this \cmd{map} element to entries from the named \prm{datasource}. The \prm{datasource} name should be exactly as given in a \cmd{addresource} macro defining a data source for the document. Multiple \cmd{perdatasource} restrictions are allowed within a \cmd{map} element.
8292
8293 \cmditem{pertype}{entrytype}
8294
8295 Restricts all \cmd{step}s in this \cmd{map} element to entries of the named \prm{entrytype}. Multiple \cmd{pertype} restrictions are allowed within a \cmd{map} element.
8296
8297 \cmditem{pernottype}{entrytype}
8298
8299 Restricts all \cmd{step}s in this \cmd{map} element to entries not of the named \prm{entrytype}. Multiple \cmd{pernottype} restrictions are allowed within a \cmd{map} element.
8300
8301 \cmditem{step}[options]
8302
8303 A mapping step. Each step is applied sequentially to every relevant entry where <relevant> means those entries which correspond to the data source type, entrytype and data source name restrictions mentioned above. Each step is applied to the entry as it appears after the application of all previous steps. The mapping performed by the step is determined by the following \prm{option}s:
8304
8305 \begin{optionlist*}
8306
8307 \valitem{typesource}{entrytype}
8308 \valitem{typetarget}{entrytype}
8309 \valitem{fieldsource}{entryfield}
8310 \valitem{notfield}{entryfield}
8311 \valitem{fieldtarget}{entryfield}
8312 \valitem{match}{regexp}
8313 \valitem{matchi}{regexp}
8314 \valitem{notmatch}{regexp}
8315 \valitem{notmatchi}{regexp}
8316 \valitem{matches}{regexp}
8317 \valitem{matchesi}{regexp}
8318 \valitem{replace}{regexp}
8319 \valitem{fieldset}{entryfield}
8320 \valitem{fieldvalue}{string}
8321 \valitem{entryclone}{clonekey}
8322 \valitem{entrynew}{entrynewkey}
8323 \valitem{entrynewtype}{string}
8324 \valitem{entrytarget}{string}
8325 \boolitem[false]{cited}
8326 \boolitem[false]{nocited}
8327 \boolitem[false]{citedornocited}
8328 \boolitem[false]{allnocited}
8329 \boolitem[false]{starnocited}
8330 \boolitem[false]{entrynocite}
8331 \boolitem[false]{entrynull}
8332 \boolitem[false]{append}
8333 \boolitem[false]{appendstrict}
8334 \boolitem[false]{final}
8335 \boolitem[false]{null}
8336 \boolitem[false]{origfield}
8337 \boolitem[false]{origfieldval}
8338 \boolitem[false]{origentrytype}
8339 %
8340 For all boolean \cmd{step} options, the short form \opt{option} is equivalent to \kvopt{option}{true}. The following rules for a mapping step apply:
8341
8342 \renewcommand{\labelitemii}{$\circ$}
8343
8344 Note that the options \opt{cited}, \opt{nocited}, \opt{citedornocited},
8345 \opt{allnocited} and \opt{starnocited} are unique in that they can make the
8346 results of a sourcemap differ depending on the refsection. This is because
8347 a datasource to which source mapping applies may be used in several
8348 refsections and source mappings are applied when fetching the data from the
8349 datasources for a refsection. Citation commands are local to a refsection
8350 and therefore may differ for the same entry from refsection to refsection.
8351 For example, the same entry may be \cmd{cite}d in one refsection but
8352 \cmd{nocite}d in another, resulting in different source map results and
8353 therefore data between the refsections. This can be avoided if desired, by
8354 limiting source maps to specific refsections only (see \opt{refsection}
8355 option to the \cmd{map} command above).
8356
8357 \begin{itemize}
8358 \item If \texttt{final} is \texttt{true} for a step then no more steps
8359 after this one are run within the current map for the current entry if
8360 the conditions for the step so far are not satisfied. Examples are given in
8361 the descriptions for specific steps as to what this means for their
8362 particular semantics.
8363 \item If \texttt{entrynew} is set, a new entry is created with the entry key \texttt{entrynewkey} and the entry type given in the option \texttt{entrynewtype}. This
8364 entry is only in-scope during the processing of the current entry and can be referenced by
8365 \texttt{entrytarget}. In \texttt{entrynewkey}, you may use standard Perl regular expression
8366 backreferences to captures from a previous \texttt{match} step.
8367 \item When a \texttt{fieldset} step has \texttt{entrytarget} set to the entrykey of an entry
8368 created by \texttt{entrynew}, the target for the field set will be the \texttt{entrytarget} entry
8369 rather than the entry being currently processed. This allows users to create new entries and set
8370 fields in them.
8371 \item If \texttt{entrynocite} is used in a \texttt{entrynew} or
8372 \texttt{entryclone} step, the new/clone entry will be included in the
8373 \file{.bbl} as if the entry/clone had been \cmd{nocite}ed in the document.
8374 \item If \texttt{entrynull} is set, processing of the \cmd{map}
8375 immediately terminates and the current entry is not created. It is
8376 as if it did not exist in the datasource. Obviously, you should
8377 select the entries which you want to apply this to using prior
8378 mapping steps.
8379 \item If \texttt{entryclone} is set, a clone of the entry is created with an entry key
8380 \texttt{clonekey}. Obviously this may cause labelling problems in author/year styles etc.
8381 and should be used with care. The cloned entry is in-scope during the processing of the
8382 current entry and can be modified by passing its key as the value to \texttt{entrytarget}.
8383 In \texttt{clonekey}, you may use standard Perl regular expression backreferences to
8384 captures from a previous \texttt{match} step.
8385 \item If \texttt{cited} is used then only apply the step if the entry key
8386 of an entry was specifically cited via \cmd{cite}.
8387 \item If \texttt{nocited} is used then only apply the step if the entry key
8388 of an entry was specifically nocited via \cmd{nocite} or was included via \cmd{nocite\{*\}}.
8389 \item If \texttt{citedornocited} is used then only apply the step if the entry key
8390 of an entry was specifically cited via \cmd{cite} or specifically nocited via \cmd{nocite}.
8391 \item If \texttt{allnocited} is used then only apply the step if the entry key
8392 of an entry was included via \cmd{nocite\{*\}}.
8393 \item If \texttt{starnocited} is used then only apply the step if the entry key
8394 of an entry was included solely because of \cmd{nocite\{*\}}. This
8395 implies that the entry was neither explicitly \cmd{cite}ed nor explicitly \cmd{nocite}ed.
8396 \item Change the \texttt{typesource} \prm{entrytype} to the
8397 \texttt{typetarget} \prm{entrytype}, if defined. If
8398 \texttt{final} is \texttt{true} then if the \prm{entrytype} of the entry is not \texttt{typesource}, processing of the parent \cmd{map} immediately terminates.
8399 \item Change the \texttt{fieldsource} \prm{entryfield} to
8400 \texttt{fieldtarget}, if defined. If
8401 \texttt{final} is \texttt{true} then if there is no \texttt{fieldsource} \prm{entryfield} in the entry, processing of the parent \cmd{map} immediately terminates.
8402 \item If \texttt{notfield} is true only if the \prm{entryfield} does not
8403 exist. Usually used with \texttt{final} so that if an entry does contain
8404 \prm{entryfield}, the map terminates.
8405 \item If \texttt{match} is defined but
8406 \texttt{replace} is not, only apply the step if the \texttt{fieldsource} \prm{entryfield} matches the
8407 \texttt{match} regular expression (logic is reversed if you use \texttt{notmatch} and case-insensitive if you use the versions ending in <i>)\footnote{Regular expressions are full Perl 5.16 regular expressions. This means you may need to deal with special characters, see examples.}. You may use capture parenthesis as usual and refer to these (\$1\ldots\$9) in later \texttt{fieldvalue} specifications. This allows you to pull out parts of some fields and put these parts in other fields.
8408 \item Perform a regular expression match and replace on the value of the \texttt{fieldsource} \prm{entryfield} if \texttt{match} and \texttt{replace} are defined.
8409 \item If \texttt{matches} is defined, it should be a comma-separated list of literal strings which are replaced by corresponding locations in a comma-separated list provided in \texttt{replace}. The lists must have the same number of elements or the step will be skipped. \texttt{matchesi} is the same but case-insensitive.
8410 \item If \texttt{fieldset} is defined, then its value is \prm{entryfield} which will be set to a value specified by further options. If \texttt{overwrite} is false for this step and the field to set already exists then the map step is ignored and if \texttt{final} is also true, then processing of the parent map stops at this point. If \texttt{append} is true, then the value to set is appended to the current value of \prm{entryfield}. \texttt{appendstrict} only appends to \prm{entryfield} if \prm{entryfield} is not empty. The value to set is specified by a mandatory one and only one of the following options:
8411 \begin{itemize}
8412 \item\ \texttt{fieldvalue} --- The \texttt{fieldset} \prm{entryfield} is set to the \texttt{fieldvalue} \prm{string}
8413 \item\ \texttt{null} --- The \texttt{fieldset} \prm{entryfield} is ignored, as if it did not exist in the datasource
8414 \item\ \texttt{origentrytype} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{typesource} \prm{entrytype} name
8415 \item\ \texttt{origfield} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{fieldsource} \prm{entryfield} name
8416 \item\ \texttt{origfieldval} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{fieldsource} value
8417 \end{itemize}
8418 \end{itemize}
8419
8420 \end{optionlist*}
8421
8422 \end{ltxsyntax}
8423
8424 \noindent With \bibtex\ datasources, you may specify the
8425 pseudo-field \bibfield{entrykey} for \texttt{fieldsource}
8426 which is the citation key of the entry. With \biblatexml\ the \bibfield{entrykey} is a normal attribute and can be reference like any other attribute. Naturally, this <field> cannot
8427 be changed (used as \texttt{fieldset}, \texttt{fieldtarget} or changed using \texttt{replace}).
8428
8429 Macros used in \cmd{step} are expanded. Unexpandable contents should be protected with \cmd{detokenize}, regular expressions can be escaped using the dedicated \cmd{regexp} command (see the examples below).
8430
8431 \begin{ltxsyntax}
8432
8433 \cmditem{DeclareStyleSourcemap}{specification}
8434
8435 This command sets the source mappings used by a style. Such mappings are conceptually separate from user mappings defined with \cmd{DeclareSourcemap} and are applied directly after user maps. The syntax is identical to \cmd{DeclareSourcemap}. This command is provided for style authors so that any maps defined for the style do not interfere with user maps or the default driver maps defined with \cmd{DeclareDriverSourcemap}. This command is for use in style files and can be used multiple times, the maps being run in order of definition.
8436
8437 \end{ltxsyntax}
8438
8439 \begin{ltxsyntax}
8440
8441 \cmditem{DeclareDriverSourcemap}[datatype=driver]{specification}
8442
8443 This command sets the driver default source mappings for the specified \prm{driver}. Such mappings are conceptually separate from user mappings defined with \cmd{DeclareSourcemap} and style mapping defined with \cmd{DeclareStyleSourcemap}. They consist of mappings which are part of the driver setup. Users should not normally need to change these. Driver default mapping are applied after user mappings (\cmd{DeclareSourcemap}) and style mappings (\cmd{DeclareStyleSourcemap}). These defaults are described in Appendix \secref{apx:maps}. The \prm{specification} is identical to that for \cmd{DeclareSourcemap} but without the \cmd{maps} elements: the \prm{specification} is just a list of \cmd{map} elements since each \cmd{DeclareDriverSourcemap} only applies to one datatype driver. See the default definitions in Appendix \secref{apx:maps} for examples.
8444
8445 \end{ltxsyntax}
8446
8447 \begin{ltxsyntax}
8448
8449 \cmditem{regexp}{PCRE}
8450
8451 This command can be used with any command accepting a regular expression key to protect a regular expression from being interpreted by \TeX\ so that it is passed through to \biber correctly. Regular expressions often contain sequences of characters that are also valid \TeX\ commands but which should not be interpreted as such. The argument is a normal PCRE (Perl Compatible Regular Expression\fnurl{https://perldoc.perl.org/perlre}). Perl escape sequences like \cmd{t} for a tab, \cmd{n} for a newline, \cmd{A} for the start of a string or \cmd{d} for a digit can be used, without \TeX\ trying to execute them as commands, as can be special characters like \verb|^|, \verb|_| or \verb|{..}| and \verb|#|. Only the \% must be protected: to match a single \% in the bib, use \textbackslash\% in the regular expression, a \textbackslash\% is matched by \textbackslash\textbackslash\%.
8452
8453 \end{ltxsyntax}
8454
8455 Here are some data source mapping examples:
8456
8457 \begin{ltxexample}
8458 \DeclareSourcemap{
8459 \maps[datatype=bibtex]{
8460 \map{
8461 \perdatasource{<<example1.bib>>}
8462 \perdatasource{<<example2.bib>>}
8463 \step[fieldset=<<keywords>>, fieldvalue={<<keyw1, keyw2>>}]
8464 \step[fieldsource=<<entrykey>>]
8465 \step[fieldset=<<note>>, origfieldval]
8466 }
8467 }
8468 }
8469 \end{ltxexample}
8470 %
8471 This would add a \bibfield{keywords} field with value <keyw1, keyw2> and set the \bibfield{note} field to the entry key to all entries which are found in either the
8472 \texttt{examples1.bib} or \texttt{examples2.bib} files.
8473 %
8474 \begin{ltxexample}
8475 \DeclareSourcemap{
8476 \maps[datatype=bibtex]{
8477 \map{
8478 \step[fieldsource=<<title>>]
8479 \step[fieldset=<<note>>, origfieldval]
8480 }
8481 }
8482 }
8483 \end{ltxexample}
8484 %
8485 Copy the \bibfield{title} field to the \bibfield{note} field unless the
8486 \bibfield{note} field already exists.
8487 %
8488 \begin{ltxexample}
8489 \DeclareSourcemap{
8490 \maps[datatype=bibtex]{
8491 \map{
8492 \step[typesource=<<chat>>, typetarget=<<customa>>, final]
8493 \step[fieldset=<<type>>, origentrytype]
8494 }
8495 }
8496 }
8497 \end{ltxexample}
8498 %
8499 Any \bibfield{chat} entrytypes would become \bibfield{customa} entrytypes and
8500 would automatically have a \bibfield{type} field set to
8501 <chat> unless the \bibfield{type} field already exists in the entry (because
8502 \texttt{overwrite} is false by default). This mapping applies only to entries of type
8503 \bibtype{chat} since the first step has \texttt{final} set and so if the
8504 \texttt{typesource} does not match the entry entrytype, processing of this
8505 \cmd{map} immediately terminates.
8506 %
8507 \begin{ltxexample}
8508 \DeclareSourcemap{
8509 \maps[datatype=bibtex]{
8510 \map{
8511 \perdatasource{<<examples.bib>>}
8512 \pertype{<<article>>}
8513 \pertype{<<book>>}
8514 \step[fieldset=<<abstract>>, null]
8515 \step[fieldset=<<note>>, fieldvalue={<<Auto-created this field>>}]
8516 }
8517 }
8518 }
8519 \end{ltxexample}
8520 %
8521 Any entries of entrytype \bibtype{article} or \bibtype{book} from the
8522 \texttt{examples.bib} datasource would have their \bibfield{abstract}
8523 fields removed and a \bibfield{note} field added with value <Auto-created this field>.
8524 %
8525 \begin{ltxexample}
8526 \DeclareSourcemap{
8527 \maps[datatype=bibtex]{
8528 \map{
8529 \step[fieldset=<<abstract>>, null]
8530 \step[fieldsource=<<conductor>>, fieldtarget=<<namea>>]
8531 \step[fieldsource=<<gps>>, fieldtarget=<<usera>>]
8532 }
8533 }
8534 }
8535 \end{ltxexample}
8536 %
8537 This removes \bibfield{abstract} fields from any entry, changes
8538 \bibfield{conductor} fields to \bibfield{namea} fields and changes \bibfield{gps}
8539 fields to \bibfield{usera} fields.
8540 %
8541 \begin{ltxexample}
8542 \DeclareSourcemap{
8543 \maps[datatype=bibtex]{
8544 \map{
8545 \step[fieldsource=<<pubmedid>>, fieldtarget=<<eprint>>, final]
8546 \step[fieldset=<<eprinttype>>, origfield]
8547 \step[fieldset=<<userd>>, fieldvalue={<<Some string of things>>}]
8548 }
8549 }
8550 }
8551 \end{ltxexample}
8552 %
8553 Applies only to entries with \bibfield{pubmed} fields and maps
8554 \bibfield{pubmedid} fields to \bibfield{eprint} fields, sets the \bibfield{eprinttype}
8555 field to <pubmedid> and also sets the \bibfield{userd} field to the string
8556 <Some string of things>.
8557 %
8558 \begin{ltxexample}
8559 \DeclareSourcemap{
8560 \maps[datatype=bibtex]{
8561 \map{
8562 \step[fieldsource=<<series>>,
8563 match=\regexp{<<\A\d*(.+)>>},
8564 replace=\regexp{<<\L$1>>}]
8565 }
8566 }
8567 }
8568 \end{ltxexample}
8569 %$<- to stop emacs highlighting breaking
8570 Here, the contents of the \bibfield{series} field have leading numbers stripped and the remainder of the contents lowercased. Since regular expressions usually contain all sort of special characters, it is best to enclose them in the provided \cmd{regexp} macro as shown---this will pass the expression through to \biber\ correctly.
8571 %
8572 \begin{ltxexample}
8573 \DeclareSourcemap{
8574 \maps[datatype=bibtex]{
8575 \map{
8576 \step[fieldsource=<<maintitle>>,
8577 match=\regexp{<<Collected\s+Works.+Freud>>},
8578 final]
8579 \step[fieldset=<<keywords>>, fieldvalue=<<freud>>]
8580 }
8581 }
8582 }
8583 \end{ltxexample}
8584 %$<- to stop emacs highlighting breaking
8585 Here, if for an entry, the \bibfield{maintitle} field matches a particular regular expression, we set a special keyword so we can, for example, make a references section just for certain items.
8586 %
8587 \begin{ltxexample}
8588 \DeclareSourcemap{
8589 \maps[datatype=bibtex]{
8590 \map{
8591 \step[fieldsource=<<lista>>, match=\regexp{<<regexp>>}, final]
8592 \step[fieldset=<<lista>>, null]
8593 }
8594 }
8595 }
8596 \end{ltxexample}
8597 %
8598 If an entry has a \bibfield{lista} field which matches regular expression <regexp>, then it is removed.
8599 %
8600 \begin{ltxexample}
8601 \DeclareSourcemap{
8602 \maps[datatype=bibtex]{
8603 \map[overwrite=false]{
8604 \step[fieldsource=<<author>>]
8605 \step[fieldset=<<editor>>, origfieldval, final]
8606 \step[fieldsource=<<editor>>, match=\regexp{<<\A(.+?)\s+and.*>>}, replace={<<$1>>}]
8607 }
8608 }
8609 }
8610 \end{ltxexample}
8611 %$<- to stop emacs highlighting breaking
8612 For any entry with an \bibfield{author} field, try to set
8613 \bibfield{editor} to the same as \bibfield{author}. If this fails because
8614 \bibfield{editor} already exists, stop, otherwise truncate
8615 \bibfield{editor} to just the first name in the name list.
8616 %
8617 \begin{ltxexample}
8618 \DeclareSourcemap{
8619 \maps[datatype=bibtex]{
8620 \map{
8621 \step[fieldsource=<<author>>,
8622 match={<<Smith, Bill>>},
8623 replace={<<Smith, William>>}]
8624 \step[fieldsource=<<author>>,
8625 match={<<Jones, Baz>>},
8626 replace={<<Jones, Barry>>}]
8627 }
8628 }
8629 }
8630 \end{ltxexample}
8631 %
8632 Here, we use multiple match/replace for the same field to regularise some inconstant name variants. Bear in mind that \cmd{step} processing within a \opt{map} element is sequential and so the changes from a previous \cmd{step}s are already committed. Note that we don't need the \cmd{regexp} macro to protect the regular expressions in this example as they contain no characters which need special escaping. Please note that due to the difficulty of protecting regular expressions in \latex, there should be no literal spaces in the argument to \cmd{regexp}. Please use escape code equivalents if spaces are needed. For example, this example, if using \cmd{regexp}, should be:
8633 %
8634 \begin{ltxexample}
8635 \DeclareSourcemap{
8636 \maps[datatype=bibtex]{
8637 \map{
8638 \step[fieldsource=<<author>>,
8639 match=\regexp{<<Smith,\s+Bill>>},
8640 replace=\regexp{<<Smith,\x20William>>}]
8641 \step[fieldsource=<<author>>,
8642 match=\regexp{<<Jones,\s+Baz>>},
8643 replace=\regexp{<<Jones,\x20Barry>>}]
8644 }
8645 }
8646 }
8647 \end{ltxexample}
8648 %
8649 Here, we have used the hexadecimal escape sequence <|\x20|> in place of literal spaces in the replacement strings.
8650 %
8651 \begin{ltxexample}
8652 \DeclareSourcemap{
8653 \maps[datatype=bibtex]{
8654 \map[overwrite]{
8655 \step[fieldsource=<<author>>, match={<<Doe,>>}, final]
8656 \step[fieldset=<<shortauthor>>, origfieldval]
8657 \step[fieldset=<<sortname>>, origfieldval]
8658 \step[fieldsource=<<shortauthor>>,
8659 match=\regexp{<<Doe,\s*(?:\.|ohn)(?:[-]*)(?:P\.|Paul)*>>},
8660 replace={<<Doe, John Paul>>}]
8661 \step[fieldsource=<<sortname>>,
8662 match=\regexp{<<Doe,\s*(?:\.|ohn)(?:[-]*)(?:P\.|Paul)*>>},
8663 replace={<<Doe, John Paul>>}]
8664 }
8665 }
8666 }
8667 \end{ltxexample}
8668 %
8669 Only applies to entries with an \bibfield{author} field matching <Doe,>. First the \bibfield{author} field is copied to both the \bibfield{shortauthor} and \bibfield{sortname} fields, overwriting them if they already exist. Then, these two new fields are modified to canonicalise a particular name, which presumably has some variants in the data source.
8670 %
8671 \begin{ltxexample}
8672 \DeclareSourcemap{
8673 \maps[datatype=bibtex]{
8674 \map[overwrite]{
8675 \step[fieldsource=<<verba>>, final]
8676 \step[fieldset=<<verbb>>, fieldvalue=<</>>, append]
8677 \step[fieldset=<<verbb>>, origfieldval, append]
8678 \step[fieldsource=<<verbb>>, final]
8679 \step[fieldset=<<verbc>>, fieldvalue=<</>>, append]
8680 \step[fieldset=<<verbc>>, origfieldval, append]
8681 }
8682 }
8683 }
8684 \end{ltxexample}
8685 %
8686 This example demonstrates the sequential nature of the step processing and the \opt{append} option. If an entry has a \bibfield{verba} field then first, a forward slash is appended to the \bibfield{verbb} field. Then, the contents of \bibfield{verba} are appended to the \bibfield{verbb} field. A slash is then appended to the \bibfield{verbc} field and the contents of \bibfield{verbb} are appended to the \bibfield{verbc} field.
8687 %
8688 \begin{ltxexample}
8689 \DeclareSourcemap{
8690 \maps[datatype=bibtex]{
8691 \map[overwrite]{
8692 \step[fieldset=<<autourl>>, fieldvalue={<<http://scholar.google.com/scholar?q=">>}]
8693 \step[fieldsource=<<title>>]
8694 \step[fieldset=<<autourl>>, origfieldval, append]
8695 \step[fieldset=<<autourl>>, fieldvalue={<<"+author:>>}, append]
8696 \step[fieldsource=<<author>>, match=\regexp{<<\A([^,]+)\s*,>>}]
8697 \step[fieldset=<<autourl>>, fieldvalue={<<$1>>}, append]
8698 \step[fieldset=<<autourl>>, fieldvalue={<<&as_ylo=>>}, append]
8699 \step[fieldsource=<<year>>]
8700 \step[fieldset=<<autourl>>, origfieldval, append]
8701 \step[fieldset=<<autourl>>, fieldvalue={<<&as_yhi=>>}, append]
8702 \step[fieldset=<<autourl>>, origfieldval, append]
8703 }
8704 }
8705 }
8706 \end{ltxexample}%$ <- keep AucTeX highlighting happy
8707 %
8708 This example assumes you have created a field called \bibfield{autourl} using the datamodel macros from \secref{aut:ctm:dm} in order to hold, for example, a Google Scholar query URL auto-created from elements of the entry. The example progressively extracts information from the entry, constructing the URL as it goes. It demonstrates that it is possible to refer to parenthetical matches from the most recent \texttt{match} in any following \texttt{fieldvalue} which allows extracting the family name from the \bibfield{author}, assuming a <family, given> format. The resulting field could then be used as a hyperlink from, for example, the title of the work in the bibliography.
8709 %
8710 \begin{ltxexample}
8711 \DeclareSourcemap{
8712 \maps[datatype=bibtex]{
8713 \map{
8714 \step[fieldsource=<<title>>, match={A Title}, final]
8715 \step[entrynull]
8716 }
8717 }
8718 }
8719 \end{ltxexample}
8720 %
8721 Any entry with a \bibfield{title} field matching <A Title> will be completely ignored.
8722 %
8723 \begin{ltxexample}
8724 \DeclareSourcemap{
8725 \maps[datatype=bibtex]{
8726 \map{
8727 \pernottype{book}
8728 \pernottype{article}
8729 \step[entrynull]
8730 }
8731 }
8732 }
8733 \end{ltxexample}
8734 %
8735 Any entry which is not a \bibtype{book} or \bibtype{article} will be ignored.
8736 %
8737 \begin{ltxexample}
8738 \DeclareSourcemap{
8739 \maps[datatype=bibtex]{
8740 \map{
8741 \perdatasource{<<biblatex-examples.bib>>}
8742 \step[entryclone={rel-}]
8743 }
8744 }
8745 }
8746 \end{ltxexample}
8747 %
8748 Here, a clone of an entry from the specified data source will be created. The entry key of the clone will be the same as the original but prefixed by the value of the \texttt{entryclone} parameter. The cloned entry would still need to be cited in the document using its new entry key. This type of mapping step should be used with care as it may produce labelling problems in authoryear styles which use, for example, \opt{extradate}. One use case is for numeric styles which contain multiple bibliographies containing the same entry. In this case, you may need different bibliography number labels for the same entry and this is very tricky when there is only one entry which needs different labels. Creating clones with different entry keys solves this problem.
8749
8750 \begin{ltxexample}
8751 \DeclareSourcemap{
8752 \maps[datatype=bibtex]{
8753 \map{
8754 \step[fieldsource=<<note>>]
8755 \step[fieldset=<<usera>>, origfieldval]
8756 \step[fieldsource=<<usera>>, matchesi={string1,string2,StriNg3}, replace={1,2,3}]
8757 }
8758 }
8759 }
8760 \end{ltxexample}
8761 %
8762 Here, any \bibfield{note} field is copied to \bibfield{usera} and then <string1>, <string2> and <string3> are matched case-insensitively in the \bibfield{usera} field and replaced with <1>, <2> and <3> respectively. The value of \texttt{matches} and \texttt{matchesi} are not regular expressions, they are CSV lists of literal strings, as is the value of \texttt{replace} when either of \texttt{matches} or \texttt{matchesi} are used. The lengths of the match/replace CSV lists must be the same. This is useful when creating a new field to sort by in a custom sorting scheme when the field you wish to sort by has a defined order which is not alphabetical or numeric, such as when sorting by level of court in legal bibliographies. Using \texttt{matches} is simply more efficient than using many individual \texttt{match} maps in serial.
8763
8764 \biblatexml\ datasources are more structured than \bibtex\ since they are XML. Sourcemapping is possible with \biblatexml\ too but the specifications of source and target fields etc. also support XPath 1.0 paths in order to be able to work with the structured data. Fields can be specified as per the \bibtex\ examples above and these are converted into XPath 1.0 queries internally as necessary. For example:
8765
8766 \begin{ltxexample}
8767 \DeclareSourcemap{
8768 \maps[datatype=biblatexml]{
8769 \map{
8770 \step[fieldsource=\regexp{./bltx:names[@type='author']/bltx:name[2]/bltx:namepart[@type='family']},
8771 match=\regexp{\ASmith},
8772 replace={Jones}]
8773 }
8774 \map{
8775 \step[fieldsource=editor, fieldtarget=translator]
8776 }
8777 \map{
8778 \step[fieldsource=\regexp{./bltx:names[@type='editor']},
8779 fieldtarget=\regexp{./bltx:names[@type='translator']}]
8780 }
8781 \map{
8782 \step[fieldset=\regexp{./bltx:names[@type='author']/bltx:name[2]/@useprefix},
8783 fieldvalue={false}]
8784 }
8785 }
8786 }
8787 \end{ltxexample}
8788 %
8789 These maps, respectively,
8790
8791 \begin{itemize}
8792 \item Replace the family name <Smith> of the second \bibfield{author} name with <Jones>
8793 \item Move the \bibfield{editor} to \bibfield{translator}
8794 \item Move the \bibfield{editor} to \bibfield{translator} but with explicit XPaths
8795 \item Set the per-namelist \opt{useprefix} option on the \bibfield{author} name list to <false>
8796 \end{itemize}
8797
8798 \subsubsection{Data Model Specification}
8799 \label{aut:ctm:dm}
8800
8801 The data model which \biblatex uses consists of four main elements:
8802
8803 \begin{itemize}
8804 \item Specification of constant strings and lists of strings
8805 \item Specification of valid Entrytypes
8806 \item Specification of valid Fields along with their type, datatype and any special flags
8807 \item Specification of which Fields are valid in which Entrytypes
8808 \item Specification of constraints which can be used to validate data against the data model
8809 \end{itemize}
8810
8811 The default data model is defined in the core \biblatex file \file{blx-dm.def} using the macros described in this section. The default data model is described in detail in \secref{bib}. The data model is used internally by \biblatex and also by the backend. In practice, changing the data model means that you can define the entrytypes and fields for your datasources and validate your data against the data model. Naturally, this is not much use unless your style supports any new entrytypes or fields and it raises issues of portability between styles (although this can be mitigated by using the dynamic data modification functionality described in \secref{aut:ctm:map}).
8812
8813 Note that while the \biber/\bibtex input site is not case sensitive when it comes to entry types and field names (Perl's Unicode case folding is used to normalise field names and entry types), the \latex side is case sensitive and uses the exact capitalisation from the data model.
8814
8815 Validation against the data model means that after mapping your data sources into the data model, \biber (using its \path{--validate_datamodel} option) can check:
8816
8817 \begin{itemize}
8818 \item Whether all entrytypes are valid entrytypes
8819 \item Whether all fields are valid fields for their entrytype
8820 \item Whether the fields obey various constraints on their format which you specify
8821 \end{itemize}
8822 %
8823 Redefining the data model can be done in several places. Style authors can create a \file{.dbx} file which contains the data model macros required and this will be loaded automatically when using the \biblatex package \opt{style} option by looking for a file named after the style with a \file{.dbx} extension (just like the \file{.cbx} and \file{.bbx} files for a style). If the \opt{style} option is not used but rather the \opt{citestyle} and \opt{bibstyle} options, then the package will try to load \file{.dbx} files called \file{$<$citestyle$>$.dbx} and \file{$<$bibstyle$>$.dbx}.
8824 Alternatively, the name of the data model file can be different from any of the style option names by specifying the name (without \file{.dbx} extension) to the package \opt{datamodel} option. After loading the style data model file, \biblatex then loads, if present, a users \file{biblatex-dm.cfg} which should be put somewhere \biblatex can find it, just like the main configuration file \sty{biblatex.cfg}. To summarise, the data model is determined by adding to the data model from each of these locations, in order:\\
8825
8826 \noindent\file{blx-dm.def}$\rightarrow$\\
8827 \hspace*{1em}\file{$<$datamodel option$>$.dbx} $\rightarrow$\\
8828 \hspace*{2em}\file{$<$style option$>$.dbx} $\rightarrow$\\
8829 \hspace*{3em}\file{$<$citestyle option$>$.dbx} and \file{$<$bibstyle option$>$.dbx} $\rightarrow$\\
8830 \hspace*{4em}\file{biblatex-dm.cfg}\\
8831
8832 \noindent It is not possible to add to a loaded data model by using the macros below in your preamble as the preamble is read after \biblatex has defined critical internal macros based on the data model. If any data model macro is used in a document, it will be ignored and a warning will be generated. The data model is defined using the following macros:
8833
8834 \begin{ltxsyntax}
8835
8836 \cmditem{DeclareDatamodelConstant}[options]{name}{constantdef}
8837
8838 Declares the \prm{name} as a datamodel constant with definition \prm{constantdef}. Such constants are typically used internally by \biber.
8839
8840 \begin{optionlist*}
8841
8842 \choitem[string]{type}{string, list}
8843
8844 A constant can be a simple string (default if the \prm{type} option is omitted) or a comma"=separated list of strings.
8845
8846 \end{optionlist*}
8847
8848 \cmditem{DeclareDatamodelEntrytypes}[options]{entrytypes}
8849
8850 Declares the comma"=separated list of \prm{entrytypes} to be valid entrytypes in the data model. As usual in \tex csv lists, make sure each element is immediately followed by a comma or the closing brace---no extraneous whitespace.
8851
8852 \begin{optionlist*}
8853
8854 \boolitem[false]{skipout}
8855
8856 This entrytype is not output to the \file{.bbl}. Typically used for special entrytypes which are processed and consumed by the backend such as \bibtype{xdata}.
8857
8858 \end{optionlist*}
8859
8860 \cmditem{DeclareDatamodelFields}[options]{fields}
8861
8862 Declares the comma"=separated list of \prm{fields} to be valid fields in the data model with associated comma"=separated \prm{options}. The \prm{type} and \prm{datatype} options are mandatory. All valid \prm{options} are:
8863
8864 \begin{optionlist*}
8865
8866 \valitem{type}{field type}
8867
8868 Set the type of the field as described in \secref{bib:fld:typ}, typically <field> or <list>.
8869
8870 \valitem{format}{field format}
8871
8872 Any special format of the field. Normally unspecified but can take the value <xsv> which tells \biber that this field has a separated values format. The exact separator can be controlled with the \biber option \opt{xsvsep} and defaults to the expected comma surrounded by optional whitespace.
8873
8874 \valitem{datatype}{field datatype}
8875
8876 Set the datatype of the field as described in \secref{bib:fld:typ}. For example, <name> or <literal>.
8877
8878 \boolitem[false]{nullok}
8879
8880 The field is allowed to be defined but empty.
8881
8882 \boolitem[false]{skipout}
8883
8884 The field is not output to the \file{.bbl} and is therefore not present during \biblatex style processing. As usual in \tex csv lists, make sure each element is immediately followed by a comma or the closing brace---no extraneous whitespace.
8885
8886 \boolitem[false]{label}
8887
8888 The field can be used as a label in a bibliography or bibliography list. Specifying this causes \biblatex to create several helper macros for the field so that there are some internal lengths and headings etc. defined.
8889
8890 \end{optionlist*}
8891
8892 \cmditem{DeclareDatamodelEntryfields}[entrytypes]{fields}
8893
8894 Declares that the comma"=separated list of \prm{fields} is valid for the comma"=separated list of \prm{entrytypes}. If \prm{entrytypes} is not given, the fields are valid for all entrytypes. As usual in \tex csv lists, make sure each element is immediately followed by a comma or the closing brace---no extraneous whitespace.
8895
8896 \cmditem{DeclareDatamodelConstraints}[entrytypes]{specification}
8897
8898 If a comma"=separated list of \prm{entrytypes} is given, the constraints apply only to those entrytypes. The \prm{specification} is an undelimited list of \cmd{constraint} directives which specify a constraint. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible.
8899
8900 \cmditem{constraint}[type=constrainttype]{elements}
8901
8902 Specifies a constraint of type \prm{constrainttype}. Valid constraint types are:
8903
8904 \begin{optionlist*}
8905
8906 \choitem{type}{data, mandatory, conditional}
8907
8908 Constraints of type <data> put restrictions on the value of a field. Constraints of type <mandatory> specify which fields or combinations of fields an entrytype should have. Constraints of type <conditional> allow more sophisticated conditional and quantified field constraints.
8909
8910 \choitem{datatype}{integer, isbn, issn, ismn, datepart, pattern}
8911
8912 For constraints of type \prm{data}, constrain field values to be the given datatype.
8913
8914 \valitem{rangemin}{num}
8915
8916 For constraints of \prm{type} <data> and \prm{datatype} <integer>, constrain field values to be at least \prm{num}.
8917
8918 \valitem{rangemax}{num}
8919
8920 For constraints of \prm{type} <data> and \prm{datatype} <integer>, constrain field values to be at most \prm{num}.
8921
8922 \valitem{pattern}{patt}
8923
8924 For constraints of \prm{type} <data> and \prm{datatype} <pattern>, constrain field values to match regular expression pattern \prm{patt}. It is best to wrap any regular expression in the macro \cmd{regexp}, see \secref{aut:ctm:map}.
8925
8926 \end{optionlist*}
8927
8928 A \cmd{constraint} macro may contain any of the following:
8929
8930 \cmditem{constraintfieldsor}{fields}
8931
8932 For constraints of \prm{type} <mandatory>, specifies that an entry must contain a boolean OR of the \cmd{constraintfield}s.
8933
8934 \cmditem{constraintfieldsxor}{fields}
8935
8936 For constraints of \prm{type} <mandatory>, specifies that an entry must contain a boolean XOR of the \cmd{constraintfield}s.
8937
8938 \cmditem{antecedent}[quantifier=quantspec]{fields}
8939
8940 For constraints of \prm{type} <conditional>, specifies a quantified set of \cmd{constraintfield}s which must be satisfied before the \cmd{consequent} of the constraint is checked. \prm{quantspec} should have one of the following values:
8941
8942 \begin{optionlist*}
8943
8944 \choitem{quantifier}{all, one, none}
8945
8946 Specifies how many of the \cmd{constrainfield}'s inside the \cmd{antecedent} have to be present to satisfy the antecedent of the conditional constraint.
8947
8948 \end{optionlist*}
8949
8950 \cmditem{consequent}[quantifier=quantspec]{fields}
8951
8952 For constraints of \prm{type} <conditional>, specifies a quantified set of \cmd{constraintfield}s which must be satisfied if the preceding \cmd{antecedent} of the constraint was satisfied. \prm{quantspec} should have one of the following values:
8953
8954 \begin{optionlist*}
8955
8956 \choitem{quantifier}{all, one, none}
8957
8958 Specifies how many of the \cmd{constraintfield}'s inside the \cmd{consequent} have to be present to satisfy the consequent of the conditional constraint.
8959
8960 \end{optionlist*}
8961
8962 \cmditem{constraintfield}{field}
8963
8964 For constraints of \prm{type} <data>, the constraint applies to this \prm{field}. For constraints of \prm{type} <mandatory>, the entry must contain this \prm{field}.
8965
8966 The data model declaration macros may be used multiple times as they append to the previous definitions. In order to replace, change or remove existing definitions (such as the default model which is loaded with \biblatex), you should reset (clear) the current definition and then set what you want using the following macros. Typically, these macros will be the first things in any \file{biblatex-dm.cfg} file:
8967
8968 \cmditem{ResetDatamodelEntrytypes}
8969
8970 Clear all data model entrytype information.
8971
8972 \cmditem{ResetDatamodelFields}
8973
8974 Clear all data model field information.
8975
8976 \cmditem{ResetDatamodelEntryfields}
8977
8978 Clear all data model fields for entrytypes information.
8979
8980 \cmditem{ResetDatamodelConstraints}
8981
8982 Clear all data model fields Constraints information.
8983
8984 \end{ltxsyntax}
8985
8986 Here is an example of a simple data model. Refer to the core \biblatex file \file{blx-dm.def} for the default data model specification.
8987
8988 \begin{ltxexample}
8989 \ResetDatamodelEntrytypes
8990 \ResetDatamodelFields
8991 \ResetDatamodelEntryfields
8992 \ResetDatamodelConstraints
8993
8994 \DeclareDatamodelEntrytypes{<<entrytype1, entrytype2>>}
8995
8996 \DeclareDatamodelFields[type=field, datatype=literal]{<<field1,field2,field3,field4>>}
8997
8998 \DeclareDatamodelEntryfields{<<field1>>}
8999 \DeclareDatamodelEntryfields[entrytype1]{<<field2,field3>>}
9000 \DeclareDatamodelEntryfields[entrytype2]{<<field2,field3,field4>>}
9001
9002 \DeclareDatamodelConstraints[<<entrytype1>>]{
9003 \constraint[type=data, datatype=integer, rangemin=3, rangemax=10]{
9004 \constraintfield{<<field1>>}
9005 }
9006 \constraint[type=mandatory]{
9007 \constraintfield{<<field1>>}
9008 \constraintfieldsxor{
9009 \constraintfield{<<field2>>}
9010 \constraintfield{<<field3>>}
9011 }
9012 }
9013 }
9014 \DeclareDatamodelConstraints{
9015 \constraint[type=conditional]{
9016 \antecedent[quantifier=none]{
9017 \constraintfield{<<field2>>}
9018 }
9019 \consequent[quantifier=all]{
9020 \constraintfield{<<field3>>}
9021 \constraintfield{<<field4>>}
9022 }
9023 }
9024 }
9025 \end{ltxexample}
9026 %
9027 This model specifies:
9028
9029 \begin{itemize}
9030 \item Clear the default data model completely
9031 \item Two valid entry types \bibtype{entrytype1} and \bibtype{entrytype2}
9032 \item Four valid literal field fields
9033 \item \bibfield{field1} is valid for all entrytypes
9034 \item \bibfield{field2} and \bibfield{field3} are valid for \bibfield{entrytype1}
9035 \item \bibfield{field2}, \bibfield{field3} and \bibfield{field4} are valid for \bibtype{entrytype2}
9036 \item For \bibtype{entrytype1}:
9037 \begin{itemize}
9038 \item \bibfield{field1} must be an integer between 3 and 10
9039 \item \bibfield{field1} must be present
9040 \item One and only one of \bibfield{field2} or \bibfield{field3} must be present
9041 \end{itemize}
9042 \item For any entrytype, if \bibfield{field2} is not present, \bibfield{field3} and \bibfield{field4} must be present
9043 \end{itemize}
9044
9045 \subsubsection{Labels}
9046 \label{aut:ctm:lab}
9047
9048 Alphabetic styles use a label to identify bibliography entries. This label is constructed from components of the entry using a template which describes how to build the label. The template can be customised on a global or per-type basis. A separate template is used to specify how to extract parts of name fields for labels, since names can be quite complex fields.
9049
9050 \begin{ltxsyntax}
9051
9052 \cmditem{DeclareLabelalphaTemplate}[]{specification}
9053
9054 Defines the alphabetic label template for the given entrytypes. If no entrytypes are specified in the first argument, then the global label template is defined. The \prm{specification} is an undelimited list of \cmd{labelelement} directives which specify the elements used to build the label. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9055
9056 \cmditem{labelelement}{elements}
9057
9058 Specifies the elements used to build the label. The \prm{elements} are an undelimited list of \cmd{field} or \cmd{literal} commands which are evaluated in the order in which they are given. The first \cmd{field} or \cmd{literal} which expands to a non-empty string is used as the \cmd{labelelement} expansion and the next \cmd{labelelement}, if any, is then processed.
9059
9060 \cmditem{field}[options]{field}
9061
9062 If \prm{field} is non-empty, use it as the current label \cmd{labelelement}, subject to the options below. Useful values for \prm{field} are typically the name list type fields, date fields, and title fields. You may also use the `citekey' or `entrykey` pseudo-fields to specify the citation/entry key as part of the label. Name list fields are treated specially and when a name list field is specified, the template defined with \cmd{DeclareLabelalphaNameTemplate} is used to extract parts from the name which then returns the string that the \cmd{field} option uses.
9063
9064 \begin{optionlist*}
9065
9066 \boolitem[false]{final}
9067
9068 This option marks a \cmd{field} directive as the final one in the \prm{specification}. If the \prm{field} is non-empty, then this field is used for the label and the remainder of the \prm{specification} will be ignored. The short form \opt{final} is equivalent to \kvopt{final}{true}.
9069
9070 \boolitem[false]{lowercase}
9071
9072 Forces the label part derived from the field to lowercase. By default, the case is taken from the field source and not modified.
9073
9074 \intitem[1]{strwidth}
9075
9076 The number of characters of the \prm{field} to use. This setting may be overridden by an individual name part when extracting characters from a name. See \cmd{DeclareLabelalphaNameTemplate} below.
9077
9078 \choitem[left]{strside}{left, right}
9079
9080 The side of the string from which to take the \texttt{strwidth} number of characters. This setting may be overridden by an individual name part when extracting characters from a name. See \cmd{DeclareLabelalphaNameTemplate} below.
9081
9082 \choitem[right]{padside}{left, right}
9083
9084 Side to pad the label part when using the \texttt{padchar} option. Only for use with fixed-width label strings (\texttt{strwidth}).
9085
9086 \valitem{padchar}{character}
9087
9088 If present, pads the label part on the \texttt{padside} side with the specified character to the length of \texttt{strwidth}. Only for use with fixed-width label strings (\texttt{strwidth}).
9089
9090 \boolitem[false]{uppercase}
9091
9092 Forces the label part derived from the field to uppercase. By default, the case is taken from the field source and not modified.
9093
9094 \boolitem[false]{varwidth}
9095
9096 Use a variable width, left-side substring of characters from the string returned for \prm{field}. The length of the string is determined by the minimum length needed to disambiguate the substring from all other \prm{field} elements in the same position in the label. For name list fields, this means that each name substring is disambiguated from all other name substrings which occur in the same position in the name list (see examples below). This option overrides \texttt{strwidth} if both are used. The short form \opt{varwidth} is equivalent to \kvopt{varwidth}{true}. For name list fields, the \cmd{namepart}s with the \opt{pre} option set are prepended to the string returned from this disambiguation.
9097
9098 \boolitem[false]{varwidthnorm}
9099
9100 As \texttt{varwidth} but will force the disambiguated substrings for the \prm{field} to be the same length as the longest disambiguated substring. This can be used to regularise the format of the labels if desired. This option overrides \texttt{strwidth} if both are used. The short form \opt{varwidthnorm} is equivalent to \kvopt{varwidthnorm}{true}.
9101
9102 \boolitem[false]{varwidthlist}
9103
9104 Alternative method of automatic label disambiguation where the field as a whole is disambiguated from all other fields in the same label position. For non-name list fields, this is equivalent to \texttt{varwidth}. For name list fields, names in a name list are not disambiguated from other names in the same position in their name lists but instead the entire name list is disambiguated as a whole from other name lists (see examples below). This option overrides \texttt{strwidth} if both are used. The short form \opt{varwidthlist} is equivalent to \kvopt{varwidthlist}{true}. For name list fields, the \cmd{namepart}s with the \opt{pre} option set are prepended to the string returned from this disambiguation.
9105
9106 \intitem{strwidthmax}
9107
9108 When using \texttt{varwidth}, this option sets a limit (in number of characters) on the length of variable width substrings. This option can be used to regularise the label.
9109
9110 \intitem[1]{strfixedcount}
9111
9112 When using \texttt{varwidthnorm}, there must be at least \texttt{strfixedcount} disambiguated substrings with the same, maximal length to trigger the forcing of all disambiguated substrings to this same maximal length.
9113
9114 \valitem{ifnames}{range}
9115
9116 Only use this \cmd{field} specification if it is a name list field with a number of names matching the \texttt{ifnames} range value. This allows a \cmd{labelelement} to be conditionalised on name length (see below). The range can specified as in the following examples:
9117
9118 \begin{lstlisting}[language=xml]
9119 ifnames=3 -> Only apply to name lists containing exactly 3 names
9120 ifnames={2-4} -> Only apply to name lists containing minimum 2 and maximum 4 names
9121 ifnames={-3} -> Only apply to name lists containing at most 3 names
9122 ifnames={2-} -> Only apply to name lists containing at least 2 names
9123 \end{lstlisting}
9124
9125 \valitem{names}{range}
9126
9127 By default, for name list fields, the names used range from the first name to the \cnt{maxalphanames}\slash \cnt{minalphanames} truncation. This option can be used to override this with an explicit range of names to consider. The plus <+> sign is a special end of range marker denoting the truncation point of max/minalphanames. The range separator can be any number of characters with the Unicode Dash property. For example:
9128
9129 \begin{lstlisting}[language=xml]
9130 names=3 -> Use first 3 names in the name list
9131 names={2-3} -> Use second and thirds names only
9132 names={-3} -> Same as 1-3
9133 names={2-} -> Use all names starting with the second name (ignoring max/minalphanames truncation)
9134 names={2-+} -> Use all names starting with the second name (respecting max/minalphanames truncation)
9135 \end{lstlisting}
9136
9137 \valitem[empty]{namessep}{string}
9138
9139 An arbitrary string separator to put between names in a namelist.
9140
9141 \boolitem[false]{noalphaothers}
9142
9143 By default, \cmd{labelalphaothers} is appended to label parts derived from name lists if there are more names in the list than are shown in the label part. This option can be used to disable the default behaviour.
9144
9145 \end{optionlist*}
9146
9147 \cmditem{literal}{characters}
9148
9149 Insert the literal \prm{characters} into the label at this point.
9150
9151 \end{ltxsyntax}
9152 %
9153 When a name list \cmd{field} is specified, the method of extracting the string is specified by a separate template specified by the following command:
9154
9155 \begin{ltxsyntax}
9156
9157 \cmditem{DeclareLabelalphaNameTemplate}[name]{specification}
9158
9159 Defines the \opt{labelalphaname} template \prm{name}. The \prm{name} is optional and defaults to \prm{<global>}.
9160
9161 Such templates specify how to extract a label string from a name list when a \cmd{field} specification in \cmd{DeclareLabelalphaTemplate} contains a name list.
9162
9163 \cmditem{namepart}[options]{namepart}
9164
9165 \prm{namepart} is one of the datamodel nameparts defined with the \cmd{DeclareDatamodelConstant} command (see \secref{aut:bbx:drv}). The \prm{options} are:
9166
9167 \begin{optionlist*}
9168
9169 \boolitem[false]{use}
9170
9171 Only use the \prm{namepart} in constructing the label information if there is a corresponding option \opt{use<namepart>} and that option is true.
9172
9173 \boolitem[false]{pre}
9174
9175 When constructing label strings from names, the \cmd{namepart} \emph{without} a \opt{pre} option will be used to construct label string, passing through disambiguation, substring etc. operations as specified by the \cmd{field} options in \cmd{DeclareLabelalpaTemplate}. Then the \cmd{namepart} options \emph{with} the \opt{pre} option set will be prepended to the result, (in the order given, if there are more than one such \cmd{namepart}s). This allows to unconditionally prepend certain namepart information to name label strings, like name prefices. Note that the \opt{uppercase} and \opt{lowercase} options of \cmd{field} in \cmd{DeclareLabelalphaTemplate} are applied to the entire label returned from \cmd{DeclareLabelalphaTemplate}, both \opt{pre} parts and non \opt{pre}.
9176
9177 \boolitem[false]{compound}
9178
9179 For static (non-varwidth) disambiguation in \cmd{DeclareLabelalphaTemplate}, treat nameparts separated by whitespace or hyphens (compound names) as separate names for label generation. This means that when forming a label out of, for example the surname <Ballam Forsyth> with a 1 character, left-side substring, this name would give <BF> with \kvopt{compound}{true} and <B> with \kvopt{compound}{false}. The short form \opt{compound} is equivalent to \kvopt{compound}{true}.
9180
9181 \intitem[1]{strwidth}
9182
9183 The number of characters of the \prm{namepart} to use.
9184
9185 \choitem[left]{strside}{left, right}
9186
9187 The side of the string from which to take the \texttt{strwidth} number of characters.
9188
9189 \end{optionlist*}
9190
9191 \end{ltxsyntax}
9192
9193 Note that the templates for labels can be defined per-type and you should be aware of this when using the automatically disambiguated label functionality. Disambiguation is not per-type as this might lead to ambiguity due to different label formats for different types being isolated from each others disambiguation process. Normally, you will want to use very different label formats for different types to make the type obvious by the label.
9194
9195 Here are some examples. The default global \biblatex alphabetic label template is defined below. Firstly, \bibfield{shorthand} has \kvopt{final}{true} and so if there is a \bibfield{shorthand} field, it is used as the label and nothing more of the template is considered. Next, the \bibfield{label} field is used as the first label element if it exists. Otherwise, if there is only one name (\kvopt{ifnames}{1}) in the \bibfield{labelname} list, then three characters from the left side of the family name in the \bibfield{labelname} are used as the first label element. If the \bibfield{labelname} has more than one name in it, one character from the left side of each family name is used as the first label element. The second label element consists of 2 characters from the right side of the \bibfield{year} field.
9196
9197 The default template for constructing labels from names is also shown. This prepends the first character from the left side of any prefix (if the \opt{useprefix} option is true) to a label extracted from the family name (according to the options on the calling \cmd{field} option from \cmd{DeclareLabelalphaTemplate}), allowing for compound family names.
9198
9199 \begin{ltxexample}
9200 \DeclareLabelalphaTemplate{
9201 \labelelement{
9202 \field[final]{<<shorthand>>}
9203 \field{<<label>>}
9204 \field[strwidth=3,strside=left,ifnames=1]{<<labelname>>}
9205 \field[strwidth=1,strside=left]{<<labelname>>}
9206 }
9207 \labelelement{
9208 \field[strwidth=2,strside=right]{<<year>>}
9209 }
9210 }
9211
9212 \DeclareLabelalphaNameTemplate{
9213 \namepart[use=true, pre=true, strwidth=1, compound=true]{prefix}
9214 \namepart{family}
9215 }
9216
9217 \end{ltxexample}
9218 %
9219 To get an idea of how the label automatic disambiguation works, consider the following author lists:
9220
9221 \begin{lstlisting}{}
9222 Agassi, Chang, Laver (2000)
9223 Agassi, Connors, Lendl (2001)
9224 Agassi, Courier, Laver (2002)
9225 Borg, Connors, Edberg (2003)
9226 Borg, Connors, Emerson (2004)
9227 \end{lstlisting}
9228 %
9229 Assuming a template declaration such as:
9230
9231 \begin{ltxexample}
9232 \DeclareLabelalphaTemplate{
9233 \labelelement{
9234 \field[varwidth]{<<labelname>>}
9235 }
9236 }
9237 \end{ltxexample}
9238 %
9239 Then the labels would be:
9240
9241 \begin{lstlisting}{}
9242 Agassi, Chang, Laver [AChLa]
9243 Agassi, Connors, Lendl [AConLe]
9244 Agassi, Courier, Laver [ACouLa]
9245 Borg, Connors, Edberg [BConEd]
9246 Borg, Connors, Emerson [BConEm]
9247 \end{lstlisting}
9248 %
9249 With normalised variable width labels defined:
9250
9251 \begin{ltxexample}
9252 \DeclareLabelalphaTemplate{
9253 \labelelement{
9254 \field[varwidthnorm]{<<labelname>>}
9255 }
9256 }
9257 \end{ltxexample}
9258 %
9259 You would get the following as the substrings of names in each position are extended to the length of the longest substring in that same position:
9260
9261 \begin{lstlisting}{}
9262 Agassi, Chang, Laver [AChaLa]
9263 Agassi, Connors, Lendl [AConLe]
9264 Agassi, Courier, Laver [ACouLa]
9265 Borg, Connors, Edberg [BConEd]
9266 Borg, Connors, Emerson [BConEm]
9267 \end{lstlisting}
9268 %
9269 With a restriction to two characters for the name components of the label element defined like this:
9270
9271 \begin{ltxexample}
9272 \DeclareLabelalphaTemplate{
9273 \labelelement{
9274 \field[varwidthnorm,strwidthmax=2]{<<labelname>>}
9275 }
9276 }
9277 \end{ltxexample}
9278 %
9279 This would be the result (note that the individual family name label parts are no longer unambiguous):
9280
9281 \begin{lstlisting}{}
9282 Agassi, Chang, Laver [AChLa]
9283 Agassi, Connors, Lendl [ACoLe]
9284 Agassi, Courier, Laver [ACoLa]
9285 Borg, Connors, Edberg [BCoEd]
9286 Borg, Connors, Emerson [BCoEm]
9287 \end{lstlisting}
9288 %
9289 Alternatively, you could choose to disambiguate the name lists as a whole with:
9290
9291 \begin{ltxexample}
9292 \DeclareLabelalphaTemplate{
9293 \labelelement{
9294 \field[varwidthlist]{<<labelname>>}
9295 }
9296 }
9297 \end{ltxexample}
9298 %
9299 Which would result in:
9300
9301 \begin{lstlisting}{}
9302 Agassi, Chang, Laver [AChL]
9303 Agassi, Connors, Lendl [ACoL]
9304 Agassi, Courier, Laver [ACL]
9305 Borg, Connors, Edberg [BCEd]
9306 Borg, Connors, Emerson [BCE]
9307 \end{lstlisting}
9308 %
9309 Perhaps you only want to consider at most two names for label generation but disambiguate at the whole name list level:
9310 \begin{ltxexample}
9311 \DeclareLabelalphaTemplate{
9312 \labelelement{
9313 \field[varwidthlist,names=2]{<<labelname>>}
9314 }
9315 }
9316 \end{ltxexample}
9317 %
9318 Which would result in:
9319 \begin{lstlisting}{}
9320 Agassi, Chang, Laver [ACh+]
9321 Agassi, Connors, Lendl [ACo+]
9322 Agassi, Courier, Laver [AC+]
9323 Borg, Connors, Edberg [BC+a]
9324 Borg, Connors, Emerson [BC+b]
9325 \end{lstlisting}
9326 %
9327 In this last example, you can see \cmd{labelalphaothers} has been appended to show that there are more names. The last two labels now require disambiguating with \cmd{extraalpha} as there is no way of disambiguating this label name list with only two names.
9328
9329 Finally, here is an example using multiple label elements:
9330
9331 \begin{ltxexample}
9332 \DeclareLabelalphaTemplate{
9333 \labelelement{
9334 \field[varwidthlist]{<<labelname>>}
9335 }
9336 \labelelement{
9337 \literal{-}
9338 }
9339 \labelelement{
9340 \field[strwidth=3,strside=right]{<<labelyear>>}
9341 }
9342 }
9343 \end{ltxexample}
9344 %
9345 Which would result in:
9346 \begin{lstlisting}{}
9347 Agassi, Chang, Laver [AChL-000]
9348 Agassi, Connors, Lendl [AConL-001]
9349 Agassi, Courier, Laver [ACouL-002]
9350 Borg, Connors, Edberg [BCEd-003]
9351 Borg, Connors, Emerson [BCEm-004]
9352 \end{lstlisting}
9353 %
9354 Here is another rather contrived example showing that you don't need to specially quote \latex special characters (apart from <\%>, obviously) when specifying padding characters and literals:
9355
9356 \begin{ltxexample}
9357 \DeclareLabelalphaTemplate{
9358 \labelelement{
9359 \literal{>}
9360 }
9361 \labelelement{
9362 \literal{\%}
9363 }
9364 \labelelement{
9365 \field[namessep={/}, strwidth=4, padchar=_]{<<labelname>>}
9366 }
9367 \labelelement{
9368 \field[strwidth=3, padchar=&, padside=left]{title}
9369 }
9370 \labelelement{
9371 \field[strwidth=2,strside=right]{<<year>>}
9372 }
9373 }
9374 \end{ltxexample}
9375 %
9376 which given:
9377 \begin{lstlisting}[style=bibtex]{}
9378 @Book{test,
9379 author = {XXX YY and WWW ZZ},
9380 title = {T},
9381 year = {2007},
9382 }
9383 \end{lstlisting}
9384 would resulting a label looking like this:
9385 \begin{verbatim}
9386 [>%YY/ZZ__&&T07]
9387 \end{verbatim}
9388
9389 Generating labels from fields may involve some difficulties when you have fields containing diacritics, hyphens, spaces etc. Often, you want to ignore things like separator characters or spaces when generating labels. An option is provided to customise the regular expression(s) to strip from a field before it is passed to the label generation system.
9390
9391 \begin{ltxsyntax}
9392
9393 \cmditem{DeclareNolabel}{specification}
9394
9395 Defines regular expressions to strip from any field before generating a label part for the field. The \prm{specification} is an undelimited list of \cmd{nolabel} directives which specify the regular expressions to remove from fields. Spaces, tabs and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9396
9397 \cmditem{nolabel}{regexp}
9398
9399 Any number of \cmd{nolabel} commands can be given each of which specifies to remove the \prm{regexp} from the copy of the field which the label generation system sees. Since regular expressions usually contain special characters, it is best to enclose them in the provided \cmd{regexp} macro as shown---this will pass the expression through to \biber correctly.
9400
9401 \end{ltxsyntax}
9402
9403 If there is no \cmd{DeclareNolabel} specification, \biber will default to:
9404
9405 \begin{ltxexample}
9406 \DeclareNolabel{
9407 % strip punctuation, symbols, separator and control characters
9408 \nolabel{\regexp{<<[\p{P}\p{S}\p{C}]+>>}}
9409 }
9410 \end{ltxexample}
9411 %
9412 This \biber default strips punctuation, symbol, separator and control characters from fields before passing the field string to the label generation system.
9413
9414 \begin{ltxsyntax}
9415
9416 \cmditem{DeclareNolabelwidthcount}{specification}
9417
9418 Defines regular expressions to ignore from any field when counting characters in fixed-width substrings. The \prm{specification} is an undelimited list of \cmd{nolabelwidthcount} directives which specify the regular expressions to ignore when counting characters for fixed-width substrings. Spaces, tabs and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9419
9420 \cmditem{nolabelwidthcount}{regexp}
9421
9422 Any number of \cmd{nolabelwidthcount} commands can be given each of which specifies to ignore the \prm{regexp} when generating fixed-width substrings during label generation. Since regular expressions usually contain special characters, it is best to enclose them in the provided \cmd{regexp} macro as shown---this will pass the expression through to \biber correctly.
9423
9424 \end{ltxsyntax}
9425
9426 There is no default \cmd{DeclareNolabelwidthcount} specification. Note that
9427 this setting is only taken into account when using fixed-width substrings
9428 (non-varwidth) during label part generation. See \secref{aut:ctm:lab}.
9429
9430 \subsubsection{Sorting}
9431 \label{aut:ctm:srt}
9432
9433 In addition to the predefined sorting templates discussed in \secref{use:srt}, it is possible to define new ones or modify the default definitions. The sorting process may be customized further by excluding certain fields from sorting on a per-type basis and by automatically populating the \bibfield{presort} field on a per-type basis.
9434
9435 \begin{ltxsyntax}
9436
9437 \cmditem{DeclareSortingTemplate}[options]{name}{specification}
9438
9439 Defines the sorting template \prm{name}. The \prm{name} is the identifier passed to the \opt{sorting} option (\secref{use:opt:pre:gen}) when selecting the sorting template. The \cmd{DeclareSortingTemplate} command supports the following optional arguments:
9440
9441 \begin{optionlist*}
9442
9443 \choitem{locale}{\prm{locale}}
9444
9445 The locale for the sorting template which then overrides the global sorting locale in the \opt{sortlocale} option discussed in \secref{use:opt:pre:gen}.
9446
9447 \end{optionlist*}
9448
9449 The \prm{specification} is an undelimited list of \cmd{sort} directives which specify the elements to be considered in the sorting process. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9450
9451 \cmditem{sort}{elements}
9452
9453 Specifies the elements considered in the sorting process. The \prm{elements} are an undelimited list of \cmd{field}, \cmd{literal}, \cmd{citecount}, \cmd{intciteorder} and \cmd{citeorder} commands which are evaluated in the order in which they are given. If an element is defined, it is added to the sort key and the sorting routine skips to the next \cmd{sort} directive. If it is undefined, the next element is evaluated. Since literal strings are always defined, any \cmd{literal} commands should be the sole or the last element in a \cmd{sort} directive. All \prm{elements} should be the same datatype as described in \secref{bib:fld:dat} since they will be potentially compared to any of the other \prm{elements} in other entries.. The \cmd{sort} command supports the following optional arguments:
9454
9455 \begin{optionlist*}
9456
9457 \choitem{locale}{\prm{locale}}
9458
9459 Override the locale used for sorting at the level of a particular set of sorting elements. If specified, the locale overrides the locale set at the level of \cmd{DeclareSortingTemplate} and also the global setting. See also the discussion of the global sorting locale option \opt{sortlocale} in \secref{use:opt:pre:gen}.
9460
9461 \choitem[ascending]{direction}{ascending, descending}
9462
9463 The sort direction, which may be either \texttt{ascending} or \texttt{descending}. The default is ascending order.
9464
9465 \boolitem[false]{final}
9466
9467 This option marks a \cmd{sort} directive as the final one in the \prm{specification}. If one of the \prm{elements} is available, the remainder of the \prm{specification} will be ignored. The short form \opt{final} is equivalent to \kvopt{final}{true}.
9468
9469 \boolitem{sortcase}
9470
9471 Whether or not to sort case"=sensitively. The default setting depends on the global \opt{sortcase} option.
9472
9473 \boolitem{sortupper}
9474
9475 Whether or not to sort in <uppercase before lowercase> (\texttt{true}) or <lowercase before uppercase> order (\texttt{false}). The default setting depends on the global \opt{sortupper} option.
9476
9477 \end{optionlist*}
9478
9479 \cmditem{field}[key=value, \dots]{field}
9480
9481 The \cmd{field} element adds a \prm{field} to the sorting specification. If the \prm{field} is undefined, the element is skipped. The \cmd{field} command supports the following optional arguments:
9482
9483 \begin{optionlist*}
9484
9485 \choitem[left]{padside}{left, right}
9486
9487 Pads a field on the \texttt{left} or \texttt{right} side using \opt{padchar} so that its width is \opt{padwidth}. If no padding option is set, no padding is done at all. If any padding option is specified, then padding is performed and the missing options are assigned built-in default values. If padding and substring matching are both specified, the substring match is performed first.
9488
9489 \intitem[4]{padwidth}
9490
9491 The target width in characters.
9492
9493 \valitem[0]{padchar}{character}
9494
9495 The character to be used when padding the field.
9496
9497 \choitem[left]{strside}{left, right}
9498
9499 Performs a substring match on the \texttt{left} or \texttt{right} side of the field. The number of characters to match is specified by the corresponding \texttt{strwidth} option. If no substring option is set, no substring matching is performed at all. If any substring option is specified, then substring matching is performed and the missing options are assigned built-in default values. If padding and substring matching are both specified, the substring match is performed first.
9500
9501 \intitem[4]{strwidth}
9502
9503 The number of characters to match.
9504
9505 \end{optionlist*}
9506
9507 \cmditem{literal}{string}
9508
9509 The \cmd{literal} element adds a literal \prm{string} to the sorting specification. This is useful as a fallback if some fields are not available.
9510
9511 \csitem{citecount}
9512
9513 The \cmd{citecount} element has a special meaning. It requests a sort based on the number of times an item was cited. The standard \texttt{count} sorting template uses this to provide a sort in descending order of number of citations. Note that the option \opt{citecounter} must also be enabled for this to work. In addition, an additional \biber run is required in order to calculate the data for this option correctly and so the typical invocation sequence for this option is \emph{latex}$\rightarrow$\emph{biber}$\rightarrow$\emph{latex}$\rightarrow$\emph{latex}$\rightarrow$\emph{biber}$\rightarrow$\emph{latex}.
9514
9515 \csitem{citeorder}
9516
9517 The \cmd{citeorder} element has a special meaning. It requests a sort based on the lexical order of the actual citations. For entries cited within the same citation command like:
9518
9519 \begin{ltxexample}
9520 \cite{one,two}
9521 \end{ltxexample}
9522 %
9523 there is a distinction between the lexical order and the semantic order. Here «one» and «two» have the same semantic order but a unique lexical order. The semantic order only matters if you specify further sorting to disambiguate entries with the same semantic order. For example, this is the definition of the \opt{none} sorting template:
9524
9525 \begin{ltxexample}
9526 \DeclareSortingTemplate{lexical}{
9527 \sort{\citeorder}
9528 }
9529 \end{ltxexample}
9530 %
9531 This sorts the bibliography purely lexically by the order of the keys in the citation commands. In the example above, it sorts «one» before «two». However, suppose that you consider «one» and «two» to have the same order (semantic order) since they are cited at the same time and want to further sort these by year. Suppose «two» has an earlier \bibfield{year} than «one»:
9532
9533 \begin{ltxexample}
9534 \DeclareSortingTemplate{lexicalyear}{
9535 \sort{\citeorder}
9536 \sort{<<year>>}
9537 }
9538 \end{ltxexample}
9539 %
9540 This sorts «two» before «one», even though lexically, «one» would sort before «two». This is possible because the semantic order can be disambiguated by the further sorting on year. With the standard \opt{none} sorting template, the lexical order and semantic order are identical because there is nothing further to disambiguate them. This means that you can use \cmd{citeorder} just like any other sorting specification element, choosing how to further sort entries cited at the same time (in the same citation command).
9541
9542 See also \cmd{intciteorder} below.
9543
9544 \csitem{intciteorder}
9545
9546 The \cmd{intciteorder} element has a special meaning. It requests a sort based on the lexical order internal to the same citation command. For example:
9547
9548 \begin{ltxexample}
9549 \cite{one,two}
9550 \end{ltxexample}
9551 %
9552 Here both citations have the same \cmd{citeorder} but different \cmd{intciteorder}. This sorting command is basically a more granular form of \cmd{citeorder} so that order can be distinguished for citations within the same citation command. So, for example, with the above example, this will guarantee sorting of <one> before <two>:
9553
9554 \begin{ltxexample}
9555 \DeclareSortingTemplate{fulllexical}{
9556 \sort{\citeorder}
9557 \sort{\intciteorder}
9558 }
9559 \end{ltxexample}
9560
9561 \cmditem{DeclareSortingNamekeyTemplate}[name]{specification}
9562
9563 Defines how the sorting keys for names are constructed. This can change the sorting order of names arbitrarily because you can choose how to put together the name parts when constructing the string to compare when sorting. The sorting key construction template so defined is called \prm{name} which defaults to «global» if this optional parameter is absent. When constructing the sorting key for a name, a sorting key for each name part is constructed and the key for each name is formed into an ordered key list with a special internal separator. The point of this option is to accommodate languages or situations where sorting of names needs to be customised (for example, Icelandic names are sometimes sorted by given names rather than by family names). This macro may be used multiple times to define templates with different names which can then be referred to later. Sorting name key templates can be specified at the following scopes, in order of increasing precedence:
9564
9565 \begin{itemize}
9566 \item The default template defined without the optional name argument
9567 \item Given as the \opt{sortingnamekeytemplate} option to a reference context (see \secref{use:bib:context})
9568 \item Given as a per-entry option \opt{sortnamekeytemplate} in a bibliography data source entry
9569 \item Given as a per-namelist option \opt{sortnamekeytemplate}
9570 \item Given as a per-name option \opt{sortnamekeytemplate}
9571 \end{itemize}
9572
9573 By default there is only a global template which has the following \prm{specification}:
9574
9575 \begin{ltxexample}
9576 \DeclareSortingNamekeyTemplate{
9577 \keypart{
9578 \namepart[use=true]{<<prefix>>}
9579 \namepart{<<family>>}
9580 }
9581 \keypart{
9582 \namepart{<<given>>}
9583 }
9584 \keypart{
9585 \namepart{<<suffix>>}
9586 }
9587 \keypart{
9588 \namepart[use=false]{<<prefix>>}
9589 }
9590 }
9591 \end{ltxexample}
9592 %
9593 This means that the key is constructed by concatenating, in order, the name prefix (only if the \opt{useprefix} option is true) with the family name(s), the given names(s), the name suffix and then the name prefix (only if the \opt{useprefix} option is false). The visible number of names in the name list used to construct the key is the default sorting visibility, see below.
9594
9595 \cmditem{visibility}{visibilityscope}
9596
9597 \prm{visibilityscope} determines which visibility settings to use for the name list. This determines how many names in the name list are visible to the sorting algorithm. This is by default set to <sort>, which is the standard visibility for sorting determined by the \opt{max*/min*names} and \opt{uniquelist} options. \cmd{visibility} can be omitted entirely if this default is desired. The only other scope is <cite> which forces the sorting algorithm to use the name list visibility of the citations rather than that of the reference list sorting. This is useful when using the \opt{sortcites} option in the situation when a style has different name list truncation rules for citations than it has for the reference list. Citations can then be forced to sort using a different reference context that uses a modified sorting name key template that enforces the correct name list truncation for citation sorting with:
9598
9599 \begin{ltxexample}
9600 \DeclareSortingNamekeyTemplate[mycitesorttemplate]{
9601 \visibilty{cite}
9602 .
9603 .
9604 .
9605 \end{ltxexample}
9606 %
9607 and then force this to be used with e.g.:
9608
9609 \begin{ltxexample}
9610 \newrefcontext[sortingnamekeytemplate=mycitesorttemplate]
9611 \cite{a,b,c}
9612 \end{ltxexample}
9613 %
9614 One thing to note is that a reference context will not be written to the \file{.bcf} if no \cmd{printbibliography} or \cmd{printbiblist} occurs within it which will mean that \biber will not generate any sorted data for the refcontext. Therefore if the requirement is to just correctly sort citations using this refcontext, you will need to force the writing of the refcontext using \cmd{GenRefcontextData} (see \secref{use:bib:context}):
9615
9616 \begin{ltxexample}
9617 % make sure sorting data using this template is
9618 % generated since no \printbibliography/\printbiblist
9619 % occurs in the refcontext with
9620 % sortingnamekeytemplatename=mycitesorttemplate,
9621 % this won't happen by default
9622 \GenRefcontextData{sortingnamekeytemplatename=mycitesorttemplate}
9623 % Switch to this refcontext to use the correct
9624 % sorted data using the sorting name key template
9625 % which uses "cite" visibility for the name lists
9626 \newrefcontext[sortingnamekeytemplate=mycitesorttemplate]
9627 % citations are correctly sorted
9628 \cite{a,b,c}
9629 % Switch to the default sorting name key template
9630 % for the actual list of references which uses the
9631 % default sorting visibility for the name lists
9632 \newrefcontext[sortingnamekeytemplate=global]
9633 % references are correctly sorted
9634 \printbibliography
9635 \end{ltxexample}
9636
9637 \cmditem{keypart}{part}
9638
9639 \prm{part} is an ordered list of of \cmd{namepart} and \cmd{literal} specifications which are concatenated together when constructing a part of the name sorting key. The \cmd{keyparts} are then concatenated together with terminal padding to ensure correct sorting.
9640
9641 \cmditem{literal}{string}
9642
9643 A literal string to insert into the name sorting key.
9644
9645 \cmditem{namepart}{name}
9646
9647 Specifies the \prm{name} of a namepart to use in constructing the name sorting key.
9648
9649 \begin{optionlist*}
9650
9651 \boolitem[true]{use}
9652
9653 Indicates that the namepart \prm{name} is only to be used in this concatenation position if the corresponding \opt{use<name>} option is set to the specified boolean value.
9654
9655 \boolitem[true]{inits}
9656
9657 Indicates that only the initials of namepart \prm{name} are to be used in
9658 constructing the sorting specification.
9659
9660 \end{optionlist*}
9661
9662 \end{ltxsyntax}
9663
9664 As an example, suppose you wanted to be able to sort names by given name rather than family name, you could define a sorting name key template like this:
9665
9666 \begin{ltxexample}
9667 \DeclareNamekeyTemplate[givenfirst]{
9668 \keypart{
9669 \namepart{<<given>>}
9670 }
9671 \keypart{
9672 \namepart[use=true]{<<prefix>>}
9673 }
9674 \keypart{
9675 \namepart{<<family>>}
9676 }
9677 \keypart{
9678 \namepart[use=false]{<<prefix>>}
9679 }
9680 }
9681 \end{ltxexample}
9682 %
9683 You can then use the name \opt{givenfirst} at the appropriate scope in order to make \biber use this template when constructing sorting name keys. For example, you could enable this for one bibliography list like this:
9684
9685 \begin{ltxexample}
9686 \begin{refcontext}[sortnamekeytemplate=givenfirst]
9687 \printbibliography
9688 \end{refcontext}
9689 \end{ltxexample}
9690 %
9691 or perhaps you only want to do this for a particular entry:
9692
9693 \begin{lstlisting}[style=bibtex]{}
9694 @BOOK{key,
9695 OPTIONS = {sortnamekeytemplate=givenfirst},
9696 AUTHOR = {Arnar Vigfusson}
9697 }
9698 \end{lstlisting}
9699 %
9700 or just a name list by using the option as a pseudo-name which will be ignored:
9701
9702 \begin{lstlisting}[style=bibtex]{}
9703 @BOOK{key,
9704 AUTHOR = {sortnamekeytemplate=givenfirst and Arnar Vigfusson}
9705 }
9706 \end{lstlisting}
9707 %
9708 or just a single name by passing the option as part of the extended name information
9709 format which \biber supports (see \secref{use:enf}):
9710
9711 \begin{lstlisting}[style=bibtex]{}
9712 @BOOK{key,
9713 AUTHOR = {given=Arnar, family=Vigfusson, sortnamekeytemplate=givenfirst}
9714 }
9715 \end{lstlisting}
9716 %
9717 Now we give some examples of sorting templates. In the first example, we define a simple name\slash title\slash year template. The name element may be either the \bibfield{author}, the \bibfield{editor}, or the \bibfield{translator}. Given this specification, the sorting routine will use the first element which is available and continue with the \bibfield{title}. Note that the options \opt{use$<$name$>$} options are considered automatically in the sorting process:
9718
9719 \begin{ltxexample}
9720 \DeclareSortingTemplate{sample}{
9721 \sort{
9722 \field{<<author>>}
9723 \field{<<editor>>}
9724 \field{<<translator>>}
9725 }
9726 \sort{
9727 \field{<<title>>}
9728 }
9729 \sort{
9730 \field{<<year>>}
9731 }
9732 }
9733 \end{ltxexample}
9734 %
9735 In the next example, we define the same template in a more elaborate way, considering special fields such as \bibfield{presort}, \bibfield{sortkey}, \bibfield{sortname}, etc. Since the \bibfield{sortkey} field specifies the master sort key, it needs to override all other elements except for \bibfield{presort}. This is indicated by the \opt{final} option. If the \bibfield{sortkey} field is available, processing will stop at this point. If not, the sorting routine continues with the next \cmd{sort} directive. This setup corresponds to the default definition of the \texttt{nty} template:
9736
9737 \begin{ltxexample}
9738 \DeclareSortingTemplate{nty}{
9739 \sort{
9740 \field{<<presort>>}
9741 }
9742 \sort[final]{
9743 \field{<<sortkey>>}
9744 }
9745 \sort{
9746 \field{<<sortname>>}
9747 \field{<<author>>}
9748 \field{<<editor>>}
9749 \field{<<translator>>}
9750 \field{<<sorttitle>>}
9751 \field{<<title>>}
9752 }
9753 \sort{
9754 \field{<<sorttitle>>}
9755 \field{<<title>>}
9756 }
9757 \sort{
9758 \field{<<sortyear>>}
9759 \field{<<year>>}
9760 }
9761 }
9762 \end{ltxexample}
9763 %
9764 Finally, here is an example of a sorting template which overrides the global sorting locale and additionally overrides again when sorting by the \bibfield{origtitle} field. Note the use in the template-level override of a babel/polyglossia language name instead of a real locale identifier. \biber will map this to a suitable, real locale identifier (in this case, \texttt{sv\_SE}):
9765
9766 \begin{ltxexample}
9767 \DeclareSortingTemplate[locale=swedish]{custom}{
9768 \sort{
9769 \field{<<sortname>>}
9770 \field{<<author>>}
9771 \field{<<editor>>}
9772 \field{<<translator>>}
9773 \field{<<sorttitle>>}
9774 \field{<<title>>}
9775 }
9776 \sort[locale=de_DE_phonebook]{
9777 \field{<<origtitle>>}
9778 }
9779 }
9780 \end{ltxexample}
9781
9782 \begin{ltxsyntax}
9783
9784 \cmditem{DeclareSortExclusion}{entrytype, \dots}{field, \dots}
9785
9786 Specifies fields to be excluded from sorting on a per-type basis. The \prm{entrytype} argument and the \prm{field} argument may be a comma"=separated list of values. A blank \prm{field} argument will clear all exclusions for this \prm{entrytype}. A value of <*> for \prm{entrytype} will exclude \prm{field,\dots} for every entrytype. This is equivalent to simply deleting the field from the sorting specification and is only normally used in combination with \cmd{DeclareSortInclusion} when one wishes to exclude a field for all but explicitly included entrytypes. See example in \cmd{DeclareSortInclusion} below. This command may only be used in the preamble.
9787
9788 \cmditem{DeclareSortInclusion}{entrytype, \dots}{field, \dots}
9789
9790 Only used along with \cmd{DeclareSortExclusion}. Specifies fields to be included in sorting on a per-type basis. This allows the user to exclude a field from sorting for all entrytypes and then to override this for certain entrytypes. This is easier sometimes than using \cmd{DeclareSortExclusion} to list exclusions for many entrytypes. The \prm{entrytype} argument and the \prm{field} argument may be a comma"=separated list of values. This command may only be used in the preamble. For example, this would use \bibfield{title} during sorting only for \bibtype{article}s:
9791
9792 \begin{ltxexample}
9793 \DeclareSortExclusion{*}{title}
9794 \DeclareSortInclusion{article}{title}
9795 \end{ltxexample}
9796
9797 \cmditem{DeclarePresort}[entrytype, \dots]{string}
9798
9799 Specifies a string to be used to automatically populate the \bibfield{presort} field of entries without a \bibfield{presort} field. The \bibfield{presort} may be defined globally or on a per-type basis. If the optional \prm{entrytype} argument is given, the \prm{string} applies to the respective entry type. If not, it serves as the global default value. Specifying an \prm{entrytype} in conjunction with a blank \prm{string} will clear the type-specific setting. The \prm{entrytype} argument may be a comma"=separated list of values. This command may only be used in the preamble.
9800
9801 \cmditem{DeclareSortTranslit}[entrytype]{specification}
9802
9803 Languages which can be written in different scripts or alphabets often only have CLDR sorting tailoring for one script and it is expected that you transliterate into the supported script for sorting purposes. A common example is Sanskrit which is often written in academic contexts in IAST
9804 romanised script but which needs to be sorted in the <sa> locale which expects the Devanāgarī script. Another common case is transliteration of Russian Cyrillic into Latin as defined by the ALA-LC standard. Such requirement means that it is necessary to transliterate into the sorting script internally. \cmd{DeclareSortTranslit} declares which parts of an entry you would like to transliterate for sorting purposes. Without the \prm{entrytype} parameter, the \prm{specification} applies to all entrytypes. The \prm{specification} is one or more \cmd{translit} commands:
9805
9806 \cmditem{translit}[langids]{field or fieldset}{from}{to}
9807
9808 Specifies that the data field \bibfield{field} or all fields in a fieldset \prm{fieldset} declared with \cmd{DeclareDatafieldSet} (see \secref{aut:ctm:dsets}) should be transliterated from script \prm{from} to script \prm{to} for sorting purposes. The field/set argument should be <*> to apply transliteration to all fields. The valid \prm{from} and \prm{to} values are given in table \ref{tab:translit}. The optional \prm{langids} parameter is a comma-separated list of \bibfield{langid} fields and the transliteration will apply only to bibliography entries containing one of the \bibfield{langid}s in the list. Note that \biblatex does not aim to support general transliteration, only those which are useful for sorting purposes. Please open a GitHub ticket for \biblatex\ if you think you need additional transliterations.
9809
9810 An example of transliterating titles so that they sort correctly in Sanskrit. This example assumes that entries that should have their title fields transliterated have a \bibfield{langid} field set to <sanskrit>.
9811
9812 \begin{ltxexample}
9813 \DeclareDatafieldSet{settitles}{
9814 \member[field=title]
9815 \member[field=booktitle]
9816 \member[field=eventtitle]
9817 \member[field=issuetitle]
9818 \member[field=journaltitle]
9819 \member[field=maintitle]
9820 \member[field=origtitle]
9821 }
9822
9823 \DeclareSortTranslit{
9824 \translit[sanskrit]{settitles}{iast}{devanagari}
9825 }
9826 \end{ltxexample}
9827
9828 \end{ltxsyntax}
9829
9830 \begin{table}
9831 \caption{Valid transliteration pairs}
9832 \label{tab:translit}
9833 \tablesetup\centering
9834 \begin{tabular}{lll}
9835 \toprule
9836 \sffamily\bfseries\spotcolor From
9837 & \sffamily\bfseries\spotcolor To
9838 & Description\\
9839 \midrule
9840 iast & devanagari & Sanskrit IAST to Devanāgarī\\
9841 russian & ala-lc & ALA-LC romanisation for Russian\\
9842 russian & bgn/pcgn-standard & BGN/PCGN:1947 (Standard Variant), Cyrillic to Latin, Russian\\
9843 \bottomrule
9844 \end{tabular}
9845 \end{table}
9846
9847 \subsubsection[Bibliography List Filters]{Bibliography List Filters}
9848 \label{aut:ctm:bibfilt}
9849
9850 When using customisable bibliography lists (See \secref{use:bib:biblist}), usually one wants to return in the \file{.bbl} only those entries which have the particular fields which the bibliography list is summarising. For example, when printing a normal list of shorthands, you want the list returned by \biber in the \file{.bbl} to contain only those entries which have a \bibfield{shorthand} field. This is accomplished by defining a bibliography list filter using the \cmd{DeclareBiblistFilter} command. This differs from the filters defined using \cmd{defbibfilter} (see \secref{use:bib:flt}) since the filters defined by \cmd{defbibfilter} run inside \biblatex after the \file{.bbl} has been generated.
9851
9852 \begin{ltxsyntax}
9853 \cmditem{DeclareBiblistFilter}{name}{specification}
9854
9855 Defines a bibliography list filter with \prm{name}. The \prm{specification} consists of one or more \cmd{filter} or \cmd{filteror} macros, all of which must be satisfied for the entry to pass the filter:
9856
9857 \cmditem{filter}[filterspec]
9858
9859 Filter entries according to the \prm{filterspec}. \prm{filterspec} can be one of:
9860
9861 \end{ltxsyntax}
9862
9863 \begin{description}
9864 \item[type=type/nottype, filter=\prm{entrytype}] Entry is/is not of \bibfield{entrytype}
9865 \item[type=subtype/notsubtype, filter=\prm{subtype}] Entry is/is not of \bibfield{subtype}
9866 \item[type=keyword/notkeyword, filter=\prm{keyword}] Entry has/does not have \bibfield{keyword}
9867 \item[type=field/notfield, filter=\prm{field}] Entry has/does not have a field called \bibfield{field}
9868 \end{description}
9869
9870 \begin{ltxsyntax}
9871 \cmditem{filteror}{type}{filters}
9872
9873 A wrapper around one or more \cmd{filter} commands specifying that they form a disjunctive set, i.e. any one of the \prm{filters} must be satisfied.
9874
9875 \end{ltxsyntax}
9876
9877 Fields in the datamodel which are marked as <Label fields> (see \secref{aut:ctm:dm}) automatically have a filter defined for them with the same name and which filters out any entries which do no contain the field. For example, \biblatex automatically generates a filter for the \bibfield{shorthand} field:
9878
9879 \begin{ltxexample}
9880 \DeclareBiblistFilter{<<shorthand>>}{
9881 \filter[type=field,filter=shorthand]
9882 }
9883 \end{ltxexample}
9884
9885 \subsubsection{Controlling Name Initials Generation}
9886 \label{aut:ctm:noinit}
9887
9888 Generating initials for name parts from a given name involves some difficulties when you have names with prefixes, diacritics, hyphens etc. Often, you want to ignore things like prefixes when generating initials so that the initials for «al-Hasan» is just «H» instead of «a-H». This is tricky when you also have names like «Ho-Pun» where you want the initials to be «H-P», for example.
9889
9890 \begin{ltxsyntax}
9891
9892 \cmditem{DeclareNoinit}{specification}
9893
9894 Defines regular expressions to strip from names before generating initials. The \prm{specification} is an undelimited list of \cmd{noinit} directives which specify the regular expressions to remove from the name. Spaces, tabs and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9895
9896 \cmditem{noinit}{regexp}
9897
9898 Any number of \cmd{noinit} commands can be given each of which specifies to remove the \prm{regexp} from the copy of the name which the initials generation system sees. Since regular expressions usually contain special characters, it is best to enclose them in the provided \cmd{regexp} macro as shown---this will pass the expression through to \biber correctly.
9899
9900 \end{ltxsyntax}
9901
9902 If there is no \cmd{DeclareNoinit} specification, \biber will default to:
9903
9904 \begin{ltxexample}
9905 \DeclareNoinit{
9906 % strip lowercase prefixes like 'al-' when generating initials from names
9907 \noinit{\regexp{<<\b\p{Ll}{2}\p{Pd}>>}}
9908 % strip some common diacritics when generating initials from names
9909 \noinit{\regexp{<<[\x{2bf}\x{2018}]>>}}
9910 }
9911 \end{ltxexample}
9912 %
9913 This \biber default strips a couple of diacritics and also strips lowercase prefixes from names before generating initials.
9914
9915 \subsubsection{Fine Tuning Sorting}
9916 \label{aut:ctm:nosort}
9917
9918 It can be useful to fine tune sorting so that it ignores certain parts of particular fields.
9919
9920 \begin{ltxsyntax}
9921
9922 \cmditem{DeclareNosort}{specification}
9923
9924 Defines regular expressions to strip from particular fields or types of fields when sorting. The \prm{specification} is an undelimited list of \cmd{nosort} directives which specify the regular expressions to remove from particular fields or type of field. Spaces, tabs and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9925
9926 \cmditem{nosort}{field or datafield set}{regexp}
9927
9928 Any number of \cmd{nosort} commands can be given each of which specifies to remove the \prm{regexp} from the \prm{field} or \prm{datafield set}. A \prm{datafield set} is simply a convenience grouping of semantically similar fields from which you might want to remove a regexp. See \secref{aut:ctm:dsets} for the available sets, their members and customisation. Since regular expressions usually contain special characters, it is best to enclose them in the provided \cmd{regexp} macro as shown---this will pass the expression through to \biber correctly.
9929
9930 \end{ltxsyntax}
9931
9932 The default is:
9933
9934 \begin{ltxexample}
9935 \DeclareNosort{
9936 % strip prefixes like 'al-' when sorting names
9937 \nosort{setnames}{\regexp{<<\A\p{L}{2}\p{Pd}>>}}
9938 % strip some diacritics when sorting names
9939 \nosort{setnames}{\regexp{<<[\x{2bf}\x{2018}]>>}}
9940 }
9941 \end{ltxexample}
9942 %
9943 This \biber default strips a couple of diacritics and also strips two-letter prefixes (like «Al-») from names when sorting. Suppose you wanted to ignore «The» at the beginning of the \bibfield{title} field when sorting:
9944
9945 \begin{ltxexample}
9946 \DeclareNosort{
9947 \nosort{<<title>>}{\regexp{<<\AThe\s+>>}}
9948 }
9949 \end{ltxexample}
9950 %
9951 Or if you wanted to ignore «The» at the beginning of any title field:
9952
9953 \begin{ltxexample}
9954 \DeclareNosort{
9955 \nosort{<<settitles>>}{\regexp{<<\AThe\s+>>}}
9956 }
9957 \end{ltxexample}
9958
9959 \subsubsection{Fine Tuning hashing and uniquename}
9960 \label{aut:ctm:nonamestring}
9961
9962 \begin{ltxsyntax}
9963 \cmditem{DeclareNonamestring}{specification}
9964
9965 Defines regular expressions to strip from name fields when
9966 generating \bibfield{fullhash}, \bibfield{fullhashraw} and \bibfield{uniquename}. The \prm{specification} is an undelimited list of \cmd{nonamestring} directives which specify the regular expressions to remove from particular name fields. Spaces, tabs and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble.
9967
9968 \cmditem{nonamestring}{namefield or datafield name set}{regexp}
9969
9970 Any number of \cmd{nonamestring} commands can be given each of which
9971 specifies to remove the \prm{regexp} from the \prm{namefield} or
9972 \prm{datafield name set}. A \prm{datafield name set} is simply a
9973 convenience grouping of semantically similar fields from which you might
9974 want to remove a regexp. See \secref{aut:ctm:dsets} for the available sets,
9975 their members and customisation. Only set of name lists are relevant to
9976 this command. Since regular expressions usually contain special characters,
9977 it is best to enclose them in the provided \cmd{regexp} macro as
9978 shown---this will pass the expression through to \biber correctly.
9979
9980 \end{ltxsyntax}
9981
9982 Suppose you wanted to ignore square brackets in names in the
9983 \bibfield{author} name field and treat <D[onald] Knuth> the same as <Donald
9984 Knuth> for purposes \bibfield{uniquename} and hashing so that both variants
9985 appeared together in a dashed bibliography style and were also treated the
9986 same when calculating \bibfield{uniquename}:
9987
9988 \begin{ltxexample}
9989 \DeclareNonamestring{
9990 \nonamestring{<<author>>}{\regexp{<<[\[\]]>>}}
9991 }
9992 \end{ltxexample}
9993 %
9994 For consistency, it is often desirable to use the same regexp in \cmd{DeclareNosort}.
9995
9996
9997 \subsubsection{Special Fields}
9998 \label{aut:ctm:fld}
9999
10000 Some of the automatically generated fields from \secref{aut:bbx:fld:lab} may be customized.
10001
10002 \begin{ltxsyntax}
10003
10004 \cmditem{DeclareLabelname}[entrytype, \dots]{specification}
10005
10006 Defines the fields to consider when generating the \bibfield{labelname} field (see \secref{aut:bbx:fld:lab}). The \prm{specification} is an ordered list of \cmd{field} commands. The fields are checked in the order listed and the first field which is available will be used as \bibfield{labelname}. This is the default definition:
10007
10008 \begin{ltxexample}
10009 \DeclareLabelname{%
10010 \field{shortauthor}
10011 \field{author}
10012 \field{shorteditor}
10013 \field{editor}
10014 \field{translator}
10015 }
10016 \end{ltxexample}
10017 %
10018 The \bibfield{labelname} field may be customized globally or on a per-type basis. If the optional \prm{entrytype} argument is given, the specification applies to the respective entry type. If not, it is applied globally. The \prm{entrytype} argument may be a comma"=separated list of values. This command may only be used in the preamble.
10019
10020 \cmditem{DeclareLabeldate}[entrytype, \dots]{specification}
10021
10022 Defines the date components to consider when generating \bibfield{labelyear}, \bibfield{labelmonth}, \bibfield{labelday}, \bibfield{labelendyear}, \bibfield{labelendmonth} and \bibfield{labelendday} fields (see \secref{aut:bbx:fld:lab}). The \prm{specification} is an ordered list of \cmd{field} or \cmd{literal} commands. The items are checked in the order listed and the first item which is available will be used to popluate the mentioned fields. Note that the \cmd{field} items do not have to be datetype <date> in the data model so that you can create pseudo-year labels by, for example, using a \bibfield{pubstate} field contents, if available, as the year label by defining \cmd{DeclareLabeldate} suitably. Note also that a \cmd{literal} command will always be used when found and so this should always be the last thing in the list. If the value of a \cmd{literal} command is a valid localisation string, then this will be resolved in the current language, otherwise the value is used as a literal string as-is. This is the default definition:
10023
10024 \begin{ltxexample}
10025 \DeclareLabeldate{%
10026 \field{date}
10027 \field{year}
10028 \field{eventdate}
10029 \field{origdate}
10030 \field{urldate}
10031 \literal{nodate}
10032 }
10033 \end{ltxexample}
10034 %
10035 Note that the \bibfield{date} field is split by the backend into \bibfield{year}, \bibfield{month} which are also valid fields in the default data model. In order to support legacy data which directly sets \bibfield{year} and/or \bibfield{month}, the specification <\bibfield{date}> in \cmd{DeclareLabeldate} will also match \bibfield{year} and \bibfield{month} fields, if present.
10036 The \bibfield{label*} fields may be customized globally or on a per-type basis. If the optional \prm{entrytype} argument is given, the specification applies to the respective entry type. If not, it is applied globally. The \prm{entrytype} argument may be a comma"=separated list of values. This command may only be used in the preamble. See also \secref{aut:bbx:fld:dat}.
10037
10038 \cmditem{DeclareExtradate}{specification}
10039
10040 Defines which date information is used to construct the \bibfield{extradate} field. With the default setting for \cmd{DeclareExtradateContext}, this field (see \secref{aut:bbx:fld:lab}) is printed to disambiguate works by the same \bibfield{labelname} (usually the author) or \bibfield{labeltitle} (usually the main title) which occur in the same date scope. By default, the date scope is the year and so two works by the same author/title within the same year will have different \bibfield{extradate} values which are used to disambiguate the works in the bibliography in the usual manner seen in many authoryear type styles. The \prm{specification} is one or more \cmd{scope} specifications which can contain one or more \cmd{field} specifications. Within a \cmd{scope}, the existence of each \cmd{field} will be checked and if found, the first \cmd{field} is used and the rest are ignored. This allows a fallback in case certain fields are not available in all entries. All \cmd{scope}s are used to track information and \cmd{scope}s should be specified in decreasing order of generality (e.g. year then month then day etc) The default definition is:
10041
10042 \begin{ltxexample}
10043 \DeclareExtradate{%
10044 \scope{
10045 \field{labelyear}
10046 \field{year}
10047 }
10048 }
10049 \end{ltxexample}
10050 %
10051 This means that the \bibfield{labelyear} field only (or \bibfield{year} if this does not exist) will be used to track works by the same author. With the following datasource entries:
10052
10053 \begin{lstlisting}[style=bibtex]{}
10054 @BOOK{extra1,
10055 AUTHOR = {John Doe},
10056 DATE = {2001-01}
10057 }
10058
10059 @BOOK{extra2,
10060 AUTHOR = {John Doe},
10061 DATE = {2001-02}
10062 }
10063 \end{lstlisting}
10064 %
10065 The default definition would result in:
10066
10067 \begin{lstlisting}{}
10068 Doe 2001a
10069 Doe 2001b
10070 \end{lstlisting}
10071 %
10072 Here, \bibfield{extradate} only considers the \bibfield((label)year) information and since this is identical, disambiguation is required. However, consider the following definition:
10073 \begin{ltxexample}
10074 \DeclareExtradate{%
10075 \scope{
10076 \field{labelyear}
10077 \field{year}
10078 }
10079 \scope{
10080 \field{labelmonth}
10081 }
10082 }
10083 \end{ltxexample}
10084 %
10085 The result would be:
10086 \begin{lstlisting}{}
10087 Doe 2001
10088 Doe 2001
10089 \end{lstlisting}
10090 %
10091 If only years were printed, this would be ambiguous because \bibfield{extradate} now considers \bibfield{labelmonth} and since this differs, no disambiguation is necessary. Care should therefore be taken to synchronise the printed information with the \bibfield{extradate} disambiguation settings. Notice that the second definition is <month-in-year> disambiguation and quite different from:
10092 \begin{ltxexample}
10093 \DeclareExtradate{%
10094 \scope{
10095 \field{labelmonth}
10096 }
10097 }
10098 \end{ltxexample}
10099 %
10100 which is just plain <month> disambiguation which is very unlikely to be what you ever want to do since this disambiguation only based on month and ignores the year entirely. \bibfield{extradate} calculation should almost always be based on all information down to the resolution you require. For example, if you wish to disambiguate right down to the hour level (perhaps useful in large bibliographies of rapidly changing online material), you would specify something like this:
10101 \begin{ltxexample}
10102 \DeclareExtradate{%
10103 \scope{
10104 \field{labelyear}
10105 \field{year}
10106 }
10107 \scope{
10108 \field{labelmonth}
10109 }
10110 \scope{
10111 \field{labelday}
10112 }
10113 \scope{
10114 \field{labelhour}
10115 }
10116 }
10117 \end{ltxexample}
10118 %
10119 Entries without the specified granularity of information will disambiguate at the lowest granularity they contain, so, for example, with:
10120 \begin{ltxexample}
10121 \DeclareExtradate{%
10122 \scope{
10123 \field{labelyear}
10124 \field{year}
10125 }
10126 \scope{
10127 \field{labelmonth}
10128 }
10129 }
10130 \end{ltxexample}
10131 %
10132 \begin{lstlisting}[style=bibtex]{}
10133 @BOOK{extra1,
10134 AUTHOR = {John Doe},
10135 DATE = {2001}
10136 }
10137
10138 @BOOK{extra2,
10139 AUTHOR = {John Doe},
10140 DATE = {2001}
10141 }
10142 \end{lstlisting}
10143 %
10144 The result would still be:
10145
10146 \begin{lstlisting}{}
10147 Doe 2001a
10148 Doe 2001b
10149 \end{lstlisting}
10150 %
10151 This command may only be used in the preamble.
10152
10153 \cmditem{DeclareExtradateContext}[entrytype, \dots]{specification}
10154
10155 Defines the context in which identical dates (as determined by \cmd{DeclareExtradate}) are tracked so that \bibfield{extradate} can be appended for disambiguation purposes. Normally this context is the author name so that works of the same date by the same author can be disambiguated in authoryear type styles. Often, when there is no author, the title appears in the author position and the title is used as the context to disambiguate instead. Therefore, the default definition is:
10156
10157 \begin{ltxexample}
10158 \DeclareExtradateContext{%
10159 \field{labelname}
10160 \field{labeltitle}
10161 }
10162 \end{ltxexample}
10163 %
10164 It is unlikely that this will need to be customised for normal use cases.
10165
10166 \cmditem{DeclareLabeltitle}[entrytype, \dots]{specification}
10167
10168 Defines the fields to consider when generating the \bibfield{labeltitle} field (see \secref{aut:bbx:fld:lab}). The \prm{specification} is an ordered list of \cmd{field} commands. The fields are checked in the order listed and the first field which is available will be used as \bibfield{labeltitle}. This is the default definition:
10169
10170 \begin{ltxexample}
10171 \DeclareLabeltitle{%
10172 \field{shorttitle}
10173 \field{title}
10174 }
10175 \end{ltxexample}
10176 %
10177 The \bibfield{labeltitle} field may be customized globally or on a per-type basis. If the optional \prm{entrytype} argument is given, the specification applies to the respective entry type. If not, it is applied globally. The \prm{entrytype} argument may be a comma"=separated list of values. This command may only be used in the preamble.
10178
10179 \end{ltxsyntax}
10180
10181 \subsubsection{Data Inheritance (\bibfield{crossref})}
10182 \label{aut:ctm:ref}
10183
10184 \biber features a highly customizable cross-referencing mechanism with flexible data inheritance rules. This sections deals with the configuration interface. See \apxref{apx:ref} for the default configuration. A note on terminology: the \emph{child} or \emph{target} is the entry with the \bibfield{crossref} field, the \emph{parent} or \emph{source} is the entry the \bibfield{crossref} field points to. The child inherits data from the parent.
10185
10186 \begin{ltxsyntax}
10187
10188 \cmditem{DefaultInheritance}[exceptions]{options}
10189
10190 Configures the default inheritance behavior. This command may only be used in the preamble. The default behavior may be customized be setting the following \prm{options}:
10191
10192 \begin{optionlist*}
10193
10194 \boolitem[true]{all} Whether or not to inherit all fields from the parent by default.
10195
10196 \kvopt{all}{true} means that the child entry inherits all fields from the parent, unless a more specific inheritance rule has been set up with \cmd{DeclareDataInheritance}. If an inheritance rule is defined for a field, data inheritance is controlled by that rule. \kvopt{all}{false} means that no data is inherited from the parent by default and each field to be inherited requires an explicit inheritance rule set up with \cmd{DeclareDataInheritance}. The package default is \kvopt{all}{true}.
10197
10198 \boolitem[false]{override} Whether or not to overwrite target fields with source fields if both are defined. This applies both to automatic inheritance and to explicit inheritance rules. The package default is \kvopt{override}{false}, \ie existing fields of the child entry are not overwritten.
10199
10200 \valitem{ignore}{csv list of uniqueness options}
10201
10202 This option takes a comma-separated list of one of more of <singletitle>, <uniquetitle>, <uniquebaretitle> and/or <uniquework>. The purpose of this option is to ignore tracking information for these three options when the field which would trigger the tracking (\tabref{use:opt:wu}) is inherited. An example---Suppose that you have several \bibtype{book} entries which all crossref a \bibtype{mvbook} from which they get their \bibfield{author} field. You might reasonably want the \cmd{ifsingletitle} test to return <true> for this author as their only <work> is the \bibtype{mvbook}. Similar comments would apply to situations involving the \cmd{ifuniquetitle}, \cmd{ifuniquebaretitle} and \cmd{ifuniquework} tests. The \opt{ignore} option lists which of these should have their tracking information ignored when the fields which would trigger them are inherited. The idea is that the presence of an inherited field does not contribute towards the determination of whether some combination of name/title is unique in the bibliographic data. For example, this modified default setting would ignore \opt{singletitle} and \opt{uniquetitle} tracking:
10203
10204 \begin{ltxexample}
10205 \DefaultInheritance{ignore={singletitle,uniquetitle}, all=true, override=false}
10206 \end{ltxexample}
10207 %
10208 Of course, the ignoring of tracking does nothing if the fields inherited do not play a role in tracking. Only the fields listed in \tabref{use:opt:wu} are relevant to this option.
10209
10210 \end{optionlist*}
10211
10212 The optional \prm{exceptions} are an undelimited list of \cmd{except} directives. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{exceptions}. Blank lines are not permissible.
10213
10214 \cmditem{except}{source}{target}{options}
10215
10216 Defines an exception to the default inheritance rules.
10217
10218 \cmd{DeclareDataInheritance} sets the inheritance \prm{options} for a specific \prm{source} and \prm{target} combination. The \prm{source} and \prm{target} arguments specify the parent and the child entry type. The asterisk matches all types and is permissible in either argument.
10219
10220 \cmditem{DeclareDataInheritance}[options]{source, \dots}{target, \dots}{rules}
10221
10222 Declares inheritance rules. The \prm{source} and \prm{target} arguments specify the parent and the child entry type. Either argument may be a single entry type, a comma"=separated list of types, or an asterisk. The asterisk matches all entry types. The \prm{rules} are an undelimited list of \cmd{inherit} and\slash or \cmd{noinherit} directives. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{rules}. Blank lines are not permissible. This command may only be used in the preamble. The options are:
10223
10224 \begin{optionlist*}
10225
10226 \valitem{ignore}{csv list of uniqueness options}
10227
10228 As the \opt{ignore} option on \cmd{DefaultInheritance} explained above. When set here, it takes precedence over any global options set with \cmd{DefaultInheritance}. For example, this would ignore \opt{singletitle} and \opt{uniquetitle} tracking for a \bibtype{book} inheriting from a \bibtype{mvbook}.
10229
10230 \begin{ltxexample}
10231 \DeclareDataInheritance[ignore={singletitle,uniquetitle}]{mvbook}{book}{<<...>>}
10232 \end{ltxexample}
10233
10234 \end{optionlist*}
10235
10236 \cmditem{inherit}[option]{source}{target}
10237
10238 Defines an inheritance rule by mapping a \prm{source} field to a \prm{target} field. \prm{option} can be one of
10239
10240 \begin{optionlist*}
10241
10242 \boolitem[false]{override}
10243
10244 As the \opt{override} option for \cmd{DefaultInheritance} explained above. When set here, it takes precedence over any global options set with \cmd{DefaultInheritance}.
10245
10246 \end{optionlist*}
10247
10248 \cmditem{noinherit}{source}
10249
10250 Unconditionally prevents inheritance of the \prm{source} field.
10251
10252 \csitem{ResetDataInheritance}
10253
10254 Clears all inheritance rules defined with \cmd{DeclareDataInheritance}. This command may only be used in the preamble.
10255
10256 \end{ltxsyntax}
10257
10258 Here are some practical examples:
10259
10260 \begin{ltxexample}
10261 \DefaultInheritance{<<all=true>>,<<override=false>>}
10262 \end{ltxexample}
10263 %
10264 This example shows how to configure the default inheritance behavior. The above settings are the package defaults.
10265
10266 \begin{ltxexample}
10267 \DefaultInheritance[
10268 \except{<<*>>}{<<online>>}{<<all=false>>}
10269 ]{all=true,override=false}
10270 \end{ltxexample}
10271 %
10272 This example is similar to the one above but adds one exception: entries of type \bibtype{online} will, by default, not inherit any data from any parent.
10273
10274 \begin{ltxexample}
10275 \DeclareDataInheritance{<<collection>>}{<<incollection>>}{
10276 \inherit{<<title>>}{<<booktitle>>}
10277 \inherit{<<subtitle>>}{<<booksubtitle>>}
10278 \inherit{<<titleaddon>>}{<<booktitleaddon>>}
10279 }
10280 \end{ltxexample}
10281 %
10282 So far we have looked at setting up standard inheritance. For example, \kvopt{all}{true} means that the \bibfield{publisher} field of a source entry is copied to the \bibfield{publisher} field of the target entry. In some cases, however, asymmetric mappings are required. They are defined with \cmd{DeclareDataInheritance}. The above example sets up three typical rules for \bibtype{incollection} entries referencing a \bibtype{collection}. We map the \bibfield{title} and related fields of the source to the corresponding \bibfield{booktitle} fields of the target.
10283
10284 \begin{ltxexample}
10285 \DeclareDataInheritance{<<mvbook,book>>}{<<inbook,bookinbook>>}{
10286 \inherit{<<author>>}{<<author>>}
10287 \inherit{<<author>>}{<<bookauthor>>}
10288 }
10289 \end{ltxexample}
10290 %
10291 This rule is an example of one-to-many mapping: it maps the \bibfield{author} field of the source to both the \bibfield{author} and the \bibfield{bookauthor} fields of the target in order to allow for compact \bibfield{inbook}\slash \bibfield{bookinbook} entries. The source may be either a \bibtype{mvbook} or a \bibtype{book} entry, the target either an \bibtype{inbook} or a \bibtype{bookinbook} entry.
10292
10293 \begin{ltxexample}
10294 \DeclareDataInheritance{<<*>>}{<<inbook,incollection>>}{
10295 \noinherit{<<introduction>>}
10296 }
10297 \end{ltxexample}
10298 %
10299 This rule prevents inheritance of the \bibfield{introduction} field. It applies to all targets of type
10300 \bibtype{inbook} or \bibtype{incollection}, regardless of the source entry type.
10301
10302 \begin{ltxexample}
10303 \DeclareDataInheritance{<<*>>}{<<*>>}{
10304 \noinherit{<<abstract>>}
10305 }
10306 \end{ltxexample}
10307 %
10308 This rule, which applies to all entries, regardless of the source and target entry types, prevents inheritance of the \bibfield{abstract} field.
10309
10310 \begin{ltxexample}
10311 \DefaultInheritance{all=true,override=false}
10312 \ResetDataInheritance
10313 \end{ltxexample}
10314 %
10315 This example demonstrates how to emulate traditional \bibtex's cross"=referencing mechanism. It enables inheritance by default, disables overwriting, and clears all other inheritance rules and mappings.
10316
10317 In a bibliography entry, you can give an option <noinherit> where the value
10318 is a datafield set defined with \cmd{DeclareDatafieldSet}
10319 (\secref{aut:ctm:dsets}). This will block inheritance of the fields in the
10320 set on a per-entry basis. For example:
10321
10322 \begin{ltxexample}
10323 \DeclareDatafieldSet{nobtitle}{
10324 \member[field=booktitle]
10325 }
10326 \end{ltxexample}
10327
10328 \begin{lstlisting}[style=bibtex]{}
10329 @INBOOK{s1,
10330 OPTIONS = {noinherit=nobtitle},
10331 TITLE = {Subtitle},
10332 CROSSREF = {s2}
10333 }
10334
10335 @BOOK{s2,
10336 TITLE = {Title}
10337 }
10338 \end{lstlisting}
10339 %
10340 Here, \bibfield{s1} will not inherit the \bibfield{TITLE} of \bibfield{s2}
10341 as \bibfield{BOOKTITLE} as this is blocked by the datafield set given as
10342 the value to the \opt{noinherit} option.
10343 %
10344 One important thing to note is that children will never inherit any dateparts of a given type if they already contain a datepart of that type. So, for example:
10345
10346 \begin{lstlisting}[style=bibtex]{}
10347 @INBOOK{b1,
10348 DATE = {2004-03-03},
10349 ORIGDATE = {2004-03},
10350 CROSSREF = {b2}
10351 }
10352
10353 @BOOK{b2,
10354 DATE = {2004-03-03/2005-08-09},
10355 ORIGDATE = {2004-03/2005-08},
10356 EVENTDATE = {2004-03/2005-08},
10357 }
10358 \end{lstlisting}
10359 %
10360 Here, \bibfield{b1} will not inherit any of \bibfield{endyear}, \bibfield{endmonth}, \bibfield{endday}, \bibfield{origendyear} or \bibfield{origendmonth} as this would make a mess of its own dates. It will, given the inheritance defaults, inherit all of the \bibfield{event*} date parts.
10361
10362 \subsection{Auxiliary Commands}
10363 \label{aut:aux}
10364
10365 The facilities in this section are intended for analyzing and saving bibliographic data rather than formatting and printing it.
10366
10367 \subsubsection{Data Commands}
10368 \label{aut:aux:dat}
10369
10370 The commands in this section grant low"=level access to the unformatted bibliographic data. They are not intended for typesetting but rather for things like saving data to a temporary macro so that it may be used in a comparison later.
10371
10372 \begin{ltxsyntax}
10373
10374 \cmditem{thefield}{field}
10375
10376 Expands to the unformatted \prm{field}. If the \prm{field} is undefined, this command expands to an empty string.
10377
10378 \cmditem{strfield}{field}
10379
10380 Similar to \cmd{thefield}, except that the field is automatically sanitized such that its value may safely be used in the formation of a control sequence name.
10381
10382 \cmditem{csfield}{field}
10383
10384 Similar to \cmd{thefield}, but prevents expansion.
10385
10386 \cmditem{usefield}{command}{field}
10387
10388 Executes \prm{command} using the unformatted \prm{field} as its argument.
10389
10390 \cmditem{thelist}{literal list}
10391
10392 Expands to the unformatted \prm{literal list}. If the list is undefined, this command expands to an empty string. Note that this command will dump the \prm{literal list} in the internal format used by this package. This format is not suitable for printing.
10393
10394 \cmditem{strlist}{literal list}
10395
10396 Similar to \cmd{thelist}, except that the list internal representation is automatically sanitized such that its value may safely be used in the formation of a control sequence name.
10397
10398 \cmditem{thefirstlistitem}{literal list}
10399
10400 Expands to the unformatted first item in \prm{literal list}. If the \prm{literal list} is undefined, this command expands to an empty string.
10401
10402 \cmditem{strfirstlistitem}{literal list}
10403
10404 Similar to \cmd{thefirstlistitem}, except that the item is automatically sanitized such that its value may safely be used in the formation of a control sequence name.
10405
10406 \cmditem{usefirstlistitem}{command}{literal list}
10407
10408 Executes \prm{command} using the unformatted first item of \prm{literal list} as its argument.
10409
10410 \cmditem{thename}{name list}
10411
10412 Expands to the unformatted \prm{name list}. If the list is undefined, this command expands to an empty string. Note that this command will dump the \prm{name list} in the internal format used by this package. This format is not suitable for printing.
10413
10414 \cmditem{strname}{name list}
10415
10416 Similar to \cmd{thename}, except that the name internal representation is automatically sanitized such that its value may safely be used in the formation of a control sequence name.
10417
10418 \cmditem{savefield}{field}{macro}
10419 \cmditem*{savefield*}{field}{macro}
10420
10421 Copies an unformatted \prm{field} to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10422
10423 \cmditem{savelist}{literal list}{macro}
10424 \cmditem*{savelist*}{literal list}{macro}
10425
10426 Copies an unformatted \prm{literal list} to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10427
10428 \cmditem{savename}{name list}{macro}
10429 \cmditem*{savename*}{name list}{macro}
10430
10431 Copies an unformatted \prm{name list} to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10432
10433 \cmditem{savefieldcs}{field}{csname}
10434 \cmditem*{savefieldcs*}{field}{csname}
10435
10436 Similar to \cmd{savefield}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10437
10438 \cmditem{savelistcs}{literal list}{csname}
10439 \cmditem*{savelistcs*}{literal list}{csname}
10440
10441 Similar to \cmd{savelist}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10442
10443 \cmditem{savenamecs}{name list}{csname}
10444 \cmditem*{savenamecs*}{name list}{csname}
10445
10446 Similar to \cmd{savename}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10447
10448 \cmditem{restorefield}{field}{macro}
10449
10450 Restores a \prm{field} from a \prm{macro} defined with \cmd{savefield} before. The field is restored within a local scope.
10451
10452 \cmditem{restorelist}{literal list}{macro}
10453
10454 Restores a \prm{literal list} from a \prm{macro} defined with \cmd{savelist} before. The list is restored within a local scope.
10455
10456 \cmditem{restorename}{name list}{macro}
10457
10458 Restores a \prm{name list} from a \prm{macro} defined with \cmd{savename} before. The list is restored within a local scope.
10459
10460 \cmditem{clearfield}{field}
10461
10462 Clears the \prm{field} within a local scope. A field cleared this way is treated as undefined by subsequent data commands.
10463
10464 \cmditem{clearlist}{literal list}
10465
10466 Clears the \prm{literal list} within a local scope. A list cleared this way is treated as undefined by subsequent data commands.
10467
10468 \cmditem{clearname}{name list}
10469
10470 Clears the \prm{name list} within a local scope. A list cleared this way is treated as undefined by subsequent data commands.
10471
10472 \end{ltxsyntax}
10473
10474 \subsubsection{Stand-alone Tests}
10475 \label{aut:aux:tst}
10476
10477 The commands in this section are various kinds of stand"=alone tests for use in bibliography and citation styles.
10478
10479 \begin{ltxsyntax}
10480
10481 \cmditem{if$<$datetype$>$julian}{true}{false}
10482
10483 Expands to \prm{true} if the date <datetype>date (\opt{date}, \opt{urldate}, \opt{eventdate} etc.) Was converted to the Julian Calendar due to the settings of the \opt{julian}and \opt{gregorianstart} options.
10484
10485 \cmditem{ifdatejulian}{true}{false}
10486
10487 As \cmd{if$<$datetype$>$julian} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{if$<$datetype$>$julian} command is aliased to this command.
10488
10489 \cmditem{if$<$datetype$>$dateera}{era}{true}{false}
10490
10491 Expands to \prm{true} if the date <datetype>date (\opt{date}, \opt{urldate}, \opt{eventdate} etc.) has an era specification equal to \prm{era} and \prm{false} otherwise. The supported \prm{era} strings which \biber determines and passes in the \file{.bbl} are:
10492
10493 \begin{description}
10494 \item[bce]~BCE/BC era
10495 \item[ce]~CE/AD era
10496 \end{description}
10497
10498 This command is useful for determining whether to print the location
10499 strings in \secref{aut:lng:key:dt}.
10500
10501 \cmditem{ifdateera}{era}{true}{false}
10502
10503 As \cmd{if$<$datetype$>$dateera} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{if$<$datetype$>$dateera} command is aliased to this command.
10504
10505 \cmditem{if$<$datetype$>$datecirca}{true}{false}
10506
10507 Expands to \prm{true} if the date <datetype>date (\opt{date}, \opt{urldate}, \opt{eventdate} etc.) had a <circa> marker in the source and \prm{false} otherwise. See \secref{bib:use:dat}. This command is useful for determining whether to print the location strings in \secref{aut:lng:key:dt}.
10508
10509 \cmditem{ifdatecirca}{true}{false}
10510
10511 As \cmd{if$<$datetype$>$datecirca} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{if$<$datetype$>$datecirca} command is aliased to this command.
10512
10513 \cmditem{if$<$datetype$>$dateuncertain}{true}{false}
10514
10515 Expands to \prm{true} if the date <datetype>date (\opt{date}, \opt{urldate}, \opt{eventdate} etc.) had an uncertainty marker in the source and \prm{false} otherwise. See \secref{bib:use:dat}. This command is useful for determining whether to print, for example, a question mark after a year.
10516
10517 \cmditem{ifdateuncertain}{true}{false}
10518
10519 As \cmd{if$<$datetype$>$dateuncertain} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{if$<$datetype$>$dateuncertain} command is aliased to this command.
10520
10521 \cmditem{ifenddateuncertain}{true}{false}
10522
10523 As \cmd{ifend$<$datetype$>$dateuncertain} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{ifend$<$datetype$>$dateuncertain} command is aliased to this command.
10524
10525 \cmditem{if$<$datetype$>$dateunknown}{true}{false}
10526
10527 Expands to \prm{true} if the date <datetype>date (\opt{date}, \opt{urldate}, \opt{eventdate} etc.) is marked as unknown (as opposed to open) in the source and \prm{false} otherwise. See \secref{bib:use:dat}.
10528
10529 \cmditem{ifdateunknown}{true}{false}
10530
10531 As \cmd{if$<$datetype$>$dateunknown} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{if$<$datetype$>$dateunknown} command is aliased to this command.
10532
10533 \cmditem{ifenddateunknown}{true}{false}
10534
10535 As \cmd{ifend$<$datetype$>$dateunknown} but for use in \cmd{mkbibdate*} formatting commands (\secref{aut:fmt:lng}) inside which the appropriate \cmd{ifend$<$datetype$>$dateunknown} command is aliased to this command.
10536
10537 \cmditem{iflabeldateisdate}{true}{false}
10538
10539 Expands to \prm{true} if labeldate is defined and was obtained from date, and to \prm{false} otherwise.
10540
10541 \cmditem{ifdatehasyearonlyprecision}{datetype}{true}{false}
10542
10543 Expands to \prm{true} if the \prm{datetype}date is defined and would be shown with year precision \cmd{print$<$datetype$>$date}, and to false otherwise.
10544
10545 \cmditem{ifdatehastime}{datetype}{true}{false}
10546
10547 Expands to \prm{true} if the \prm{datetype}date is defined, has a time component and \opt{$<$datetype$>$dateusetime} is true, and to false otherwise.
10548
10549 \cmditem{ifdateshavedifferentprecision}{datetype1}{datetype2}{true}{false}
10550
10551 Expands to \prm{true} if the two dates \prm{datetype1} and \prm{datetype2} would show in different precision when printed with \cmd{print$<$datetype1$>$date} and \cmd{print$<$datetype2$>$date} respectively, and to \prm{false} otherwise.
10552
10553 \cmditem{ifdateyearsequal}{datetype1}{datetype2}{true}{false}
10554
10555 Expands to \prm{true} if the two dates \prm{datetype1} and \prm{datetype2} have the same year and era. Since the sign of the date is saved in the era field, years should be compared using this command to avoid confusion when the two years have opposite signs
10556
10557 \cmditem{ifdatesequal}{datetype1}{datetype2}{true}{false}
10558
10559 Expands to \prm{true} if the two dates \prm{datetype1} and \prm{datetype2} are the same. Here \prm{datetype2} may be the <end> bit of \prm{datetype1} (or vice versa).
10560
10561 \cmditem{ifdaterangesequal}{datetype1}{datetype2}{true}{false}
10562
10563 Expands to \prm{true} if the two date ranges---that is the start and the end date---\prm{datetype1} and \prm{datetype2} are the same.
10564
10565
10566 \cmditem{ifcaselang}[language]{true}{false}
10567
10568 Expands to \prm{true} if the optional \prm{language} is one of those
10569 declared by \cmd{DeclareCaseLangs} (see \secref{aut:aux:msc}) and to
10570 \prm{false} otherwise. Without the optional argument, checks the current
10571 value of \cmd{currentlang}.
10572
10573 \cmditem{ifsortingnamekeytemplatename}{string}{true}{false}
10574
10575 Expands to \prm{true} if the \prm{string} is equal to the current in scope sorting name key template name (see \ref{aut:ctm:srt}), and to \prm{false} otherwise.
10576
10577 \cmditem{ifuniquenametemplatename}{string}{true}{false}
10578
10579 Expands to \prm{true} if the \prm{string} is equal to the current in scope uniqueness name key template name (see \ref{aut:ctm:srt}), and to \prm{false} otherwise.
10580
10581 \cmditem{iflabelalphanametemplatename}{string}{true}{false}
10582
10583 Expands to \prm{true} if the \prm{string} is equal to the current in scope alphabetic label name template name (see \ref{aut:ctm:srt}), and to \prm{false} otherwise.
10584
10585 \cmditem{ifnamehashtemplatename}{string}{true}{false}
10586
10587 Expands to \prm{true} if the \prm{string} is equal to the current in scope name hash template name (see \ref{aut:cav:ni}), and to \prm{false} otherwise.
10588
10589 \cmditem{iffieldundef}{field}{true}{false}
10590
10591 Expands to \prm{true} if the \prm{field} is undefined, and to \prm{false} otherwise.
10592
10593 \cmditem{iflistundef}{literal list}{true}{false}
10594
10595 Expands to \prm{true} if the \prm{literal list} is undefined, and to \prm{false} otherwise.
10596
10597 \cmditem{ifnameundef}{name list}{true}{false}
10598
10599 Expands to \prm{true} if the \prm{name list} is undefined, and to \prm{false} otherwise.
10600
10601 \cmditem{iffieldsequal}{field 1}{field 2}{true}{false}
10602
10603 Expands to \prm{true} if the values of \prm{field 1} and \prm{field 2} are equal, and to \prm{false} otherwise.
10604
10605 \cmditem{iflistsequal}{literal list 1}{literal list 2}{true}{false}
10606
10607 Expands to \prm{true} if the values of \prm{literal list 1} and \prm{literal list 2} are equal, and to \prm{false} otherwise.
10608
10609 \cmditem{ifnamesequal}{name list 1}{name list 2}{true}{false}
10610
10611 Expands to \prm{true} if the values of \prm{name list 1} and \prm{name list 2} are equal, and to \prm{false} otherwise.
10612
10613 \cmditem{iffieldequals}{field}{macro}{true}{false}
10614
10615 Expands to \prm{true} if the value of the \prm{field} is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10616
10617 \cmditem{iflistequals}{literal list}{macro}{true}{false}
10618
10619 Expands to \prm{true} if the value of the \prm{literal list} is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10620
10621 \cmditem{ifnameequals}{name list}{macro}{true}{false}
10622
10623 Expands to \prm{true} if the value of the \prm{name list} is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10624
10625 \cmditem{iffieldequalcs}{field}{csname}{true}{false}
10626
10627 Similar to \cmd{iffieldequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10628
10629 \cmditem{iflistequalcs}{literal list}{csname}{true}{false}
10630
10631 Similar to \cmd{iflistequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10632
10633 \cmditem{ifnameequalcs}{name list}{csname}{true}{false}
10634
10635 Similar to \cmd{ifnameequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10636
10637 \cmditem{iffieldequalstr}{field}{string}{true}{false}
10638
10639 Executes \prm{true} if the value of the \prm{field} is equal to \prm{string}, and \prm{false} otherwise. This command is robust.
10640
10641 \cmditem{iffieldxref}{field}{true}{false}
10642
10643 If the \bibfield{crossref}\slash \bibfield{xref} field of an entry is defined, this command checks if the \prm{field} is related to the cross"=referenced parent entry. It executes \prm{true} if the \prm{field} of the child entry is equal to the corresponding \prm{field} of the parent entry, and \prm{false} otherwise. If the \bibfield{crossref}\slash \bibfield{xref} field is undefined, it always executes \prm{false}. This command is robust. See the description of the \bibfield{crossref} and \bibfield{xref} fields in \secref{bib:fld:spc} as well as \secref{bib:cav:ref} for further information concerning cross"=referencing.
10644
10645 \cmditem{iflistxref}{literal list}{true}{false}
10646
10647 Similar to \cmd{iffieldxref} but checks if a \prm{literal list} is related to the cross"=referenced parent entry. See the description of the \bibfield{crossref} and \bibfield{xref} fields in \secref{bib:fld:spc} as well as \secref{bib:cav:ref} for further information concerning cross"=referencing.
10648
10649 \cmditem{ifnamexref}{name list}{true}{false}
10650
10651 Similar to \cmd{iffieldxref} but checks if a \prm{name list} is related to the cross"=referenced parent entry. See the description of the \bibfield{crossref} and \bibfield{xref} fields in \secref{bib:fld:spc} as well as \secref{bib:cav:ref} for further information concerning cross"=referencing.
10652
10653 \cmditem{ifcurrentfield}{field}{true}{false}
10654
10655 Executes \prm{true} if the current field is \prm{field}, and \prm{false} otherwise. This command is robust. It is intended for use in field formatting directives and always executes \prm{false} when used in any other context.
10656
10657 \cmditem{ifcurrentlist}{literal list}{true}{false}
10658
10659 Executes \prm{true} if the current list is \prm{literal list}, and \prm{false} otherwise. This command is robust. It is intended for use in list formatting directives and always executes \prm{false} when used in any other context.
10660
10661 \cmditem{ifcurrentname}{name list}{true}{false}
10662
10663 Executes \prm{true} if the current list is \prm{name list}, and \prm{false} otherwise. This command is robust. It is intended for use in list formatting directives and always executes \prm{false} when used in any other context.
10664
10665 \cmditem{ifuseprefix}{true}{false}
10666
10667 Expands to \prm{true} if the \opt{useprefix} option is enabled (either globally or for the current entry), and \prm{false} otherwise. See \secref{use:opt:bib} for details on this option.
10668
10669 \cmditem{ifuseauthor}{true}{false}
10670
10671 This is just a particular case of the \cmd{ifuse$<$name$>$} macro below but is mentioned here as \bibfield{author} is part of the default data model. Expands to \prm{true} if the \opt{useauthor} option is enabled (either globally or for the current entry), and \prm{false} otherwise. See \secref{use:opt:bib} for details on this option.
10672
10673 \cmditem{ifuseeditor}{true}{false}
10674
10675 This is just a particular case of the \cmd{ifuse$<$name$>$} macro below but is mentioned here as \bibfield{editor} is part of the default data model. Expands to \prm{true} if the \opt{useeditor} option is enabled (either globally or for the current entry), and \prm{false} otherwise. See \secref{use:opt:bib} for details on this option.
10676
10677 \cmditem{ifusetranslator}{true}{false}
10678
10679 This is just a particular case of the \cmd{ifuse$<$name$>$} macro below but is mentioned here as \bibfield{translator} is part of the default data model. Expands to \prm{true} if the \opt{usetranslator} option is enabled (either globally or for the current entry), and \prm{false} otherwise. See \secref{use:opt:bib} for details on this option.
10680
10681 \cmditem{ifuse$<$name$>$}{true}{false}
10682
10683 Expands to \prm{true} if the \opt{use$<$name$>$} option is enabled (either globally or for the current entry), and \prm{false} otherwise. See \secref{use:opt:bib} for details on this option.
10684
10685 \cmditem{ifcrossrefsource}{true}{false}
10686
10687 Expands to \prm{true} if the entry was included in the \file{.bbl} due to being referenced more than \opt{mincrossrefs} times and false otherwise. See \secref{use:opt:pre:gen}. Also expands to false if the entry was directly cited.
10688
10689 \cmditem{ifxrefsource}{true}{false}
10690
10691 Expands to \prm{true} if the entry was included in the \file{.bbl} due to being referenced more than \opt{minxrefs} times and false otherwise. See \secref{use:opt:pre:gen}. Also expands to false if the entry was directly cited.
10692
10693 \cmditem{ifsingletitle}{true}{false}
10694
10695 Expands to \prm{true} if there is only one work by the \opt{labelname} name in the bibliography, and to \prm{false} otherwise. If \opt{labelname} is not set for an entry, this will always expand to \prm{false}. Note that this feature needs to be enabled explicitly with the package option \opt{singletitle}.
10696
10697 \cmditem{ifnocite}{true}{false}
10698
10699 Expands to \prm{true} if the entry was \emph{only} included in the \file{.bbl} via \cmd{nocite}. That is, returns \prm{false} if an entry was both \cmd{nocite}'d and \cmd{cite}'d.
10700
10701 \cmditem{ifuniquetitle}{true}{false}
10702
10703 Expands to \prm{true} if there is only one work with the title \opt{labeltitle} and to \prm{false} otherwise. If \opt{labeltitle} is not set for an entry, this will always expand to \prm{false}. Note that this feature needs to be enabled explicitly with the package option \opt{uniquetitle}.
10704
10705 \cmditem{ifuniquebaretitle}{true}{false}
10706
10707 Expands to \prm{true} if \bibfield{labelname} is empty and there is only one work with the title \opt{labeltitle} and to \prm{false} otherwise. If \opt{labeltitle} is not set for an entry, this will always expand to \prm{false}. Note that this feature needs to be enabled explicitly with the package option \opt{uniquebaretitle}.
10708
10709 \cmditem{ifuniquework}{true}{false}
10710
10711 Expands to \prm{true} if there is only one work by the \opt{labelname} name with the \opt{labeltitle} title in the bibliography, and to \prm{false} otherwise. If neither \opt{labelname} nor \opt{labeltitle} are set for an entry, this will always expand to \prm{false}. Note that this feature needs to be enabled explicitly with the package option \opt{uniquework}. If both \bibfield{singletitle} and \bibfield{uniquetitle} are false for the same entry, this could be because another entry has the same \bibfield{labdlname} and yet another, different, entry has the same \bibfield{labeltitle}. \bibfield{uniquework} would let you know that there is another entry that has \emph{both} the same \bibfield{labelname} \emph{and} the same \bibfield{labeltitle}. This could be helpful in cases where multiple people maintain bibliography datasources and there is a risk of adding the same work with different keys without other parties realising this. This test could help to find such duplicates.
10712
10713 \cmditem{ifuniqueprimaryauthor}{true}{false}
10714
10715 Expands to \prm{true} if the primary (first) author name of \opt{labelname} is unique in the bibliography list and to \prm{false} otherwise. This effectively answers the question <is there more than one author with the same base name>. The base name parts are defined by \cmd{DeclareUniquenameTemplate} see \secref{aut:cav:amb}. This is required by some styles (e.g. APA) which mandates primary author disambiguation only and only if there are (different) primary authors with the same family name. If \opt{labelname} is not set for an entry, this will always expand to \prm{false}. Note that this feature needs to be enabled explicitly with the package option \opt{uniqueprimaryauthor}.
10716
10717 \cmditem{ifandothers}{list}{true}{false}
10718
10719 Expands to \prm{true} if the \prm{list} is defined and has been truncated in the \file{bib} file with the keyword <\texttt{and others}>, and to \prm{false} otherwise. The \prm{list} may be a literal list or a name list.
10720
10721 \cmditem{ifmorenames}{true}{false}
10722
10723 Expands to \prm{true} if the current name list has been or will be truncated, and to \prm{false} otherwise. This command is intended for use in formatting directives for name lists. It will always expand to \prm{false} when used elsewhere. This command performs the equivalent of an \cmd{ifandothers} test for the current list. If this test is negative, it also checks if the \cnt{listtotal} counter is larger than \cnt{liststop}. This command may be used in a formatting directive to decide if a note such as «and others» or «et al.» is to be printed at the end of the list. Note that you still need to check whether you are in the middle or at the end of the list, \ie whether \cnt{listcount} is smaller than or equal to \cnt{liststop}, see \secref{aut:bib:dat} for details.
10724
10725 \cmditem{ifmoreitems}{true}{false}
10726
10727 This command is similar to \cmd{ifmorenames} but checks the current literal list. It is intended for use in formatting directives for literal lists. It will always expand to \prm{false} when used elsewhere.
10728
10729 \cmditem{if$<$namepart$>$inits}{true}{false}
10730
10731 Expands to \prm{true} or \prm{false}, depending on the state of the \opt{$<$namepart$>$inits} package option (see \secref{use:opt:pre:int}). This command is intended for use in formatting directives for name lists.
10732
10733 \cmditem{ifterseinits}{true}{false}
10734
10735 Expands to \prm{true} or \prm{false}, depending on the state of the \opt{terseinits} package option (see \secref{use:opt:pre:int}). This command is intended for use in formatting directives for name lists.
10736
10737 \cmditem{ifentrytype}{type}{true}{false}
10738
10739 Executes \prm{true} if the entry type of the entry currently being processed is \prm{type}, and \prm{false} otherwise.
10740
10741 \cmditem{ifkeyword}{keyword}{true}{false}
10742
10743 Executes \prm{true} if the \prm{keyword} is found in the \bibfield{keywords} field of the entry currently being processed, and \prm{false} otherwise.
10744
10745 \cmditem{ifentrykeyword}{entrykey}{keyword}{true}{false}
10746
10747 A variant of \cmd{ifkeyword} which takes an entry key as its first argument. This is useful for testing an entry other than the one currently processed. A user-facing version of this command is available for use in documents see \secref{use:eq}.
10748
10749 \cmditem{ifcategory}{category}{true}{false}
10750
10751 Executes \prm{true} if the entry currently being processed has been assigned to a \prm{category} with \cmd{addtocategory}, and \prm{false} otherwise.
10752
10753 \cmditem{ifentrycategory}{entrykey}{category}{true}{false}
10754
10755 A variant of \cmd{ifcategory} which takes an entry key as its first argument. This is useful for testing an entry other than the one currently processed. A user-facing version of this command is available for use in documents see \secref{use:eq}
10756
10757 \cmditem{ifciteseen}{true}{false}
10758
10759 Executes \prm{true} if the entry currently being processed has been cited before, and \prm{false} otherwise. This command is robust and intended for use in citation styles. If there are any \env{refsection} environments in the document, the citation tracking is local to these environments. Note that the citation tracker needs to be enabled explicitly with the package option \opt{citetracker}. The behavior of this test depends on the mode the citation tracker is operating in, see \secref{use:opt:pre:int} for details. If the citation tracker is disabled, the test always yields \prm{false}. Also see the \cmd{citetrackertrue} and \cmd{citetrackerfalse} switches in \secref{aut:aux:msc}.
10760
10761 \cmditem{ifentryseen}{entrykey}{true}{false}
10762
10763 A variant of \cmd{ifciteseen} which takes an entry key as its first argument. Since the \prm{entrykey} is expanded prior to performing the test, it is possible to test for entry keys in a field such as \bibfield{xref}:
10764
10765 \begin{ltxexample}
10766 \ifentryseen{<<\thefield{xref}>>}{true}{false}
10767 \end{ltxexample}
10768 %
10769 Apart from the additional argument, \cmd{ifentryseen} behaves like \cmd{ifciteseen}. A user-facing version of this command is available for use in documents see \secref{use:eq}.
10770
10771 \cmditem{ifentryinbib}{entrykey}{true}{false}
10772
10773 Executes \prm{true} if the entry \prm{entrykey} appears in the current bibliography, and \prm{false} otherwise. A user-facing version of this command is available for use in documents see \secref{use:eq}.
10774
10775 \cmditem{iffirstcitekey}{true}{false}
10776
10777 Executes \prm{true} if the entry currently being processed is the first one in the citation list, and \prm{false} otherwise. This command relies on the \cnt{citecount}, \cnt{citetotal}, \cnt{multicitecount} and \cnt{multicitetotal} counters (\secref{aut:fmt:ilc}) and thus is intended for use only in the \prm{loopcode} of a citation command defined with \cmd{DeclareCiteCommand}.
10778
10779 \cmditem{iflastcitekey}{true}{false}
10780
10781 Similar \cmd{iffirstcitekey}, but executes \prm{true} if the entry currently being processed is the last one in the citation list, and \prm{false} otherwise.
10782
10783 \cmditem{ifciteibid}{true}{false}
10784
10785 Expands to \prm{true} if the entry currently being processed is the same as the last one, and to \prm{false} otherwise. This command is intended for use in citation styles. If there are any \env{refsection} environments in the document, the tracking is local to these environments. Note that the <ibidem> tracker needs to be enabled explicitly with the package option \opt{ibidtracker}. The behavior of this test depends on the mode the tracker is operating in, see \secref{use:opt:pre:int} for details. If the tracker is disabled, the test always yields \prm{false}. Also see the \cmd{citetrackertrue} and \cmd{citetrackerfalse} switches in \secref{aut:aux:msc}.
10786
10787 \cmditem{ifciteidem}{true}{false}
10788
10789 Expands to \prm{true} if the primary name (\ie the author or editor) in the entry currently being processed is the same as the last one, and to \prm{false} otherwise. This command is intended for use in citation styles. If there are any \env{refsection} environments in the document, the tracking is local to these environments. Note that the <idem> tracker needs to be enabled explicitly with the package option \opt{idemtracker}. The behavior of this test depends on the mode the tracker is operating in, see \secref{use:opt:pre:int} for details. If the tracker is disabled, the test always yields \prm{false}. Also see \cmd{citetrackertrue} and \cmd{citetrackerfalse} in \secref{aut:aux:msc}.
10790
10791 \cmditem{ifopcit}{true}{false}
10792
10793 This command is similar to \cmd{ifciteibid} except that it expands to \prm{true} if the entry currently being processed is the same as the last one \emph{by this author or editor}. Note that the <opcit> tracker needs to be enabled explicitly with the package option \opt{opcittracker}. The behavior of this test depends on the mode the tracker is operating in, see \secref{use:opt:pre:int} for details. If the tracker is disabled, the test always yields \prm{false}. Also see the \cmd{citetrackertrue} and \cmd{citetrackerfalse} switches in \secref{aut:aux:msc}.
10794
10795 \cmditem{ifloccit}{true}{false}
10796
10797 This command is similar to \cmd{ifopcit} except that it also compares the \prm{postnote} arguments and expands to \prm{true} only if they match and are numerical (in the sense of \cmd{ifnumerals} from \secref{aut:aux:tst}), \ie \cmd{ifloccit} will yield \texttt{true} if the citation refers to the same page cited before. Note that the <loccit> tracker needs to be enabled explicitly with the package option \opt{loccittracker}. The behavior of this test depends on the mode the tracker is operating in, see \secref{use:opt:pre:int} for details. If the tracker is disabled, the test always yields \prm{false}. Also see the \cmd{citetrackertrue} and \cmd{citetrackerfalse} switches in \secref{aut:aux:msc}.
10798
10799 \cmditem{iffirstonpage}{true}{false}
10800
10801 The behavior of this command is responsive to the package option \opt{pagetracker}. If the option is set to \texttt{page}, it expands to \prm{true} if the current item is the first one on the page, and to \prm{false} otherwise. If the option is set to \texttt{spread}, it expands to \prm{true} if the current item is the first one on the double-page spread, and to \prm{false} otherwise. If the page tracker is disabled, this test always yields \prm{false}. Depending on the context, the <item> may be a citation or an entry in the bibliography or a bibliography list. Note that this test distinguishes between body text and footnotes. For example, if used in the first footnote on a page, it will expand to \prm{true} even if there is a citation in the body text prior to the footnote. Also see the \cmd{pagetrackertrue} and \cmd{pagetrackerfalse} switches in \secref{aut:aux:msc}.
10802
10803 \cmditem{ifsamepage}{instance 1}{instance 2}{true}{false}
10804
10805 This command expands to \prm{true} if two instances of a reference are located on the same page or double-page spread, and to \prm{false} otherwise. An instance of a reference may be a citation or an entry in the bibliography or a bibliography list. These instances are identified by the value of the \cnt{instcount} counter, see \secref{aut:fmt:ilc}. The behavior of this command is responsive to the package option \opt{pagetracker}. If this option is set to \texttt{spread}, \cmd{ifsamepage} is in fact an <if same spread> test. If the page tracker is disabled, this test always yields \prm{false}. The arguments \prm{instance 1} and \prm{instance 2} are treated as integer expressions in the sense of \etex's \cmd{numexpr}. This implies that it is possible to make calculations within these arguments, for example:
10806
10807 \begin{ltxexample}
10808 \ifsamepage{<<\value>>{instcount}}{<<\value>>{instcount}<<-1>>}{true}{false}
10809 \end{ltxexample}
10810
10811 Note that \cmd{value} is not prefixed by \cmd{the} and that the subtraction is included in the second argument in the above example. If \prm{instance 1} or \prm{instance 2} is an invalid number (for example, a negative one), the test yields \prm{false}. Also note that this test does not distinguish between body text and footnotes. Also see the \cmd{pagetrackertrue} and \cmd{pagetrackerfalse} switches in \secref{aut:aux:msc}.
10812
10813 \cmditem{ifinteger}{string}{true}{false}
10814
10815 Executes \prm{true} if the \prm{string} is a positive integer, and \prm{false} otherwise. This command is robust.
10816
10817 \cmditem{hascomputableequivalent}{string}{true}{false}
10818
10819 Executes \prm{true} if the \prm{string} can be transformed into a \latex-computable integer consisting only of \acr{US-ASCII} characters via \cmd{getcomputableequivalent} and \prm{false} otherwise.
10820 The mapping from non-\acr{US-ASCII} to \acr{US-ASCII} numerals will usually be given in the \file{lbx} file.
10821
10822 \cmditem{ifiscomputable}{string}{true}{false}
10823
10824 Returns \prm{true} if \cmd{ifinteger} or \cmd{hascomputableequivalent} retrurns \prm{true} on \prm{string} and \prm{false} otherwise.
10825
10826 \cmditem{getcomputableequivalent}{string}{macro}
10827
10828 Saves the \acr{US-ASCII} representation of the number given as \prm{string} in \prm{macro}.
10829
10830 \cmditem{ifnumeral}{string}{true}{false}
10831
10832 Executes \prm{true} if the \prm{string} is an Arabic or Roman numeral, and \prm{false} otherwise. This command is robust. See also \cmd{DeclareNumChars} and \cmd{NumCheckSetup} in \secref{aut:aux:msc}.
10833
10834 \cmditem{ifnumerals}{string}{true}{false}
10835
10836 Executes \prm{true} if the \prm{string} is a range or a list of Arabic or Roman numerals, and \prm{false} otherwise. This command is robust. In contrast to \cmd{ifnumeral}, it will also execute \prm{true} with arguments like «52--58», «14/15», «1,~3,~5», and so on. See also \cmd{DeclareNumChars}, \cmd{DeclareRangeChars}, \cmd{DeclareRangeCommands}, \cmd{NumCheckSetup}, and \cmd{NumsCheckSetup} in \secref{aut:aux:msc}.
10837
10838 \cmditem{ifpages}{string}{true}{false}
10839
10840 Similar to \cmd{ifnumerals}, but also considers \cmd{DeclarePageCommands} and \cmd{PagesCheckSetup} from \secref{aut:aux:msc}.
10841
10842 \cmditem{iffieldint}{field}{true}{false}
10843
10844 Similar to \cmd{ifinteger}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10845
10846 \cmditem{fieldhascomputableequivalent}{field}{true}{false}
10847
10848 Similar to \cmd{hascomputableequivalent}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10849
10850 \cmditem{iffieldiscomputable}{field}{true}{false}
10851
10852 Similar to \cmd{ifiscomputable}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10853
10854 \cmditem{iffieldnum}{field}{true}{false}
10855
10856 Similar to \cmd{ifnumeral}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10857
10858 \cmditem{iffieldnums}{field}{true}{false}
10859
10860 Similar to \cmd{ifnumerals}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10861
10862 \cmditem{iffieldpages}{field}{true}{false}
10863
10864 Similar to \cmd{ifpages}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
10865
10866 \cmditem{ifbibstring}{string}{true}{false}
10867
10868 Expands to \prm{true} if the \prm{string} is a known localisation key, and to \prm{false} otherwise. The localisation keys defined by default are listed in \secref{aut:lng:key}. New ones may be defined with \cmd{NewBibliographyString}.
10869
10870 \cmditem{ifbibxstring}{string}{true}{false}
10871
10872 Similar to \cmd{ifbibstring}, but the \prm{string} is expanded.
10873
10874 \cmditem{iffieldbibstring}{field}{true}{false}
10875
10876 Similar to \cmd{ifbibstring}, but uses the value of a \prm{field} rather than a literal string in the test. If the \prm{field} is undefined, it expands to \prm{false}.
10877
10878 \cmditem{iffieldplusstringbibstring}{field}{string}{true}{false}
10879
10880 Similar to \cmd{iffieldbibstring}, but appends \prm{string} to the value of \prm{field} and checks if the resulting string is a known localisation key. Expands to \prm{false} if \prm{field} is undefined.
10881
10882 \cmditem{ifdriver}{entrytype}{true}{false}
10883
10884 Expands to \prm{true} if a driver for the \prm{entrytype} is available, and to \prm{false} otherwise.
10885
10886 \cmditem{ifcapital}{true}{false}
10887
10888 Executes \prm{true} if \biblatex's punctuation tracker would capitalize a localisation string at the current location, and \prm{false} otherwise. This command is robust. It may be useful for conditional capitalization of certain parts of a name in a formatting directive.
10889
10890 \cmditem{ifcitation}{true}{false}
10891
10892 Expands to \prm{true} when located in a citation, and to \prm{false} otherwise. Note that this command is responsive to the outermost context in which it is used. For example, if a citation command defined with \cmd{DeclareCiteCommand} executes a driver defined with \cmd{DeclareBibliographyDriver}, any \cmd{ifcitation} tests in the driver code will yield \prm{true}. See \secref{aut:cav:mif} for a practical example.
10893
10894 \cmditem{ifvolcite}{true}{false}
10895
10896 Expands to \prm{true} when located in \cmd{volcite} or a related citation command (\secref{use:cit:spc}), and to \prm{false} otherwise.
10897
10898 \cmditem{ifbibliography}{true}{false}
10899
10900 Expands to \prm{true} when located in a bibliography, and to \prm{false} otherwise. Note that this command is responsive to the outermost context in which it is used. For example, if a driver defined with \cmd{DeclareBibliographyDriver} executes a citation command defined with \cmd{DeclareCiteCommand}, any \cmd{ifbibliography} tests in the citation code will yield \prm{true}. See \secref{aut:cav:mif} for a practical example.
10901
10902 \cmditem{ifnatbibmode}{true}{false}
10903
10904 Expands to \prm{true} or \prm{false} depending on the \opt{natbib} option from \secref{use:opt:ldt}.
10905
10906 \cmditem{ifciteindex}{true}{false}
10907
10908 Expands to \prm{true} or \prm{false} depending on the \opt{indexing} option from \secref{use:opt:pre:gen}.
10909
10910 \cmditem{ifbibindex}{true}{false}
10911
10912 Expands to \prm{true} or \prm{false} depending on the \opt{indexing} option from \secref{use:opt:pre:gen}.
10913
10914 \cmditem{iffootnote}{true}{false}
10915
10916 Expands to \prm{true} when located in a footnote, and to \prm{false} otherwise. Note that footnotes in \env{minipage} environments are considered to be part of the body text. This command will only expand to \prm{true} in footnotes a the bottom of the page and in endnotes as provided by the \sty{endnotes} package.
10917
10918 \cntitem{citecounter}
10919
10920 This counter indicates how many times the entry currently being processed is cited in the current reference section. Note that this feature needs to be enabled explicitly with the package option \opt{citecounter}. If the option is set to \texttt{context}, citations in the body text and in footnotes are counted separately. In this case, \cnt{citecounter} will hold the value of the context it is used in.
10921
10922 \cntitem{maxcitecounter}
10923
10924 This counter holds the maximum value of \cnt{citecounter} across all entries in the current reference section. Like \cnt{citecounter} it is only available if the \opt{citecounter} option is enabled and tracks footnotes and text separately if the option is set to \texttt{context}.
10925
10926 \cntitem{uniquename}
10927 This counter refers to the \bibfield{labelname} list. It is set on a per-name basis. Its value is \texttt{0} if the base parts of the name (by default just the <family> part of the name) are unique, \texttt{1} if adding the other non-base parts of the name (as specified in the uniquename template defined by \cmd{DeclareUniquenameTemplate}) as initials will make it unique, and \texttt{2} if adding the full form of the non-base parts of the name are required to disambiguate the name. This information is required by author-year and author-title citation schemes which add additional parts of the name when citing different authors with the same family name. For example, (given the default \cmd{DeclareUniquenameTemplate} definition) if there is one <John Doe> and one <Edward Doe> in the list of references, this counter will be set to \texttt{1}. If there is one <John Doe> and one <Jane Doe>, the value of the counter will be \texttt{2}. If the option is set to \texttt{init}\slash \texttt{allinit}\slash \texttt{mininit}\slash \texttt{minyearinit}, the counter will be limited to \texttt{1}. This is useful for citations styles which use initials to disambiguate names but never print the full name in citations. If adding the initials is not sufficient to disambiguate the name, \cnt{uniquename} will also be set to \texttt{0} for that name. This feature needs to be enabled explicitly with the package option \opt{uniquename}. Note that the \cnt{uniquename} counter is local to \cmd{printnames} and that it is only set for the \bibfield{labelname} list and for the name list that \bibfield{labelname} has been derived from (typically \bibfield{author} or \bibfield{editor}). Its value is zero in any other context, i.e., it must be evaluated in the name formatting directives handling name lists. See \secref{aut:cav:amb} for further details and practical examples. This counter can be overridden on a per-namepart basis by consulting the \cmd{namepart<namepart>un} macros during name formatting, see \secref{aut:bbx:drv}.
10928
10929 \cntitem{uniquelist}
10930 This counter refers to the \bibfield{labelname} list. It is set on a per-field basis. Its value indicates the number of names required to disambiguate the name list if automatic \cnt{maxnames}\slash \cnt{minnames} truncation would lead to ambiguous citations. For example, if there is one work by <Doe\slash Smith\slash Johnson> and another one by <Doe\slash Edwards\slash Williams>, setting \kvopt{maxnames}{1} would lead to <Doe et al.> in both cases. In this case, \cnt{uniquelist} would be set to \texttt{2} on the \bibfield{labelname} lists of both entries because at least the first two names are required to disambiguate them. Note that the \cnt{uniquelist} counter is local to \cmd{printnames} and that it is only set for the \bibfield{labelname} list and to the name list \bibfield{labelname} has been derived from (typically \bibfield{author} or \bibfield{editor}). Its value is zero in any other context. If available, the \cnt{uniquelist} value will be used automatically by \cmd{printnames} when processing the name list, \ie it will automatically override \cnt{maxnames}\slash \cnt{minnames}. This feature needs to be enabled explicitly with the package option \opt{uniquelist}. See \secref{aut:cav:amb} for further details and practical examples.
10931
10932 \cntitem{parenlevel}
10933
10934 The current nesting level of parentheses and\slash or brackets. This information is only available if the \opt{parentracker} from \secref{use:opt:pre:int} is enabled.
10935
10936 \end{ltxsyntax}
10937
10938 \subsubsection{Tests with \cmd{ifboolexpr} and \cmd{ifthenelse}}
10939 \label{aut:aux:ife}
10940
10941 The tests introduced in \secref{aut:aux:tst} may also be used with the \cmd{ifboolexpr} command provided by the \sty{etoolbox} package and the \cmd{ifthenelse} command provided by the \sty{ifthen} package. The syntax of the tests is slightly different in this case: the \prm{true} and \prm{false} arguments are omitted from the test itself and passed to the \cmd{ifboolexpr} or \cmd{ifthenelse} command instead. Note that the use of these commands implies some processing overhead. If you do not need any boolean operators, it is more efficient to use the stand"=alone tests from \secref{aut:aux:tst}.
10942
10943 \begin{ltxsyntax}
10944
10945 \cmditem{ifboolexpr}{expression}{true}{false}
10946
10947 \sty{etoolbox} command which allows for complex tests with boolean operators and grouping:
10948
10949 \begin{lstlisting}[style=ifthen]{}
10950 \ifboolexpr{ (
10951 test {\ifnameundef{editor}}
10952 and
10953 not test {\iflistundef{location}}
10954 )
10955 or test {\iffieldundef{year}}
10956 }
10957 {...}
10958 {...}
10959 \end{lstlisting}
10960
10961 \cmditem{ifthenelse}{tests}{true}{false}
10962
10963 \sty{ifthen} command which allows for complex tests with boolean operators and grouping:
10964
10965 \begin{lstlisting}[style=ifthen]{}
10966 \ifthenelse{ \(
10967 \ifnameundef{editor}
10968 \and
10969 \not \iflistundef{location}
10970 \)
10971 \or \iffieldundef{year}
10972 }
10973 {...}
10974 {...}
10975 \end{lstlisting}
10976 %
10977 The additional tests provided by \biblatex are only available when \cmd{ifboolexpr} or \cmd{ifthenelse} are used in citation commands and in the bibliography.
10978
10979 \end{ltxsyntax}
10980
10981 \subsubsection{Miscellaneous Commands}
10982 \label{aut:aux:msc}
10983
10984 The section introduced miscellaneous commands and little helpers for use in bibliography and citation styles.
10985
10986 \begin{ltxsyntax}
10987
10988 \cmditem{newbibmacro}{name}[arguments][optional]{definition}
10989 \cmditem*{newbibmacro*}{name}[arguments][optional]{definition}
10990
10991 Defines a macro to be executed via \cmd{usebibmacro} later. The syntax of this command is very similar to \cmd{newcommand} except that \prm{name} may contain characters such as numbers and punctuation marks and does not start with a backslash. The optional argument \prm{arguments} is an integer specifying the number of arguments taken by the macro. If \prm{optional} is given, it specifies a default value for the first argument of the macro, which automatically becomes an optional argument. In contrast to \cmd{newcommand}, \cmd{newbibmacro} issues a warning message if the macro is already defined, and automatically falls back to \cmd{renewbibmacro}. As with \cmd{newcommand}, the regular variant of this command uses the \cmd{long} prefix in the definition while the starred one does not. If a macro has been declared to be long, it may take arguments containing \cmd{par} tokens. \cmd{newbibmacro} and \cmd{renewbibmacro} are provided for convenience. Style authors are free to use \cmd{newcommand} or \cmd{def} instead. However, note that most shared definitions found in \path{biblatex.def} are defined with \cmd{newbibmacro}, hence they must be used and modified accordingly.
10992
10993 \cmditem{renewbibmacro}{name}[arguments][optional]{definition}
10994 \cmditem*{renewbibmacro*}{name}[arguments][optional]{definition}
10995
10996 Similar to \cmd{newbibmacro} but redefines \prm{name}. In contrast to \cmd{renewcommand}, \cmd{renewbibmacro} issues a warning message if the macro is undefined, and automatically falls back to \cmd{newbibmacro}.
10997
10998 \cmditem{providebibmacro}{name}[arguments][optional]{definition}
10999 \cmditem*{providebibmacro*}{name}[arguments][optional]{definition}
11000
11001 Similar to \cmd{newbibmacro} but only defines \prm{name} if it is undefined. This command is similar in concept to \cmd{providecommand}.
11002
11003 \cmditem{letbibmacro}{alias}{name}
11004 \cmditem*{letbibmacro*}{alias}{name}
11005
11006 This command defines the macro \prm{alias} to be an alias of the macro \prm{name}. The definition is performed by \cmd{csletcs}.
11007 An error is issued if \prm{name} is undefined.
11008 The regular variant of this command sanitizes \prm{name} while the starred variant does not.
11009
11010 \cmditem{usebibmacro}{name}
11011 \cmditem*{usebibmacro*}{name}
11012
11013 This command executes the macro \prm{name}, as defined with \cmd{newbibmacro}. If the macro takes any arguments, they are simply appended after \prm{name}. The regular variant of this command sanitizes
11014 \prm{name} while the starred variant does not.
11015
11016 \cmditem{savecommand}{command}
11017 \cmditem{restorecommand}{command}
11018
11019 These commands save and restore any \prm{command}, which must be a command name starting with a backslash. Both commands work within a local scope. They are mainly provided for use in localisation files.
11020
11021 \cmditem{savebibmacro}{name}
11022 \cmditem{restorebibmacro}{name}
11023
11024 These commands save and restore the macro \prm{name}, where \prm{name} is the identifier of a macro defined with \cmd{newbibmacro}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11025
11026 \cmditem{savefieldformat}[entry type]{format}
11027 \cmditem{restorefieldformat}[entry type]{format}
11028
11029 These commands save and restore the formatting directive \prm{format}, as defined with \cmd{DeclareFieldFormat}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11030
11031 \cmditem{savelistformat}[entry type]{format}
11032 \cmditem{restorelistformat}[entry type]{format}
11033
11034 These commands save and restore the formatting directive \prm{format}, as defined with \cmd{DeclareListFormat}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11035
11036 \cmditem{savenameformat}[entry type]{format}
11037 \cmditem{restorenameformat}[entry type]{format}
11038
11039 These commands save and restore the formatting directive \prm{format}, as defined with \cmd{DeclareNameFormat}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11040
11041 \cmditem{savelistwrapperformat}[entry type]{format}
11042 \cmditem{restorelistwrapperformat}[entry type]{format}
11043
11044 These commands save and restore the formatting directive \prm{format}, as defined with \cmd{DeclareListWrapperFormat}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11045
11046 \cmditem{savenamewrapperformat}[entry type]{format}
11047 \cmditem{restorenamewrapperformat}[entry type]{format}
11048
11049 These commands save and restore the formatting directive \prm{format}, as defined with \cmd{DeclareNameWrapperFormat}. Both commands work within a local scope. They are mainly provided for use in localisation files.
11050
11051 \cmditem{ifbibmacroundef}{name}{true}{false}
11052
11053 Expands to \prm{true} if the bibliography macro \prm{name} is undefined, and to \prm{false} otherwise.
11054
11055 This bibliography macro can be used in the following idiom to make a bibliography macro more type specific.
11056 %
11057 \begin{ltxexample}
11058 \letbibmacro{cite:*}{cite}
11059 \newbibmacro{cite:patent}{%
11060 \printtext{\color{red}%
11061 Some citation format specific to patents}}
11062
11063 \renewbibmacro*{cite}{%
11064 \ifbibmacroundef{cite:\thefield{entrytype}}
11065 {\usebibmacro{cite:*}}
11066 {\usebibmacro*{cite:\thefield{entrytype}}}%
11067 }
11068 \end{ltxexample}
11069
11070 \cmditem{iffieldformatundef}[entry type]{name}{true}{false}
11071 \cmditem{iflistformatundef}[entry type]{name}{true}{false}
11072 \cmditem{ifnameformatundef}[entry type]{name}{true}{false}
11073 \cmditem{iflistwrapperformatundef}[entry type]{name}{true}{false}
11074 \cmditem{ifnamewrapperformatundef}[entry type]{name}{true}{false}
11075
11076 Expands to \prm{true} if the formatting directive \prm{format} is undefined, and to \prm{false}
11077 otherwise.
11078
11079 \cmditem{usedriver}{code}{entrytype}
11080
11081 Executes the bibliography driver for an \prm{entrytype}. Calling this command in the \prm{loopcode} of a citation command defined with \cmd{DeclareCiteCommand} is a simple way to print full citations similar to a bibliography entry. Commands such as \cmd{newblock}, which are not applicable in a citation, are disabled automatically by default. The global initialization can be changed with \cmd{AtUsedriver}, see \secref{aut:fmt:hok}. Additional local initialization commands may be passed as the \prm{code} argument. This argument is executed inside the group in which \cmd{usedriver} runs the respective driver. Note that it is mandatory in terms of the syntax but may be left empty. Also note that this command will automatically switch languages if the \opt{autolang} package option is enabled.
11082
11083 \cmditem{bibhypertarget}{name}{text}
11084
11085 A wrapper for \sty{hyperref}'s \cmd{hypertarget} command. The \prm{name} is the name of the anchor, the \prm{text} is arbitrary printable text or code which serves as an anchor. If there are any \env{refsection} environments in the document, the \prm{name} is local to the current environment. If the \opt{hyperref} package option is disabled or the \sty{hyperref} package has not been loaded, this command will simply pass on its \prm{text} argument. See also the formatting directive \texttt{bibhypertarget} in \secref{aut:fmt:ich}.
11086
11087 \cmditem{bibhyperlink}{name}{text}
11088
11089 A wrapper for \sty{hyperref}'s \cmd{hyperlink} command. The \prm{name} is the name of an anchor defined with \cmd{bibhypertarget}, the \prm{text} is arbitrary printable text or code to be transformed into a link. If there are any \env{refsection} environments in the document, the \prm{name} is local to the current environment. If the \opt{hyperref} package option is disabled or the \sty{hyperref} package has not been loaded, this command will simply pass on its \prm{text} argument. See also the formatting directive \texttt{bibhyperlink} in \secref{aut:fmt:ich}.
11090
11091 \cmditem{bibhyperref}[entrykey]{text}
11092
11093 Transforms \prm{text} into an internal link pointing to \prm{entrykey} in the bibliography. If \prm{entrykey} is omitted, this command uses the key of the entry currently being processed. This command is employed to transform citations into clickable links pointing to the corresponding entry in the bibliography. The link target is marked automatically by \biblatex. If there are multiple bibliographies in a document, the target will be the first occurence of \prm{entrykey} in one of the bibliographies. If there are \env{refsection} environments, the links are local to the environment. See also the formatting directive \texttt{bibhyperref} in \secref{aut:fmt:ich}.
11094
11095 \cmditem{ifhyperref}{true}{false}
11096
11097 Expands to \prm{true} if the \opt{hyperref} package option is enabled (which implies that the \sty{hyperref} package has been loaded), and to \prm{false} otherwise.
11098
11099 \cmditem{docsvfield}{field}
11100
11101 Similar to the \cmd{docsvlist} command from the \sty{etoolbox} package, except that it takes a field name as its argument. The value of this field is parsed as a comma"=separated list. If the \prm{field} is undefined, this command expands to an empty string.
11102
11103 \cmditem{forcsvfield}{handler}{field}
11104
11105 Similar to the \cmd{forcsvlist} command from the \sty{etoolbox} package, except that it takes a field name as its argument. The value of this field is parsed as a comma"=separated list. If the \prm{field} is undefined, this command expands to an empty string.
11106
11107 \cmditem{MakeCapital}{text}
11108
11109 Similar to \cmd{MakeUppercase} but only converts the first printable character in \prm{text} to uppercase. Note that the restrictions that apply to \cmd{MakeUppercase} also apply to this command. Namely, all commands in \prm{text} must either be robust or prefixed with \cmd{protect} since the \prm{text} is expanded during capitalization. Apart from \acr{US-ASCII} characters and the standard accent commands, this command also handles the active characters of the \sty{inputenc} package as well as the shorthands of the \sty{babel} package. If the \prm{text} starts with a control sequence, nothing is capitalized. This command is robust.
11110
11111 \cmditem{MakeSentenceCase}{text}
11112 \cmditem*{MakeSentenceCase*}{text}
11113
11114 Converts its \prm{text} argument to sentence case, \ie the first word is capitalized and the remainder of the string is converted to lowercase. This command is robust. The starred variant differs from the regular version in that it considers the language of the entry, as specified in the \bibfield{langid} field. If the \bibfield{langid} field is defined and holds a language declared with \cmd{DeclareCaseLangs} (see below)\footnote{By default, converting to sentence case is enabled for the following language identifiers: \texttt{american}, \texttt{british}, \texttt{canadian}, \texttt{english}, \texttt{australian}, \texttt{newzealand} as well as the aliases \texttt{USenglish} and \texttt{UKenglish}. Use \cmd{DeclareCaseLangs} to extend or change this list.}, then the sentence case conversion is performed. If the \bibfield{langid} field is undefined, then the language list declared with \cmd{DeclareCaseLangs} is checked for the presence of the main document language derived from the \opt{language} option. If found, sentence case conversion is performed, if not, the \prm{text} is not altered in any way. It is recommended to use \cmd{MakeSentenceCase*} rather than the regular variant in formatting directives.
11115
11116 Depending on the option \opt{casechanger} \cmd{MakeCaseChange} and \cmd{MakeCaseChange*} are either implemented using the \sty{expl3} module \sty{l3text} or original \LaTeXe code.
11117
11118 Both variants support the traditional \bibtex convention for \file{bib} files that anything wrapped in a pair of curly braces is not modified when changing the case. For example:
11119
11120 \begin{ltxexample}
11121 \MakeSentenceCase{an Introduction to LaTeX}
11122 \MakeSentenceCase{an Introduction to {LaTeX}}
11123 \end{ltxexample}
11124 %
11125 would yield:
11126
11127 \begin{lstlisting}[style=plain]{}
11128 An introduction to latex
11129 An introduction to LaTeX
11130 \end{lstlisting}
11131 %
11132 In \file{bib} files designed with traditional \bibtex in mind, it has been fairly common to only wrap single letters in braces to prevent case"=changing:
11133
11134 \begin{lstlisting}[style=bibtex]{}
11135 title = {An Introduction to {L}a{T}e{X}}
11136 \end{lstlisting}
11137 %
11138 The problem with this convention is that the braces will suppress the kerning on both sides of the enclosed letter. It is preferable to wrap the entire word in braces as shown in the first example.
11139 Macros in titles must also be protected with braces
11140 \begin{lstlisting}[style=bibtex]{}
11141 title = {The {\TeX book}},
11142 \end{lstlisting}
11143
11144 %
11145 The behaviour of \cmd{MakeSentenceCase} differs slightly between the \opt{latex2e} and \opt{expl3} implementation. Generally speaking, the \opt{expl3} code is closer to the \bibtex behaviour of \texttt{change.case\$}. It is also better equipped to deal with non-\acr{US-ASCII} input and macros than the \opt{latex2e} implementation. \cmd{MakeSentenceCase} behaves as follows.
11146 \begin{itemize}\setlength{\labelsep}{1em}
11147 \item The first letter of its argument is capitalised with \cmd{MakeUppercase}. This is different from \bibtex's \texttt{change.case\$}, which does not touch the first letter of its argument.
11148
11149 Note that with the \opt{latex2e} code a pair of braces that starts with a control sequence will be treated as a single character for capitalisation purposes. This means that the entire argument of a command protected with a single pair of braces is capitalised.
11150 \item With the \opt{latex2e} code expandable commands are expanded before the case change, which means that the case change applies to the replacement text. Unexpandable commands are not touched.
11151
11152 \bibtex does not interpret macros and therefore passes commands through unchanged (this does not necessarily apply to the \emph{arguments} of those commands). The \opt{expl3} implementation also does not expand commands and only applies case change to the arguments.
11153 \item Text wrapped in one or more pairs of braces is protected from case change \emph{unless} it starts with a control sequence. This is the same behaviour as with \bibtex. Note that the braces could either be explicit groups or argument delimiters.
11154 \item Text in a single pair of braces that starts with a control sequence is not protected and will be subject to case changes. Note that this need not apply to braces that are argument delimiters, in fact the \opt{latex2e} implementation of \cmd{MakeSentenceCase} may in some cases produce an error or otherwise undesirable output if the argument of a command starts with a control sequence. \bibtex's case change function does not differentiate between argument delimiters and brace groups and always subjects text at brace level~1 to case change if it starts with a control sequence.
11155 \end{itemize}
11156
11157 For most intents and purposes the following rules should give a sensible result.
11158 \begin{itemize}\setlength{\labelsep}{1em}
11159 \item Protect all words whose case should not be changed by wrapping them in one pair of braces.
11160 \item If words are already in the braced argument of a command such as \cmd{mkbibquote} or \cmd{emph}, they are automatically protected.
11161 \begin{itemize}
11162 \item To \emph{undo} this protection wrap the command in braces again.
11163 \item It is not possible to selectively re-apply protection if it has been undone with an additional pair of braces. If a more fine-grained control is needed, work-arounds like splitting the argument could be tried.
11164 \end{itemize}
11165 \item While it is possible to protect words from case change at the beginning of a field with a pair of braces, it is not possible to undo the case protection that a command automatically implies by wrapping it in braces in that position. In that case work-arounds are necessary.
11166 \end{itemize}
11167 %
11168 \begin{lstlisting}[style=bibtex]{}
11169 title = {The Story of {HMS} \emph{Erebus}
11170 in {\emph{Really}} Strong Wind},
11171 \end{lstlisting}
11172 would be converted to sentence case by \cmd{MakeSentenceCase} as
11173 \begin{quote}
11174 The story of HMS \emph{Erebus} in {\emph{really}} strong wind
11175 \end{quote}
11176
11177 If the \sty{expl3} implementation of the case changing functions is selected, the \bibtex case protection behaviour can be exchanged for a slightly simpler version. When \opt{bibtexcaseprotection} set to \opt{false}, braces no longer automatically imply case protection. Instead words can be protected from case change with \cmd{NoCaseChange}. The examples from above would then read
11178 \begin{lstlisting}[style=bibtex]{}
11179 title = {An Introduction to \NoCaseChange{LaTeX}},
11180 title = {The Story of \NoCaseChange{HMS \emph{Erebus}}
11181 in \emph{Really} Strong Wind},
11182 \end{lstlisting}
11183 Generally, this option should allow for a saner case protection input, because curly braces are no longer overloaded with different levels of meaning, but it is a big departure from the standard case protection input that has been with the \latex world for a long time.
11184
11185 Due to its complex implementation \cmd{MakeSentenceCase} can not accept arbitrary input, it only safely operates on raw text or field data. In the standard styles the \bibfield{title} and other \bibfield{title}-like field formats do not work together with \cmd{MakeSentenceCase} because of their argument structure, so the standard styles offer a dedicated \texttt{titlecase} field format to apply this command. To enable sentence casing in standard styles for languages that support it you would use:
11186 \begin{ltxexample}
11187 \DeclareFieldFormat{titlecase}{<<\MakeSentenceCase*{#1}>>}
11188 \end{ltxexample}
11189 %
11190 Sentence casing can then be disabled by resetting that field format to
11191 \begin{ltxexample}
11192 \DeclareFieldFormat{titlecase}{<<#1>>}
11193 \end{ltxexample}
11194 Custom styles may follow a different approach, but style authors are encouraged to apply the same general ideas to their styles.
11195
11196 \cmditem{mkpageprefix}[pagination][postpro]{text}
11197
11198 This command is intended for use in field formatting directives which format the page numbers in the \prm{postnote} argument of citation commands and the \bibfield{pages} field of bibliography entries. It will parse its \prm{text} argument and prefix it with <p.> or <pp.> by default. The optional \prm{pagination} argument holds the name of a field indicating the pagination type. This may be either \bibfield{pagination} or \bibfield{bookpagination}, with \bibfield{pagination} being the default. The spacing between the prefix and the \prm{text} may be modified by redefining \cmd{ppspace}. The default is an unbreakable interword space. See \secref{bib:use:pag, use:cav:pag} for further details. See also \cmd{DeclareNumChars}, \cmd{DeclareRangeChars}, \cmd{DeclareRangeCommands}, and \cmd{NumCheckSetup}. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. If only one optional argument is given, it is taken as \prm{pagination}. Here are two typical examples:
11199
11200 \begin{ltxexample}
11201 \DeclareFieldFormat{postnote}{<<\mkpageprefix[pagination][\mknormrange]{#1}>>}
11202 \DeclareFieldFormat{pages}{<<\mkpageprefix[bookpagination]{#1}>>}
11203 \end{ltxexample}
11204 %
11205
11206 \cmditem{mkpagetotal}[pagination][postpro]{text}
11207
11208 This command is similar to \cmd{mkpageprefix} except that it is intended for the \bibfield{pagetotal} field of bibliography entries, \ie it will print «123 pages» rather than «page 123». The optional \prm{pagination} argument defaults to \bibfield{bookpagination}. The spacing inserted between the pagination suffix and the \prm{text} may be modified by redefining the macro \cmd{ppspace}. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. If only one optional argument is given, it is taken as \prm{pagination}. Here is a typical example:
11209
11210 \begin{ltxexample}
11211 \DeclareFieldFormat{pagetotal}{<<\mkpagetotal[bookpagination]{#1}>>}
11212 \end{ltxexample}
11213 %
11214 The optional argument \bibfield{bookpagination} is omissible in this case.
11215 The pagination strings are taken from \texttt{$<$pagination$>$total} and \texttt{$<$pagination$>$totals}.
11216
11217 \begin{table}
11218 \caption{\cmd{mkcomprange} setup}
11219 \label{aut:aux:tab1}
11220 \tablesetup\lnstyle
11221 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}X@{}p{0.25\textwidth}@{}p{0.25\textwidth}@{}p{0.25\textwidth}@{}}
11222 \toprule
11223 \multicolumn{1}{@{}H}{Input} &
11224 \multicolumn{3}{@{}H}{Output} \\
11225 \cmidrule(r){1-1}\cmidrule{2-4}
11226 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=10}
11227 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=100}
11228 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=1000} \\
11229 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11230 11--15 & 11--5 & 11--15 & 11--15 \\
11231 111--115 & 111--5 & 111--5 & 111--115 \\
11232 1111--1115 & 1111--5 & 1111--5 & 1111--5 \\
11233 \cmidrule{2-4}
11234 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=1000}
11235 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=100}
11236 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=10} \\
11237 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11238 1111--1115 & 1111--5 & 1111--5 & 1111--5 \\
11239 1111--1155 & 1111--55 & 1111--55 & 1111--1155 \\
11240 1111--1555 & 1111--555 & 1111--1555 & 1111--1555 \\
11241 \cmidrule{2-4}
11242 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=1}
11243 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=10}
11244 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=100} \\
11245 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11246 1111--1115 & 1111--5 & 1111--15 & 1111--115 \\
11247 1111--1155 & 1111--55 & 1111--55 & 1111--155 \\
11248 1111--1555 & 1111--555 & 1111--555 & 1111--555 \\
11249 \bottomrule
11250 \end{tabularx}
11251 \end{table}
11252
11253 \cmditem{mkcomprange}[postpro][itempostpro]{text}
11254 \cmditem*{mkcomprange*}[postpro][itempostpro]{text}
11255
11256 This command, which is intended for use in field formatting directives, will parse its \prm{text} argument for page ranges and compress them. For example, «125--129» may be formatted as «125--9». You may configure the behavior of \cmd{mkcomprange} by adjusting the \latex counters \cnt{mincomprange}, \cnt{maxcomprange}, and \cnt{mincompwidth}, as illustrated in \tabref{aut:aux:tab1}. The default settings are \texttt{10}, \texttt{100000}, and \texttt{1}, respectively. This means that the command tries to compress as much as possible by default. Use \cmd{setcounter} to adjust the parameters. The scanner recognises \cmd{bibrangedash} and hyphens as range dashes. It will normalize the dash by replacing any number of consecutive hyphens with \cmd{bibrangedash}. Lists of ranges delimited with \cmd{bibrangessep} are also supported. The scanner will normalise any comma or semicolons surrounded by optional space by replacing them with \cmd{bibrangessep}. If you want to hide a character from the list/range scanner for some reason, wrap the character or the entire string in curly braces. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. This is important if you want to combine \cmd{mkcomprange} with other formatting macros which also need to parse their \prm{text} argument, such as \cmd{mkpageprefix}. Simply nesting these commands will not work as expected. Use the \prm{postpro} argument to set up the processing chain as follows:
11257
11258 \begin{ltxexample}
11259 \DeclareFieldFormat{postnote}{\mkcomprange[<<{>>\mkpageprefix[pagination]<<}>>]{#1}}
11260 \end{ltxexample}
11261 %
11262 Note that \cmd{mkcomprange} is executed first, using \cmd{mkpageprefix} as post-processor. Also note that the \prm{postpro} argument is wrapped in an additional pair of braces. This is only required in this particular case to prevent \latex's optional argument scanner from getting confused by the nested brackets. The starred version of this command differs from the regular one in the way the \prm{postpro} argument is applied to a list of values. For example:
11263
11264 \begin{ltxexample}
11265 \mkcomprange[\mkpageprefix]{5, 123-129, 423-439}
11266 \mkcomprange*[\mkpageprefix]{5, 123-129, 423-439}
11267 \end{ltxexample}
11268 %
11269 will output:
11270
11271 \begin{ltxexample}
11272 pp. 5, 123-9, 423-39
11273 p. 5, pp. 123-9, pp. 423-39
11274 \end{ltxexample}
11275 %
11276 The second optional argument \prm{itempostpro} is used to post-process each individual number item in the formatted list. It can be used to convert numbers from cardinals to ordinals. If only one optional argument is present, it is treated as \prm{postpro}.
11277
11278 \cmditem{mknormrange}[postpro][itempostpro]{text}
11279 \cmditem*{mknormrange*}[postpro][itempostpro]{text}
11280
11281 This command, which is intended for use in field formatting directives, will parse its \prm{text} argument for page ranges and will normalise them. The command is similar to \cmd{mkcomprange} except that the page ranges will not be compressed. The scanner recognises \cmd{bibrangedash} and hyphens as range dashes. It will normalize the dash by replacing any number of consecutive hyphens with \cmd{bibrangedash}. Lists of ranges delimited with \cmd{bibrangessep} are also supported. The scanner will normalise any comma or semicolons surrounded by optional space by replacing them with \cmd{bibrangessep}. If you want to hide a character from the list/range scanner for some reason, wrap the character or the entire string in curly braces. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. See \cmd{mkcomprange} on how to use this argument. The starred version of this command differs from the regular one in the way the \prm{postpro} argument is applied to a list of values. The second optional argument \prm{itempostpro} is used to post-process each individual number item in the formatted list. It can be used to convert numbers from cardinals to ordinals. If only one optional argument is present, it is treated as \prm{postpro}.
11282
11283 \cmditem{mkseqrange}[postpro][itempostpro]{text}
11284 \cmditem*{mkseqrange*}[postpro][itempostpro]{text}
11285
11286 This command, which is intended for use in field formatting directives, will parse its \prm{text} argument for page ranges and will normalise them similar to \cmd{mknormrange}. The difference is that the command will output only the first page and the localisation string \texttt{sequens} or \texttt{sequentes}, respectively, if applicable (depending on the setting of the \opt{citepagerange} option; see \secref{use:opt:pre:gen}). The scanner recognises \cmd{bibrangedash} and hyphens as range dashes. It will normalize the dash by replacing any number of consecutive hyphens with \cmd{bibrangedash}. Lists of ranges delimited with \cmd{bibrangessep} are also supported. The scanner will normalise any comma or semicolons surrounded by optional space by replacing them with \cmd{bibrangessep}. If you want to hide a character from the list/range scanner for some reason, wrap the character or the entire string in curly braces. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. See \cmd{mkcomprange} on how to use this argument. The starred version of this command differs from the regular one in the way the \prm{postpro} argument is applied to a list of values. The second optional argument \prm{itempostpro} is used to post-process each individual number item in the formatted list. It can be used to convert numbers from cardinals to ordinals. If only one optional argument is present, it is treated as \prm{postpro}. For example, with default \opt{citepagerange} settings:
11287
11288 \begin{ltxexample}
11289 \mkseqrange[\mkpageprefix]{5, 123-124, 423-439, 522-524}
11290 \mkseqrange*[\mkpageprefix]{5, 123-124, 423-439, 522-524}
11291 \end{ltxexample}
11292 %
11293 will output:
11294
11295 \begin{ltxexample}
11296 pp. 5, 123 sq., 423-439, 522 sqq.
11297 p. 5, pp. 123 sq., pp. 423-439, pp. 522 sqq.
11298 \end{ltxexample}
11299
11300 \cmditem{mkautorange}[postpro][itempostpro]{text}
11301 \cmditem*{mkautorange*}[postpro][itempostpro]{text}
11302
11303 This command, which is intended for use in field formatting directives, is a portmanteau command which is equal to \cmd{mkseqrange} or \cmd{mkseqrange*}, respectively, if the \opt{citepagerange} option (see \secref{use:opt:pre:gen}) is set to \opt{2sq}, \opt{3sqq}, or \opt{allsqq}, to \cmd{mkcomprange} or \cmd{mkcomprange*}, respectively, if the \opt{citepagerange} option is set to \opt{compressed}, and to \cmd{mknormrange} or \cmd{mknormrange*} with \opt{normalized} and by default.
11304 Use this if you want to give the users of your style the choice to toggle \opt{citepagerange}.
11305
11306
11307 \cmditem{mkfirstpage}[postpro][itempostpro]{text}
11308 \cmditem*{mkfirstpage*}[postpro][itempostpro]{text}
11309
11310 This command, which is intended for use in field formatting directives, will parse its \prm{text} argument for page ranges and print the start page of the range only. The scanner recognizes \cmd{bibrangedash} and hyphens as range dashes. Lists of ranges delimited with \cmd{bibrangessep} are also supported. If you want to hide a character from the list/range scanner for some reason, wrap the character or the entire string in curly braces. The optional \prm{postpro} argument specifies a macro to be used for post-processing the \prm{text}. See \cmd{mkcomprange} on how to use this argument. The starred version of this command differs from the regular one in the way the \prm{postpro} argument is applied to a list of values. The second optional argument \prm{itempostpro} is used to post-process each individual number item in the formatted list. It can be used to convert numbers from cardinals to ordinals. If only one optional argument is present, it is treated as \prm{postpro}. For example:
11311
11312 \begin{ltxexample}
11313 \mkfirstpage[\mkpageprefix]{5, 123-129, 423-439}
11314 \mkfirstpage*[\mkpageprefix]{5, 123-129, 423-439}
11315 \end{ltxexample}
11316 %
11317 will output:
11318
11319 \begin{ltxexample}
11320 pp. 5, 123, 423
11321 p. 5, p. 123, p. 423
11322 \end{ltxexample}
11323
11324 \cmditem{rangelen}{rangefield}
11325
11326 Takes the name of a bibfield declared as a range field in the data model and returns the length of the range. This is calculated by \biber and can handle many special cases. It will return $-1$ for open ended ranges. Specifically \cmd{rangelen} can:
11327
11328 \begin{itemize}
11329 \item Calculate the total of multiple ranges in the same field such as <1-10, 20-30>
11330 \item Handle implicit ranges such as <22-4> and <130-33>
11331 \item Handle roman numeral ranges in upper and lower case and consisting of both \acr{US-ASCII} and Unicode roman numeral representations.
11332 \end{itemize}
11333 %
11334 Here are some examples:
11335
11336 \begin{tabular}{ll}
11337 pages = <10> & |\rangelen{pages}| returns '1'\\
11338 pages = <10-15> & |\rangelen{pages}| returns '6'\\
11339 pages = <10-15,47-53> & |\rangelen{pages}| returns '13'\\
11340 pages = <10-> & |\rangelen{pages}| returns '-1'\\
11341 pages = <-10> & |\rangelen{pages}| returns '-1'\\
11342 pages = <48-9> & |\rangelen{pages}| returns '2'\\
11343 pages = <172-77> & |\rangelen{pages}| returns '6'\\
11344 pages = <i-vi> & |\rangelen{pages}| returns '6'\\
11345 pages = <X-XX> & |\rangelen{pages}| returns '11'\\
11346 pages = <ⅥⅠ-ⅻ> & |\rangelen{pages}| returns '6'\\
11347 pages = <ⅥⅠ-ⅻ, 145-7, 135-39> & |\rangelen{pages}| returns '14'
11348 \end{tabular}
11349
11350 The \cmd{rangelen} command can be used in tests:
11351
11352 \begin{ltxexample}
11353 \ifnumcomp{\rangelen{pages}}{=}{1}{add 'f'}{do nothing}
11354 \end{ltxexample}
11355
11356 \cmditem{DeclareNumChars}{characters}
11357 \cmditem*{DeclareNumChars*}{characters}
11358
11359 This command configures the \cmd{ifnumeral}, \cmd{ifnumerals}, and \cmd{ifpages} tests from \secref{aut:aux:tst}. The setup will also affect \cmd{iffieldnum}, \cmd{iffieldnums}, \cmd{iffieldpages} as well as \cmd{mkpageprefix} and \cmd{mkpagetotal}. The \prm{characters} argument is an undelimited list of characters which are to be considered as being part of a number. The regular version of this command replaces the current setting, the starred version appends its argument to the current list. The default setting is:
11360
11361 \begin{ltxexample}
11362 \DeclareNumChars{.}
11363 \end{ltxexample}
11364 %
11365 This means that a (section or other) number like <3.4.5> will be considered as a number. Note that Arabic and Roman numerals are detected by default, there is no need to declare them explicitly.
11366
11367 \cmditem{DeclareRangeChars}{characters}
11368 \cmditem*{DeclareRangeChars*}{characters}
11369
11370 This command configures the \cmd{ifnumerals} and \cmd{ifpages} tests from \secref{aut:aux:tst}. The setup will also affect \cmd{iffieldnums} and \cmd{iffieldpages} as well as \cmd{mkpageprefix} and \cmd{mkpagetotal}. The \prm{characters} argument is an undelimited list of characters which are to be considered as range indicators. The regular version of this command replaces the current setting, the starred version appends its argument to the current list. The default setting is:
11371
11372 \begin{ltxexample}
11373 \DeclareRangeChars{~,;-+/}
11374 \end{ltxexample}
11375
11376 For engines that fully support Unicode these defaults are extended with
11377 \begin{ltxexample}[escapeinside={(*@}{@*)}]
11378 \DeclareRangeChars*{(*@–—@*)}
11379 \end{ltxexample}
11380 %
11381 This means that strings like <3--5>, <35+>, <8/9> and so on will be considered as a range by \cmd{ifnumerals} and \cmd{ifpages}. Non-range characters in such strings are recognized as numbers. So strings like <3a--5a> and <35b+> are not deemed to be ranges by default. See also \secref{bib:use:pag, use:cav:pag} for further details.
11382
11383 \cmditem{DeclareRangeCommands}{commands}
11384 \cmditem*{DeclareRangeCommands*}{commands}
11385
11386 This command is similar to \cmd{DeclareRangeChars}, except that the \prm{commands} argument is an undelimited list of commands which are to be considered as range indicators. The regular version of this command replaces the current setting, the starred version appends its argument to the current list. The default list is rather long and should cover all common cases; here is a shorter example:
11387
11388 \begin{ltxexample}
11389 \DeclareRangeCommands{\&\bibrangedash\textendash\textemdash\psq\psqq}
11390 \end{ltxexample}
11391 %
11392 See also \secref{bib:use:pag, use:cav:pag} for further details.
11393
11394 \cmditem{DeclarePageCommands}{commands}
11395 \cmditem*{DeclarePageCommands*}{commands}
11396
11397 This command is similar to \cmd{DeclareRangeCommands}, except that it only affects the \cmd{ifpages} and \cmd{iffieldpages} tests but not \cmd{ifnumerals} and \cmd{iffieldnums}. The default setting is:
11398
11399 \begin{ltxexample}
11400 \DeclarePageCommands{\pno\ppno}
11401 \end{ltxexample}
11402
11403 \cmditem{NumCheckSetup}{code}
11404
11405 Use this command to temporarily redefine any commands which interfere with the tests performed by \cmd{ifnumeral}, \cmd{ifnumerals}, and \cmd{ifpages} from \secref{aut:aux:tst}. The setup will also affect \cmd{iffieldnum}, \cmd{iffieldnums}, \cmd{iffieldpages} as well as \cmd{mkpageprefix} and \cmd{mkpagetotal}. The \prm{code} will be executed in a group by these commands. Since the above mentioned commands will expand the string to be analyzed, it is possible to remove commands to be ignored by the tests by making them expand to an empty string. See also \secref{bib:use:pag, use:cav:pag} for further details.
11406
11407 \cmditem{NumsCheckSetup}{code}
11408
11409 Like \cmd{NumCheckSetup} but only applies to \cmd{ifnumerals} and \cmd{ifpages} from \secref{aut:aux:tst} and their derivative tests.
11410
11411 \cmditem{PagesCheckSetup}{code}
11412
11413 Like \cmd{NumCheckSetup} but only applies to \cmd{ifpages} from \secref{aut:aux:tst} and its derivative tests. The default setting is makes \cmd{pnfmt} transparent to the test:
11414
11415 \begin{ltxexample}
11416 \PagesCheckSetup{\let\pnfmt\@firstofone}
11417 \end{ltxexample}
11418
11419 \cmditem{DeclareBabelToExplLanguageMapping}{babel language}{expl language}
11420
11421 This command is only available if the \sty{expl3} case changing code is used.
11422
11423 Use \prm{expl language} as \prm{language} argument for the \sty{l3text} case changing functions when \sty{babel language} is active. This command is only required if \prm{babel language} should correspond to a language for which \sty{l3text} has special rules set up. The default invocations of this command are
11424 \begin{ltxexample}
11425 \DeclareBabelToExplLanguageMapping{dutch}{nl}
11426 \DeclareBabelToExplLanguageMapping{greek}{el}
11427 \DeclareBabelToExplLanguageMapping{turkish}{tr}
11428 \end{ltxexample}
11429
11430 \cmditem{UndeclareBabelToExplLanguageMapping}{babel language}
11431
11432 This command is only available if the \sty{expl3} case changing code is used.
11433
11434 Removes the \sty{babel}-to-\sty{expl3} language mapping for \prm{babel language}. If the argument is an asterisk \texttt{*}, all language mappings are removed.
11435
11436 \cmditem{DeclareCaseLangs}{languages}
11437 \cmditem*{DeclareCaseLangs*}{languages}
11438
11439 Defines the list of languages which are considered by the \cmd{MakeSentenceCase*} command as it converts a string to sentence case. The \prm{languages} argument is a comma"=separated list of \sty{babel}/\sty{polyglossia} language identifiers. The regular version of this command replaces the current setting, the starred version appends its argument to the current list. The default setting is:
11440
11441 \begin{ltxexample}
11442 \DeclareCaseLangs{%
11443 american,british,canadian,english,australian,newzealand,USenglish,UKenglish}
11444 \end{ltxexample}
11445 %
11446 See the \sty{babel}/\sty{polyglossia} manuals and \tabref{bib:fld:tab1} for a list of languages identifiers.
11447
11448 \cmditem{BibliographyWarning}{message}
11449
11450 This command is similar to \cmd{PackageWarning} but prints the entry key of the entry currently being processed in addition to the input line number. It may be used in the bibliography as well as in citation commands. If the \prm{message} is fairly long, use \cmd{MessageBreak} to include line breaks. Note that the standard \cmd{PackageWarning} command does not provide a meaningful clue when used in the bibliography since the input line number is the line on which the \cmd{printbibliography} command was given.
11451
11452 \boolitem{pagetracker}
11453 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11454
11455 These commands activate or deactivate the page tracker locally (this will affect the \cmd{iffirstonpage} and \cmd{ifsamepage} test from \secref{aut:aux:tst}). They are intended for use in the definition of citation commands or anywhere in the document body. If a citation command is to be excluded from page tracking, use \cmd{pagetrackerfalse} in the \prm{precode} argument of \cmd{DeclareCiteCommand}. See \secref{aut:cbx:cbx} for details. Note that these commands have no effect if page tracking has been disabled globally.
11456
11457 \boolitem{citetracker}
11458 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11459
11460 These commands activate or deactivate all citation trackers locally (this will affect the \cmd{ifciteseen}, \cmd{ifentryseen}, \cmd{ifciteibid}, and \cmd{ifciteidem} tests from \secref{aut:aux:tst}). They are intended for use in the definition of citation commands or anywhere in the document body. If a citation command is to be excluded from tracking, use \cmd{citetrackerfalse} in the \prm{precode} argument of \cmd{DeclareCiteCommand}. See \secref{aut:cbx:cbx} for details. Note that these commands have no effect if tracking has been disabled globally.
11461
11462 \boolitem{backtracker}
11463 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11464
11465 These commands activate or deactivate the \texttt{backref} tracker locally. They are intended for use in the definition of citation commands or anywhere in the document body. If a citation command is to be excluded from backtracking, use \cmd{backtrackerfalse} in the \prm{precode} argument of \cmd{DeclareCiteCommand}. Note that these commands have no effect if the \texttt{backref} option has been not been set globally.
11466
11467 \end{ltxsyntax}
11468
11469 \subsection[Punctuation]{Punctuation and Spacing}
11470 \label{aut:pct}
11471
11472 The \biblatex package provides elaborate facilities designed to manage and track punctuation and spacing in the bibliography and in citations. These facilities work on two levels. The high"=level commands discussed in \secref{aut:pct:new} deal with punctuation and whitespace inserted by the bibliography style between the individual segments of a bibliography entry. The commands in \secref{aut:pct:chk, aut:pct:pct, aut:pct:spc} work at a lower level. They use \tex's space factor and modified space factor codes to track punctuation in a robust and efficient way. This way it is possible to detect trailing punctuation marks within fields, not only those explicitly inserted between fields. The same technique is also used for automatic capitalization of localisation strings, see \cmd{DeclareCapitalPunctuation} in \secref{aut:pct:cfg} as well as \secref{aut:str} for details. Note that these facilities are only made available locally in citations and bibliographies. They will not affect any other part of a document.
11473
11474 \subsubsection{Block and Unit Punctuation}
11475 \label{aut:pct:new}
11476
11477 The major segments of a bibliography entry are <blocks> and <units>. A block is the larger segment of the two, a unit is shorter or at most equal in length. For example, the values of fields such as \bibfield{title} or \bibfield{note} usually form a unit which is separated from subsequent data by a period or a comma. A block may comprise several fields which are treated as separate units, for example \bibfield{publisher}, \bibfield{location}, and \bibfield{year}. The segmentation of an entry into blocks and units is at the discretion of the bibliography style. An entry is segmented by inserting \cmd{newblock} and \cmd{newunit} commands at suitable places and \cmd{finentry} at the very end (see \secref{aut:bbx:drv} for an example). See also \secref{aut:cav:pct} for some practical hints.
11478
11479 \begin{ltxsyntax}
11480
11481 \csitem{newblock}
11482
11483 Records the end of a block. This command does not print anything, it merely marks the end of the block. The block delimiter \cmd{newblockpunct} will be inserted by a subsequent \cmd{printtext}, \cmd{printfield}, \cmd{printlist}, \cmd{printnames}, or \cmd{bibstring} command. You may use \cmd{newblock} at suitable places without having to worry about spurious blocks. A new block will only be started by the next \cmd{printfield} (or similar) command if this command prints anything. See \secref{aut:cav:pct} for further details.
11484
11485 \csitem{newunit}
11486
11487 Records the end of a unit and puts the default delimiter \cmd{newunitpunct} in the punctuation buffer. This command does not print anything, it merely marks the end of the unit. The punctuation buffer will be inserted by the next \cmd{printtext}, \cmd{printfield}, \cmd{printlist}, \cmd{printnames}, or \cmd{bibstring} command. You may use \cmd{newunit} after commands like \cmd{printfield} without having to worry about spurious punctuation and whitespace. The buffer will only be inserted by the next \cmd{printfield} or similar command if \emph{both} fields are non"=empty. This also applies to \cmd{printtext}, \cmd{printlist}, \cmd{printnames}, and \cmd{bibstring}. See \secref{aut:cav:pct} for further details.
11488
11489 \csitem{finentry}
11490
11491 Inserts \cmd{finentrypunct}. This command should be used at the very end of every bibliography entry.
11492
11493 \cmditem{setunit}{punctuation}
11494 \cmditem*{setunit*}{punctuation}
11495
11496 The \cmd{setunit} command is similar to \cmd{newunit} except that it uses \prm{punctuation} instead of \cmd{newunitpunct}. The starred variant differs from the regular version in that it checks if the last \cmd{printtext}, \cmd{printfield}, \cmd{printlist}, \cmd{printnames}, or \cmd{bibstring} command did actually print anything. If not, it does nothing.
11497
11498 \cmditem{printunit}{punctuation}
11499 \cmditem*{printunit*}{punctuation}
11500
11501 The \cmd{printunit} command is similar to \cmd{setunit} except that \prm{punctuation} persists in the buffer. This ensures that \prm{punctuation} is inserted before the next non"=empty field printed by the \cmd{printtext}, \cmd{printfield}, \cmd{printlist}, \cmd{printnames}, or \cmd{bibstring} commands---regardless of any intermediate calls to \cmd{newunit} or \cmd{setunit}.
11502
11503 \cmditem{setpunctfont}{command}
11504
11505 This command, which is intended for use in field formatting directives, provides an alternative way of dealing with unit punctuation after a field printed in a different font (for example, a title printed in italics). The standard \latex way of dealing with this is adding a small amount of space, the so-called italic correction. This command allows adapting the punctuation to the font of the preceding field. The \prm{command} should be a text font command which takes one argument, such as \cmd{emph} or \cmd{textbf}. This command will only affect punctuation marks inserted by one of the commands from \secref{aut:pct:pct}. The font adaption is applied to the next punctuation mark only and will be reset automatically thereafter. If you want to reset it manually before it takes effect, issue \cmd{resetpunctfont}. If the \opt{punctfont} package option is disabled, this command does nothing. Note that the \cmd{mkbibemph}, \cmd{mkbibitalic} and \cmd{mkbibbold} wrappers from \secref{aut:fmt:ich} incorporate this feature by default.
11506
11507 \csitem{resetpunctfont}
11508
11509 This command resets the unit punctuation font defined with \cmd{setpunctfont} before it takes effect. If the \opt{punctfont} package option is disabled, this command does nothing.
11510
11511 \end{ltxsyntax}
11512
11513 \subsubsection{Punctuation Tests}
11514 \label{aut:pct:chk}
11515
11516 The following commands may be used to test for preceding punctuation marks at any point in citations and the bibliography.
11517
11518 \begin{ltxsyntax}
11519
11520 \cmditem{ifpunct}{true}{false}
11521
11522 Executes \prm{true} if preceded by any punctuation mark except for an abbreviation dot, and \prm{false} otherwise.
11523
11524 \cmditem{ifterm}{true}{false}
11525
11526 Executes \prm{true} if preceded by a terminal punctuation mark, and \prm{false} otherwise. A terminal punctuation mark is any punctuation mark which has been registered for automatic capitalization, either with \cmd{DeclareCapitalPunctuation} or by default, see \secref{aut:pct:cfg} for details. By default, this applies to periods, exclamation marks, and question marks.
11527
11528 \cmditem{ifpunctmark}{character}{true}{false}
11529
11530 Executes \prm{true} if preceded by the punctuation mark \prm{character}, and \prm{false} otherwise. The \prm{character} may be a comma, a semicolon, a colon, a period, an exclamation mark, a question mark, or an asterisk. Note that a period denotes an end-of"=sentence period. Use the asterisk to test for the dot after an abbreviation. If this command is used in a formatting directive for name lists, \ie in the argument to \cmd{DeclareNameFormat}, the \prm{character} may also be an apostrophe.
11531
11532 \cmditem{ifprefchar}{true}{false}
11533
11534 Executes \prm{true} if preceded by any prefix character declared by \cmd{DeclarePrefChars}.
11535
11536 \end{ltxsyntax}
11537
11538 \subsubsection{Adding Punctuation}
11539 \label{aut:pct:pct}
11540
11541 The following commands are designed to prevent double punctuation marks. Bibliography and citation styles should always use these commands instead of literal punctuation marks. All \cmd{add...} commands in this section automatically remove preceding whitespace with \cmd{unspace} (see \secref{aut:pct:spc}). Note that the behavior of all \cmd{add...} commands discussed below is the package default, which is restored whenever \biblatex switches languages. This behavior may be adjusted with \cmd{DeclarePunctuationPairs} from \secref{aut:pct:cfg}.
11542
11543 \begin{ltxsyntax}
11544
11545 \csitem{adddot}
11546
11547 Adds a period unless it is preceded by any punctuation mark. The purpose of this command is inserting the dot after an abbreviation. Any dot inserted this way is recognized as such by the other punctuation commands. This command may also be used to turn a previously inserted literal period into an abbreviation dot.
11548
11549 \csitem{addcomma}
11550
11551 Adds a comma unless it is preceded by another comma, a semicolon, a colon, or a period.
11552
11553 \csitem{addsemicolon}
11554
11555 Adds a semicolon unless it is preceded by a comma, another semicolon, a colon, or a period.
11556
11557 \csitem{addcolon}
11558
11559 Adds a colon unless it is preceded by a comma, a semicolon, another colon, or a period.
11560
11561 \csitem{addperiod}
11562
11563 Adds a period unless it is preceded by an abbreviation dot or any other punctuation mark. This command may also be used to turn a previously inserted abbreviation dot into a period, for example at the end of a sentence.
11564
11565 \csitem{addexclam}
11566 Adds an exclamation mark unless it is preceded by any punctuation mark except for an abbreviation dot.
11567
11568 \csitem{addquestion}
11569
11570 Adds a question mark unless it is preceded by any punctuation mark except for an abbreviation dot.
11571
11572 \csitem{addslash}
11573
11574 Adds a breakable slash. This command differs from the \cmd{slash} command in the \latex kernel in that a linebreak after the slash is not penalized at all.
11575
11576 \csitem{isdot}
11577
11578 Turns a previously inserted literal period into an abbreviation dot. In contrast to \cmd{adddot}, nothing is inserted if this command is not preceded by a period.
11579
11580 \csitem{nopunct}
11581
11582 Adds an internal marker which will cause the next punctuation command to print nothing.
11583
11584 \end{ltxsyntax}
11585
11586 \subsubsection{Adding Whitespace}
11587 \label{aut:pct:spc}
11588
11589 The following commands are designed to prevent spurious whitespace. Bibliography and citation styles should always use these commands instead of literal whitespace. In contrast to the commands in \secref{aut:pct:chk, aut:pct:pct}, they are not restricted to citations and the bibliography but available globally.
11590
11591 \begin{ltxsyntax}
11592
11593 \csitem{unspace}
11594
11595 Removes preceding whitespace, \ie removes all skips and penalties from the end of the current horizontal list. This command is implicitly executed by all of the following commands.
11596
11597 \csitem{addspace}
11598
11599 Adds a breakable interword space.
11600
11601 \csitem{addnbspace}
11602
11603 Adds a non"=breakable interword space.
11604
11605 \csitem{addthinspace}
11606
11607 Adds a \emph{breakable} thin space.
11608
11609 \csitem{addnbthinspace}
11610
11611 Adds a non"=breakable thin space. This is similar to \cmd{,} and \cmd{thinspace}.
11612
11613 \csitem{addlowpenspace}
11614
11615 Adds a space penalized by the value of the \cnt{lownamepenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11616
11617 \csitem{addhighpenspace}
11618
11619 Adds a space penalized by the value of the \cnt{highnamepenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11620
11621 \csitem{addlpthinspace}
11622
11623 Similar to \cmd{addlowpenspace} but adds a breakable thin space.
11624
11625 \csitem{addhpthinspace}
11626
11627 Similar to \cmd{addhighpenspace} but adds a breakable thin space.
11628
11629 \csitem{addabbrvspace}
11630
11631 Adds a space penalized by the value of the \cnt{abbrvpenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11632
11633 \csitem{addabthinspace}
11634
11635 Similar to \cmd{addabbrvspace} but using a thin space.
11636
11637 \csitem{adddotspace}
11638
11639 Executes \cmd{adddot} and adds a space penalized by the value of the \cnt{abbrvpenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11640
11641 \end{ltxsyntax}
11642
11643 Note that the commands in this section implicitly execute \cmd{unspace} to remove spurious whitespace, hence they may be used to override each other. For example, you may use \cmd{addnbspace} to transform a previously inserted interword space into a non"=breakable one and \cmd{addspace} to turn a non"=breakable space into a breakable one.
11644
11645 \subsubsection{Configuring Punctuation and Capitalization}
11646 \label{aut:pct:cfg}
11647
11648 The following commands configure various features related to punctuation and automatic capitalization.
11649
11650 \begin{ltxsyntax}
11651
11652 \cmditem{DeclarePrefChars}{characters}
11653 \cmditem*{DeclarePrefChars*}{characters}
11654
11655 This command declares characters that are to be treated specially when testing to see if \cmd{bibnamedelimc} is to be inserted between a name prefix and a family name. If a character is in the list of \prm{characters}, \cmd{bibnamedelimc} is not inserted. It is used to allow abbreviated name prefices like <d'Argent> where no space should be inserted after the apostrophe. The starred version appends its argument to the list of prefix characters, the unstarred version replaces the current setting. The default setting is:
11656
11657 \begin{ltxexample}
11658 \DeclarePrefChars{'-}
11659 \end{ltxexample}
11660
11661 For engines that fully support Unicode these defaults are extended with
11662 \begin{ltxexample}[escapeinside={(*@}{@*)}]
11663 \DeclarePrefChars*{(*@’@*)}
11664 \end{ltxexample}
11665
11666 \cmditem{DeclareAutoPunctuation}{characters}
11667
11668 This command defines the punctuation marks to be considered by the citation commands as they scan ahead for punctuation. Note that \prm{characters} is an undelimited list of characters. Valid \prm{characters} are period, comma, semicolon, colon, exclamation and question mark. The default setting is:
11669
11670 \begin{ltxexample}
11671 \DeclareAutoPunctuation{.,;:!?}
11672 \end{ltxexample}
11673 %
11674 This definition is restored automatically whenever the \opt{autopunct} package option is set to \texttt{true}. Executing |\DeclareAutoPunctuation{}| is equivalent to setting \kvopt{autopunct}{false}, \ie it disables this feature.
11675
11676 \cmditem{DeclareCapitalPunctuation}{characters}
11677
11678 When \biblatex inserts localisation strings, \ie key terms such as <edition> or <volume>, it automatically capitalizes them after terminal punctuation marks. This command defines the punctuation marks which will cause localisation strings to be capitalized if one of them precedes a string. Note that \prm{characters} is an undelimited list of characters. Valid \prm{characters} are period, comma, semicolon, colon, exclamation and question mark. The package default is:
11679
11680 \begin{ltxexample}
11681 \DeclareCapitalPunctuation{.!?}
11682 \end{ltxexample}
11683 %
11684 Using \cmd{DeclareCapitalPunctuation} with an empty argument is equivalent to disabling automatic capitalization. Since this feature is language specific, this command must be used in the argument to \cmd{DefineBibliographyExtras} (when used in the preamble) or \cmd{DeclareBibliographyExtras} (when used in a localisation module). See \secref{use:lng, aut:lng} for details. By default, strings are capitalized after periods, exclamation marks, and question marks. All strings are generally capitalized at the beginning of a paragraph (in fact whenever \tex is in vertical mode).
11685
11686 \cmditem{DeclarePunctuationPairs}{identifier}{characters}
11687
11688 Use this command to declare valid pairs of punctuation marks. This will affect the punctuation commands discussed in \secref{aut:pct:pct}. For example, the description of \cmd{addcomma} states that this command adds a comma unless it is preceded by another comma, a semicolon, a colon, or a period. In other words, commas after abbreviation dots, exclamation marks, and question marks are permitted. These valid pairs are declared as follows:
11689
11690 \begin{ltxexample}
11691 \DeclarePunctuationPairs{comma}{*!?}
11692 \end{ltxexample}
11693 %
11694 The \prm{identifier} selects the command to be configured. The identifiers correspond to the names of the punctuation commands from \secref{aut:pct:pct} without the \cmd{add} prefix, \ie valid \prm{identifier} strings are \texttt{dot}, \texttt{comma}, \texttt{semicolon}, \texttt{colon}, \texttt{period}, \texttt{exclam}, \texttt{question}. The \prm{characters} argument is an undelimited list of punctuation marks. Valid \prm{characters} are comma, semicolon, colon, period, exclamation mark, question mark, and asterisk. A period in the \prm{characters} argument denotes an end-of"=sentence period, an asterisk the dot after an abbreviation. This is the default setup, which is automatically restored whenever \biblatex switches languages and corresponds to the behavior described in \secref{aut:pct:pct}:
11695
11696 \begin{ltxexample}
11697 \DeclarePunctuationPairs{dot}{}
11698 \DeclarePunctuationPairs{comma}{*!?}
11699 \DeclarePunctuationPairs{semicolon}{*!?}
11700 \DeclarePunctuationPairs{colon}{*!?}
11701 \DeclarePunctuationPairs{period}{}
11702 \DeclarePunctuationPairs{exclam}{*}
11703 \DeclarePunctuationPairs{question}{*}
11704 \end{ltxexample}
11705 %
11706 Since this feature is language specific, \cmd{DeclarePunctuationPairs} must be used in the argument to \cmd{DefineBibliographyExtras} (when used in the preamble) or \cmd{DeclareBibliographyExtras} (when used in a localisation module). See \secref{use:lng, aut:lng} for details. Note that some localisation modules may use a setup which is different from the package default.\footnote{As of this writing, the \texttt{american} module uses different settings for <American-style> punctuation.}
11707
11708 \cmditem{DeclareQuotePunctuation}{characters}
11709
11710 This command controls <American-style> punctuation. The \cmd{mkbibquote} wrapper from \secref{aut:fmt:ich} can interact with the punctuation facilities discussed in \secref{aut:pct:new, aut:pct:pct, aut:pct:spc}. Punctuation marks after \cmd{mkbibquote} will be moved inside the quotes if they have been registered with \cmd{DeclareQuotePunctuation}. Note that \prm{characters} is an undelimited list of characters. Valid \prm{characters} are period, comma, semicolon, colon, exclamation and question mark. Here is an example:
11711
11712 \begin{ltxexample}
11713 \DeclareQuotePunctuation{.,}
11714 \end{ltxexample}
11715 %
11716 Executing |\DeclareQuotePunctuation{}| is equivalent to disabling this feature. This is the package default. Since this feature is language specific, this command must be used in the argument to \cmd{DefineBibliographyExtras} (when used in the preamble) or \cmd{DeclareBibliographyExtras} (when used in a localisation module). See \secref{use:lng, aut:lng} for details. See also \secref{use:loc:us}.
11717
11718 \csitem{uspunctuation}
11719
11720 A shorthand using the lower-level commands \cmd{DeclareQuotePunctuation} and \cmd{DeclarePunctuationPairs} to activate <American-style> punctuation. See \secref{use:loc:us} for details. This shorthand is provided for convenience only. The effective settings are applied by the lower-level commands.
11721
11722 \csitem{stdpunctuation}
11723
11724 Undoes the settings applied by \cmd{uspunctuation}, restoring standard punctuation. As standard punctuation is the default setting, you only need this command to override a previously executed \cmd{uspunctuation} command. See \secref{use:loc:us} for details.
11725
11726 \end{ltxsyntax}
11727
11728 \subsubsection{Correcting Punctuation Tracking}
11729 \label{aut:pct:ctr}
11730
11731 The facilities for punctuation tracking and automatic capitalization are very reliable under normal circumstances, but there are always marginal cases which may require manual intervention. Typical cases are localisation strings printed as the first word in a footnote (which is usually treated as the beginning of a paragraph as far as capitalization is concerned, but \tex is not in vertical mode at this point) or punctuation after periods which are not really end"=of"=sentence periods (for example, after an ellipsis like «[\dots\unkern]» a command such as \cmd{addperiod} would do nothing since parentheses and brackets are transparent to the punctuation tracker). In such cases, use the following commands in bibliography and citation styles to mark the beginning or middle of a sentence if and where required:
11732
11733 \begin{ltxsyntax}
11734
11735 \csitem{bibsentence}
11736
11737 This command marks the beginning of a sentence. A localisation string immediately after this command will be capitalized and the punctuation tracker is reset, \ie this command hides all preceding punctuation marks from the punctuation tracker and enforces capitalization.
11738
11739 \csitem{midsentence}
11740
11741 This command marks the middle of a sentence. A localisation string immediately after this command will not be capitalized and the punctuation tracker is reset, \ie this command hides all preceding punctuation marks from the punctuation tracker and suppresses capitalization.
11742
11743 \csitem*{midsentence*}
11744
11745 The starred variant of \cmd{midsentence} differs from the regular one in that a preceding abbreviation dot is not hidden from the punctuation tracker, \ie any code after \cmd{midsentence*} will see a preceding abbreviation dot. All other punctuation marks are hidden from the punctuation tracker and capitalization is suppressed.
11746
11747 \end{ltxsyntax}
11748
11749 \subsection{Localization Strings}
11750 \label{aut:str}
11751
11752 Localization strings are key terms such as <edition> or <volume> which are automatically translated by \biblatex's localisation modules. See \secref{aut:lng} for an overview and \secref{aut:lng:key} for a list of all strings supported by default. The commands in this section are used to print the localised term.
11753
11754 \begin{ltxsyntax}
11755
11756 \cmditem{bibstring}[wrapper]{key}
11757
11758 Prints the localisation string \prm{key}, where \prm{key} is an identifier in lowercase letters (see \secref{aut:lng:key}). The string will be capitalized as required, see \secref{aut:pct:cfg} for details.
11759 Depending on the \opt{abbreviate} package option from \secref{use:opt:pre:gen}, \cmd{bibstring} prints the short or the long version of the string. If localisation strings are nested, \ie if \cmd{bibstring} is used in another string, it will behave like \cmd{bibxstring}.
11760 If the \prm{wrapper} argument is given, the string is passed to the \prm{wrapper} for formatting. This is intended for font commands such as \cmd{emph}.
11761
11762 \cmditem{biblstring}[wrapper]{key}
11763
11764 Similar to \cmd{bibstring} but always prints the long string, ignoring the \opt{abbreviate} option.
11765
11766 \cmditem{bibsstring}[wrapper]{key}
11767
11768 Similar to \cmd{bibstring} but always prints the short string, ignoring the \opt{abbreviate} option.
11769
11770 \cmditem{bibncpstring}[wrapper]{key}
11771
11772 Similar to \cmd{bibstring} but the term is never capitalized.
11773
11774 \cmditem{bibncplstring}[wrapper]{key}
11775
11776 Similar to \cmd{biblstring} but the term is never capitalized.
11777
11778 \cmditem{bibncpsstring}[wrapper]{key}
11779
11780 Similar to \cmd{bibsstring} but the term is never capitalized.
11781
11782 \cmditem{bibcpstring}[wrapper]{key}
11783
11784 Similar to \cmd{bibstring} but the term is always capitalized.
11785
11786 \cmditem{bibcplstring}[wrapper]{key}
11787
11788 Similar to \cmd{biblstring} but the term is always capitalized.
11789
11790 \cmditem{bibcpsstring}[wrapper]{key}
11791
11792 Similar to \cmd{bibsstring} but the term is always capitalized.
11793
11794 \cmditem{bibucstring}[wrapper]{key}
11795
11796 Similar to \cmd{bibstring} but the whole term is uppercased.
11797
11798 \cmditem{bibuclstring}[wrapper]{key}
11799
11800 Similar to \cmd{biblstring} but the whole term is uppercased.
11801
11802 \cmditem{bibucsstring}[wrapper]{key}
11803
11804 Similar to \cmd{bibsstring} but the whole term is uppercased.
11805
11806 \cmditem{biblcstring}[wrapper]{key}
11807
11808 Similar to \cmd{bibstring} but the whole term is lowercased.
11809
11810 \cmditem{biblclstring}[wrapper]{key}
11811
11812 Similar to \cmd{biblstring} but the whole term is lowercased.
11813
11814 \cmditem{biblcsstring}[wrapper]{key}
11815
11816 Similar to \cmd{bibsstring} but the whole term is lowercased.
11817
11818 \cmditem{bibxstring}{key}
11819
11820 A simplified but expandable version of \cmd{bibstring}. Note that this variant does not capitalize automatically, nor does it hook into the punctuation tracker. It is intended for special cases in which strings are nested or an expanded localisation string is required in a test.
11821
11822 \cmditem{bibxlstring}[wrapper]{key}
11823
11824 Similar to \cmd{bibxstring} but always uses the long string, ignoring the \opt{abbreviate} option.
11825
11826 \cmditem{bibxsstring}[wrapper]{key}
11827
11828 Similar to \cmd{bibxstring} but always uses the short string, ignoring the \opt{abbreviate} option.
11829
11830 \cmditem{mainlang}\DeprecatedMark
11831
11832 Switches from the current language to the main document language. This command is deprecated. Use the text-macro \cmd{textmainlang} instead. With \sty{babel} this command will need to be wrapped into \emph{two} groups to have purely local effect.
11833
11834 \cmditem{textmainlang}{text}
11835
11836 Locally switches from the current language to the main document language to typeset \prm{text}. This can be used the \prm{wrapper} argument in the localisation string commands above.
11837
11838 \cmditem{texouterlang}{text}
11839
11840 Locally switches from the current language to the surrounding language (which was not selected by \sty{biblatex}) to typeset \prm{text}. This can be used the \prm{wrapper} argument in the localisation string commands above.
11841
11842 \end{ltxsyntax}
11843
11844 It is possible to add bibliography strings to a bibliography string set to apply additional formatting.
11845
11846 \begin{ltxsyntax}
11847
11848 \cmditem{DeclareBibstringSet}{setname}{key, \dots}
11849
11850 This commands assigns all \prm{key}s to the bibliography string set \prm{setname}.
11851
11852 \cmditem{UndeclareBibstringSet}{setname}
11853
11854 Remove the bibliography string set \prm{setname}. Any formatting definitions will also be cleared.
11855
11856 \cmditem{UndeclareBibstringSets}
11857
11858 Remove all existing bibliography string sets with \cmd{UndeclareBibstringSet}.
11859
11860 \cmditem{DeclareBibstringSetFormat}{setname}{code}
11861
11862 Defines the bibliography string format for \prm{setname}. The format works exactly like an additional \prm{wrapper} format for \cmd{bibstring}. \prm{code} is executed whenever a bibliography string of \prm{setname} is printed. The text of the bibliography string is passed to \prm{code} as first and only argument.
11863
11864 \cmditem{UndeclareBibstringSetFormat}{setname}
11865
11866 Remove any bibliography string set format defined for \prm{setname}.
11867
11868 \end{ltxsyntax}
11869
11870 Bibliography string sets can be useful to apply additional formatting to a number of bibliography strings at the same time. These commands are intended for use in language modules. For example in French typography it is customary to italicise Latin terms. The French language module can define a new bibliography string set called \texttt{latin} for all Latin strings and apply additional formatting only to these strings. It is not recommended to apply the formatting directly in the bibliography string definitions, since that can interfere with the capitalisation function. Assuming that the French language \texttt{.lbx} file only defines two Latin strings, \texttt{andothers} and \texttt{ibidem}, the \texttt{.lbx} file would contain the following.
11871
11872 \begin{ltxexample}[escapeinside={(*@}{@*)}]
11873 \DeclareBibliographyExtras{%
11874 (*@\dots@*)
11875 \DeclareBibstringSet{latin}{andothers,ibidem}%
11876 \DeclareBibstringSetFormat{latin}{\mkbibemph{#1}}%
11877 (*@\dots@*)
11878 }
11879
11880 \UndeclareBibliographyExtras{%
11881 (*@\dots@*)
11882 \UndeclareBibstringSet{latin}%
11883 (*@\dots@*)
11884 }
11885 \end{ltxexample}
11886 Note that the defined sets should be undeclared after use to avoid side effects for other languages.
11887
11888
11889 \subsection{Localization Modules}
11890 \label{aut:lng}
11891
11892 A localisation module provides translations for key terms such as <edition> or <volume> as well as definitions for language specific features such as the date format and ordinals. These definitions are provided in files with the suffix \file{lbx}. The base name of the file must be a language name known to the \sty{babel}/\sty{polyglossia} packages. The \file{lbx} files may also be used to map \sty{babel}/\sty{polyglossia} language names to the backend modules of the \biblatex package. All localisation modules are loaded on demand in the document body. Note that the contents of the file are processed in a group and that the category code of the character \texttt{@} is temporarily set to <letter>.
11893
11894 \subsubsection{Localization Commands}
11895 \label{aut:lng:cmd}
11896
11897 The user"=level versions of the localisation commands were already introduced in \secref{use:lng}. When used in \file{lbx} files, however, the syntax of localisation commands is different from the user syntax in the preamble and the configuration file. When used in localisation files, there is no need to specify the \prm{language} because the mapping of strings to a language is already provided by the name of the \file{lbx} file.
11898
11899 \begin{ltxsyntax}
11900
11901 \cmditem{DeclareBibliographyStrings}{definitions}
11902
11903 This command is only available in \file{lbx} files. It is used to define localisation strings. The \prm{definitions} consist of \keyval pairs which assign an expression to an identifier. A complete list of all keys supported by default is given is \secref{aut:lng:key}. Note that the syntax of the value is different in \file{lbx} files. The value assigned to a key consists of two expressions, each of which is wrapped in an additional pair of brackets. This is best shown by example:
11904
11905 \begin{ltxexample}
11906 \DeclareBibliographyStrings{%
11907 bibliography = {{Bibliography}{Bibliography}},
11908 shorthands = {{List of Abbreviations}{Abbreviations}},
11909 editor = {{editor}{ed.}},
11910 editors = {{editors}{eds.}},
11911 }
11912 \end{ltxexample}
11913 %
11914 The first value is the long, written out expression, the second one is an abbreviated or short form. Both strings must always be given even though they may be identical if an expression is always (or never) abbreviated. Depending on the setting of the \opt{abbreviate} package option (see \secref{use:opt:pre:gen}), \biblatex selects one expression when loading the \file{lbx} file. There is also a special key named \texttt{inherit} which copies the strings from a different language. This is intended for languages which only differ in a few expressions, such as German and Austrian or American and British English. For example, here are the complete definitions for Austrian:
11915
11916 \begin{ltxexample}
11917 \DeclareBibliographyStrings{%
11918 inherit = {german},
11919 january = {{J\"anner}{J\"an.}},
11920 }
11921 \end{ltxexample}
11922
11923 The above examples are slightly simplified. Real localisation files should use the punctuation and formatting commands discussed in \secref{aut:pct:pct, use:fmt} instead of literal punctuation. Here is an excerpt from a real localisation file:
11924
11925 \begin{ltxexample}
11926 bibliography = {{Bibliography}{Bibliography}},
11927 shorthands = {{List of Abbreviations}{Abbreviations}},
11928 editor = {{editor}{ed\adddot}},
11929 editors = {{editors}{eds\adddot}},
11930 byeditor = {{edited by}{ed\adddotspace by}},
11931 mathesis = {{Master's thesis}{MA\addabbrvspace thesis}},
11932 \end{ltxexample}
11933 %
11934 Note the handling of abbreviation dots, the spacing in abbreviated expressions, and the capitalization in the example above. All expressions should be capitalized as they usually are when used in the middle of a sentence. The \biblatex package will automatically capitalize the first word when required at the beginning of a sentence, see \cmd{DeclareCapitalPunctuation} in \secref{aut:pct:cfg} for details. Expressions intended for use in headings are special. They should be capitalized in a way that is suitable for titling and should not be abbreviated (but they may have a short form).
11935
11936 \cmditem{InheritBibliographyStrings}{language}
11937
11938 This command is only available in \file{lbx} files. It copies the localisation strings for \prm{language} to the current language, as specified by the name of the \file{lbx} file.
11939
11940 \cmditem{DeclareBibliographyExtras}{code}
11941
11942 This command is only available in \file{lbx} files. It is used to adapt language specific features such as the date format and ordinals. The \prm{code}, which may be arbitrary \latex code, will usually consist of redefinitions of the formatting commands from \secref{aut:fmt:lng}.
11943
11944 \cmditem{UndeclareBibliographyExtras}{code}
11945
11946 This command is only available in \file{lbx} files. It is used to restore any formatting commands modified with \cmd{DeclareBibliographyExtras}. If a redefined command is included in \secref{aut:fmt:lng}, there is no need to restore its previous definition since these commands are localised by all language modules anyway.
11947
11948 \cmditem{InheritBibliographyExtras}{language}
11949
11950 This command is only available in \file{lbx} files. It copies the bibliography extras for \prm{language} to the current language, as specified by the name of the \file{lbx} file.
11951
11952 \cmditem{DeclareHyphenationExceptions}{text}
11953
11954 This command corresponds to \cmd{DefineHyphenationExceptions} from \secref{use:lng}. The difference is that it is only available in \file{lbx} files and that the \prm{language} argument is omitted. The hyphenation exceptions will affect the language of the \file{lbx} file currently being processed.
11955
11956 \cmditem{DeclareRedundantLanguages}{language, language, ...}{langid, langid, ...}
11957
11958 This command provides the language mappings required by the \opt{clearlang} option from \secref{use:opt:pre:gen}.
11959 The \prm{language} is the string given in the \bibfield{language} field (without the optional \texttt{lang} prefix); \prm{langid} is \sty{babel}/\sty{polyglossia}'s language identifier, as given in the optional argument of \cmd{usepackage} when loading \sty{babel} or the argument of \cmd{setdefaultlanguage} or \cmd{setotherlanguages} when using \sty{polyglossia}. This command may be used in \file{lbx} files or in the document preamble. Here are some examples:
11960
11961 \begin{ltxexample}
11962 \DeclareRedundantLanguages{french}{french}
11963 \DeclareRedundantLanguages{german}{german,ngerman,austrian,naustrian,
11964 nswissgerman,swissgerman}
11965 \DeclareRedundantLanguages{english,american}{english,american,british,
11966 canadian,australian,newzealand,USenglish,UKenglish}
11967 \end{ltxexample}
11968 %
11969 Note that this feature needs to be enabled globally with the \opt{clearlang} option from \secref{use:opt:pre:gen}. If it is disabled, all mappings will be ignored. If the \prm{langid} parameter is blank, \biblatex will clear the mappings for the corresponding \prm{language}, \ie the feature will be disabled for this \prm{language} only.
11970
11971 \cmditem{DeclareLanguageMapping}{language}{file}
11972
11973 This command maps a \sty{babel}/\sty{polyglossia} language identifier to an \file{lbx} file. The \prm{language} must be a language name known to the \sty{babel}/\sty{polyglossia} package, \ie one of the identifiers listed in \tabref{bib:fld:tab1}. The \prm{file} argument is the name of an alternative \file{lbx} file without the \texttt{.lbx} suffix. Declaring the same mapping more than once is possible. Subsequent declarations will simply overwrite any previous ones. This command may only be used in the preamble. See \secref{aut:cav:lng} for further details.
11974
11975 \cmditem{DeclareLanguageMappingSuffix}{suffix}
11976
11977 This command defines a language file suffix which will be added when looking for \file{.lbx} language string definition files. This is intended for styles which provide their own \file{.lbx} files so that they will be used automatically. For example, the APA style defines:
11978
11979 \begin{ltxexample}
11980 \DeclareLanguageMappingSuffix{-apa}
11981 \end{ltxexample}
11982 %
11983 When the document language is <german>, \biblatex will look for the file \file{german-apa.lbx} which defines some APA specific strings and in turn loads \file{german.lbx}. If \cmd{DeclareLanguageMapping} is defined for a language, this overrides \cmd{DeclareLanguageMappingSuffix}.
11984
11985 The suffix will be applied to other language files loaded recursively by the loading of a language file. For example, given the suffix defined above, when loading <ngerman>, \biblatex will look for the file \file{ngerman-apa.lbx} and if this recursively loads <german>, then biblatex will look for \file{german-apa.lbx}. Infinite recursion is of course avoided.
11986
11987 \cmditem{NewBibliographyString}{key}
11988
11989 This command, which may be used in the preamble (including \file{cbx} and \file{bbx} files) as well as in \file{lbx} files, declares new localisation strings, \ie it initializes a new \prm{key} to be used in the \prm{definitions} of \cmd{DefineBibliographyStrings} or \cmd{DeclareBibliographyStrings}. The \prm{key} argument may also be a comma"=separated list of key names. When used in an \file{lbx}, the \prm{key} is initialized only for the language specified by the name of the \file{lbx} file. The keys listed in \secref{aut:lng:key} are defined by default.
11990
11991 \end{ltxsyntax}
11992
11993 \subsubsection{Localization Keys}
11994 \label{aut:lng:key}
11995
11996 The localisation keys in this section are defined by default and covered by the localisation files which come with \biblatex. Note that these strings are only available in citations, the bibliography and bibliography lists. All expressions should be capitalized as they usually are when used in the middle of a sentence. \biblatex will capitalize them automatically at the beginning of a sentence. The only exceptions to these rules are the three strings intended for use in headings.
11997
11998 \paragraph{Headings}
11999 \label{aut:lng:key:bhd}
12000
12001 The following strings are special because they are intended for use in headings and made available globally via macros. For this reason, they should be capitalized for use in headings and they must not include any local commands which are part of \biblatex's author interface.
12002
12003 \begin{keymarglist}
12004 \item[bibliography] The term <bibliography>, also available as \cmd{bibname}.
12005 \item[references] The term <references>, also available as \cmd{refname}.
12006 \item[shorthands] The term <list of shorthands> or <list of abbreviations>, also available as \cmd{biblistname}.
12007 \end{keymarglist}
12008
12009 \paragraph{Roles, Expressed as Functions}
12010 \label{aut:lng:key:efn}
12011
12012 The following keys refer to roles which are expressed as a function (<editor>, <translator>) rather than as an action (<edited by>, <translated by>).
12013
12014 \begin{keymarglist}
12015 \item[editor] The term <editor>, referring to the main editor. This is the most generic editorial role.
12016 \item[editors] The plural form of \texttt{editor}.
12017 \item[compiler] The term <compiler>, referring to an editor whose task is to compile a work.
12018 \item[compilers] The plural form of \texttt{compiler}.
12019 \item[founder] The term <founder>, referring to a founding editor.
12020 \item[founders] The plural form of \texttt{founder}.
12021 \item[continuator] An expression like <continuator>, <continuation>, or <continued>, referring to a past editor who continued the work of the founding editor but was subsequently replaced by the current editor.
12022 \item[continuators] The plural form of \texttt{continuator}.
12023 \item[redactor] The term <redactor>, referring to a secondary editor.
12024 \item[redactors] The plural form of \texttt{redactor}.
12025 \item[reviser] The term <reviser>, referring to a secondary editor.
12026 \item[revisers] The plural form of \texttt{reviser}.
12027 \item[collaborator] A term like <collaborator>, <collaboration>, <cooperator>, or <cooperation>, referring to a secondary editor.
12028 \item[collaborators] The plural form of \texttt{collaborator}.
12029 \item[translator] The term <translator>.
12030 \item[translators] The plural form of \texttt{translator}.
12031 \item[commentator] The term <commentator>, referring to the author of a commentary to a work.
12032 \item[commentators] The plural form of \texttt{commentators}.
12033 \item[annotator] The term <annotator>, referring to the author of annotations to a work.
12034 \item[annotators] The plural form of \texttt{annotators}.
12035 \item[organizer] The term <organizer>, referring to the organizer of an
12036 event or work.
12037 \item[organizers] The plural form of \texttt{organizer}.
12038 \end{keymarglist}
12039
12040 \paragraph{Concatenated Editor Roles, Expressed as Functions}
12041 \label{aut:lng:key:cef}
12042
12043 The following keys are similar in function to \texttt{editor}, \texttt{translator}, etc. They are used to indicate additional roles of the editor, \eg\ <editor and translator>, <editor and foreword>.
12044
12045 \begin{keymarglist}
12046 \item[editortr] Used if \bibfield{editor}\slash \bibfield{translator} are identical.
12047 \item[editorstr] The plural form of \texttt{editortr}.
12048 \item[editorco] Used if \bibfield{editor}\slash \bibfield{commentator} are identical.
12049 \item[editorsco] The plural form of \texttt{editorco}.
12050 \item[editoran] Used if \bibfield{editor}\slash \bibfield{annotator} are identical.
12051 \item[editorsan] The plural form of \texttt{editoran}.
12052 \item[editorin] Used if \bibfield{editor}\slash \bibfield{introduction} are identical.
12053 \item[editorsin] The plural form of \texttt{editorin}.
12054 \item[editorfo] Used if \bibfield{editor}\slash \bibfield{foreword} are identical.
12055 \item[editorsfo] The plural form of \texttt{editorfo}.
12056 \item[editoraf] Used if \bibfield{editor}\slash \bibfield{aftword} are identical.
12057 \item[editorsaf] The plural form of \texttt{editoraf}.
12058 \end{keymarglist}
12059 %
12060 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \prm{role} combinations:
12061
12062 \begin{keymarglist}
12063 \item[editortrco] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator} are identical.
12064 \item[editorstrco] The plural form of \texttt{editortrco}.
12065 \item[editortran] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator} are identical.
12066 \item[editorstran] The plural form of \texttt{editortran}.
12067 \item[editortrin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{introduction} are identical.
12068 \item[editorstrin] The plural form of \texttt{editortrin}.
12069 \item[editortrfo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{foreword} are identical.
12070 \item[editorstrfo] The plural form of \texttt{editortrfo}.
12071 \item[editortraf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{aftword} are identical.
12072 \item[editorstraf] The plural form of \texttt{editortraf}.
12073 \end{keymarglist}
12074 %
12075 Keys for \bibfield{editor}\slash \bibfield{commentator}\slash \prm{role} combinations:
12076
12077 \begin{keymarglist}
12078 \item[editorcoin] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12079 \item[editorscoin] The plural form of \texttt{editorcoin}.
12080 \item[editorcofo] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12081 \item[editorscofo] The plural form of \texttt{editorcofo}.
12082 \item[editorcoaf] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12083 \item[editorscoaf] The plural form of \texttt{editorcoaf}.
12084 \end{keymarglist}
12085 %
12086 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \prm{role} combinations:
12087
12088 \begin{keymarglist}
12089 \item[editoranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12090 \item[editorsanin] The plural form of \texttt{editoranin}.
12091 \item[editoranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12092 \item[editorsanfo] The plural form of \texttt{editoranfo}.
12093 \item[editoranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12094 \item[editorsanaf] The plural form of \texttt{editoranaf}.
12095 \end{keymarglist}
12096 %
12097 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12098
12099 \begin{keymarglist}
12100 \item[editortrcoin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12101 \item[editorstrcoin] The plural form of \texttt{editortrcoin}.
12102 \item[editortrcofo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12103 \item[editorstrcofo] The plural form of \texttt{editortrcofo}.
12104 \item[editortrcoaf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12105 \item[editorstrcoaf] The plural form of \texttt{editortrcoaf}.
12106 \end{keymarglist}
12107 %
12108 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12109
12110 \begin{keymarglist}
12111 \item[editortranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12112 \item[editorstranin] The plural form of \texttt{editortranin}.
12113 \item[editortranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12114 \item[editorstranfo] The plural form of \texttt{editortranfo}.
12115 \item[editortranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12116 \item[editorstranaf] The plural form of \texttt{editortranaf}.
12117 \end{keymarglist}
12118
12119 \paragraph{Concatenated Translator Roles, Expressed as Functions}
12120 \label{aut:lng:key:ctf}
12121
12122 The following keys are similar in function to \texttt{translator}. They are used to indicate additional roles of the translator, \eg\ <translator and commentator>, <translator and introduction>.
12123
12124 \begin{keymarglist}
12125 \item[translatorco] Used if \bibfield{translator}\slash \bibfield{commentator} are identical.
12126 \item[translatorsco] The plural form of \texttt{translatorco}.
12127 \item[translatoran] Used if \bibfield{translator}\slash \bibfield{annotator} are identical.
12128 \item[translatorsan] The plural form of \texttt{translatoran}.
12129 \item[translatorin] Used if \bibfield{translator}\slash \bibfield{introduction} are identical.
12130 \item[translatorsin] The plural form of \texttt{translatorin}.
12131 \item[translatorfo] Used if \bibfield{translator}\slash \bibfield{foreword} are identical.
12132 \item[translatorsfo] The plural form of \texttt{translatorfo}.
12133 \item[translatoraf] Used if \bibfield{translator}\slash \bibfield{aftword} are identical.
12134 \item[translatorsaf] The plural form of \texttt{translatoraf}.
12135 \end{keymarglist}
12136 %
12137 Keys for \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12138
12139 \begin{keymarglist}
12140 \item[translatorcoin] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12141 \item[translatorscoin] The plural form of \texttt{translatorcoin}.
12142 \item[translatorcofo] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12143 \item[translatorscofo] The plural form of \texttt{translatorcofo}.
12144 \item[translatorcoaf] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12145 \item[translatorscoaf] The plural form of \texttt{translatorcoaf}.
12146 \end{keymarglist}
12147 %
12148 Keys for \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12149
12150 \begin{keymarglist}
12151 \item[translatoranin] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12152 \item[translatorsanin] The plural form of \texttt{translatoranin}.
12153 \item[translatoranfo] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12154 \item[translatorsanfo] The plural form of \texttt{translatoranfo}.
12155 \item[translatoranaf] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12156 \item[translatorsanaf] The plural form of \texttt{translatoranaf}.
12157 \end{keymarglist}
12158
12159 \paragraph{Roles, Expressed as Actions}
12160 \label{aut:lng:key:eac}
12161
12162 The following keys refer to roles which are expressed as an action (<edited by>, <translated by>) rather than as a function (<editor>, <translator>).
12163
12164 \begin{keymarglist}
12165 \item[byauthor] The expression <[created] by \prm{name}>.
12166 \item[byeditor] The expression <edited by \prm{name}>.
12167 \item[bycompiler] The expression <compiled by \prm{name}>.
12168 \item[byfounder] The expression <founded by \prm{name}>.
12169 \item[bycontinuator] The expression <continued by \prm{name}>.
12170 \item[byredactor] The expression <redacted by \prm{name}>.
12171 \item[byreviser] The expression <revised by \prm{name}>.
12172 \item[byreviewer] The expression <reviewed by \prm{name}>.
12173 \item[bycollaborator] An expression like <in collaboration with \prm{name}> or <in cooperation with \prm{name}>.
12174 \item[bytranslator] The expression <translated by \prm{name}> or <translated from \prm{language} by \prm{name}>.
12175 \item[bycommentator] The expression <commented by \prm{name}>.
12176 \item[byannotator] The expression <annotated by \prm{name}>.
12177 \item[byorganizer] The expression <[organized] by \prm{name}>.
12178 \end{keymarglist}
12179
12180 \paragraph{Concatenated Editor Roles, Expressed as Actions}
12181 \label{aut:lng:key:cea}
12182
12183 The following keys are similar in function to \texttt{byeditor}, \texttt{bytranslator}, etc. They are used to indicate additional roles of the editor, \eg\ <edited and translated by>, <edited and furnished with an introduction by>, <edited, with a foreword, by>.
12184
12185 \begin{keymarglist}
12186 \item[byeditortr] Used if \bibfield{editor}\slash \bibfield{translator} are identical.
12187 \item[byeditorco] Used if \bibfield{editor}\slash \bibfield{commentator} are identical.
12188 \item[byeditoran] Used if \bibfield{editor}\slash \bibfield{annotator} are identical.
12189 \item[byeditorin] Used if \bibfield{editor}\slash \bibfield{introduction} are identical.
12190 \item[byeditorfo] Used if \bibfield{editor}\slash \bibfield{foreword} are identical.
12191 \item[byeditoraf] Used if \bibfield{editor}\slash \bibfield{aftword} are identical.
12192 \end{keymarglist}
12193 %
12194 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \prm{role} combinations:
12195
12196 \begin{keymarglist}
12197 \item[byeditortrco] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator} are identical.
12198 \item[byeditortran] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator} are identical.
12199 \item[byeditortrin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{introduction} are identical.
12200 \item[byeditortrfo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{foreword} are identical.
12201 \item[byeditortraf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{aftword} are identical.
12202 \end{keymarglist}
12203 %
12204 Keys for \bibfield{editor}\slash \bibfield{commentator}\slash \prm{role} combinations:
12205
12206 \begin{keymarglist}
12207 \item[byeditorcoin] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12208 \item[byeditorcofo] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12209 \item[byeditorcoaf] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12210 \end{keymarglist}
12211 %
12212 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \prm{role} combinations:
12213
12214 \begin{keymarglist}
12215 \item[byeditoranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12216 \item[byeditoranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12217 \item[byeditoranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12218 \end{keymarglist}
12219 %
12220 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12221
12222 \begin{keymarglist}
12223 \item[byeditortrcoin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12224 \item[byeditortrcofo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12225 \item[byeditortrcoaf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12226 \end{keymarglist}
12227 %
12228 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12229
12230 \begin{keymarglist}
12231 \item[byeditortranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12232 \item[byeditortranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12233 \item[byeditortranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12234 \end{keymarglist}
12235
12236 \paragraph{Concatenated Translator Roles, Expressed as Actions}
12237 \label{aut:lng:key:cta}
12238
12239 The following keys are similar in function to \texttt{bytranslator}. They are used to indicate additional roles of the translator, \eg\ <translated and commented by>, <translated and furnished with an introduction by>, <translated, with a foreword, by>.
12240
12241 \begin{keymarglist}
12242 \item[bytranslatorco] Used if \bibfield{translator}\slash \bibfield{commentator} are identical.
12243 \item[bytranslatoran] Used if \bibfield{translator}\slash \bibfield{annotator} are identical.
12244 \item[bytranslatorin] Used if \bibfield{translator}\slash \bibfield{introduction} are identical.
12245 \item[bytranslatorfo] Used if \bibfield{translator}\slash \bibfield{foreword} are identical.
12246 \item[bytranslatoraf] Used if \bibfield{translator}\slash \bibfield{aftword} are identical.
12247 \end{keymarglist}
12248 %
12249 Keys for \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12250
12251 \begin{keymarglist}
12252 \item[bytranslatorcoin] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12253 \item[bytranslatorcofo] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12254 \item[bytranslatorcoaf] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12255 \end{keymarglist}
12256 %
12257 Keys for \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12258
12259 \begin{keymarglist}
12260 \item[bytranslatoranin] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12261 \item[bytranslatoranfo] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12262 \item[bytranslatoranaf] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12263 \end{keymarglist}
12264
12265 \paragraph{Roles, Expressed as Objects}
12266 \label{aut:lng:key:rob}
12267
12268 Roles which are related to supplementary material may also be expressed as objects (<with a commentary by>) rather than as functions (<commentator>) or as actions (<commented by>).
12269
12270 \begin{keymarglist}
12271 \item[withcommentator] The expression <with a commentary by \prm{name}>.
12272 \item[withannotator] The expression <with annotations by \prm{name}>.
12273 \item[withintroduction] The expression <with an introduction by \prm{name}>.
12274 \item[withforeword] The expression <with a foreword by \prm{name}>.
12275 \item[withafterword] The expression <with an afterword by \prm{name}>.
12276 \end{keymarglist}
12277
12278 \paragraph{Supplementary Material}
12279 \label{aut:lng:key:mat}
12280
12281 \begin{keymarglist}
12282 \item[commentary] The term <commentary>.
12283 \item[annotations] The term <annotations>.
12284 \item[introduction] The term <introduction>.
12285 \item[foreword] The term <foreword>.
12286 \item[afterword] The term <afterword>.
12287 \end{keymarglist}
12288
12289 \paragraph{Publication Details}
12290 \label{aut:lng:key:pdt}
12291
12292 \begin{keymarglist}
12293 \item[volume] The term <volume>, referring to a book.
12294 \item[volumes] The plural form of \texttt{volume}.
12295 \item[involumes] The term <in>, as used in expressions like <in \prm{number of volumes} volumes>.
12296 \item[jourvol] The term <volume>, referring to a journal.
12297 \item[jourser] The term <series>, referring to a journal.
12298 \item[book] The term <book>, referring to a document division.
12299 \item[part] The term <part>, referring to a part of a book or a periodical.
12300 \item[issue] The term <issue>, referring to a periodical.
12301 \item[newseries] The expression <new series>, referring to a journal.
12302 \item[oldseries] The expression <old series>, referring to a journal.
12303 \item[edition] The term <edition>.
12304 \item[in] The term <in>, referring to the title of a work published as part of another one, \eg\ <\prm{title of article} in \prm{title of journal}>.
12305 \item[inseries] The term <in>, as used in expressions like <volume \prm{number} in \prm{name of series}>.
12306 \item[ofseries] The term <of>, as used in expressions like <volume \prm{number} of \prm{name of series}>.
12307 \item[number] The term <number>, referring to an issue of a journal.
12308 \item[chapter] The term <chapter>, referring to a chapter in a book.
12309 \item[version] The term <version>, referring to a revision number.
12310 \item[reprint] The term <reprint>.
12311 \item[reprintof] The expression <reprint of \prm{title}>.
12312 \item[reprintas] The expression <reprinted as \prm{title}>.
12313 \item[reprintfrom] The expression <reprinted from \prm{title}>.
12314 \item[translationof] The expression <translation of \prm{title}>.
12315 \item[translationas] The expression <translated as \prm{title}>.
12316 \item[translationfrom] The expression <translated from [the] \prm{language}>.
12317 \item[reviewof] The expression <review of \prm{title}>.
12318 \item[origpubas] The expression <originally published as \prm{title}>.
12319 \item[origpubin] The expression <originally published in \prm{year}>.
12320 \item[astitle] The term <as>, as used in expressions like <published by \prm{publisher} as \prm{title}>.
12321 \item[bypublisher] The term <by>, as used in expressions like <published by \prm{publisher}>.
12322 \end{keymarglist}
12323
12324 \paragraph{Publication State}
12325 \label{aut:lng:key:pst}
12326
12327 \begin{keymarglist}
12328 \item[inpreparation] The expression <in preparation> (the manuscript is being prepared for publication).
12329 \item[submitted] The expression <submitted> (the manuscript has been submitted to a journal or conference).
12330 \item[forthcoming] The expression <forthcoming> (the manuscript has been accepted by a press or journal).
12331 \item[inpress] The expression <in press> (the manuscript is fully copyedited and out of the author's hands; it is in the final stages of the production process).
12332 \item[prepublished] The expression <pre-published> (the manuscript is published in a preliminary form or location, such as online version in advance of print publication).
12333 \end{keymarglist}
12334
12335 \paragraph{Pagination}
12336 \label{aut:lng:key:pag}
12337
12338 \begin{keymarglist}
12339 \item[page] The term <page>.
12340 \item[pages] The plural form of \texttt{page}.
12341 \item[column] The term <column>, referring to a column on a page.
12342 \item[columns] The plural form of \texttt{column}.
12343 \item[section] The term <section>, referring to a document division (usually abbreviated as \S).
12344 \item[sections] The plural form of \texttt{section} (usually abbreviated as \S\S).
12345 \item[paragraph] The term <paragraph> (\ie a block of text, not to be confused with \texttt{section}).
12346 \item[paragraphs] The plural form of \texttt{paragraph}.
12347 \item[verse] The term <verse> as used when referring to a work which is cited by verse numbers.
12348 \item[verses] The plural form of \texttt{verse}.
12349 \item[line] The term <line> as used when referring to a work which is cited by line numbers.
12350 \item[lines] The plural form of \texttt{line}.
12351 \item[pagetotal] The term <page> as used in \cmd{mkpageprefix}.
12352 \item[pagetotals] The plural form of \texttt{pagetotal}.
12353 \item[columntotal] The term <column>, referring to a column on a page, as used in \cmd{mkpageprefix}.
12354 \item[columntotals] The plural form of \texttt{columntotal}.
12355 \item[sectiontotal] The term <section>, referring to a document division (usually abbreviated as \S), as used in \cmd{mkpageprefix}.
12356 \item[sectiontotals] The plural form of \texttt{sectiontotal} (usually abbreviated as \S\S).
12357 \item[paragraphtotal] The term <paragraph> (\ie a block of text, not to be confused with \texttt{section}) as used in \cmd{mkpageprefix}.
12358 \item[paragraphtotals] The plural form of \texttt{paragraphtotal}.
12359 \item[versetotal] The term <verse> as used when referring to a work which is cited by verse numbers when used in \cmd{mkpageprefix}.
12360 \item[versetotals] The plural form of \texttt{versetotal}.
12361 \item[linetotal] The term <line> as used when referring to a work which is cited by line numbers when used in \cmd{mkpageprefix}.
12362 \item[linetotals] The plural form of \texttt{linetotal}.
12363 \end{keymarglist}
12364
12365 \paragraph{Types}
12366 \label{aut:lng:key:typ}
12367
12368 The following keys are typically used in the \bibfield{type} field of \bibtype{thesis}, \bibtype{report}, \bibtype{misc}, and other entries:
12369
12370 \begin{keymarglist}
12371 \item[bathesis] An expression equivalent to the term <Bachelor's thesis>.
12372 \item[mathesis] An expression equivalent to the term <Master's thesis>.
12373 \item[phdthesis] The term <PhD thesis>, <PhD dissertation>, <doctoral thesis>, etc.
12374 \item[candthesis] An expression equivalent to the term <Candidate thesis>. Used for <Candidate> degrees that have no clear equivalent to the Master's or doctoral level.
12375 \item[techreport] The term <technical report>.
12376 \item[resreport] The term <research report>.
12377 \item[software] The term <computer software>.
12378 \item[datacd] The term <data \textsc{cd}> or <\textsc{cd-rom}>.
12379 \item[audiocd] The term <audio \textsc{cd}>.
12380 \end{keymarglist}
12381
12382 \paragraph{Miscellaneous}
12383 \label{aut:lng:key:msc}
12384
12385 \begin{keymarglist}
12386 \item[nodate] The term to use in place of a date when there is no date for an entry \eg\ <n.d.>
12387 \item[and] The term <and>, as used in a list of authors or editors, for example.
12388 \item[andothers] The expression <and others> or <et alii>, used to mark the truncation of a name list.
12389 \item[andmore] Like \texttt{andothers} but used to mark the truncation of a literal list.
12390 \end{keymarglist}
12391
12392 \paragraph{Labels}
12393 \label{aut:lng:key:lab}
12394
12395 The following strings are intended for use as labels, \eg\ <Address: \prm{url}> or <Abstract: \prm{abstract}>.
12396
12397 \begin{keymarglist}
12398 \item[url] The term <address> in the sense of an internet address. This string is not used by the standard styles.
12399 \item[urlfrom] An expression like <available from \prm{url}> or <available at \prm{url}>. This string is not used by the standard styles.
12400 \item[urlseen] An expression like <accessed on \prm{date}>, <retrieved on \prm{date}>, <visited on \prm{date}>, referring to the access date of an online resource.
12401 \item[file] The term <file>.
12402 \item[library] The term <library>.
12403 \item[abstract] The term <abstract>.
12404 \item[annotation] The term <annotations>.
12405 \end{keymarglist}
12406
12407 \paragraph{Citations}
12408 \label{aut:lng:key:cit}
12409
12410 Traditional scholarly expressions used in citations:
12411
12412 \begin{keymarglist}
12413 \item[idem] The term equivalent to the Latin <idem> (<the same [person]>).
12414 \item[idemsf] The feminine singular form of \texttt{idem}.
12415 \item[idemsm] The masculine singular form of \texttt{idem}.
12416 \item[idemsn] The neuter singular form of \texttt{idem}.
12417 \item[idempf] The feminine plural form of \texttt{idem}.
12418 \item[idempm] The masculine plural form of \texttt{idem}.
12419 \item[idempn] The neuter plural form of \texttt{idem}.
12420 \item[idempp] The plural form of \texttt{idem} suitable for a mixed gender list of names.
12421 \item[ibidem] The term equivalent to the Latin <ibidem> (<in the same place>).
12422 \item[opcit] The term equivalent to the Latin term <opere citato> (<[in] the work [already] cited>).
12423 \item[loccit] The term equivalent to the Latin term <loco citato> (<[at] the place [already] cited>).
12424 \item[confer] The term equivalent to the Latin <confer> (<compare>).
12425 \item[sequens] The term equivalent to the Latin <sequens> (<[and] the following [page]>), as used to indicate a range of two pages when only the starting page is provided (\eg\ <25\,sq.> or <25\,f.> instead of <25--26>).
12426 \item[sequentes] The term equivalent to the Latin <sequentes> (<[and] the following [pages]>), as used to indicate, depending on convention, either a range of exactly three pages or an open"=ended range of pages (\textgreater 2) when only the starting page is provided (\eg\ <25\,sqq.> or <25\,ff.>).
12427 \item[passim] The term equivalent to the Latin <passim> (<throughout>, <here and there>, <scatteredly>).
12428 \end{keymarglist}
12429 %
12430 Other expressions frequently used in citations:
12431
12432 \begin{keymarglist}
12433 \item[see] The term <see>.
12434 \item[seealso] The expression <see also>.
12435 \item[seenote] An expression like <see note \prm{footnote}> or <as in \prm{footnote}>, used to refer to a previous footnote in a citation.
12436 \item[backrefpage] An expression like <see page \prm{page}> or <cited on page \prm{page}>, used to introduce back references in the bibliography.
12437 \item[backrefpages] The plural form of \texttt{backrefpage}, \eg\ <see pages \prm{pages}> or <cited on pages \prm{pages}>.
12438 \item[quotedin] An expression like <quoted in \prm{citation}>, used when quoting a passage which was already a quotation in the cited work.
12439 \item[citedas] An expression like <henceforth cited as \prm{shorthand}>, used to introduce a shorthand in a citation.
12440 \item[thiscite] The expression used in some verbose citation styles to differentiate between the page range of the cited item (typically an article in a journal, collection, or conference proceedings) and the page number the citation refers to. For example: \enquote{Author, Title, in: Book, pp. 45--61, \texttt{thiscite} p. 52.}
12441 \end{keymarglist}
12442
12443 \paragraph{Month Names}
12444 \label{aut:lng:key:mon}
12445
12446 \begin{keymarglist}
12447 \item[january] The name <January>.
12448 \item[february] The name <February>.
12449 \item[march] The name <March>.
12450 \item[april] The name <April>.
12451 \item[may] The name <May>.
12452 \item[june] The name <June>.
12453 \item[july] The name <July>.
12454 \item[august] The name <August>.
12455 \item[september] The name <September>.
12456 \item[october] The name <October>.
12457 \item[november] The name <November>.
12458 \item[december] The name <December>.
12459 \end{keymarglist}
12460
12461 \paragraph{Language Names}
12462 \label{aut:lng:key:lng}
12463
12464 \begin{keymarglist}
12465 \item[langamerican] The language <American> or <American English>.
12466 \item[langbasque] The language <Basque>.
12467 \item[langbrazilian] The language <Brazilian> or <Brazilian Portuguese>.
12468 \item[langbulgarian] The language <Bulgarian>.
12469 \item[langcatalan] The language <Catalan>.
12470 \item[langcroatian] The language <Croatian>.
12471 \item[langczech] The language <Czech>.
12472 \item[langdanish] The language <Danish>.
12473 \item[langdutch] The language <Dutch>.
12474 \item[langenglish] The language <English>.
12475 \item[langestonian] The language <Estonian>.
12476 \item[langfinnish] The language <Finnish>.
12477 \item[langfrench] The language <French>.
12478 \item[langgerman] The language <German>.
12479 \item[langgreek] The language <Greek>.
12480 \item[langhungarian] The language <Hungarian>.
12481 \item[langitalian] The language <Italian>.
12482 \item[langjapanese] The language <Japanese>.
12483 \item[langlatin] The language <Latin>.
12484 \item[langlatvian] The language <Latvian>.
12485 \item[langlithuanian] The language <Lithuanian>.
12486 \item[langmarathi] The language <Marathi>.
12487 \item[langnorwegian] The language <Norwegian>.
12488 \item[langpolish] The language <Polish>.
12489 \item[langportuguese] The language <Portuguese>.
12490 \item[langromanian] The language <Romanian>.
12491 \item[langrussian] The language <Russian>.
12492 \item[langserbian] The language <Serbian>.
12493 \item[langslovak] The language <Slovak>.
12494 \item[langslovene] The language <Slovene>.
12495 \item[langspanish] The language <Spanish>.
12496 \item[langswedish] The language <Swedish>.
12497 \item[langturkish] The language <Turkish>.
12498 \item[langukrainian] The language <Ukrainian>.
12499 \end{keymarglist}
12500 %
12501 The following strings are intended for use in phrases like <translated from [the] English by \prm{translator}>:
12502
12503 \begin{keymarglist}
12504 \item[fromamerican] The expression <from [the] American> or <from [the] American English>.
12505 \item[frombasque] The expression <from [the] Basque>.
12506 \item[frombrazilian] The expression <from [the] Brazilian> or <from [the] Brazilian Portuguese>.
12507 \item[frombulgarian] The expression <from [the] Bulgarian>.
12508 \item[fromcatalan] The expression <from [the] Catalan>.
12509 \item[fromcroatian] The expression <from [the] Croatian>.
12510 \item[fromczech] The expression <from [the] Czech>.
12511 \item[fromdanish] The expression <from [the] Danish>.
12512 \item[fromdutch] The expression <from [the] Dutch>.
12513 \item[fromenglish] The expression <from [the] English>.
12514 \item[fromestonian] The expression <from [the] Estonian>.
12515 \item[fromfinnish] The expression <from [the] Finnish>.
12516 \item[fromfrench] The expression <from [the] French>.
12517 \item[fromgerman] The expression <from [the] German>.
12518 \item[fromgreek] The expression <from [the] Greek>.
12519 \item[fromhungarian] The language <from [the] Hungarian>.
12520 \item[fromitalian] The expression <from [the] Italian>.
12521 \item[fromjapanese] The expression <from [the] Japanese>.
12522 \item[fromlatin] The expression <from [the] Latin>.
12523 \item[fromlatvian] The expression <from [the] Latvian>.
12524 \item[fromlithuanian] The language <from [the] Lithuanian>.
12525 \item[frommarathi] The expression <from [the] Marathi>.
12526 \item[fromnorwegian] The expression <from [the] Norwegian>.
12527 \item[frompolish] The expression <from [the] Polish>.
12528 \item[fromportuguese] The expression <from [the] Portuguese>.
12529 \item[fromromanian] The expression <from [the] Romanian>.
12530 \item[fromrussian] The expression <from [the] Russian>.
12531 \item[fromserbian] The expression <from [the] Serbian>.
12532 \item[fromslovak] The expression <from [the] Slovak>.
12533 \item[fromslovene] The expression <from [the] Slovene>.
12534 \item[fromspanish] The expression <from [the] Spanish>.
12535 \item[fromswedish] The expression <from [the] Swedish>.
12536 \item[fromturkish] The expression <from [the] Turkish>.
12537 \item[fromukrainian] The expression <from [the] Ukrainian>.
12538 \end{keymarglist}
12539
12540 \paragraph{Country Names}
12541 \label{aut:lng:key:cnt}
12542
12543 Country names are localised by using the string \texttt{country} plus the \acr{ISO}-3166 country code as the key. The short version of the translation should be the \acr{ISO}-3166 country code. Note that only a small number of country names is defined by default, mainly to illustrate this scheme. These keys are used in the \bibfield{location} list of \bibtype{patent} entries but they may be useful for other purposes as well.
12544
12545 \begin{keymarglist}
12546 \item[countryde] The name <Germany>, abbreviated as \texttt{DE}.
12547 \item[countryeu] The name <European Union>, abbreviated as \texttt{EU}.
12548 \item[countryep] Similar to \opt{countryeu} but abbreviated as \texttt{EP}. This is intended for \bibfield{patent} entries.
12549 \item[countryfr] The name <France>, abbreviated as \texttt{FR}.
12550 \item[countryuk] The name <United Kingdom>, abbreviated (according to \acr{ISO}-3166) as \texttt{GB}.
12551 \item[countryus] The name <United States of America>, abbreviated as \texttt{US}.
12552 \end{keymarglist}
12553
12554 \paragraph{Patents and Patent Requests}
12555 \label{aut:lng:key:pat}
12556
12557 Strings related to patents are localised by using the term \texttt{patent} plus the \acr{ISO}-3166 country code as the key. Note that only a small number of patent keys is defined by default, mainly to illustrate this scheme. These keys are used in the \bibfield{type} field of \bibtype{patent} entries.
12558
12559 \begin{keymarglist}
12560 \item[patent] The generic term <patent>.
12561 \item[patentde] The expression <German patent>.
12562 \item[patenteu] The expression <European patent>.
12563 \item[patentfr] The expression <French patent>.
12564 \item[patentuk] The expression <British patent>.
12565 \item[patentus] The expression <U.S. patent>.
12566 \end{keymarglist}
12567 %
12568 Patent requests are handled in a similar way, using the string \texttt{patreq} as the base name of the key:
12569
12570 \begin{keymarglist}
12571 \item[patreq] The generic term <patent request>.
12572 \item[patreqde] The expression <German patent request>.
12573 \item[patreqeu] The expression <European patent request>.
12574 \item[patreqfr] The expression <French patent request>.
12575 \item[patrequk] The expression <British patent request>.
12576 \item[patrequs] The expression <U.S. patent request>.
12577 \end{keymarglist}
12578
12579 \paragraph{Dates and Times}
12580 \label{aut:lng:key:dt}
12581
12582 Abbreviation strings for standard eras. Both secular and Christian variants
12583 are supported.
12584
12585 \begin{keymarglist}
12586 \item[commonera] The era <CE>
12587 \item[beforecommonera] The era <BCE>
12588 \item[annodomini] The era <AD>
12589 \item[beforechrist] The era <BC>
12590 \end{keymarglist}
12591
12592 Abbreviation strings for <circa> dates:
12593
12594 \begin{keymarglist}
12595 \item[circa] The string <circa>
12596 \end{keymarglist}
12597
12598 Abbreviation strings for year divisions parsed from \acr{ISO8601-2} Extended Format dates:
12599
12600 \begin{keymarglist}
12601 \item[spring] The string <spring>
12602 \item[summer] The string <summer>
12603 \item[autumn] The string <autumn>
12604 \item[winter] The string <winter>
12605 \item[springN] The string <spring (Northern Hemisphere)>
12606 \item[summerN] The string <summer (Northern Hemisphere)>
12607 \item[autumnN] The string <autumn (Northern Hemisphere)>
12608 \item[winterN] The string <winter (Northern Hemisphere)>
12609 \item[springS] The string <spring (Southern Hemisphere)>
12610 \item[summerS] The string <summer (Southern Hemisphere)>
12611 \item[autumnS] The string <autumn (Southern Hemisphere)>
12612 \item[winterS] The string <winter (Southern Hemisphere)>
12613 \item[Q1] The string <Quarter 1>
12614 \item[Q2] The string <Quarter 2>
12615 \item[Q3] The string <Quarter 3>
12616 \item[Q4] The string <Quarter 3>
12617 \item[QD1] The string <Quadrimester 1>
12618 \item[QD2] The string <Quadrimester 2>
12619 \item[QD3] The string <Quadrimester 3>
12620 \item[S1] The string <Semestral 1>
12621 \item[S2] The string <Semestral 2>
12622 \end{keymarglist}
12623
12624 Abbreviation strings for AM/PM:
12625
12626 \begin{keymarglist}
12627 \item[am] The string <AM>
12628 \item[pm] The string <PM>
12629 \end{keymarglist}
12630
12631 \subsection{Formatting Commands}
12632 \label{aut:fmt}
12633
12634 This section corresponds to \secref{use:fmt} in the user part of this manual. Bibliography and citation styles should incorporate the commands and facilities discussed in this section in order to provide a certain degree of high"=level configurability. Users should not be forced to write new styles if all they want to do is modify the spacing in the bibliography or the punctuation used in citations.
12635
12636 \subsubsection{User-definable Commands and Hooks}
12637 \label{aut:fmt:fmt}
12638
12639 This section corresponds to \secref{use:fmt:fmt} in the user part of the manual. The commands and hooks discussed here are meant to be redefined by users, but bibliography and citation styles may provide a default definition which is different from the package default. These commands are defined in \path{biblatex.def}. Note that all commands starting with \cmd{mk\dots} take one mandatory argument.
12640
12641 \begin{ltxsyntax}
12642 \csitem{bibsetup}
12643 Arbitrary code to be executed at the beginning of the bibliography, intended for commands which affect the layout of the bibliography.
12644
12645 \csitem{bibfont}
12646 Arbitrary code setting the font used in the bibliography. This is very similar to \cmd{bibsetup} but intended for switching fonts.
12647
12648 \csitem{citesetup}
12649 Arbitrary code to be executed at the beginning of each citation command.
12650
12651 \csitem{newblockpunct}
12652 The separator inserted between <blocks> in the sense explained in \secref{aut:pct:new}. The default definition is controlled by the package option \opt{block} (see \secref{use:opt:pre:gen}).
12653
12654 \csitem{newunitpunct}
12655 The separator inserted between <units> in the sense explained in \secref{aut:pct:new}. This will usually be a period or a comma plus an interword space. The default definition is a period and a space.
12656
12657 \csitem{finentrypunct}
12658 The punctuation printed at the very end of every bibliography entry, usually a period. The default definition is a period.
12659
12660 \csitem{entrysetpunct}
12661 The punctuation printed between bibliography subentries of an entry set. The default definition is a semicolon and a space.
12662
12663 \csitem{bibnamedelima}
12664 This delimiter controls the spacing between the elements which make up a name part. It is inserted automatically by the backend after the first name element if the element is less than three characters long and before the last element. The default definition is \cmd{addhighpenspace}, \ie a space penalized by the value of the \cnt{highnamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
12665
12666 \csitem{bibnamedelimb}
12667 This delimiter controls the spacing between the elements which make up a name part. It is inserted automatically by the backend between all name elements where \cmd{bibnamedelima} does not apply. The default definition is \cmd{addlowpenspace}, \ie a space penalized by the value of the \cnt{lownamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
12668
12669 \csitem{bibnamedelimc}
12670 This delimiter controls the spacing between name parts. The default name formats use it between the name prefix and the family name if \kvopt{useprefix}{true}. The default definition is \cmd{addhighpenspace}, \ie a space penalized by the value of the \cnt{highnamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
12671
12672 \csitem{bibnamedelimd}
12673 This delimiter controls the spacing between name parts. The default name formats use it between all name parts where \cmd{bibnamedelimc} does not apply. The default definition is \cmd{addlowpenspace}, \ie a space penalized by the value of the \cnt{lownamepenalty} counter (\secref{use:fmt:len}). Please refer to \secref{use:cav:nam} for further details.
12674
12675 \csitem{bibnamedelimi}
12676 This delimiter replaces \cmd{bibnamedelima/b} after initials. Note that this only applies to initials given as such in the \file{bib} file, not to the initials automatically generated by \biblatex which use their own set of delimiters.
12677
12678 \csitem{bibinitperiod}
12679 The punctuation inserted automatically by the backend after all initials unless \cmd{bibinithyphendelim} applies. The default definition is a period (\cmd{adddot}). Please refer to \secref{use:cav:nam} for further details.
12680
12681 \csitem{bibinitdelim}
12682 The spacing inserted automatically by the backend between multiple initials unless \cmd{bibinithyphendelim} applies. The default definition is an unbreakable interword space. Please refer to \secref{use:cav:nam} for further details.
12683
12684 \csitem{bibinithyphendelim}
12685 The punctuation inserted automatically by the backend between the initials of hyphenated name parts, replacing \cmd{bibinitperiod} and \cmd{bibinitdelim}. The default definition is a period followed by an unbreakable hyphen. Please refer to \secref{use:cav:nam} for further details.
12686
12687 \csitem{bibindexnamedelima}
12688 Replaces \cmd{bibnamedelima} in the index.
12689
12690 \csitem{bibindexnamedelimb}
12691 Replaces \cmd{bibnamedelimb} in the index.
12692
12693 \csitem{bibindexnamedelimc}
12694 Replaces \cmd{bibnamedelimc} in the index.
12695
12696 \csitem{bibindexnamedelimd}
12697 Replaces \cmd{bibnamedelimd} in the index.
12698
12699 \csitem{bibindexnamedelimi}
12700 Replaces \cmd{bibnamedelimi} in the index.
12701
12702 \csitem{bibindexinitperiod}
12703 Replaces \cmd{bibinitperiod} in the index.
12704
12705 \csitem{bibindexinitdelim}
12706 Replaces \cmd{bibinitdelim} in the index.
12707
12708 \csitem{bibindexinithyphendelim}
12709 Replaces \cmd{bibinithyphendelim} in the index.
12710
12711 \csitem{revsdnamepunct}
12712 The punctuation to be printed between the given and family name parts when a name is reversed. The default is a comma. This command should be incorporated in formatting directives for name lists. Please refer to \secref{use:cav:nam} for further details.
12713
12714 \csitem{bibnamedash}
12715 The dash to be used as a replacement for recurrent authors or editors in the bibliography. The default is an <em> or an <en> dash, depending on the indentation of the list of references.
12716
12717 \csitem{labelnamepunct}\DeprecatedMark
12718 A separator to be printed after the name used for alphabetizing in the bibliography (\bibfield{author} or \bibfield{editor}, if the \bibfield{author} field is undefined) instead of \cmd{newunitpunct}. The default is \cmd{newunitpunct}, \ie it is not handled differently from regular unit punctuation but permits convenient reconfiguration. This punctuation command is deprecated and has been superseded by the context-sensitive \cmd{nametitledelim} (see \secref{use:fmt:csd}). For backwards compatibility reasons, however, \cmd{nametitledelim} still defaults to \cmd{labelnamepunct} in the \texttt{bib} and \texttt{biblist} contexts. Style authors may want to consider replacing \cmd{labelnampunct} with \texttt{\textbackslash printdelim\{nametitledelim\}} and users may want to prefer modifying the context-sensitive \texttt{nametitledelim} with \cmd{DeclareDelimFormat} over redefining \cmd{labelnamepunct}, \eg
12719 \begin{ltxexample}
12720 \DeclareDelimFormat[bib]{nametitledelim}{%
12721 \addcolon\space}
12722 \end{ltxexample}
12723
12724
12725 \csitem{subtitlepunct}
12726 The separator to be printed between the fields \bibfield{title} and \bibfield{subtitle}, \bibfield{booktitle} and \bibfield{booksubtitle}, as well as \bibfield{maintitle} and \bibfield{mainsubtitle}. Use this separator instead of \cmd{newunitpunct} at this location. The default is \cmd{newunitpunct}, \ie it is not handled differently from regular unit punctuation but permits convenient reconfiguration.
12727
12728 \csitem{intitlepunct}
12729 The separator to be printed between the word «in» and the following title in entry types such as \bibtype{article}, \bibtype{inbook}, \bibtype{incollection}, etc. Use this separator instead of \cmd{newunitpunct} at this location. The default definition is a colon plus an interword space.
12730
12731 \csitem{bibpagespunct}
12732 The separator to be printed before the \bibfield{pages} field. Use this separator instead of \cmd{newunitpunct} at this location. The default is a comma plus an interword space.
12733
12734 \csitem{bibpagerefpunct}
12735 The separator to be printed before the \bibfield{pageref} field. Use this separator instead of \cmd{newunitpunct} at this location. The default is an interword space.
12736
12737 \csitem{bibeidpunct}
12738 The separator printed before the \bibfield{eid} field (similar to \cmd{bibpagespunct}). The default is a comma plus an interword space.
12739
12740 \csitem{multinamedelim}\CSdelimMark
12741 The delimiter to be printed between multiple items in a name list like \bibfield{author} or \bibfield{editor} if there are more than two names in the list. If there are only two names in the list, use the \cmd{finalnamedelim} instead. This command should be incorporated in all formatting directives for name lists. The default is a comma followed by an interword space.
12742
12743 \csitem{finalnamedelim}\CSdelimMark
12744 Use this command instead of \cmd{multinamedelim} before the final name in a name list. The default is the localised term <and>, separated by interword spaces.
12745
12746 \csitem{revsdnamedelim}\CSdelimMark
12747 The extra delimiter to be printed after the first name in a name list consisting of two names (in addition to \cmd{finalnamedelim}) if the first name is reversed. This command should be incorporated in all formatting directives for name lists.
12748
12749 \csitem{andothersdelim}\CSdelimMark
12750 The delimiter to be printed before the localisation string <\texttt{andothers}> if a name list like \bibfield{author} or \bibfield{editor} is truncated. This command should be incorporated in all formatting directives for name lists. The default is an interword space.
12751
12752 \csitem{multilistdelim}\CSdelimMark
12753 The delimiter to be printed between multiple items in a literal list like \bibfield{publisher} or \bibfield{location} if there are more than two names in the list. If there are only two items in the list, use the \cmd{finallistdelim} instead. This command should be incorporated in all formatting directives for literal lists. The default is a comma plus an interword space.
12754
12755 \csitem{finallistdelim}\CSdelimMark
12756 Use this command instead of \cmd{multilistdelim} before the final item in a literal list. The default is the localised term <and>, separated by interword spaces.
12757
12758 \csitem{andmoredelim}\CSdelimMark
12759 The delimiter to be printed before the localisation string <\texttt{andmore}> if a literal list like \bibfield{publisher} or \bibfield{location} is truncated. This command should be incorporated in all formatting directives for literal lists. The default is an interword space.
12760
12761 \csitem{multicitedelim}
12762 The delimiter printed between citations if multiple entry keys are passed to a single citation command. This command should be incorporated in the definition of all citation commands, for example in the \prm{sepcode} argument passed to \cmd{DeclareCiteCommand}. See \secref{aut:cbx:cbx} for details. The default is a semicolon plus an interword space.
12763
12764 \csitem{multiciterangedelim}
12765 The delimiter printed between two citations if they are compressed to a range. The default is \cmd{bibrangedash}.
12766
12767 \csitem{multicitesubentrydelim}
12768 The delimiter printed between subentry citations of the same set. This delimiter is only used in citation styles that reduce citations of the same set to a more compact form (\opt{subentry} of \texttt{numeric-comp}). The default is a comma.
12769
12770 \csitem{multicitesubentryrangedelim}
12771 The delimiter printed between two citations of the same set if they are compressed to a range. The default is \cmd{multiciterangedelim}.
12772
12773 \csitem{supercitedelim}
12774 Similar to \cmd{multinamedelim}, but intended for the \cmd{supercite} command only. The default is a comma.
12775
12776 \csitem{superciterangedelim}
12777 Analogue of \cmd{multiciterangedelim} for \cmd{supercite}. The default is \cmd{bibrangedash}.
12778
12779 \csitem{supercitesubentrydelim}
12780 Analogue of \cmd{multicitesubentrydelim} for \cmd{supercite}. The default is \cmd{supercitedelim}.
12781
12782 \csitem{supercitesubentryrangedelim}
12783 Analogue of \cmd{multicitesubentryrangedelim} for \cmd{supercite}. The default is \cmd{superciterangedelim}.
12784
12785 \csitem{compcitedelim}
12786 Similar to \cmd{multicitedelim}, but intended for citation styles that <compress> multiple citations, \ie print the author only once if subsequent citations share the same author etc. The default definition is a comma plus an interword space.
12787
12788 \csitem{textcitedelim}
12789 Similar to \cmd{multicitedelim}, but intended for \cmd{textcite} and related commands (\secref{use:cit:cbx}). The default is a comma plus an interword space. The standard styles modify this provisional definition to ensure that the delimiter before the final citation is the localised term <and>, separated by interword spaces.
12790
12791 \csitem{nametitledelim}\CSdelimMark
12792 The delimiter to be printed between the author\slash editor and the title. This command should be incorporated in the definition of all citation commands of author-title and some verbose citation styles and in the bibliography drivers---in author-year bibliographies \cs{nametitledelim} may be printed between the author\slash editor-year block and the title. The default definition inside bibliographies (\ie in the \texttt{bib} and \texttt{biblist} contexts) is the now deprecated \cmd{labelnamepunct} (for backwards compatibility reasons), in \texttt{textcite} context it is a space and it is a comma plus an interword space otherwise.
12793
12794 \csitem{nameyeardelim}\CSdelimMark
12795 The delimiter to be printed between the author\slash editor and the year. This command should be incorporated in the definition of all citation commands of author-year citation styles and in the bibliography drivers. The default definition is an interword space. For backwards compatibility reasons there are separate definitions in the \texttt{bib}, \texttt{biblist}, \texttt{textcite} and global context.
12796
12797 \csitem{namelabeldelim}\CSdelimMark
12798 The delimiter printed between the name\slash title and the label. This command should be incorporated in the definition of all citation commands of alphabetic and numeric citation styles. The default definition is an interword space.
12799
12800 \csitem{nonameyeardelim}\CSdelimMark
12801 The delimiter printed between the substitute for the labelname when it does not exist (usually the label or title in standard styles) and the year citation styles and the bibliography drivers. This command should be incorporated in the definition of all citation commands of author-year citation styles and in the bibliography drivers. The default definition is an interword space. For backwards compatibility reasons there are separate definitions in the \texttt{bib}, \texttt{biblist}, \texttt{textcite} and global context.
12802
12803 \csitem{authortypedelim}\CSdelimMark
12804 The delimiter printed between the author and the \texttt{authortype}. The default is a comma followed by a space.
12805
12806 \csitem{editortypedelim}\CSdelimMark
12807 The delimiter printed between the editor and the \texttt{editor} or \texttt{editortype} string. The default is a comma followed by a space.
12808
12809 \csitem{translatortypedelim}\CSdelimMark
12810 The delimiter printed between the translator and the \texttt{translator} string. The default is a comma followed by a space.
12811
12812 \csitem{labelalphaothers}
12813 A string to be appended to the non"=numeric portion of the \bibfield{labelalpha} field (\ie the field holding the citation label used by alphabetic citation styles) if the number of authors\slash editors exceeds the \opt{maxalphanames} threshold or the \bibfield{author}\slash \bibfield{editor} list was truncated in the \file{bib} file with the keyword <\texttt{and others}>. This will typically be a single character such as a plus sign or an asterisk. The default is a plus sign. This command may also be redefined to an empty string to disable this feature. In any case, it must be redefined in the preamble.
12814
12815 \csitem{sortalphaothers}
12816 Similar to \cmd{labelalphaothers} but used in the sorting process. Setting it to a different value is advisable if the latter contains formatting commands. If \cmd{sortalphaothers} is not redefined, it defaults to \cmd{labelalphaothers}.
12817
12818 \csitem{volcitedelim}
12819 The delimiter to be printed between the volume portion and the page/text portion of \cmd{volcite} and related commands (\secref{use:cit:spc}).
12820
12821 \csitem{prenotedelim}\CSdelimMark
12822 The delimiter to be printed after the \prm{prenote} argument of a citation command. The default is an interword space.
12823
12824 \csitem{postnotedelim}\CSdelimMark
12825 The delimiter to be printed before the \prm{postnote} argument of a citation command. The default is a comma plus an interword space.
12826
12827 \csitem{extpostnotedelim}\CSdelimMark
12828 The delimiter printed between the citation and the parenthetical \prm{postnote} argument of a citation command when the postnote occurs outside of the citation parentheses. In the standard styles, this occurs when the citation uses the shorthand field of the entry. The default is an interword space.
12829
12830 \csitem{multiprenotedelim}\CSdelimMark
12831 The delimiter to be printed after the \prm{multiprenote} argument of a citation command.
12832
12833 \csitem{multipostnotedelim}\CSdelimMark
12834 The delimiter to be printed before the \prm{multipostnote} argument of a citation command.
12835
12836 \cmditem{mkbibname<namepart>}{text}
12837 Formatting hook for the name part <namepart>, to be used in all formatting directives for name lists. The default datamodel defines the name parts <family>, <given>, <prefix> and <suffix> and therefore the following macros are automatically defined:
12838
12839 \begin{ltxexample}
12840 \mkbibnamefamily
12841 \mkbibnamegiven
12842 \mkbibnameprefix
12843 \mkbibnamesuffix
12844 \end{ltxexample}
12845
12846 \cmditem{mkbibcompletename<formatorder>}{text}
12847 Formatting hook for the complete name in format order <formatorder>. The default styles use the name format orders <family>, <family-given> and <given-family>, therefore the following macros are automatically defined:
12848
12849 \begin{ltxexample}
12850 \mkbibcompletenamefamily
12851 \mkbibcompletenamefamilygiven
12852 \mkbibcompletenamegivenfamily
12853 \end{ltxexample}
12854 %
12855 These formatting hooks should enclose the complete name in the bibliography macro \cmd{name:<formatorder>}. Initially all hooks expand to \cmd{mkbibcompletename}.
12856
12857 \cmditem{mkbibcompletename}{text}
12858 The initial value of all default formatting hooks \cmd{mkbibcompletename<formatorder>}.
12859
12860 \csitem{datecircadelim}\CSdelimMark
12861 When formatting dates with the global option \opt{datecirca} enabled, the delimiter printed after any localised <circa> term. Defaults to interword space.
12862
12863 \csitem{dateeradelim}\CSdelimMark
12864 When formatting dates with the global option \opt{dateera} set, the delimiter printed before the localisation era term. Defaults to interword space.
12865
12866 \csitem{dateuncertainprint}
12867 Prints date uncertainty information when the global option \opt{dateuncertain} is enabled and the \cmd{ifdateuncertain} test is true. By default, prints the language specific \cmd{bibdateuncertain} string (\secref{use:fmt:lng}).
12868
12869 \csitem{enddateuncertainprint}
12870 Prints date uncertainty information when the global option \opt{dateuncertain} is enabled and the \cmd{ifenddateuncertain} test is true. By default, prints the language specific \cmd{bibdateuncertain} string (\secref{use:fmt:lng}).
12871
12872 \csitem{datecircaprint}
12873 Prints date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifdatecirca} test is true. By default, prints the <circa> localised term (\secref{aut:lng:key:dt}) and the \opt{datecircadelim} delimiter.
12874
12875 \csitem{enddatecircaprint}
12876 Prints date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifenddatecirca} test is true. By default, prints the <circa> localised term (\secref{aut:lng:key:dt}) and the \opt{datecircadelim} delimiter.
12877
12878 \csitem{datecircaprintiso}
12879 Prints \acr{ISO8601-2} format date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifdatecirca} test is true. Prints \cmd{textasciitilde}.
12880
12881 \csitem{enddatecircaprintiso}
12882 Prints \acr{ISO8601-2} format date circa information when the global option \opt{datecirca} is enabled and the \cmd{ifenddatecirca} test is true. Prints \cmd{textasciitilde}.
12883
12884 \csitem{dateeraprint}{yearfield}
12885 Prints date era information when the global option \opt{dateera} is set to <secular> or <christian>. By default, prints the \opt{dateeradelim} delimiter and the appropriate localised era term (\secref{aut:lng:key:dt}). If the \opt{dateeraauto} option is set, then the passed \prm{yearfield} (which is the name of a year field such as <year>, <origyear>, <endeventyear> etc.) is tested to see if its value is earlier than the \opt{dateeraauto} threshold and if so, then the BCE/CE localisation will be output too. The default setting for \opt{dateeraauto} is 0 and so only BCE/BC localisation strings are candidates for output. Detects whether the start or end year era information is to be printed by looking at the \prm{yearfield} name passed to it.
12886
12887 \csitem{dateeraprintpre}
12888 Prints date era information when the global option \opt{dateera} is set to <astronomical>. By default, prints \opt{bibdataeraprefix}. Detects whether the start or end year era information is to be printed by looking at the \prm{yearfield} name passed to it.
12889
12890 \csitem{relatedpunct}
12891 The separator between the \bibfield{relatedtype} bibliography localisation string and the data from the first related entry.
12892
12893 \csitem{relateddelim}
12894 The generic separator between the data of multiple related entries. The default definition is an optional dot plus linebreak.
12895
12896 \csitem{relateddelim$<$relatedtype$>$}
12897 The separator between the data of multiple related entries inside related entries of type <relatedtype>. There is no default, if such a type-specific delimiter does not exist, \cmd{relateddelim} is used.
12898
12899 \csitem{begrelateddelim}
12900 The generic separator before the block of related entries. The default definition is \cmd{newunitpunct}.
12901
12902 \csitem{begrelateddelim$<$relatedtype$>$}
12903 The separator between the block of related entries of type <relatedtype>. There is no default, if such a type-specific delimiter does not exist, \cmd{relateddelim} is used.
12904
12905 \end{ltxsyntax}
12906
12907 \subsubsection{Language-specific Commands}
12908 \label{aut:fmt:lng}
12909
12910 This section corresponds to \secref{use:fmt:lng} in the user part of the manual. The commands discussed here are usually handled by the localisation modules, but may also be redefined by users on a per"=language basis. Note that all commands starting with \cmd{mk\dots} take one or more mandatory arguments.
12911
12912 \begin{ltxsyntax}
12913
12914 \csitem{bibrangedash}
12915
12916 The language specific dash to be used for ranges of numbers. Defaults to \cmd{textendash}.
12917
12918 \csitem{bibrangessep}
12919
12920 The language specific separator to be used between multiple ranges. Defaults to a comma followed by a space.
12921
12922 \csitem{bibdatesep}
12923
12924 The language specific separator used between date components in terse date formats. Defaults to \cmd{hyphen}.
12925
12926 \csitem{bibdaterangesep}
12927
12928 The language specific separator to be used for date ranges. Defaults to \cmd{textendash} for all date formats apart from \opt{ymd} which defaults to a \cmd{slash}. The date format option \opt{iso} is hard-coded to \cmd{slash} since this is a standards compliant format.
12929
12930 \csitem{mkbibdatelong}
12931
12932 Takes the names of three field as arguments which correspond to three date components (in the order year\slash month\slash day) and uses their values to print the date in the language specific long date format.
12933
12934 \csitem{mkbibdateshort}
12935
12936 Similar to \cmd{mkbibdatelong} but using the language specific short date format.
12937
12938 \csitem{mkbibtimezone}
12939
12940 Modifies a timezone string passed in as the only argument. By default this changes <Z> to the value of \cmd{bibtimezone}.
12941
12942 \csitem{bibdateuncertain}
12943
12944 The language specific marker to be used after uncertain dates when the global option \opt{dateuncertain} is enabled. Defaults to a space followed by a question mark.
12945
12946
12947 \csitem{bibdateeraprefix}
12948
12949 The language specific marker which is printed as a prefix to beginning BCE/BC dates in a date range when the option \opt{dateera} is set to <astronomical>. Defaults to \cmd{textminus}, if defined and \cmd{textendash} otherwise.
12950
12951 \csitem{bibdateeraendprefix}
12952
12953 The language specific marker which is printed as a prefix to end BCE/BC dates in a date range when the option \opt{dateera} is set to <astronomical>. Defaults to a thin space followed by \cmd{bibdateeraprefix} when \cmd{bibdaterangesep} is set to a dash and to \cmd{bibdateeraprefix} otherwise. This is a separate macro so that you may add extra space before a negative date marker which, for example follows a dash date range marker as this can look a little odd.
12954
12955 \csitem{bibtimesep}
12956
12957 The language specific marker which separates time components. Default to a colon.
12958
12959 \csitem{bibutctimezone}
12960
12961 The language specific string printed for the UTC timezone. Defaults to <Z>.
12962
12963 \csitem{bibtimezonesep}
12964
12965 The language specific marker which separates an optional time zone component from a time. Empty by default.
12966
12967 \csitem{bibtzminsep}
12968
12969 The language specific marker which separates hour and minute component of offset timezones. Defaults to a \cmd{bibtimesep}.
12970
12971 \csitem{bibdatetimesep}
12972
12973 The language specific separator printed between date and time components when printing time components along with date components (see the \opt{$<$datetype$>$dateusetime} option in \secref{use:opt:pre:gen}). Defaults to a space for non-\acr{ISO8601-2} output formats, and 'T' for \acr{ISO8601-2} output format.
12974
12975 \csitem{finalandcomma}
12976
12977 Prints the comma to be inserted before the final <and> in an enumeration, if applicable in the respective language.
12978
12979 \csitem{finalandsemicolon}
12980
12981 Prints the semicolon to be inserted before the final <and> in an enumeration, if applicable in the respective language.
12982
12983 \cmditem{mkbibordinal}{integer}
12984
12985 Takes an integer argument and prints it as an ordinal number.
12986
12987 \cmditem{mkbibmascord}{integer}
12988
12989 Similar to \cmd{mkbibordinal}, but prints a masculine ordinal, if applicable in the respective language.
12990
12991 \cmditem{mkbibfemord}{integer}
12992
12993 Similar to \cmd{mkbibordinal}, but prints a feminine ordinal, if applicable in the respective language.
12994
12995 \cmditem{mkbibneutord}{integer}
12996
12997 Similar to \cmd{mkbibordinal}, but prints a neuter ordinal, if applicable in the respective language.
12998
12999 \cmditem{mkbibordedition}{integer}
13000
13001 Similar to \cmd{mkbibordinal}, but intended for use with the term <edition>.
13002
13003 \cmditem{mkbibordseries}{integer}
13004
13005 Similar to \cmd{mkbibordinal}, but intended for use with the term <series>.
13006
13007 \end{ltxsyntax}
13008
13009 \subsubsection{User-definable Lengths and Counters}
13010 \label{aut:fmt:len}
13011
13012 This section corresponds to \secref{use:fmt:len} in the user part of the manual. The length registers and counters discussed here are meant to be altered by users. Bibliography and citation styles should incorporate them where applicable and may also provide a default setting which is different from the package default.
13013
13014 \begin{ltxsyntax}
13015
13016 \lenitem{bibhang}
13017
13018 The hanging indentation of the bibliography, if applicable. This length is initialized to \cmd{parindent} at load-time. If \cmd{parindent} is zero length for some reason, \cmd{bibhang} will default to \texttt{1em}.
13019
13020 \lenitem{biblabelsep}
13021
13022 The horizontal space between entries and their corresponding labels. Bibliography styles which use \env{list} environments and print a label should set \len{labelsep} to \len{biblabelsep} in the definition of the respective environment. This length is initialized to twice the value of \cmd{labelsep} at load-time.
13023
13024 \lenitem{bibitemsep}
13025
13026 The vertical space between the individual entries in the bibliography. Bibliography styles using \env{list} environments should set \len{itemsep} to \len{bibitemsep} in the definition of the respective environment. This length is initialized to \cmd{itemsep} at load-time.
13027
13028 \lenitem{bibnamesep}
13029
13030 Vertical space to be inserted between two entries in the bibliography whenever an entry starts with a name which is different from the initial name of the previous entry. The default value is zero. Setting this length to a positive value greater than \len{bibitemsep} will group the bibliography by author\slash editor name. Note that \len{bibitemsep}, \len{bibnamesep}, and \len{bibinitsep} obey the rules for \cmd{addvspace}, that is, when vertical space introduced by any of these commands immediately follows on from space introduced by another of them, the resulting total space is equal to the largest of them.
13031
13032 \lenitem{bibinitsep}
13033
13034 Vertical space to be inserted between two entries in the bibliography whenever an entry starts with a letter which is different from the initial letter of the previous entry. The default value is zero. Setting this length to a positive value greater than \len{bibitemsep} will group the bibliography alphabetically. Note that \len{bibitemsep}, \len{bibnamesep}, and \len{bibinitsep} obey the rules for \cmd{addvspace}, that is, when vertical space introduced by any of these commands immediately follows on from space introduced by another of them, the resulting total space is equal to the largest of them.
13035
13036 \lenitem{bibparsep}
13037
13038 The vertical space between paragraphs within an entry in the bibliography. Bibliography styles using \env{list} environments should set \len{parsep} to \len{bibparsep} in the definition of the respective environment. The default value is zero.
13039
13040 \cntitem{abbrvpenalty}
13041
13042 The penalty used by \cmd{addabbrvspace}, \cmd{addabthinspace}, and \cmd{adddotspace}, see \secref{aut:pct:spc} for details. This counter is initialized to \cmd{hyphenpenalty} at load-time.
13043
13044 \cntitem{highnamepenalty}
13045
13046 The penalty used by \cmd{addhighpenspace} and \cmd{addhpthinspace}, see \secref{aut:pct:spc} for details. The counter is initialized to \cmd{hyphenpenalty} at load-time.
13047
13048 \cntitem{lownamepenalty}
13049
13050 The penalty used by \cmd{addlowpenspace} and \cmd{addlpthinspace}, see \secref{aut:pct:spc} for details. The counter is initialized to half the \cmd{hyphenpenalty} at load-time.
13051
13052 \cntitem{biburlbigbreakpenalty}
13053
13054 The \sty{biblatex} version of \sty{url}'s \len{UrlBigBreakPenalty}. The default value is \texttt{100}.
13055
13056 \cntitem{biburlbreakpenalty}
13057
13058 The \sty{biblatex} version of \sty{url}'s \len{UrlBreakPenalty}. The default value is \texttt{200}.
13059
13060 \cntitem{biburlnumpenalty}
13061
13062 If this counter is set to a value greater than zero, \biblatex will permit linebreaks after numbers in all strings formatted with the \cmd{url} command from the \sty{url} package. This will affect \acr{url}s and \acr{doi}s in the bibliography. The breakpoints will be penalized by the value of this counter. If \acr{url}s and/or \acr{doi}s in the bibliography run into the margin, try setting this counter to a value greater than zero but less than 10000 (you normally want to use a high value like 9000). Setting the counter to zero disables this feature. This is the default setting.
13063
13064 \cntitem{biburlucpenalty}
13065
13066 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all uppercase letters.
13067
13068 \cntitem{biburllcpenalty}
13069
13070 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all lowercase letters.
13071
13072 \lenitem{biburlbigskip}
13073
13074 The \sty{biblatex} version of \len{Urlmuskip}. This length holds the additional (stretchable) space inserted around breakable characters in the \cmd{url} command from the \sty{url} package. The default value is \texttt{0mu plus 3mu}.
13075
13076 \lenitem{biburlnumskip}
13077
13078 The additional space inserted after numbers in strings formatted with the \cmd{url} command from the \sty{url} package. This will affect \acr{url}s and \acr{doi}s in the bibliography. If \acr{url}s and/or \acr{doi}s in the bibliography run into the margin, it may help to set this length to add some small stretchable space, for example \texttt{0mu plus 1mu}. The default setting is \texttt{0mu}. This value is only used if \cnt{biburlnumpenalty} is set to a value different from zero.
13079
13080 \lenitem{biburlucskip}
13081
13082 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
13083
13084 \lenitem{biburllcskip}
13085
13086 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
13087
13088 \end{ltxsyntax}
13089
13090 \subsubsection{Auxiliary Commands and Hooks}
13091 \label{aut:fmt:ich}
13092
13093 The auxiliary commands and facilities in this section serve a special purpose. Some of them are used by \biblatex to communicate with bibliography and citation styles in some way or other.
13094
13095 \begin{ltxsyntax}
13096
13097 \cmditem{mkbibemph}{text}
13098
13099 A generic command which prints its argument as emphasized text. This is a simple wrapper around the standard \cmd{emph} command. Apart from that, it uses \cmd{setpunctfont} from \secref{aut:pct:new} to adapt the font of the next punctuation mark following the text set in italics. If the \opt{punctfont} package option is disabled, this command behaves like \cmd{emph}.
13100
13101 \cmditem{mkbibitalic}{text}
13102
13103 Similar in concept to \cmd{mkbibemph} but prints italicized text. This is a simple wrapper around the standard \cmd{textit} command which incorporates \cmd{setpunctfont}. If the \opt{punctfont} package option is disabled, this command behaves like \cmd{textit}.
13104
13105 \cmditem{mkbibbold}{text}
13106
13107 Similar in concept to \cmd{mkbibemph} but prints bold text. This is a simple wrapper around the standard \cmd{textbf} command which incorporates \cmd{setpunctfont}. If the \opt{punctfont} package option is disabled, this command behaves like \cmd{textbf}.
13108
13109 \cmditem{mkbibquote}{text}
13110
13111 A generic command which wraps its argument in quotation marks. If the \sty{csquotes} package is loaded, this command uses the language sensitive quotation marks provided by that package. \cmd{mkbibquote} also supports <American-style> punctuation, see \cmd{DeclareQuotePunctuation} in \secref{aut:pct:cfg} for details.
13112
13113 \cmditem{mkbibparens}{text}
13114
13115 A generic command which wraps its argument in parentheses. This command is nestable. When nested, it will alternate between parentheses and brackets, depending on the nesting level.
13116
13117 \cmditem{mkbibbrackets}{text}
13118
13119 A generic command which wraps its argument in square brackets. This command is nestable. When nested, it will alternate between brackets and parentheses, depending on the nesting level.
13120
13121 \cmditem{bibopenparen}<text>|{\ltxsyntaxlabelfont\cmd{bibcloseparen}}|
13122
13123 Alternative syntax for \cmd{mkbibparens}. This will also work across groups. Note that \cmd{bibopenparen} and \cmd{bibcloseparen} must always be balanced.
13124
13125 \cmditem{bibopenbracket}<text>|{\ltxsyntaxlabelfont\cmd{bibclosebracket}}|
13126
13127 Alternative syntax for \cmd{mkbibbrackets}. This will also work across groups. Note that \cmd{bibopenbracket} and \cmd{bibclosebracket} must always be balanced.
13128
13129 \cmditem{mkbibfootnote}{text}
13130
13131 A generic command which prints its argument as a footnote. This is a wrapper around the standard \latex \cmd{footnote} command which removes spurious whitespace preceding the footnote mark and prevents nested footnotes. By default, \cmd{mkbibfootnote} requests capitalization at the beginning of the note and automatically adds a period at the end. You may change this behavior by redefining the \cmd{bibfootnotewrapper} macro introduced below.
13132
13133 \cmditem{mkbibfootnotetext}{text}
13134
13135 Similar to \cmd{mkbibfootnote} but uses the \cmd{footnotetext} command.
13136
13137 \cmditem{mkbibendnote}{text}
13138
13139 Similar in concept to \cmd{mkbibfootnote} except that it prints its argument as an endnote. \cmd{mkbibendnote} removes spurious whitespace preceding the endnote mark and prevents nested notes. It supports the \cmd{endnote} command provided by the \sty{endnotes} package as well as the \cmd{pagenote} command provided by the \sty{pagenote} package and the \sty{memoir} class. If both commands are available, \cmd{endnote} takes precedence. If no endnote support is available, \cmd{mkbibendnote} issues an error and falls back to \cmd{footnote}. By default, \cmd{mkbibendnote} requests capitalization at the beginning of the note and automatically adds a period at the end. You may change this behavior by redefining the \cmd{bibendnotewrapper} macro introduced below.
13140
13141 \cmditem{mkbibendnotetext}{text}
13142
13143 Similar to \cmd{mkbibendnote} but uses the \cmd{endnotetext} command. Please note that as of this writing, neither the \sty{pagenote} package nor the \sty{memoir} class provide a corresponding \cmd{pagenotetext} command. In this case, \cmd{mkbibendnote} will issue an error and fall back to \cmd{footnotetext}.
13144
13145 \cmditem{bibfootnotewrapper}{text}
13146
13147 An inner wrapper which encloses the \prm{text} argument of \cmd{mkbibfootnote} and \cmd{mkbibfootnotetext}. For example, \cmd{mkbibfootnote} eventually boils down to this:
13148
13149 \begin{ltxexample}
13150 \footnote{<<\bibfootnotewrapper{>>text<<}>>}
13151 \end{ltxexample}
13152 %
13153 The wrapper ensures capitalization at the beginning of the note and adds a period at the end. The default definition is:
13154
13155 \begin{ltxexample}
13156 \newcommand{\bibfootnotewrapper}[1]{<<\bibsentence>> #1<<\addperiod>>}
13157 \end{ltxexample}
13158 %
13159 If you don't want capitalization at the beginning or a period at the end of the note, do not modify \cmd{mkbibfootnote} but redefine \cmd{bibfootnotewrapper} instead.
13160
13161 \cmditem{bibendnotewrapper}{text}
13162
13163 Similar in concept to \cmd{bibfootnotewrapper} but related to the \cmd{mkbibendnote} and \cmd{mkbibendnotetext} commands.
13164
13165 \cmditem{mkbibsuperscript}{text}
13166
13167 A generic command which prints its argument as superscripted text. This is a simple wrapper around the standard \latex \cmd{textsuperscript} command which removes spurious whitespace and allows hyphenation of the preceding word.
13168
13169 \cmditem{mkbibmonth}{integer}
13170
13171 This command takes an integer argument and prints it as a month name. Even though the output of this command is language specific, its definition is not, hence it is normally not redefined in localisation modules.
13172
13173 \cmditem{mkbibyeardivision}{string}\DeprecatedMark
13174
13175 This command takes a year division localisation string and prints the version of the string corresponding to the setting of the \opt{dateabbrev} package option. Even though the output of this command is language specific, its definition is not, hence it is normally not redefined in localisation modules.
13176
13177 \cmditem{mkbibseason}{string}\DeprecatedMark
13178
13179 This command takes a season localisation string and prints the version of the string corresponding to the setting of the \opt{dateabbrev} package option. Even though the output of this command is language specific, its definition is not, hence it is normally not redefined in localisation modules.
13180
13181 \cmditem{mkyearzeros}{integer}
13182
13183 This command strips leading zeros from a year or enforces them, depending on the \opt{datezeros} package option (\secref{use:opt:pre:gen}). It is intended for use in the definition of date formatting macros. If zeros are enforced, this command calls \cmd{forcezerosy} and thus expands its argument with \cmd{protected@edef}.
13184
13185 \cmditem{mkmonthzeros}{integer}
13186
13187 This command strips leading zeros from a month or enforces them, depending on the \opt{datezeros} package option (\secref{use:opt:pre:gen}). It is intended for use in the definition of date formatting macros. If zeros are enforced, this command calls \cmd{forcezerosmdt} and thus expands its argument with \cmd{protected@edef}.
13188
13189 \cmditem{mkdayzeros}{integer}
13190
13191 This command strips leading zeros from a day or enforces them, depending on the \opt{datezeros} package option (\secref{use:opt:pre:gen}). It is intended for use in the definition of date formatting macros. If zeros are enforced, this command calls \cmd{forcezerosmdt} and thus expands its argument with \cmd{protected@edef}.
13192
13193 \cmditem{mktimezeros}{integer}
13194
13195 This command strips leading zeros from a number or preserves them, depending on the \opt{timezeros} package option (\secref{use:opt:pre:gen}). It is intended for use in the definition of time formatting macros. If zeros are enforced, this command calls \cmd{forcezerosmdt} and thus expands its argument with \cmd{protected@edef}.
13196
13197 \cmditem{forcezerosy}{integer}
13198
13199 This command adds zeros to a year (or any number supposed to be 4-digits). It is intended for date formatting and ordinals. The argument is expanded with \cmd{protected@edef} before it is processed.
13200
13201 \cmditem{forcezerosmdt}{integer}
13202
13203 This command adds zeros to a month, day or time part (or any number supposed to be 2-digits). It is intended for date/time formatting and ordinals. The argument is expanded with \cmd{protected@edef} before it is processed.
13204
13205 \cmditem{stripzeros}{integer}
13206
13207 This command strips leading zeros from a number. It is intended for date formatting and ordinals.
13208
13209 \optitem{$<$labelfield$>$width}
13210
13211 For every field marked as a <Label field> in the data model, a formatting directive is created as per \texttt{shorthandwidth} above. Since \bibfield{shorthand} is so marked in the default data model, this functionality is a superset of that described for \texttt{shorthandwidth}.
13212
13213 \optitem{labelnumberwidth}
13214
13215 Similar to \texttt{shorthandwidth}, but referring to the \bibfield{labelnumber} field and the length register \cmd{labelnumberwidth}. Numeric styles should adjust this directive such that it corresponds to the format used in the bibliography.
13216
13217 \optitem{labelalphawidth}
13218
13219 Similar to \texttt{shorthandwidth}, but referring to the \bibfield{labelalpha} field and the length register \cmd{labelalphawidth}. Alphabetic styles should adjust this directive such that it corresponds to the format used in the bibliography.
13220
13221 \optitem{bibhyperref}
13222
13223 A special formatting directive for use with \cmd{printfield} and \cmd{printtext}. This directive wraps its argument in a \cmd{bibhyperref} command, see \secref{aut:aux:msc} for details.
13224
13225 \optitem{bibhyperlink}
13226
13227 A special formatting directive for use with \cmd{printfield} and \cmd{printtext}. It wraps its argument in a \cmd{bibhyperlink} command, see \secref{aut:aux:msc} for details. The \prm{name} argument passed to \cmd{bibhyperlink} is the value of the \bibfield{entrykey} field.
13228
13229 \optitem{bibhypertarget}
13230
13231 A special formatting directive for use with \cmd{printfield} and \cmd{printtext}. It wraps its argument in a \cmd{bibhypertarget} command, see \secref{aut:aux:msc} for details. The \prm{name} argument passed to \cmd{bibhypertarget} is the value of the \bibfield{entrykey} field.
13232
13233 \optitem{volcitepages}
13234
13235 A special formatting directive which controls the format of the page\slash text portion in the argument of citation commands like \cmd{volcite}.
13236
13237 \optitem{volcitevolume}
13238
13239 A special formatting directive which controls the format of the volume portion in the argument of citation commands like \cmd{volcite}.
13240
13241 \optitem{date}
13242
13243 A special formatting directive which controls the format of \cmd{printdate} (\secref{aut:bib:dat}). Note that the date format (long/short etc.) is controlled by the package option \opt{date} from \secref{use:opt:pre:gen}. This formatting directive only controls additional formatting such as fonts etc.
13244
13245 \optitem{labeldate}
13246
13247 As \texttt{date} but controls the format of \cmd{printlabeldate}.
13248
13249 \optitem{$<$datetype$>$date}
13250
13251 As \texttt{date} but controls the format of \cmd{print$<$datetype$>$date}.
13252
13253 \optitem{time}
13254
13255 A special formatting directive which controls the format of \cmd{printtime} (\secref{aut:bib:dat}). Note that the time format (24h/12h etc.) is controlled by the package option \opt{time} from \secref{use:opt:pre:gen}. This formatting directive only controls additional formatting such as fonts etc.
13256
13257 \optitem{labeltime}
13258
13259 As \texttt{time} but controls the format of \cmd{printlabeltime}.
13260
13261 \optitem{$<$datetype$>$time}
13262
13263 As \texttt{time} but controls the format of \cmd{print$<$datetype$>$time}.
13264
13265 \end{ltxsyntax}
13266
13267 \subsubsection{Auxiliary Lengths, Counters, and Other Features}
13268 \label{aut:fmt:ilc}
13269
13270 The length registers and counters discussed here are used by \biblatex to pass information to bibliography and citation styles. Think of them as read"=only registers. Note that all counters are \latex counters. Use |\value{counter}| to read out the current value.
13271
13272 \begin{ltxsyntax}
13273
13274 \lenitem{$<$labelfield$>$width}
13275
13276 For every field marked as a <label> field in the data model, a length register is created as per \texttt{shorthandwidth} above. Since \bibfield{shorthand} is so marked in the default data model, this functionality is a superset of that described for \texttt{shorthandwidth}.
13277
13278 \lenitem{labelnumberwidth}
13279
13280 This length register indicates the width of the widest \bibfield{labelnumber}. Numeric bibliography styles
13281 should incorporate this length in the definition of the bibliography environment.
13282
13283 \lenitem{labelalphawidth}
13284
13285 This length register indicates the width of the widest \bibfield{labelalpha}. Alphabetic bibliography styles should incorporate this length in the definition of the bibliography environment.
13286
13287 \cntitem{maxextraalpha}
13288
13289 This counter holds the highest number found in any \bibfield{extraalpha} field.
13290
13291 \cntitem{maxextradate}
13292
13293 This counter holds the highest number found in any \bibfield{extradate} field.
13294
13295 \cntitem{maxextraname}
13296
13297 This counter holds the highest number found in any \bibfield{extraname} field.
13298
13299 \cntitem{maxextratitle}
13300
13301 This counter holds the highest number found in any \bibfield{extratitle} field.
13302
13303 \cntitem{maxextratitleyear}
13304
13305 This counter holds the highest number found in any \bibfield{extratitleyear} field.
13306
13307 \cntitem{refsection}
13308
13309 This counter indicates the current \env{refsection} environment. When queried in a bibliography heading, the counter returns the value of the \opt{refsection} option passed to \cmd{printbibliography}.
13310
13311 \cntitem{refsegment}
13312
13313 This counter indicates the current \env{refsegment} environment. When queried in a bibliography heading, this counter returns the value of the \opt{refsegment} option passed to \cmd{printbibliography}.
13314
13315 \cntitem{maxnames}
13316
13317 This counter holds the setting of the \opt{maxnames} package option.
13318
13319 \cntitem{minnames}
13320
13321 This counter holds the setting of the \opt{minnames} package option.
13322
13323 \cntitem{maxitems}
13324
13325 This counter holds the setting of the \opt{maxitems} package option.
13326
13327 \cntitem{minitems}
13328
13329 This counter holds the setting of the \opt{minitems} package option.
13330
13331 \cntitem{instcount}
13332
13333 This counter is incremented by \biblatex for every citation as well as for every entry in the bibliography and bibliography lists. The value of this counter uniquely identifies a single instance of a reference in the document.
13334
13335 \cntitem{citetotal}
13336
13337 This counter, which is only available in the \prm{loopcode} of a citation command defined with \cmd{DeclareCiteCommand}, holds the total number of valid entry keys passed to the citation command.
13338
13339 \cntitem{citecount}
13340
13341 This counter, which is only available in the \prm{loopcode} of a citation command defined with \cmd{DeclareCiteCommand}, holds the number of the entry key currently being processed by the \prm{loopcode}.
13342
13343 \cntitem{multicitetotal}
13344
13345 This counter is similar to \cnt{citetotal} but only available in multicite commands. It holds the total number of citations passed to the multicite command. Note that each of these citations may consist of more than one entry key. This information is provided by the \cnt{citetotal} counter.
13346
13347 \cntitem{multicitecount}
13348
13349 This counter is similar to \cnt{citecount} but only available in multicite commands. It holds the number of the citation currently being processed. Note that this citation may consist of more than one entry key. This information is provided by the \cnt{citetotal} and \cnt{citecount} counters.
13350
13351 \cntitem{listtotal}
13352
13353 This counter holds the total number of items in the current list. It is intended for use in list formatting directives and does not hold a meaningful value when used anywhere else. As an exception, it may also be used in the second optional argument to \cmd{printnames} and \cmd{printlist}, see \secref{aut:bib:dat} for details. For every list, there is also a counter by the same name which holds the total number of items in the corresponding list. For example, the \cnt{author} counter holds the total number of items in the \bibfield{author} list. This applies to both name lists and literal lists. These counters are similar to \cnt{listtotal} except that they may also be used independently of list formatting directives. For example, a bibliography style might check the \cnt{editor} counter to decide Whether or not to print the term «editor» or rather its plural form «editors» after the list of editors.
13354
13355 \cntitem{listcount}
13356
13357 This counter holds the number of the list item currently being processed. It is intended for use in list formatting directives and does not hold a meaningful value when used anywhere else.
13358
13359 \cntitem{liststart}
13360
13361 This counter holds the \prm{start} argument passed to \cmd{printnames} or \cmd{printlist}. It is intended for use in list formatting directives and does not hold a meaningful value when used anywhere else.
13362
13363 \cntitem{liststop}
13364
13365 This counter holds the \prm{stop} argument passed to \cmd{printnames} or \cmd{printlist}. It is intended for use in list formatting directives and does not hold a meaningful value when used anywhere else.
13366
13367 \csitem{currentlang}
13368
13369 The name of the currently active language for \biblatex. Can be used anywhere and
13370 defaults to the main document language. This is automatically switched
13371 inside entries which define \bibfield{langid}, given suitable settings of the
13372 \opt{autolang} and \opt{language} options. Note that this does not track
13373 all document language changes, only the current \biblatex\ setting.
13374
13375 \csitem{currentfield}
13376
13377 The name of the field currently being processed by \cmd{printfield}. This information is only available locally in field formatting directives.
13378
13379 \csitem{currentlist}
13380
13381 The name of the literal list currently being processed by \cmd{printlist}. This information is only available locally in list formatting directives.
13382
13383 \csitem{currentname}
13384
13385 The name of the name list currently being processed by \cmd{printnames}. This information is only available locally in name formatting directives.
13386
13387 \end{ltxsyntax}
13388
13389 \subsubsection{General Purpose Hooks}
13390 \label{aut:fmt:hok}
13391
13392 \begin{ltxsyntax}
13393
13394 \cmditem{AtBeginRefsection}{code}
13395
13396 Appends the \prm{code} to an internal hook executed at the beginning of every reference section. The \prm{code} is executed just after setting the reference section number. This command may only be used in the preamble.
13397
13398 \cmditem{AtNextRefsection}{code}
13399
13400 Appends the \prm{code} to an internal hook executed at the beginning of the next reference section. The \prm{code} is executed just after setting the reference section number.
13401
13402 \cmditem{AtFollowingRefsections}{code}
13403
13404 Appends the \prm{code} to an internal hook executed at the beginning of all reference sections following this command. The \prm{code} is executed just after setting the reference section number and just before any code executed via \cmd{AtNextRefsection}.
13405
13406 \cmditem{AtBeginBibliography}{code}
13407
13408 Appends the \prm{code} to an internal hook executed at the beginning of the bibliography. The \prm{code} is executed at the beginning of the list of references, immediately after the \prm{begin code} of \cmd{defbibenvironment}. This command may only be used in the preamble.
13409
13410 \cmditem{AtBeginShorthands}{code}
13411
13412 Appends the \prm{code} to an internal hook executed at the beginning of the list of shorthands. The \prm{code} is executed at the beginning of the list of shorthands, immediately after the \prm{begin code} of \cmd{defbibenvironment}. This command may only be used in the preamble.
13413
13414 This is just an alias for:
13415
13416 \begin{ltxexample}
13417 \AtBeginBiblist{shorthand}{code}
13418 \end{ltxexample}
13419
13420 \cmditem{AtBeginBiblist}{biblistname}{code}
13421
13422 Appends the \prm{code} to an internal hook executed at the beginning of the bibliography list \prm{biblistname}. The \prm{code} is executed at the beginning of the bibliography list, immediately after the \prm{begin code} of \cmd{defbibenvironment}. This command may only be used in the preamble.
13423
13424 \cmditem{AtEveryBibitem}{code}
13425
13426 Appends the \prm{code} to an internal hook executed at the beginning of every item in the bibliography. The \prm{code} is executed immediately after the \prm{item code} of \cmd{defbibenvironment}. The bibliographic data of the respective entry is available at this point. This command may only be used in the preamble.
13427
13428 \cmditem{AtEveryLositem}{code}
13429
13430 Appends the \prm{code} to an internal hook executed at the beginning of every item in the list of shorthands. The \prm{code} is executed immediately after the \prm{item code} of \cmd{defbibenvironment}. The bibliographic data of the respective entry is available at this point. This command may only be used in the preamble.
13431
13432 This is just an alias for:
13433
13434 \begin{ltxexample}
13435 \AtEveryBiblistitem{shorthand}{code}
13436 \end{ltxexample}
13437
13438 \cmditem{AtEveryBiblistitem}{biblistname}{code}
13439
13440 Appends the \prm{code} to an internal hook executed at the beginning of every item in the bibliography list named \prm{biblistname}. The \prm{code} is executed immediately after the \prm{item code} of \cmd{defbibenvironment}. The bibliographic data of the respective entry is available at this point. This command may only be used in the preamble.
13441
13442 \cmditem{AtNextBibliography}{code}
13443
13444 Similar to \cmd{AtBeginBibliography} but only affecting the next \cmd{printbibliography}. The internal hook is cleared after being executed once. This command may be used in the document body.
13445
13446 \cmditem{AtUsedriver}{code}
13447 \cmditem*{AtUsedriver}*{code}
13448
13449 Appends the \prm{code} to an internal hook executed when initializing \cmd{usedriver}. The starred variant of the command clears the initialisation hook, so the defaults can be overwritten. This command may only be used in the preamble.
13450 The default setting is:
13451
13452 \begin{ltxexample}
13453 \AtUsedriver{%
13454 \delimcontext{bib}%
13455 \let\finentry\blx@finentry@usedrv
13456 \let\newblock\relax
13457 \let\abx@macro@bibindex\@empty
13458 \let\abx@macro@pageref\@empty}
13459 \end{ltxexample}
13460
13461 \cmditem{AtEveryCite}{code}
13462
13463 Appends the \prm{code} to an internal hook executed at the beginning of every citation command. The \prm{code} is executed immediately before the \prm{precode} of the command (see \secref{aut:cbx:cbx}). No bibliographic data is available at this point. This command may only be used in the preamble.
13464
13465 \cmditem{AtEveryCitekey}{code}
13466
13467 Appends the \prm{code} to an internal hook executed once for every entry key passed to a citation command. The \prm{code} is executed immediately before the \prm{loopcode} of the command (see \secref{aut:cbx:cbx}). The bibliographic data of the respective entry is available at this point. This command may only be used in the preamble.
13468
13469 \cmditem{AtEveryMultiCite}{code}
13470
13471 Appends the \prm{code} to an internal hook executed at the beginning of every multicite command. The \prm{code} is executed immediately before the \bibfield{multiprenote} field (\secref{aut:cbx:fld}) is printed. No bibliographic data is available at this point. This command may only be used in the preamble.
13472
13473 \cmditem{AtNextCite}{code}
13474
13475 Similar to \cmd{AtEveryCite} but only affecting the next citation command. The internal hook is cleared after being executed once. This command may be used in the document body.
13476
13477 \cmditem{AtEachCitekey}{code}
13478
13479 Similar to \cmd{AtEveryCitekey} but only affecting the current citation command. This command may be used in the document body. The \prm{code} is appended to the internal hook locally when located in a citation, as determined by \cmd{ifcitation}.
13480
13481 \cmditem{AtNextCitekey}{code}
13482
13483 Similar to \cmd{AtEveryCitekey} but only affecting the next entry key. The internal hook is cleared after being executed once. This command may be used in the document body.
13484
13485 \cmditem{AtNextMultiCite}{code}
13486
13487 Similar to \cmd{AtEveryMultiCite} but only affecting the next multicite command. The internal hook is cleared after being executed once. This command may be used in the document body.
13488
13489 \cmditem{AtVolcite}{code}
13490 \cmditem*{AtVolcite}*{code}
13491
13492 Appends the \prm{code} to an internal hook executed when initializing \cmd{volcite}. The starred variant of the command clears the initialisation hook, so the defaults can be overwritten. This command may only be used in the preamble.
13493 The default setting is:
13494
13495 \begin{ltxexample}
13496 \AtVolcite{%
13497 \DeclareFieldAlias{postnote}{volcitenote}}
13498 \end{ltxexample}
13499
13500 \cmditem{AtDataInput}[entrytype]{code}
13501
13502 Appends the \prm{code} to an internal hook executed once for every entry as the bibliographic data is imported from the \file{bbl} file. The \prm{entrytype} is the entry type the \prm{code} applies to. If it applies to all entry types, omit the optional argument. The \prm{code} is executed immediately after the entry has been imported. This command may only be used in the preamble. Note that \prm{code} may be executed multiple times for an entry. This occurs when the same entry is cited in different \env{refsection} environments or the \opt{sorting} option settings incorporate more than one sorting template. The \cnt{refsection} counter holds the number of the respective reference section while the data is imported.
13503
13504 \cmditem{UseBibitemHook}
13505
13506 Executes the internal hook corresponding to \cmd{AtEveryBibitem}.
13507
13508 \cmditem{UseUsedriverHook}
13509
13510 Executes the internal hook corresponding to \cmd{AtUsedriver}.
13511
13512 \cmditem{UseEveryCiteHook}
13513
13514 Executes the internal hook corresponding to \cmd{AtEveryCite}.
13515
13516 \cmditem{UseEveryCitekeyHook}
13517
13518 Executes the internal hook corresponding to \cmd{AtEveryCitekey}.
13519
13520 \cmditem{UseEveryMultiCiteHook}
13521
13522 Executes the internal hook corresponding to \cmd{AtMultiEveryCite}.
13523
13524 \cmditem{UseNextCiteHook}
13525
13526 Executes and clears the internal hook corresponding to \cmd{AtNextCite}.
13527
13528 \cmditem{UseNextCitekeyHook}
13529
13530 Executes and clears the internal hook corresponding to \cmd{AtNextCitekey}.
13531
13532 \cmditem{UseNextMultiCiteHook}
13533
13534 Executes and clears the internal hook corresponding to \cmd{AtNextMultiCite}.
13535
13536 \cmditem{UseVolciteHook}
13537
13538 Executes the internal hook corresponding to \cmd{AtVolcite}.
13539
13540 \cmditem{DeferNextCitekeyHook}
13541
13542 Locally un-defines the internal hook specified by \cmd{AtNextCitekey}. This essentially defers the hook to the next entry key in the citation list, when executed in the \prm{precode} argument of \cmd{DeclareCiteCommand} (\secref{aut:cbx:cbx}).
13543
13544 \cmditem{AtEveryEntrykey}{code}{success}{failure}
13545
13546 Appends \prm{code} to an internal hook executed every time an entrykey is processed for a citation command or \cmd{nocite}. The \prm{code} is passed one argument (\lstinline{#1}), which contains the entrykey. If the code can be appended to the hook \prm{success} is executed, otherwise \prm{failure} is executed. Unlike \cmd{AtEveryCitekey} the entry data of the current entrykey is not available when \prm{code} is processed, indeed it is not even known whether or not there is any entry data at all.
13547
13548 \end{ltxsyntax}
13549
13550 \subsubsection{File hooks}
13551 \label{aut:fmt:hok:fil}
13552 \biblatex has rudimentary support for injecting arbitrary code before and after a file is loaded via file hooks. For files that are loaded using \biblatex's file interface---that includes all bibliography and citation styles---the following three hooks are available
13553
13554 \begin{ltxsyntax}
13555 \cmditem{blx@filehook@preload@$<$filename with extension$>$}
13556
13557 If \file{$<$filename with extension$>$} is found, this hook is executed before it is loaded.
13558
13559 \cmditem{blx@filehook@postload@$<$filename with extension$>$}
13560
13561 If \file{$<$filename with extension$>$} is found, this hook is executed after it is loaded.
13562
13563 \cmditem{blx@filehook@failure@$<$filename with extension$>$}
13564
13565 This hook is executed if \file{$<$filename with extension$>$} can not be found.
13566 \end{ltxsyntax}
13567
13568 \biblatex generally only loads files once even if they were requested multiple times,
13569 so the hooks will only be executed once.
13570 Naturally, the file hooks need to be populated before the files are loaded, so the safest would be to populate them before \biblatex is loaded.
13571 It is advisable to only append code to avoid overwriting previous hook contents.
13572 Since the name of the file hook include the dot and the file extension they will usually have to be defined with a command like \cmd{csappto} from \sty{etoolbox}.
13573
13574 The \file{.lbx} files are special and may have to be loaded several times in some situations.
13575 Their file hooks are
13576
13577 \begin{ltxsyntax}
13578 \cmditem{blx@lbxfilehook@once@preload@$<$filename with extension$>$}
13579
13580 If \file{$<$filename with extension$>$} is found, this hook is executed before it is loaded in a situation where the \file{.lbx} files are loaded only once.
13581
13582 \cmditem{blx@lbxfilehook@once@postload@$<$filename with extension$>$}
13583
13584 If \file{$<$filename with extension$>$} is found, this hook is executed after it is loaded in a situation where the \file{.lbx} files are loaded only once.
13585
13586 \cmditem{blx@lbxfilehook@once@failure@$<$filename with extension$>$}
13587
13588 This hook is executed if \file{$<$filename with extension$>$} can not be found in a situation where the \file{.lbx} files are loaded only once.
13589
13590 \cmditem{blx@lbxfilehook@simple@preload@$<$filename with extension$>$}
13591
13592 If \file{$<$filename with extension$>$} is found, this hook is executed before it is loaded in a situation where the \file{.lbx} files may be loaded multiple times.
13593
13594 \cmditem{blx@lbxfilehook@simple@postload@$<$filename with extension$>$}
13595
13596 If \file{$<$filename with extension$>$} is found, this hook is executed after it is loaded in a situation where the \file{.lbx} files may be loaded multiple times.
13597
13598 \cmditem{blx@lbxfilehook@simple@failure@$<$filename with extension$>$}
13599
13600 This hook is executed if \file{$<$filename with extension$>$} can not be found in a situation where the \file{.lbx} files may be loaded multiple times.
13601 \end{ltxsyntax}
13602
13603 The following code sets up \sty{beamer} to print the bibliography labels instead of its bibliography icons when \file{numeric.bbx} after is loaded
13604 \begin{ltxexample}
13605 \csappto{blx@filehook@[email protected]}{%
13606 \mode<presentation>{%
13607 \setbeamertemplate{bibliography item}{%
13608 \insertbiblabel}}}
13609 \end{ltxexample}
13610
13611
13612 \subsection{Hints and Caveats}
13613 \label{aut:cav}
13614
13615 This section provides some additional hints concerning the author interface of this package. It also addresses common problems and potential misconceptions.
13616
13617 \subsubsection{Entry Sets}
13618 \label{aut:cav:set}
13619
13620 Entry sets have already been introduced in \secref{use:use:set}. This section discusses how to process entry sets in a bibliography style. From the perspective of the driver, there is no difference between static and dynamic entry sets. Both types are handled in the same way. You will normally use the \cmd{entryset} command from \secref{aut:bib:dat} to loop over all set members (in the order in which they are listed in the \bibfield{entryset} field of the \bibtype{set} entry, or in the order in which they were passed to \cmd{defbibentryset}, respectively) and append \cmd{finentry} at the end. That's it. The formatting is handled by the drivers for the entry types of the individual set members:
13621
13622 \begin{ltxexample}
13623 \DeclareBibliographyDriver{set}{%
13624 <<\entryset>>{}{}%
13625 \finentry}
13626 \end{ltxexample}
13627 %
13628 You may have noticed that the \texttt{numeric} styles which come with this package support subdivided entry sets, \ie the members of the set are marked with a letter or some other marker such that citations may either refer to the entire set or to a specific set member. The markers are generated as follows by the bibliography style:
13629
13630 \begin{ltxexample}
13631 \DeclareBibliographyDriver{set}{%
13632 \entryset
13633 {<<\printfield{entrysetcount}>>%
13634 <<\setunit*{\addnbspace}>>}
13635 {}%
13636 \finentry}
13637 \end{ltxexample}
13638 %
13639 The \bibfield{entrysetcount} field holds an integer indicating the position of a set member in the entry set. The conversion of this number to a letter or some other marker is handled by the formatting directive of the \bibfield{entrysetcount} field. All the driver needs to do is print the field and add some white space (or start a new line). Printing the markers in citations works in a similar way. Where a numeric style normally says |\printfield{labelnumber}|, you simply append the \bibfield{entrysetcount} field:
13640
13641 \begin{ltxexample}
13642 \printfield{labelnumber}<<\printfield{entrysetcount}>>
13643 \end{ltxexample}
13644 %
13645 Since this field is only defined when processing citations referring to a set member, there is no need to add any additional tests.
13646
13647 Citing entry sets directly requires that a meaningful way of identifying sets is available in the style. This is obvious for styles based on numeric or alphabetic labels but not obvious (and rarely required) in styles which construct citations based on textual names/titles/dates etc. The default provided styles which no not construct citations based on labels (\texttt{authoryear}, \texttt{authortitle}, \texttt{verbose} etc.) therefore do not support citing sets directly as there is no obvious default identifier to use in such cases and such styles rarely, if ever, employ sets anyway. Custom styles may of course choose to define and print a citation identifier for directly cited sets.
13648
13649 \subsubsection{Electronic Publishing Information}
13650 \label{aut:cav:epr}
13651
13652 The standard styles feature dedicated support for arXiv references. Support for other resources is easily added. The standard styles handle the \bibfield{eprint} field as follows:
13653
13654 \begin{ltxexample}
13655 \iffieldundef{eprinttype}
13656 {\printfield{eprint}}
13657 {\printfield[<<eprint:\strfield{eprinttype}>>]{eprint}}
13658 \end{ltxexample}
13659 %
13660 If an \bibfield{eprinttype} field is available, the above code tries to use the field format \texttt{eprint:\prm{eprinttype}}. If this format is undefined, \cmd{printfield} automatically falls back to the field format \texttt{eprint}. There are two predefined field formats, the type"=specific format \texttt{eprint:arxiv} and the fallback format \texttt{eprint}:
13661
13662 \begin{ltxexample}
13663 \DeclareFieldFormat{<<eprint>>}{...}
13664 \DeclareFieldFormat{<<eprint:arxiv>>}{...}
13665 \end{ltxexample}
13666 %
13667 In other words, adding support for additional resources is as easy as defining a field format named \texttt{eprint:\prm{resource}} where \prm{resource} is an identifier to be used in the \bibfield{eprinttype} field.
13668
13669 \subsubsection{External Abstracts and Annotations}
13670 \label{aut:cav:prf}
13671
13672 External abstracts and annotations have been discussed in \secref{use:use:prf}. This section provides some more background for style authors. The standard styles use the following macros (from \path{biblatex.def}) to handle abstracts and annotations:
13673
13674 \begin{ltxexample}
13675 \newbibmacro*{annotation}{%
13676 \iffieldundef{annotation}
13677 {\printfile[annotation]{<<\bibannotationprefix\thefield{entrykey}.tex>>}}%
13678 {\printfield{annotation}}}
13679 \newcommand*{<<\bibannotationprefix>>}{bibannotation-}
13680
13681 \newbibmacro*{abstract}{%
13682 \iffieldundef{abstract}
13683 {\printfile[abstract]{<<\bibabstractprefix\thefield{entrykey}.tex>>}}%
13684 {\printfield{abstract}}}
13685 \newcommand*{<<\bibabstractprefix>>}{bibabstract-}
13686 \end{ltxexample}
13687 %
13688 If the \bibfield{abstract}\slash \bibfield{annotation} field is undefined, the above code tries to load the abstracts\slash annotations from an external file. The \cmd{printfile} commands also incorporate file name prefixes which may be redefined by users. Note that you must enable \cmd{printfile} explicitly by setting the \opt{loadfiles} package option from \secref{use:opt:pre:gen}. This feature is disabled by default for performance reasons.
13689
13690 \subsubsection[Name Disambiguation]{Name Disambiguation}
13691 \label{aut:cav:amb}
13692
13693 The \opt{uniquename} and \opt{uniquelist} options introduced in \secref{use:opt:pre:int} support various modes of operation. This section explains the differences between these modes by way of example. The \opt{uniquename} option disambiguates individual names in the \bibfield{labelname} list. The \opt{uniquelist} option disambiguates the \bibfield{labelname} list if it has become ambiguous after \opt{maxnames}\slash \opt{minnames} truncation. You can use either option stand-alone or combine both.
13694
13695 Name disambiguation works by taking a <base> which is composed of one or more nameparts and then determining what needs to be added, if anything, to this <base> to make the name unique in the current refsection. Name disambiguation is controlled by the uniquename template declared with the following command:
13696
13697 \begin{ltxsyntax}
13698
13699 \cmditem{DeclareUniquenameTemplate}[name]{specification}
13700
13701 Defines the \opt{uniquename} template \prm{name}. The \prm{name} is optional and defaults to <global>.
13702
13703 The \prm{specification} is an ordered list of \cmd{namepart} commands which define the nameparts to use in determining the uniquename information.
13704
13705 \cmditem{namepart}[options]{namepart}
13706
13707 \prm{namepart} is one of the datamodel nameparts defined with the \cmd{DeclareDatamodelConstant} command (see \secref{aut:bbx:drv}). The \prm{options} are:
13708
13709 \begin{optionlist*}
13710
13711 \boolitem[false]{use}
13712
13713 Only use the \prm{namepart} in constructing the uniquename information if there is a corresponding option \opt{use<namepart>} and that option is true.
13714
13715 \boolitem[false]{base}
13716
13717 The \prm{namepart} is part of the <base> which is the main piece of namepart(s) information which is being disambiguated by uniqueness information. For example, a family name which may be disambiguated by further given names. <base> \prm{namepart}s must occur before any non-<base> \prm{nameparts}. There \emph{must} be at least one <base> \prm{namepart} and \biber will report an error if this is not the case.
13718
13719 \choitem{disambiguation}{none, init, initorfull, full}
13720
13721 The \prm{namepart} will be disambiguated at most by information at the given value. If this option is not present then the default is inferred from the \opt{uniquename} package option setting (see \secref{use:opt:wu}). The <disambiguation> option is ignored for \prm{namepart}s which have the <base> option set to <true> since it is these nameparts which are being disambiguated by the value of the non-base \prm{namepart}s and therefore <disambiguation> does not apply.
13722
13723 \begin{description}
13724 \item[none]~Do not use the \prm{namepart} to perform any name disambiguation
13725 \item[init]~Use only the initials of the \prm{namepart} to perform name disambiguation
13726 \item[initorfull]~Use initials and if necessary the full \prm{namepart} to perform name disambiguation
13727 \item[full]~Use only the full \prm{namepart} to perform name
13728 disambiguation even if initials would suffice
13729 \end{description}
13730
13731 \end{optionlist*}
13732
13733 \end{ltxsyntax}
13734 %
13735 The default uniquename template is:
13736
13737 \begin{ltxexample}
13738 \DeclareUniquenameTemplate{
13739 \namepart[use=true, base=true]{prefix}
13740 \namepart[base=true]{family}
13741 \namepart{given}
13742 }
13743 \end{ltxexample}
13744 %
13745 This means that the <base> to be disambiguated consists of the <family> namepart, along with any prefix, if the \opt{useprefix} option is true. The disambiguation is performed by adding anything up to the full namepart of any non <base> nameparts in the specification, here just the <given> namepart.
13746
13747 \paragraph{Individual Names (\opt{uniquename})}
13748
13749 Let's start off with some \opt{uniquename} examples. Consider the following data:
13750
13751 \begin{lstlisting}{}
13752 John Doe 2008
13753 Edward Doe 2008
13754 John Smith 2008
13755 Jane Smith 2008
13756 \end{lstlisting}
13757 %
13758 Let's assume we're using an author-year style and set \kvopt{uniquename}{false}. In this case, we would get the following citations:
13759
13760 \begin{lstlisting}{}
13761 Doe 2008a
13762 Doe 2008b
13763 Smith 2008a
13764 Smith 2008b
13765 \end{lstlisting}
13766 %
13767 Since the family names are ambiguous and all works have been published in the same year, an extra letter is appended to the year to disambiguate the citations. Many style guides, however, mandate that the extra letter be used to disambiguate works by the same authors only, not works by different authors with the same family name. In order to disambiguate the author's family name, you are expected to add additional parts of the name, either as initials or in full. This requirement is addressed by the \opt{uniquename} option. Here are the same citations with \kvopt{uniquename}{init}:
13768
13769 \begin{lstlisting}{}
13770 J. Doe 2008
13771 E. Doe 2008
13772 Smith 2008a
13773 Smith 2008b
13774 \end{lstlisting}
13775 %
13776 \kvopt{uniquename}{init} restricts name disambiguation to initials. Since <J. Smith> would still be ambiguous, no additional name parts are added for the <Smiths>. With \kvopt{uniquename}{full}, names are printed in full where required:
13777
13778 \begin{lstlisting}{}
13779 J. Doe 2008
13780 E. Doe 2008
13781 John Smith 2008
13782 Jane Smith 2008
13783 \end{lstlisting}
13784 %
13785 In order to illustrate the difference between \kvopt{uniquename}{init\slash full} and \texttt{allinit\slash allfull}, we need to introduce the notion of a <visible> name. In the following, <visible> names are all names at a position before the \opt{maxnames}\slash \opt{minnames}\slash \opt{uniquelist} truncation point. For example, given this data:
13786
13787 \begin{lstlisting}{}
13788 William Jones/Edward Doe/Jane Smith
13789 John Doe
13790 John Smith
13791 \end{lstlisting}
13792 %
13793 and \kvopt{maxnames}{1}, \kvopt{minnames}{1}, \kvopt{uniquename}{init/full}, we would get the following names in citations:
13794
13795 \begin{lstlisting}{}
13796 Jones et al.
13797 Doe
13798 Smith
13799 \end{lstlisting}
13800 %
13801 When disambiguating names, \kvopt{uniquename}{init/full} only consider the visible names. Since all visible family names are distinct in this example, no further name parts are added. Let's compare that to the output of \kvopt{uniquename}{allinit}:
13802
13803 \begin{lstlisting}{}
13804 Jones et al.
13805 J. Doe
13806 Smith
13807 \end{lstlisting}
13808 %
13809 \texttt{allinit} considers all names in all \bibfield{labelname} lists, including those which are hidden and replaced by <et al.> as the list is truncated. In this example, <John Doe> is disambiguated from <Edward Doe>. Since the ambiguity of the two <Smiths> can't be resolved by adding initials, no initials are added in this case. Now let's compare that to the output of \kvopt{uniquename}{allfull} which also disambiguates <John Smith> from <Jane Smith>:
13810
13811 \begin{lstlisting}{}
13812 Jones et al.
13813 J. Doe
13814 John Smith
13815 \end{lstlisting}
13816 %
13817 The options \kvopt{uniquename}{mininit/minfull} are similar to \texttt{init\slash full} in that they only consider visible names, but they perform minimal disambiguation. That is, they will disambiguate individual names only if they occur in identical lists of base nameparts (for the concept of <base> nameparts, see \cmd{DeclareUniquenameTemplate in \secref{aut:cav:amb}}). Consider the following data:
13818
13819 \begin{lstlisting}{}
13820 John Doe/William Jones
13821 Edward Doe/William Jones
13822 John Smith/William Edwards
13823 Edward Smith/Allan Johnson
13824 \end{lstlisting}
13825 %
13826 With \kvopt{uniquename}{init/full}, we would get:
13827
13828 \begin{lstlisting}{}
13829 J. Doe and Jones
13830 E. Doe and Jones
13831 J. Smith and Edwards
13832 E. Smith and Johnson
13833 \end{lstlisting}
13834 %
13835 With \kvopt{uniquename}{mininit/minfull}:
13836
13837 \begin{lstlisting}{}
13838 J. Doe and Jones
13839 E. Doe and Jones
13840 Smith and Edwards
13841 Smith and Johnson
13842 \end{lstlisting}
13843 %
13844 The <Smiths> are not disambiguated because the visible name lists are not ambiguous and the \opt{mininit/minfull} options serve to disambiguate names occurring in identical base namepart lists only. Another way of looking at this is that they globally disambiguate base namepart lists. When it comes to ambiguous lists, note that a truncated list is considered to be distinct from an untruncated one even if the visible names are identical. For example, consider the following data:
13845
13846 \begin{lstlisting}{}
13847 John Doe/William Jones
13848 Edward Doe
13849 \end{lstlisting}
13850 %
13851 With \kvopt{maxnames}{1}, \kvopt{uniquename}{init/full}, we would get:
13852
13853 \begin{lstlisting}{}
13854 J. Doe et al.
13855 E. Doe
13856 \end{lstlisting}
13857 %
13858 With \kvopt{uniquename}{mininit/minfull}:
13859
13860 \begin{lstlisting}{}
13861 Doe et al.
13862 Doe
13863 \end{lstlisting}
13864 %
13865 Because the lists differ in the <et al.>, the names are not disambiguated.
13866
13867 The options \kvopt{uniquename}{minyearinit/minyearfull} are similar to \texttt{mininit\slash minfull} but they will disambiguate individual names only if they occur in identical lists of base nameparts and labelyear. Consider the following data:
13868
13869 \begin{lstlisting}{}
13870 John Smith 2000
13871 John Smith 2001
13872 Ian Smith 2020
13873 Brian Smith 2020
13874 \end{lstlisting}
13875 %
13876 With \kvopt{uniquename}{init/full/mininit/minfull} or , we would get:
13877
13878 \begin{lstlisting}{}
13879 J. Smith 2000
13880 J. Smith 2001
13881 I. Smith 2020
13882 B. Smith 2020
13883 \end{lstlisting}
13884 %
13885 With \kvopt{uniquename}{minyearinit/minyearfull}:
13886
13887 \begin{lstlisting}{}
13888 Smith 2000
13889 Smith 2001
13890 I. Smith 2020
13891 B. Smith 2020
13892 \end{lstlisting}
13893 %
13894 Here, as with \kvopt{uniquelist}{minyear}, the emphasis is on unique references to the bibliography items rather than unique name/person representations in the citations themselves. The two <John Smith> citations are unique within the list of basename+labelyear combinations and so need no initials. The other two citations are not unique in such a list and so have initials added.
13895
13896 \paragraph{Lists of Names (\opt{uniquelist})}
13897
13898 Ambiguity is also an issue with name lists. If the \bibfield{labelname} list is truncated by the \opt{maxnames}\slash \opt{minnames} options, it may become ambiguous. This type of ambiguity is addressed by the \opt{uniquelist} option. Consider the following data:
13899
13900 \begin{lstlisting}{}
13901 Doe/Jones/Smith 2005
13902 Smith/Johnson/Doe 2005
13903 Smith/Doe/Edwards 2005
13904 Smith/Doe/Jones 2005
13905 \end{lstlisting}
13906 %
13907 Many author-year styles truncate long author/editor lists in citations. For example, with \kvopt{maxnames}{1} we would get:
13908
13909 \begin{lstlisting}{}
13910 Doe et al. 2005
13911 Smith et al. 2005a
13912 Smith et al. 2005b
13913 Smith et al. 2005c
13914 \end{lstlisting}
13915 %
13916 Since the authors are ambiguous after truncation, the extra letter is added to the year to ensure unique citations. Here again, many style guides mandate that the extra letter be used to disambiguate works by the same authors only. In order to disambiguate author lists, you are usually required to add more names, exceeding the \opt{maxnames}\slash \opt{minnames} truncation point. The \opt{uniquelist} feature addresses this requirement. With \kvopt{uniquelist}{true}, we would get:
13917
13918 \begin{lstlisting}{}
13919 Doe et al. 2005
13920 Smith, Johnson et al. 2005
13921 Smith, Doe and Edwards 2005
13922 Smith, Doe and Jones 2005
13923 \end{lstlisting}
13924 %
13925 The \opt{uniquelist} option overrides \opt{maxnames}\slash \opt{minnames} on a per-entry basis. Essentially, what happens is that the <et al.> part of the citation is expanded to the point of no ambiguity---but no further than that. \opt{uniquelist} may also be combined with \opt{uniquename}. Consider the following data:
13926
13927 \begin{lstlisting}{}
13928 John Doe/Allan Johnson/William Jones 2009
13929 John Doe/Edward Johnson/William Jones 2009
13930 John Doe/Jane Smith/William Jones 2009
13931 John Doe/John Smith/William Jones 2009
13932 John Doe/John Edwards/William Jones 2009
13933 John Doe/John Edwards/Jack Johnson 2009
13934 \end{lstlisting}
13935 %
13936 With \kvopt{maxnames}{1}:
13937
13938 \begin{lstlisting}{}
13939 Doe et al. 2009a
13940 Doe et al. 2009b
13941 Doe et al. 2009c
13942 Doe et al. 2009d
13943 Doe et al. 2009e
13944 Doe et al. 2009f
13945 \end{lstlisting}
13946 %
13947 With \kvopt{maxnames}{1}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}:
13948
13949 \begin{lstlisting}{}
13950 Doe, A. Johnson et al. 2009
13951 Doe, E. Johnson et al. 2009
13952 Doe, Jane Smith et al. 2009
13953 Doe, John Smith et al. 2009
13954 Doe, Edwards and Jones 2009
13955 Doe, Edwards and Johnson 2009
13956 \end{lstlisting}
13957 %
13958 With \kvopt{uniquelist}{minyear}, list disambiguation only happens if the visible list is identical to another visible list with the same \bibfield{labelyear}. This is useful for author-year styles which only require that the citation as a whole be unique, but do not guarantee unambiguous authorship information in citations. This mode is conceptually related to \kvopt{uniquename}{mininit/minfull}. Consider this example:
13959
13960 \begin{lstlisting}{}
13961 Smith/Jones 2000
13962 Smith/Johnson 2001
13963 \end{lstlisting}
13964 %
13965 With \kvopt{maxnames}{1} and \kvopt{uniquelist}{true}, we would get:
13966
13967 \begin{lstlisting}{}
13968 Smith and Jones 2000
13969 Smith and Johnson 2001
13970 \end{lstlisting}
13971 %
13972 With \kvopt{uniquelist}{minyear}:
13973
13974 \begin{lstlisting}{}
13975 Smith et al. 2000
13976 Smith et al. 2001
13977 \end{lstlisting}
13978 %
13979 With \kvopt{uniquelist}{minyear}, it is not clear that the authors are different for the two works but the citations as a whole are still unambiguous since the year is different. In contrast to that, \kvopt{uniquelist}{true} disambiguates the authorship even if this information is not required to uniquely locate the works in the bibliography. Let's consider another example:
13980
13981 \begin{lstlisting}{}
13982 Vogel/Beast/Garble/Rook 2000
13983 Vogel/Beast/Tremble/Bite 2000
13984 Vogel/Beast/Acid/Squeeze 2001
13985 \end{lstlisting}
13986 %
13987 With \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{uniquelist}{true}, we would get:
13988
13989 \begin{lstlisting}{}
13990 Vogel, Beast, Garble et al. 2000
13991 Vogel, Beast, Tremble et al. 2000
13992 Vogel, Beast, Acid et al. 2001
13993 \end{lstlisting}
13994 %
13995 With \kvopt{uniquelist}{minyear}:
13996
13997 \begin{lstlisting}{}
13998 Vogel, Beast, Garble et al. 2000
13999 Vogel, Beast, Tremble et al. 2000
14000 Vogel et al. 2001
14001 \end{lstlisting}
14002 %
14003 In the last citation, \kvopt{uniquelist}{minyear} does not override \opt{maxnames}\slash \opt{minnames} as the citation does not need disambiguating from the other two because the year is different.
14004
14005 \subsubsection{Name Identity}
14006 \label{aut:cav:ni}
14007 A lot depends on whether several names in a bibliography refer to the same person or not. By default, this is determined purely syntactically by whether or not all of the full parts of a name are identical. This can be changed however by altering the algorithm that \biber uses to calculate various hashes for names via the following command:
14008
14009 \begin{ltxsyntax}
14010
14011 \cmditem{DeclareNamehashTemplate}[name]{specification}
14012
14013 Defines the template \prm{name} used to construct the hashes from the parts of a name. The \prm{name} is optional and defaults to <global>.
14014
14015 The \prm{specification} is an ordered list of \cmd{namepart} commands which define the nameparts to use in constructing name hashes.
14016
14017 \cmditem{namepart}[options]{namepart}
14018
14019 \prm{namepart} is one of the datamodel nameparts defined with the \cmd{DeclareDatamodelConstant} command (see \secref{aut:bbx:drv}). The \prm{options} are:
14020
14021 \begin{optionlist*}
14022
14023 \choitem{hashscope}{init, full}
14024
14025 The \prm{namepart} will be used in the construction of the hash for the name and the data used from the namepart to do this is one of:
14026
14027 \begin{description}
14028 \item[init]~Use only the initials of the \prm{namepart} in the hash construction
14029 \item[full]~Use the full \prm{namepart} in the hash construction
14030 \end{description}
14031
14032 \end{optionlist*}
14033
14034 \end{ltxsyntax}
14035 %
14036 The default namehash template is:
14037
14038 \begin{ltxexample}
14039 \DeclareNamehashTemplate{
14040 \namepart[hashscope=full]{family}
14041 \namepart[hashscope=full]{given}
14042 \namepart[hashscope=full]{prefix}
14043 \namepart[hashscope=full]{suffix}
14044 }
14045 \end{ltxexample}
14046 %
14047 This means that these nameparts (which all must be valid datamodel nameparts declared by \cmd{DeclareDatamodelConstant}) will be used in the order specified to construct name hashes. The full namepart will be used for all nameparts.
14048
14049 If there was a bibliography including, for example, several syntactic variations of a name where sometimes the full given name was present and sometimes only the initial but these referred to the same person, you could set:
14050
14051 \begin{ltxexample}
14052 \DeclareNamehashTemplate{
14053 \namepart[hashscope=full]{family}
14054 \namepart[hashscope=init]{given}
14055 \namepart[hashscope=full]{prefix}
14056 \namepart[hashscope=full]{suffix}
14057 }
14058 \end{ltxexample}
14059 %
14060 Which would generate hashes using only the initials of the given name, thus treating <John Smith> and <J. Smith> as the same person for hashing purposes. This would prevent \biblatex from treating these as different people even though based on syntax alone (which is the default), they would be.
14061
14062 \paragraph{Custom name hashes via the extended name format}
14063
14064 Another way of customising name hash generation is by overriding completely the name hash construction algorithm by passing an identifier string for the name using the extended name format (\secref{use:enf}). This string will be turned into a hash as given and any name hash template will be ignored for this name. For example, to have <John Smith> and <J. Smith> seen as the same person for name identity purposes, an alternative to the above would be:
14065
14066 \begin{lstlisting}[style=bibtex]{}
14067 AUTHOR = {id=jshash, family=Smith, given=J. and id=jshash, family=Smith, given=John}
14068 \end{lstlisting}
14069 %
14070 Here, the identical \prm{id} parameters of the extended name format ensure that the hashes for the two names will be the same. This has the same effect as the above example using \cmd{DeclareNamehashTemplate} and is intended for trickier situations where people change names and there is therefore no mere syntactic difference between different name forms for the same person.
14071
14072 \subsubsection{Trackers in Floats and \acr{TOC}/\acr{LOT}/\acr{LOF}}
14073 \label{aut:cav:flt}
14074
14075 If a citation is given in a float (typically in the caption of a figure or table), scholarly back references like <ibidem> or back references based on the page tracker get ambiguous because floats are objects which are (physically and logically) placed outside the flow of text, hence the logic of such references applies poorly to them. To avoid any such ambiguities, the citation and page trackers are temporarily disabled in all floats unless explicitly requested with \opt{trackfloats}. In addition to that, these trackers plus the back reference tracker (\opt{backref}) are temporarily disabled in the table of contents, the list of figures, and the list of tables.
14076
14077 \subsubsection{Mixing Programming Interfaces}
14078 \label{aut:cav:mif}
14079
14080 The \biblatex package provides two main programming interfaces for style authors. The \cmd{DeclareBibliographyDriver} command, which defines a handler for an entry type, is typically used in \file{bbx} files. \cmd{DeclareCiteCommand}, which defines a new citation command, is typically used in \file{cbx} files. However, in some cases it is convenient to mix these two interfaces. For example, the \cmd{fullcite} command prints a verbose citation similar to the full bibliography entry. It is essentially defined as follows:
14081
14082 \begin{ltxexample}
14083 \DeclareCiteCommand{\fullcite}
14084 {...}
14085 {<<\usedriver>>{...}{<<\thefield{entrytype}>>}}
14086 {...}
14087 {...}
14088 \end{ltxexample}
14089 %
14090 As you can see, the core code which prints the citations simply executes the bibliography driver defined with \cmd{DeclareBibliographyDriver} for the type of the current entry. When writing a citation style for a verbose citation scheme, it is often convenient to use the following structure:
14091
14092 \begin{ltxexample}
14093 \ProvidesFile{example.cbx}[2007/06/09 v1.0 biblatex citation style]
14094
14095 \DeclareCiteCommand{\cite}
14096 {...}
14097 {<<\usedriver>>{...}{<<cite:\thefield{entrytype}>>}}
14098 {...}
14099 {...}
14100
14101 \DeclareBibliographyDriver{<<cite:article>>}{...}
14102 \DeclareBibliographyDriver{<<cite:book>>}{...}
14103 \DeclareBibliographyDriver{<<cite:inbook>>}{...}
14104 ...
14105 \end{ltxexample}
14106 %
14107 Another case in which mixing interfaces is helpful are styles using cross"=references within the bibliography. For example, when printing an \bibtype{incollection} entry, the data inherited from the \bibtype{collection} parent entry would be replaced by a short pointer to the respective parent entry:
14108
14109 \begin{enumerate}
14110 \renewcommand*\labelenumi{[\theenumi]}
14111 \setlength{\leftskip}{0.5em}
14112 \item Audrey Author: \emph{Title of article}. In: [\textln{2}], pp.~134--165.
14113 \item Edward Editor, ed.: \emph{Title of collection}. Publisher: Location, 1995.
14114 \end{enumerate}
14115
14116 One way to implement such cross"=references within the bibliography is to think of them as citations which use the value of the \bibfield{xref} or \bibfield{crossref} field as the entry key. Here is an example:
14117
14118 \begin{ltxexample}
14119 \ProvidesFile{example.bbx}[2007/06/09 v1.0 biblatex bibliography style]
14120
14121 \DeclareCiteCommand{<<\bbx@xref>>}
14122 {}
14123 {...}% code for cross-references
14124 {}
14125 {}
14126
14127 \DeclareBibliographyDriver{incollection}{%
14128 ...
14129 \iffieldundef{xref}
14130 {...}% code if no cross-reference
14131 {<<\bbx@xref>>{<<\thefield{xref}>>}}%
14132 ...
14133 }
14134 \end{ltxexample}
14135 %
14136 When defining \cmd{bbx@xref}, the \prm{precode}, \prm{postcode}, and \prm{sepcode} arguments of \cmd{DeclareCiteCommand} are left empty in the above example because they will not be used anyway. The cross"=reference is printed by the \prm{loopcode} of \cmd{bbx@xref}. For further details on the \bibfield{xref} field, refer to \secref{bib:fld:spc} and to the hints in \secref{bib:cav:ref}. Also see the \cmd{iffieldxref}, \cmd{iflistxref}, and \cmd{ifnamexref} tests in \secref{aut:aux:tst}. The above could also be implemented using the \cmd{entrydata} command from \secref{aut:bib:dat}:
14137
14138 \begin{ltxexample}
14139 \ProvidesFile{example.bbx}[2007/06/09 v1.0 biblatex bibliography style]
14140
14141 \DeclareBibliographyDriver{incollection}{%
14142 ...
14143 \iffieldundef{xref}
14144 {...}% code if no cross-reference
14145 {<<\entrydata>>{<<\thefield{xref}>>}{%
14146 % code for cross-references
14147 ...
14148 }}%
14149 ...
14150 }
14151 \end{ltxexample}
14152
14153 \subsubsection{Using the Punctuation Tracker}
14154 \label{aut:cav:pct}
14155
14156 \paragraph{The Basics}
14157
14158 There is one fundamental principle style authors should keep in mind when designing a bibliography driver: block and unit punctuation is handled asynchronously. This is best explained by way of example. Consider the following code snippet:
14159
14160 \begin{ltxexample}
14161 \printfield{title}%
14162 \newunit
14163 \printfield{edition}%
14164 \newunit
14165 \printfield{note}%
14166 \end{ltxexample}
14167 %
14168 If there is no \bibfield{edition} field, this piece of code will not print:
14169
14170 \begin{lstlisting}[style=highlight]{}
14171 Title. . Note
14172 \end{lstlisting}
14173 %
14174 but rather:
14175
14176 \begin{lstlisting}[style=highlight]{}
14177 Title. Note
14178 \end{lstlisting}
14179 %
14180 because the unit punctuation tracker works asynchronously. \cmd{newunit} will not print the unit punctuation immediately. It merely records a unit boundary and puts \cmd{newunitpunct} on the punctuation buffer. This buffer will be handled by \emph{subsequent} \cmd{printfield}, \cmd{printlist}, or similar commands but only if the respective field or list is defined. Commands like \cmd{printfield} will consider three factors prior to inserting any block or unit punctuation:
14181
14182 \begin{itemize}
14183 \item Has a new unit/block been requested at all?\par
14184 = Is there any preceding \cmd{newunit} or \cmd{newblock} command?
14185 \item Did the preceding commands print anything?\par
14186 = Is there any preceding \cmd{printfield} or similar command?\par
14187 = Did this command actually print anything?\par
14188 \item Are we about to print anything now?\par
14189 = Is the field/list to be processed now defined?
14190 \end{itemize}
14191 %
14192 Block and unit punctuation will only be inserted if \emph{all} of these conditions apply. Let's reconsider the above example:
14193
14194 \begin{ltxexample}
14195 \printfield{title}%
14196 \newunit
14197 \printfield{edition}%
14198 \newunit
14199 \printfield{note}%
14200 \end{ltxexample}
14201 %
14202 Here's what happens if the \bibfield{edition} field is undefined. The first \cmd{printfield} command prints the title and sets an internal <new~text> flag. The first \cmd{newunit} sets an internal <new~unit> flag. No punctuation has been printed at this point. The second \cmd{printfield} does nothing because the \bibfield{edition} field is undefined. The next \cmd{newunit} command sets the internal flag <new unit> again. Still no punctuation has been printed. The third \cmd{printfield} checks if the \bibfield{note} field is defined. If so, it looks at the <new~text> and <new~unit> flags. If both are set, it inserts the punctuation buffer before printing the note. It then clears the <new~unit> flag and sets the <new~text> flag again.
14203
14204 This may all sound more complicated than it is. In practice, it means that it is possible to write large parts of a bibliography driver in a sequential way. The advantage of this approach becomes obvious when trying to write the above code without using the punctuation tracker. Such an attempt will lead to a rather convoluted set of \cmd{iffieldundef} tests required to check for all possible field combinations (note that the code below handles three fields; a typical driver may need to cater for some two dozen fields):
14205
14206 \begin{ltxexample}
14207 \iffieldundef{title}%
14208 {\iffieldundef{edition}
14209 {\printfield{note}}
14210 {\printfield{edition}%
14211 \iffieldundef{note}%
14212 {}
14213 {. \printfield{note}}}}
14214 {\printfield{title}%
14215 \iffieldundef{edition}
14216 {}
14217 {. \printfield{edition}}%
14218 \iffieldundef{note}
14219 {}
14220 {. \printfield{note}}}%
14221 \end{ltxexample}
14222
14223 \paragraph{Common Mistakes}
14224
14225 It is a fairly common misconception to think of the unit punctuation as something that is handled synchronously. This typically causes problems if the driver includes any literal text. Consider this erroneous code snippet which will generate misplaced unit punctuation:
14226
14227 \begin{ltxexample}
14228 \printfield{title}%
14229 \newunit
14230 <<(>>\printfield{series} \printfield{number}<<)>>%
14231 \end{ltxexample}
14232 %
14233 This code will yield the following result:
14234
14235 \begin{lstlisting}[style=highlight]{}
14236 Title <<(.>> Series Number<<)>>
14237 \end{lstlisting}
14238 %
14239 Here's what happens. The first \cmd{printfield} prints the title. Then \cmd{newunit} marks a unit boundary but does not print anything. The unit punctuation is printed by the \emph{next} \cmd{printfield} command. That's the asynchronous part mentioned before. However, the opening parenthesis is printed immediately before the next \cmd{printfield} inserts the unit punctuation, leading to a misplaced period. When inserting \emph{any} literal text such as parentheses (including those printed by commands such as \cmd{bibopenparen} and \cmd{mkbibparens}), always wrap the text in a \cmd{printtext} command. For the punctuation tracker to work as expected, it needs to know about all literal text inserted by a driver. This is what \cmd{printtext} is all about. \cmd{printtext} interfaces with the punctuation tracker and ensures that the punctuation buffer is inserted before the literal text gets printed. It also sets the internal <new~text> flag. Note there is in fact a third piece of literal text in this example: the space after |\printfield{series}|. In the corrected example, we will use the punctuation tracker to handle that space.
14240
14241 \begin{ltxexample}
14242 \printfield{title}%
14243 \newunit
14244 <<\printtext{(}>>%
14245 \printfield{series}%
14246 <<\setunit*{\addspace}>>%
14247 \printfield{number}%
14248 <<\printtext{)}>>%
14249 \end{ltxexample}
14250 %
14251 While the above code will work as expected, the recommended way to handle parentheses, quotes, and other things which enclose more than one field, is to define a field format:
14252
14253 \begin{ltxexample}
14254 \DeclareFieldFormat{<<parens>>}{<<\mkbibparens{#1}>>}
14255 \end{ltxexample}
14256 %
14257 Field formats may be used with both \cmd{printfield} and \cmd{printtext}, hence we can use them to enclose several fields in a single pair of parentheses:
14258
14259 \begin{ltxexample}
14260 <<\printtext[parens]{>>%
14261 \printfield{series}%
14262 \setunit*{\addspace}%
14263 \printfield{number}%
14264 <<}>>%
14265 \end{ltxexample}
14266 %
14267 We still need to handle cases in which there is no series information at all, so let's improve the code some more:
14268
14269 \begin{ltxexample}
14270 <<\iffieldundef{series}>>
14271 {}
14272 {\printtext[parens]{%
14273 \printfield{series}%
14274 \setunit*{\addspace}%
14275 \printfield{number}}}%
14276 \end{ltxexample}
14277 %
14278 One final hint: localisation strings are not literal text as far as the punctuation tracker is concerned. Since \cmd{bibstring} and similar commands interface with the punctuation tracker, there is no need to wrap them in a \cmd{printtext} command.
14279
14280 \paragraph{Advanced Usage}
14281
14282 The punctuation tracker may also be used to handle more complex scenarios. For example, suppose that we want the fields \bibfield{location}, \bibfield{publisher}, and \bibfield{year} to be rendered in one of the following formats, depending on the available data:
14283
14284 \begin{ltxexample}
14285 ...text<<. Location: Publisher, Year.>> Text...
14286 ...text<<. Location: Publisher.>> Text...
14287 ...text<<. Location: Year.>> Text...
14288 ...text<<. Publisher, Year.>> Text...
14289 ...text<<. Location.>> Text...
14290 ...text<<. Publisher.>> Text...
14291 ...text<<. Year.>> Text...
14292 \end{ltxexample}
14293 %
14294 This problem can be solved with a rather convoluted set of \cmd{iflistundef} and \cmd{iffieldundef} tests which check for all possible field combinations:
14295
14296 \begin{ltxexample}
14297 \iflistundef{location}
14298 {\iflistundef{publisher}
14299 {\printfield{year}}
14300 {\printlist{publisher}%
14301 \iffieldundef{year}
14302 {}
14303 {, \printfield{year}}}}
14304 {\printlist{location}%
14305 \iflistundef{publisher}%
14306 {\iffieldundef{year}
14307 {}
14308 {: \printfield{year}}}
14309 {: \printlist{publisher}%
14310 \iffieldundef{year}
14311 {}
14312 {, \printfield{year}}}}%
14313 \end{ltxexample}
14314 %
14315 The above could be written in a somewhat more readable way by employing \cmd{ifthenelse} and the boolean operators discussed in \secref{aut:aux:ife}. The approach would still be essentially the same. However, it may also be written sequentially:
14316
14317 \begin{ltxexample}
14318 \newunit
14319 \printlist{location}%
14320 \setunit*{\addcolon\space}%
14321 \printlist{publisher}%
14322 \setunit*{\addcomma\space}%
14323 \printfield{year}%
14324 \newunit
14325 \end{ltxexample}
14326 %
14327 In practice, you will often use a combination of explicit tests and the implicit tests performed by the punctuation tracker. For example, consider the following format (note the punctuation after the location if there is no publisher):
14328
14329 \begin{ltxexample}
14330 ...text. Location: Publisher, Year. Text...
14331 ...text. Location: Publisher. Text...
14332 ...text<<. Location, Year.>> Text...
14333 ...text. Publisher, Year. Text...
14334 ...text. Location. Text...
14335 ...text. Publisher. Text...
14336 ...text. Year. Text...
14337 \end{ltxexample}
14338 %
14339 This can be handled by the following code:
14340
14341 \begin{ltxexample}
14342 \newunit
14343 \printlist{location}%
14344 \iflistundef{publisher}
14345 {\setunit*{\addcomma\space}}
14346 {\setunit*{\addcolon\space}}%
14347 \printlist{publisher}%
14348 \setunit*{\addcomma\space}%
14349 \printfield{year}%
14350 \newunit
14351 \end{ltxexample}
14352 %
14353 Since the punctuation after the location is special if there is no publisher, we need one \cmd{iflistundef} test to catch this case. Everything else is handled by the punctuation tracker.
14354
14355 \subsubsection{Custom Localization Modules}
14356 \label{aut:cav:lng}
14357
14358 Style guides may include provisions as to how strings like <edition> should be abbreviated or they may mandate certain fixed expressions. For example, the \acr{mla} style guide requires authors to use the term <Works~Cited> rather than <Bibliography> or <References> in the heading of the bibliography. Localization commands such as \cmd{DefineBibliographyStrings} from \secref{use:lng} may indeed be used in \file{cbx} and \file{bbx} files to handle such cases. However, overloading style files with translations is rather inconvenient. This is where \cmd{DeclareLanguageMapping} from \secref{aut:lng:cmd} comes into play. This command maps an \file{lbx} file with alternative translations to a \sty{babel}/\sty{polyglossia} language. For example, you could create a file named \path{french-humanities.lbx} which provides French translations adapted for use in the humanities and map it to the \sty{babel}/\sty{polyglossia} language \texttt{french} in the preamble or in the configuration file:
14359
14360 \begin{ltxexample}
14361 \DeclareLanguageMapping{french}{french-humanities}
14362 \end{ltxexample}
14363 %
14364 If the document language is set to \texttt{french}, \path{french-humanities.lbx} will replace \path{french.lbx}. Coming back to the \acr{mla} example mentioned above, an \acr{mla} style may come with an \path{american-mla.lbx} file to provide strings which comply with the \acr{mla} style guide. It would declare the following mapping in the \file{cbx} and/or \file{bbx} file:
14365
14366 \begin{ltxexample}
14367 \DeclareLanguageMapping{american}{american-mla}
14368 \end{ltxexample}
14369 %
14370 Use \cmd{DeclareLanguageMappingSuffix} (see \secref{aut:lng:cmd}) to define such a mapping for all languages.
14371
14372 Since the alternative \file{lbx} file can inherit strings from the standard \path{american.lbx} module, \path{american-mla.lbx} may be as short as this:
14373
14374 \begin{ltxexample}
14375 \ProvidesFile{american-mla.lbx}[2008/10/01 v1.0 biblatex localization]
14376 <<\InheritBibliographyExtras>>{<<american>>}
14377 \DeclareBibliographyStrings{%
14378 <<inherit>> = {<<american>>},
14379 bibliography = {{Works Cited}{Works Cited}},
14380 references = {{Works Cited}{Works Cited}},
14381 }
14382 \endinput
14383 \end{ltxexample}
14384 %
14385 Alternative \file{lbx} files must ensure that the localisation module is complete. They should do so by inheriting data from the corresponding standard module. If the language \texttt{american} is mapped to \path{american-mla.lbx}, \biblatex will not load \path{american.lbx} unless this module is requested explicitly. In the above example, inheriting <strings> and <extras> will cause \biblatex to load \path{american.lbx} before applying the modifications in \path{american-mla.lbx}.
14386
14387 Note that \cmd{DeclareLanguageMapping} is not intended to handle language variants (\eg American English vs. British English) or \sty{babel}/\sty{polyglossia} language aliases (\eg \texttt{USenglish} vs. \texttt{american}). For example, \sty{babel}/\sty{polyglossia} offers the \texttt{USenglish} option which is similar to \texttt{american}. Therefore, \biblatex comes with an \path{USenglish.lbx} file which simply inherits all data from \path{american.lbx} (which in turn gets the <strings> from \path{english.lbx}). In other words, the mapping of language variants and \sty{babel}/\sty{polyglossia} language aliases happens on the file level, the point being that \biblatex's language support can be extended simply by adding additional \file{lbx} files. There is no need for centralized mapping. If you need support for, say, Portuguese (babel/polyglossia: \file{portuges}), you create a file named \path{portuges.lbx}. If \sty{babel}/\sty{polyglossia} offered an alias named \texttt{brasil}, you would create \path{brasil.lbx} and inherit the data from \path{portuges.lbx}. In contrast to that, the point of \cmd{DeclareLanguageMapping} is handling \emph{stylistic} variants like <humanities vs. natural sciences> or <\acr{mla} vs. \acr{apa}> etc. which will typically be built on top of existing \file{lbx} files.
14388
14389 \subsubsection{Grouping}
14390 \label{aut:cav:grp}
14391
14392 In a citation or bibliography style, you may need to set flags or store certain values for later use. In this case, it is crucial to understand the basic grouping structure imposed by this package. As a rule of thumb, you are working in a large group whenever author commands such as those discussed in \secref{aut:aux} are available because the author interface of this package is only enabled locally. If any bibliographic data is available, there is at least one additional group. Here are some general rules:
14393
14394 \begin{itemize}
14395
14396 \item The entire list of references printed by \cmd{printbibliography} and similar commands is processed in a group. Each entry in the list is processed in an additional group which encloses the \prm{item code} of \cmd{defbibenvironment} as well as all driver code.
14397
14398 \item The entire bibliography list printed by \cmd{printbiblist} is processed in a group. Each entry in the list is processed in an additional group which encloses the \prm{item code} of \cmd{defbibenvironment} as well as all driver code.
14399
14400 \item All citation commands defined with \cmd{DeclareCiteCommand} are processed in a group holding the complete citation code consisting of the \prm{precode}, \prm{sepcode}, \prm{loopcode}, and \prm{postcode} arguments. The \prm{loopcode} is enclosed in an additional group every time it is executed. If any \prm{wrapper} code has been specified, the entire unit consisting of the wrapper code and the citation code is wrapped in an additional group.
14401
14402 \item In addition to the grouping imposed by all backend commands defined with \cmd{DeclareCiteCommand}, all <autocite> and <multicite> definitions imply an additional group.
14403
14404 \item \cmd{printfile}, \cmd{printtext}, \cmd{printfield}, \cmd{printlist}, and \cmd{printnames} form groups. This implies that all formatting directives will be processed within a group of their own.
14405
14406 \item All \file{lbx} files are loaded and processed in a group. If an \file{lbx} file contains any code which is not part of \cmd{DeclareBibliographyExtras}, the definitions must be global.
14407
14408 \end{itemize}
14409
14410 Note that using \cmd{aftergroup} in citation and bibliography styles is unreliable because the precise number of groups employed in a certain context may change in future versions of this package. If the above list states that something is processed in a group, this means that there is \emph{at least one} group. There may also be several nested ones.
14411
14412 \subsubsection{Namespaces}
14413 \label{aut:cav:nam}
14414
14415 In order to minimize the risk of name clashes, \latex packages typically prefix the names of internal macros with a short string specific to the package. For example, if the \sty{foobar} package requires a macro for internal use, it would typically be called \cmd{FB@macro} or \cmd{foo@macro} rather than \cmd{macro} or \cmd{@macro}. Here is a list of the prefixes used or recommended by \biblatex:
14416
14417 \begin{marglist}
14418
14419 \item[\texttt{blx}] All macros with names like \cmd{blx@name} are strictly reserved for internal use. This also applies to counter names, length registers, boolean switches, and so on. These macros may be altered in backwards"=incompatible ways, they may be renamed or even removed at any time without further notice. Such changes will not even be mentioned in the revision history or the release notes. In short: never use any macros with the string \texttt{blx} in their name in any styles.
14420
14421 \item[\texttt{abx}] Macros prefixed with \texttt{abx} are also internal macros but they are fairly stable. It is always preferable to use the facilities provided by the official author interface, but there may be cases in which using an \texttt{abx} macro is convenient.
14422
14423 \item[\texttt{bbx}] This is the recommended prefix for internal macros defined in bibliography styles.
14424
14425 \item[\texttt{cbx}] This is the recommended prefix for internal macros defined in citation styles.
14426
14427 \item[\texttt{lbx}] This is the recommended base prefix for internal macros defined in localisation modules. The localisation module should add a second prefix to specify the language. For example, an internal macro defined by the Spanish localisation module would be named \cmd{lbx@es@macro}.
14428
14429 \end{marglist}
14430
14431 \appendix
14432 \section*{Appendix}
14433 \addcontentsline{toc}{section}{Appendix}
14434
14435 \section{Default Driver Source Mappings}
14436 \label{apx:maps}
14437
14438 These are the driver default source mappings.
14439
14440 \subsection{\opt{bibtex}}\label{apx:maps:bibtex}
14441 The \opt{bibtex} driver is of course the most comprehensive and mature of the \biblatex/\biber supported data formats. These source mapping defaults are how the aliases from sections \secref{bib:typ:als} and \secref{bib:fld:als} are implemented.
14442
14443 \begin{ltxexample}
14444 \DeclareDriverSourcemap[datatype=bibtex]{
14445 \map{
14446 \step[typesource=conference, typetarget=inproceedings]
14447 \step[typesource=electronic, typetarget=online]
14448 \step[typesource=www, typetarget=online]
14449 }
14450 \map{
14451 \step[typesource=mastersthesis, typetarget=thesis, final]
14452 \step[fieldset=type, fieldvalue=mathesis]
14453 }
14454 \map{
14455 \step[typesource=phdthesis, typetarget=thesis, final]
14456 \step[fieldset=type, fieldvalue=phdthesis]
14457 }
14458 \map{
14459 \step[typesource=techreport, typetarget=report, final]
14460 \step[fieldset=type, fieldvalue=techreport]
14461 }
14462 \map{
14463 \step[fieldsource=address, fieldtarget=location]
14464 \step[fieldsource=school, fieldtarget=institution]
14465 \step[fieldsource=annote, fieldtarget=annotation]
14466 \step[fieldsource=archiveprefix, fieldtarget=eprinttype]
14467 \step[fieldsource=journal, fieldtarget=journaltitle]
14468 \step[fieldsource=primaryclass, fieldtarget=eprintclass]
14469 \step[fieldsource=key, fieldtarget=sortkey]
14470 \step[fieldsource=pdf, fieldtarget=file]
14471 }
14472 }
14473 \end{ltxexample}
14474
14475 \section{Default Inheritance Setup}
14476 \label{apx:ref}
14477
14478 The following table shows the \biber cross-referencing rules defined by default.
14479 Please refer to \secref{bib:cav:ref, aut:ctm:ref} for explanation.
14480
14481 \begingroup
14482 \tablesetup
14483 \def\sep{\textrm{, }}
14484 \def\skip{\textrm{--}}
14485 \def\note#1{\textrm{#1}}
14486 \begin{longtable}[l]{%
14487 @{}V{0.2\textwidth}%
14488 @{}V{0.4\textwidth}%
14489 @{}V{0.3\textwidth}%
14490 @{}V{0.3\textwidth}@{}}
14491 \toprule
14492 \multicolumn{2}{@{}H}{Types} & \multicolumn{2}{@{}H}{Fields} \\
14493 \cmidrule(r){1-2}\cmidrule{3-4}
14494 \multicolumn{1}{@{}H}{Source} & \multicolumn{1}{@{}H}{Target} &
14495 \multicolumn{1}{@{}H}{Source} & \multicolumn{1}{@{}H}{Target} \\
14496 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
14497 \endhead
14498 \bottomrule
14499 \endfoot
14500 {\normalsize*} & {\normalsize*} &
14501 ids\par
14502 crossref\par
14503 xref\par
14504 entryset\par
14505 entrysubtype\par
14506 execute\par
14507 label\par
14508 options\par
14509 presort\par
14510 related\par
14511 relatedoptions\par
14512 relatedstring\par
14513 relatedtype\par
14514 shorthand\par
14515 shorthandintro\par
14516 sortkey &
14517 \skip\par \skip\par \skip\par \skip\par
14518 \skip\par \skip\par \skip\par \skip\par
14519 \skip\par \skip\par \skip\par \skip\par
14520 \skip\par \skip\par \skip\par \skip \\\addlinespace
14521 mvbook\sep book &
14522 inbook\sep bookinbook\sep suppbook &
14523 author\par author &
14524 author\par bookauthor \\\addlinespace
14525 mvbook &
14526 book\sep inbook\sep bookinbook\sep suppbook &
14527 title\par subtitle\par titleaddon\par
14528 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14529 maintitle\par mainsubtitle\par maintitleaddon\par
14530 \skip\par \skip\par \skip\par \skip \\\addlinespace
14531 mvcollection\sep mvreference &
14532 collection\sep reference\sep incollection\sep inreference\sep suppcollection &
14533 title\par subtitle\par titleaddon\par
14534 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14535 maintitle\par mainsubtitle\par maintitleaddon\par
14536 \skip\par \skip\par \skip\par \skip \\\addlinespace
14537 mvproceedings &
14538 proceedings\sep inproceedings &
14539 title\par subtitle\par titleaddon\par
14540 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14541 maintitle\par mainsubtitle\par maintitleaddon\par
14542 \skip\par \skip\par \skip\par \skip \\\addlinespace
14543 book &
14544 inbook\sep bookinbook\sep suppbook &
14545 title\par subtitle\par titleaddon\par
14546 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14547 booktitle\par booksubtitle\par booktitleaddon\par
14548 \skip\par \skip\par \skip\par \skip \\\addlinespace
14549 collection\sep reference &
14550 incollection\sep inreference\sep suppcollection &
14551 title\par subtitle\par titleaddon\par
14552 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14553 booktitle\par booksubtitle\par booktitleaddon\par
14554 \skip\par \skip\par \skip\par \skip \\\addlinespace
14555 proceedings &
14556 inproceedings &
14557 title\par subtitle\par titleaddon\par
14558 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14559 booktitle\par booksubtitle\par booktitleaddon\par
14560 \skip\par \skip\par \skip\par \skip \\\addlinespace
14561 periodical &
14562 article\sep suppperiodical &
14563 title\par subtitle\par
14564 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14565 journaltitle\par journalsubtitle\par
14566 \skip\par \skip\par \skip\par \skip \\\addlinespace
14567 {\normalsize*} & {\normalsize*} & {\normalsize*} & {\normalsize*}\\
14568 \end{longtable}
14569 \endgroup
14570
14571 \section{Default Sorting Templates}
14572 \label{apx:srt}
14573
14574 \subsection[Alphabetic 1]{Alphabetic Templates 1}
14575 \label{apx:srt:a1}
14576
14577 The following table shows the standard alphabetic sorting templates defined by default. Please refer to \secref{use:srt} for explanation.
14578
14579 \begingroup
14580 \sorttablesetup
14581 \begin{longtable}[l]{@{}%
14582 V{0.100\textwidth}@{}%
14583 L{0.100\textwidth}@{}%
14584 L{0.175\textwidth}@{}%
14585 L{0.175\textwidth}@{}%
14586 L{0.150\textwidth}@{}%
14587 L{0.300\textwidth}@{}}
14588 \toprule
14589 \multicolumn{1}{@{}H}{Option} & \multicolumn{5}{@{}H}{Template name} \\
14590 \cmidrule(r){1-1}\cmidrule{2-6}
14591 \endhead
14592 \bottomrule
14593 \endfoot
14594 nty & presort\alt mm &
14595 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14596 \new sorttitle\alt title &
14597 \new sortyear\alt year &
14598 \new volume\\
14599 nyt & presort\alt mm &
14600 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14601 \new sortyear\alt year &
14602 \new sorttitle\alt title &
14603 \new volume\\
14604 nyvt & presort\alt mm &
14605 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14606 \new sortyear\alt year &
14607 \new volume &
14608 \new sorttitle\alt title \\
14609 \textrm{all} & presort\alt mm &
14610 \new sortkey \\
14611 \end{longtable}
14612 \endgroup
14613
14614 \subsection[Alphabetic 2]{Alphabetic Templates 2}
14615 \label{apx:srt:a2}
14616
14617 The following table shows the alphabetic sorting templates for \texttt{alphabetic} styles defined by default. Please refer to \secref{use:srt} for explanation.
14618
14619 \begingroup
14620 \sorttablesetup
14621 \begin{longtable}[l]{@{}%
14622 V{0.100\textwidth}@{}%
14623 L{0.100\textwidth}@{}%
14624 L{0.175\textwidth}@{}%
14625 L{0.175\textwidth}@{}%
14626 L{0.150\textwidth}@{}%
14627 L{0.150\textwidth}@{}%
14628 L{0.150\textwidth}@{}}
14629 \toprule
14630 \multicolumn{1}{@{}H}{Option} & \multicolumn{6}{@{}H}{Template name} \\
14631 \cmidrule(r){1-1}\cmidrule{2-7}
14632 \endhead
14633 \bottomrule
14634 \endfoot
14635 anyt & presort\alt mm &
14636 \new labelalpha &
14637 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14638 \new sortyear\alt year &
14639 \new sorttitle\alt title &
14640 \new volume\\
14641 anyvt & presort\alt mm &
14642 \new labelalpha &
14643 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14644 \new sortyear\alt year &
14645 \new volume &
14646 \new sorttitle\alt title \\
14647 \textrm{all} & presort\alt mm &
14648 \new labelalpha &
14649 \new sortkey \\
14650 \end{longtable}
14651 \endgroup
14652
14653 \subsection[Chronological]{Chronological Templates}
14654 \label{apx:srt:chr}
14655
14656 The following table shows the chronological sorting templates defined by default. Please refer to \secref{use:srt} for explanation.
14657
14658 \begingroup
14659 \sorttablesetup
14660 \begin{longtable}[l]{@{}%
14661 V{0.100\textwidth}@{}%
14662 L{0.100\textwidth}@{}%
14663 L{0.225\textwidth}@{}%
14664 L{0.175\textwidth}@{}%
14665 L{0.400\textwidth}@{}}
14666 \toprule
14667 \multicolumn{1}{@{}H}{Option} & \multicolumn{4}{@{}H}{Template name} \\
14668 \cmidrule(r){1-1}\cmidrule{2-5}
14669 \endhead
14670 \bottomrule
14671 \endfoot
14672 ynt & presort\alt mm &
14673 \new sortyear\alt year \alt 9999 &
14674 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14675 \new sorttitle\alt title \\
14676 ydnt & presort\alt mm &
14677 \new sortyear\note{ (desc.)}\alt year\note{ (desc.)} \alt 9999 &
14678 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14679 \new sorttitle\alt title \\
14680 \textrm{all} & presort\alt mm &
14681 \new sortkey \\
14682 \end{longtable}
14683 \endgroup
14684
14685 \section{\biblatexml}
14686 \label{apx:biblatexml}
14687 The \biblatexml\ XML datasource format is designed to be an extensible and modern data source format for \biblatex\ users. There are limitations with \bibtex\ format \file{.bib} files, in particular one might mention UTF-8 support and name formats. \biber\ goes some way to addressing the UTF-8 limitations by using a modified version of the \texttt{btparse} C library but the rather archaic name parsing rules for \bibtex\ are hard-coded and specific to simple Western names.
14688
14689 \biblatexml is an XML format for bibliographic data. When \biber\ either reads or writes \biblatexml\ format datasources, it automatically writes a RelaXNG XML schema for the datasources which is dynamically generated from the active \biblatex\ datamodel. There is no static schema for \biblatexml\ datasources because the allowable fields etc. depend on the data model. The format of \biblatexml\ datasources is relatively self-explanatory---it is usually only necessary to generate a \biblatexml\ datasource from existing \bibtex\ format datasources (using \biber's <tool> mode) in order to understand the format. \biber also allows users to validate \biblatexml\ datasources against the data model generated schema.
14690
14691 Since the \biblatexml\ format is XML and depends on the data model and the data model is extensible by the user (see \secref{aut:ctm:dm}), the \biblatexml\ format can deal with extensions that \bibtex\ format data sources cannot, e.g. new nameparts, options at sub-entry scope. Since it is an XML format, it is relatively easy to transform it into other XML formats or HTML using standard XML processing libraries and tools.
14692
14693 Here is an explanation of the format with examples. By convention, \biblatexml\ files have a \file{.bltxml} extension and \file{kpsewhich} understands this file extension.
14694
14695 \subsection{Header}
14696 \biblatexml\ files begin with the standard XML header:
14697
14698 \begin{lstlisting}[language=xml]
14699 <?xml version="1.0" encoding="UTF-8"?>
14700 \end{lstlisting}
14701 %
14702 The schema model, type and schema type namespace are given in the following line:
14703
14704 \begin{lstlisting}[language=xml]
14705 <?xml-model href="biblatexml.rng"
14706 type="application/xml"
14707 schematypens="http://relaxng.org/ns/structure/1.0"?>
14708 \end{lstlisting}
14709 %
14710 When \biber\ generates \biblatexml\ data sources, it automatically adds this line and points the schema model (href) attribute at the automatically generated RelaXNG XML schema for ease of validation.
14711
14712 \subsection{Body}
14713
14714 The body of a \biblatexml\ data source looks like:
14715
14716 \begin{lstlisting}[language=xml]
14717 <bltx:entries
14718 xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
14719
14720 <bltx:entry id="" entrytype="">
14721 </bltx:entry>
14722 .
14723 .
14724 .
14725 <bltx:entry id="" entrytype="">
14726 </bltx:entry>
14727
14728 </bltx:entries>
14729 \end{lstlisting}
14730 %
14731 The body is one or more \bibfield{entry} elements inside the top-level \bibfield{entries} element and everything is in the \bibfield{bltx} namespace. An entry has an \bibfield{id} attribute corresponding to a \bibtex\ entry key and a \bibfield{entrytype} attribute corresponding to a \bibtex\ entrytype. For example, the \biblatexml\
14732
14733 \begin{lstlisting}[language=xml]
14734 <?xml version="1.0" encoding="UTF-8"?>
14735 <?xml-model href="biblatexml.rng"
14736 type="application/xml"
14737 schematypens="http://relaxng.org/ns/structure/1.0"?>
14738 <bltx:entries
14739 xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
14740 <bltx:entry id="key1" entrytype="book">
14741 </bltx:entry>
14742 </bltx:entries>
14743 \end{lstlisting}
14744 %
14745 Corresponds to the \bibtex\ \file{.bib}
14746
14747 \begin{lstlisting}[style=bibtex]{}
14748 @book{key1,
14749 }
14750 \end{lstlisting}
14751 %
14752 In general, the XML elements in a \biblatexml\ format datasource file have names corresponding to the fields in the datamodel, just like \bibtex\ format datasources. So for example, the \bibtex\ format source
14753
14754 \begin{lstlisting}[style=bibtex]{}
14755 @book{key1,
14756 TITLE = {...},
14757 ISSUE = {...},
14758 NOTE = {...}
14759 }
14760 \end{lstlisting}
14761 %
14762 would be, in \biblatexml
14763
14764 \begin{lstlisting}[language=xml]
14765 <bltx:entry id="key1" entrytype="book">
14766 <bltx:title>...</bltx:title>
14767 <bltx:issue>...</bltx:issue>
14768 <bltx:note>...</bltx:note>
14769 </bltx:entry>
14770 \end{lstlisting}
14771 %
14772 The following exceptions to this simple mapping are to be noted
14773
14774 \subsubsection{Key aliases}
14775 Citation key aliases are specified like this:
14776
14777 \begin{lstlisting}[language=xml]
14778 <bltx:ids>
14779 <bltx:key>alias1</bltx:key>
14780 <bltx:key>alias2</bltx:key>
14781 </bltx:ids>
14782 \end{lstlisting}
14783 %
14784 this corresponds to the \bibtex\ format
14785
14786 \begin{lstlisting}[style=bibtex]{}
14787 @book{key1,
14788 IDS = {alias1,alias2}
14789 }
14790 \end{lstlisting}
14791
14792 \subsubsection{Names}
14793
14794 Name specifications in \biblatexml\ are somewhat more complex in order to generalise the name handling abilities of \biblatex. The user has to be more explicit about the name parts and this allows a much great scope for the handling of different types of names and name parts. A name in \biblatexml\ format looks like this
14795
14796 \begin{lstlisting}[language=xml]
14797 <bltx:names type="author" morenames="1" useprefix="true">
14798 <bltx:name gender="sm">
14799 <bltx:namepart type="given">
14800 <bltx:namepart initial="J">John</bltx:namepart>
14801 <bltx:namepart initial="A">Arthur</bltx:namepart>
14802 </bltx:namepart>
14803 <bltx:namepart type="family">Smith</bltx:namepart>
14804 <bltx:namepart type="prefix" initial="v">von</bltx:namepart>
14805 </bltx:name>
14806 <bltx:name useprefix="false">
14807 <bltx:namepart type="given">
14808 <bltx:namepart>Raymond</bltx:namepart>
14809 </bltx:namepart>
14810 <bltx:namepart type="family">Brown</bltx:namepart>
14811 </bltx:name>
14812 </bltx:names>
14813 \end{lstlisting}
14814 %
14815 A name list field is contained in the \bibfield{names} element with the mandatory \bibfield{type} attribute giving the name of the name list. Things to note:
14816
14817 \begin{itemize}
14818 \item The optional \bibfield{morenames} attribute performs the same task as the \bibtex\ datasource format <and others> string at the end of a name.
14819 \item Note that optional \opt{useprefix} option can be specified at the level of a name list or an individual name in the name list. This is impossible with \bibtex\ datasources.
14820 \item Individual names may have an optional \bibfield{gender} attribute which must be one of those defined in the datamodel <gender> constant list. This is currently not used by standard styles but is available in \biblatex name formats if necessary.
14821 \item A name list is composed of one or more \bibfield{name} elements.
14822 \item Each name is composed of name parts of a \bibfield{type} defined by the data model <nameparts> constant.
14823 \item Each name part may have an option \bibfield{initial} attribute which makes explicit the initial of the name part. If this is not present, \biber\ attempts to automatically determine the initial from the name part.
14824 \item Name parts may have name parts so that compound names can be handled.
14825 \end{itemize}
14826 %
14827 Ignoring the \biblatexml-only features, a corresponding \bibtex\ format datasource would look like this:
14828
14829 \begin{lstlisting}[style=bibtex]{}
14830 AUTHOR = {von Smith, John Arthur and Brown, Raymond and others}
14831 \end{lstlisting}
14832
14833 \subsubsection{Lists}
14834 Datasource list fields (see \secref{bib:fld:typ}) can be represented in two ways, depending on whether there is more than one element in the list:
14835
14836 \begin{lstlisting}[language=xml]
14837 <bltx:publisher>London</bltx:publisher>
14838 <bltx:location>
14839 <bltx:item>London</bltx:item>
14840 <bltx:item>Moscow</bltx:item>
14841 </bltx:location>
14842 \end{lstlisting}
14843
14844 \subsubsection{Ranges}
14845 Datasource range fields (see \secref{bib:fld:typ}) are represented like this:
14846
14847 \begin{lstlisting}[language=xml]
14848 <bltx:pages>
14849 <bltx:item>
14850 <bltx:start>1</bltx:start>
14851 <bltx:end>10</bltx:end>
14852 </bltx:item>
14853 <bltx:item>
14854 <bltx:start>30</bltx:start>
14855 <bltx:end>34</bltx:end>
14856 </bltx:item>
14857 </bltx:pages>
14858 \end{lstlisting}
14859 %
14860 A range field is a list of ranges, each with its own \bibfield{item}. A range item has a \bibfield{start} element and an optional \bibfield{end} element, since ranges can be open-ended.
14861
14862 \subsubsection{Dates}
14863 Datasource date fields (see \secref{bib:fld:typ}) can be represented in two ways, depending on whether they constitute a date range:
14864
14865 \begin{lstlisting}[language=xml]
14866 <bltx:date>1985-04-02</bltx:date>
14867 <bltx:date type="event">
14868 <bltx:start>1990-05-16</bltx:start>
14869 <bltx:end>1990-05-17</bltx:end>
14870 </bltx:date>
14871 \end{lstlisting}
14872 %
14873 The \bibfield{type} attribute on a date element corresponds to a particular type of date defined in the data model.
14874
14875 \subsubsection{Related Entries}
14876
14877 Related entries are specified as follows:
14878 \begin{lstlisting}[language=xml]
14879 <bltx:related>
14880 <bltx:item type="reprint"
14881 ids="rel1,rel2"
14882 string="Somestring"
14883 options="skipbiblist"/>
14884 </bltx:related>
14885 \end{lstlisting}
14886 %
14887 This corresponds to the \bibtex\ format:
14888
14889 \begin{lstlisting}[style=bibtex]{}
14890 @book{key1,
14891 RELATED = {rel2,rel2},
14892 RELATEDTYPE = {reprint},
14893 RELATEDSTRING = {Somestring},
14894 RELATEDOPTIONS = {skipbiblist}
14895 }
14896 \end{lstlisting}
14897 %
14898 As per \secref{aut:ctm:rel}, the \bibfield{string} and \bibfield{options} attributes are optional.
14899
14900 \section{Option Scope}
14901 \label{apx:opt}
14902
14903 The following table provides an overview of the scope of various options.
14904
14905 Per-entry, per-namelist and per-name options are set in the datasource, for
14906 example, in a \file{.bib}file. See the \biber documentation for details
14907 but here are a few examples. Per-entry:
14908
14909 \begin{lstlisting}[style=bibtex]{}
14910 @BOOK{key,
14911 OPTIONS = {sortingnamekeytemplatename=template1},
14912 }
14913 \end{lstlisting}
14914 %
14915 Per-namelist and per-name options require either the \biblatexml datasource
14916 format or the extend \bibtex name format supported by \biber (see the
14917 \biber documentation for details). Per-namelist:
14918
14919 \begin{lstlisting}[style=bibtex]{}
14920 @BOOK{key,
14921 AUTHOR = {sortingnamekeytemplatename=template1 and Arthur Smith and Bill Brown},
14922 }
14923 \end{lstlisting}
14924 %
14925 Per-name:
14926
14927 \begin{lstlisting}[style=bibtex]{}
14928 @BOOK{key,
14929 AUTHOR = {sortingnamekeytemplatename=template1, family=Smith, given=Arthur and Bill Brown},
14930 }
14931 \end{lstlisting}
14932
14933 \begingroup
14934 \tablesetup
14935 \let\+\tickmarkyes
14936 \let\_\tickmarkno
14937 \begin{longtable}[l]{@{}%
14938 V{0.3\textwidth}@{}%
14939 C{0.1\textwidth}@{}%
14940 C{0.1\textwidth}@{}%
14941 C{0.1\textwidth}@{}%
14942 C{0.1\textwidth}@{}%
14943 C{0.1\textwidth}@{}%
14944 C{0.1\textwidth}@{}%
14945 C{0.1\textwidth}@{}}
14946 \toprule
14947 \multicolumn{1}{@{}H}{Option} &
14948 \multicolumn{7}{@{}H}{Scope} \\
14949 \cmidrule{2-8}
14950 & \multicolumn{1}{@{}H}{Load-time} &
14951 \multicolumn{1}{@{}H}{Global} &
14952 \multicolumn{1}{@{}H}{Per-refcontext} &
14953 \multicolumn{1}{@{}H}{Per-type} &
14954 \multicolumn{1}{@{}H}{Per-entry} &
14955 \multicolumn{1}{@{}H}{Per-namelist} &
14956 \multicolumn{1}{@{}H}{Per-name} \\
14957 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule(r){4-4}\cmidrule(r){5-5}\cmidrule(r){6-6}\cmidrule(r){7-7}\cmidrule(r){8-8}
14958 \endhead
14959 \bottomrule
14960 \endfoot
14961 abbreviate &\+&\+&\_&\+&\+&\_&\_\\
14962 alldates &\+&\+&\_&\_&\_&\_&\_\\
14963 alldatesusetime &\+&\+&\_&\_&\_&\_&\_\\
14964 alltimes &\+&\+&\_&\_&\_&\_&\_\\
14965 arxiv &\+&\+&\_&\_&\_&\_&\_\\
14966 autocite &\+&\+&\_&\_&\_&\_&\_\\
14967 autopunct &\+&\+&\_&\_&\_&\_&\_\\
14968 autolang &\+&\+&\_&\_&\_&\_&\_\\
14969 backend &\+&\_&\_&\_&\_&\_&\_\\
14970 backref &\+&\+&\_&\_&\_&\_&\_\\
14971 backrefsetstyle &\+&\+&\_&\_&\_&\_&\_\\
14972 backrefstyle &\+&\+&\_&\_&\_&\_&\_\\
14973 bibencoding &\+&\+&\_&\_&\_&\_&\_\\
14974 bibstyle &\+&\_&\_&\_&\_&\_&\_\\
14975 bibtexcaseprotection &\+&\+&\_&\+&\+&\_&\_\\
14976 bibwarn &\+&\+&\_&\_&\_&\_&\_\\
14977 block &\+&\+&\_&\_&\_&\_&\_\\
14978 casechanger &\+&\_&\_&\_&\_&\_&\_\\
14979 citecounter &\+&\+&\_&\_&\_&\_&\_\\
14980 citereset &\+&\+&\_&\_&\_&\_&\_\\
14981 citestyle &\+&\_&\_&\_&\_&\_&\_\\
14982 citetracker &\+&\+&\_&\+&\+&\_&\_\\
14983 clearlang &\+&\+&\_&\+&\+&\_&\_\\
14984 datamodel &\+&\_&\_&\_&\_&\_&\_\\
14985 dataonly &\+&\+&\_&\+&\+&\_&\_\\
14986 date &\+&\+&\_&\_&\_&\_&\_\\
14987 labeldate &\+&\+&\_&\_&\_&\_&\_\\
14988 $<$datetype$>$date &\+&\+&\_&\_&\_&\_&\_\\
14989 dateabbrev &\+&\+&\_&\+&\+&\_&\_\\
14990 datecirca &\+&\+&\_&\_&\_&\_&\_\\
14991 dateera &\+&\+&\_&\_&\_&\_&\_\\
14992 dateerauto &\+&\+&\_&\_&\_&\_&\_\\
14993 dateuncertain &\+&\+&\_&\_&\_&\_&\_\\
14994 datezeros &\+&\+&\_&\_&\_&\_&\_\\
14995 defernumbers &\+&\+&\_&\_&\_&\_&\_\\
14996 doi &\+&\+&\_&\+&\+&\_&\_\\ % style
14997 eprint &\+&\+&\_&\+&\+&\_&\_\\ % style
14998 $<$namepart$>$inits &\+&\+&\_&\+&\+&\+&\+\\
14999 gregorianstart &\+&\+&\_&\_&\_&\_&\_\\
15000 hyperref &\+&\+&\_&\_&\_&\_&\_\\
15001 ibidtracker &\+&\+&\_&\+&\+&\_&\_\\
15002 idemtracker &\+&\+&\_&\+&\+&\_&\_\\
15003 indexing &\+&\+&\_&\+&\+&\_&\_\\
15004 isbn &\+&\+&\_&\+&\+&\_&\_\\ % style
15005 julian &\+&\+&\_&\_&\_&\_&\_\\
15006 labelalpha &\+&\+&\_&\+&\+&\_&\_\\
15007 labelalphanametemplatename &\_&\_&\+&\_&\+&\+&\+\\
15008 labelnamefield &\_&\_&\_&\_&\+&\_&\_\\
15009 labelnumber &\+&\+&\_&\+&\+&\_&\_\\
15010 labeltitle &\+&\+&\_&\+&\+&\_&\_\\
15011 labeltitlefield &\_&\_&\_&\_&\+&\_&\_\\
15012 labeltitleyear &\+&\+&\_&\+&\+&\_&\_\\
15013 labeldateparts &\+&\+&\_&\+&\+&\_&\_\\
15014 labeltime &\+&\+&\_&\_&\_&\_&\_\\
15015 labeldateusetime &\+&\+&\_&\_&\_&\_&\_\\
15016 labelprefix &\_&\_&\+&\_&\_&\_&\_\\
15017 $<$datetype$>$time &\+&\+&\_&\_&\_&\_&\_\\
15018 $<$datetype$>$dateusetime &\+&\+&\_&\_&\_&\_&\_\\
15019 language &\+&\+&\_&\_&\_&\_&\_\\
15020 loadfiles &\+&\+&\_&\_&\_&\_&\_\\
15021 loccittracker &\+&\+&\_&\+&\+&\_&\_\\
15022 maxalphanames &\+&\+&\_&\+&\+&\_&\_\\
15023 maxbibnames &\+&\+&\_&\+&\+&\_&\_\\
15024 maxcitenames &\+&\+&\_&\+&\+&\_&\_\\
15025 maxsortnames &\+&\+&\_&\+&\+&\_&\_\\
15026 maxitems &\+&\+&\_&\+&\+&\_&\_\\
15027 maxnames &\+&\+&\_&\+&\+&\_&\_\\
15028 maxparens &\+&\+&\_&\_&\_&\_&\_\\
15029 mcite &\+&\_&\_&\_&\_&\_&\_\\
15030 minalphanames &\+&\+&\_&\+&\+&\_&\_\\
15031 minbibnames &\+&\+&\_&\+&\+&\_&\_\\
15032 mincitenames &\+&\+&\_&\+&\+&\_&\_\\
15033 minsortnames &\+&\+&\_&\+&\+&\_&\_\\
15034 mincrossrefs &\+&\+&\_&\_&\_&\_&\_\\
15035 minxrefs &\+&\+&\_&\_&\_&\_&\_\\
15036 minitems &\+&\+&\_&\+&\+&\_&\_\\
15037 minnames &\+&\+&\_&\+&\+&\_&\_\\
15038 namehashtemplatename &\_&\_&\+&\_&\+&\+&\+\\
15039 nametemplates &\_&\_&\+&\_&\+&\+&\+\\
15040 natbib &\+&\_&\_&\_&\_&\_&\_\\
15041 nohashothers &\+&\+&\_&\+&\+&\+&\_\\
15042 nosortothers &\+&\+&\_&\+&\+&\+&\_\\
15043 noinherit &\_&\_&\_&\_&\+&\_&\_\\
15044 notetype &\+&\+&\_&\_&\_&\_&\_\\
15045 opcittracker &\+&\+&\_&\+&\+&\_&\_\\
15046 openbib &\+&\+&\_&\_&\_&\_&\_\\
15047 pagetracker &\+&\+&\_&\_&\_&\_&\_\\
15048 parentracker &\+&\+&\_&\_&\_&\_&\_\\
15049 punctfont &\+&\+&\_&\_&\_&\_&\_\\
15050 refsection &\+&\+&\_&\_&\_&\_&\_\\
15051 refsegment &\+&\+&\_&\_&\_&\_&\_\\
15052 related &\+&\+&\_&\+&\+&\_&\_\\ % style
15053 safeinputenc &\+&\+&\_&\_&\_&\_&\_\\
15054 seconds &\+&\+&\_&\_&\_&\_&\_\\
15055 singletitle &\+&\+&\_&\+&\+&\_&\_\\
15056 skipbib &\+&\+&\_&\+&\+&\_&\_\\
15057 skipbiblist &\+&\+&\_&\+&\+&\_&\_\\
15058 skiplab &\+&\+&\_&\+&\+&\_&\_\\
15059 sortcase &\+&\+&\_&\_&\_&\_&\_\\
15060 sortcites &\+&\+&\_&\_&\_&\_&\_\\
15061 sorting &\+&\+&\_&\_&\_&\_&\_\\
15062 sortingnamekeytemplatename &\_&\_&\+&\_&\+&\+&\+\\
15063
15064 sortlocale &\+&\+&\_&\_&\_&\_&\_\\
15065 sortlos &\+&\+&\_&\_&\_&\_&\_\\
15066 sortupper &\+&\+&\_&\_&\_&\_&\_\\
15067 style &\+&\_&\_&\_&\_&\_&\_\\
15068 terseinits &\+&\+&\_&\+&\+&\+&\+\\
15069 texencoding &\+&\+&\_&\_&\_&\_&\_\\
15070 timezeros &\+&\+&\_&\_&\_&\_&\_\\
15071 timezones &\+&\+&\_&\_&\_&\_&\_\\
15072 uniquelist &\+&\+&\_&\+&\+&\+&\_\\
15073 uniquename &\+&\+&\_&\+&\+&\+&\+\\
15074 uniquenametemplatename &\_&\_&\+&\_&\+&\+&\+\\
15075 uniquetitle &\+&\+&\_&\+&\+&\_&\_\\
15076 uniquebaretitle &\+&\+&\_&\+&\+&\_&\_\\
15077 uniquework &\+&\+&\_&\+&\+&\_&\_\\
15078 uniqueprimaryauthor &\+&\+&\_&\+&\+&\_&\_\\
15079 url &\+&\+&\_&\+&\+&\_&\_\\ % style
15080 useprefix &\+&\+&\_&\+&\+&\+&\+\\
15081 use$<$name$>$ &\+&\+&\_&\+&\+&\_&\_\\
15082 \end{longtable}
15083 \endgroup
15084
15085 \section{Revision History}
15086 \label{apx:log}
15087
15088 This revision history is a list of changes relevant to users of this package. Changes of a more technical nature which do not affect the user interface or the behavior of the package are not included in the list. More technical details are to be found in the \file{CHANGES.md} file. The numbers on the right indicate the relevant section of this manual.
15089
15090 \begin{changelog}
15091 \begin{release}{3.21}{2025-07-10}
15092 \item Added \cmd{mkseqrange} and \cmd{mkseqrange*} to format pages in citations using the bibliography strings \texttt{sequens} and \texttt{sequentes} if applicable\see{aut:aux:msc}
15093 \item Added option \opt{citepagerange} to customize the format of page ranges\see{use:opt:pre:gen}
15094 \item Added \cmd{mkautorange} and \cmd{mkautorange*} which forwards to \cmd{mknormrange}, \cmd{mkcomprange} or \cmd{mkseqrange} (or their starred counterpart, respectively) depending on the \opt{citepagerange} value\see{aut:aux:msc}
15095 \item Use \cmd{mkautorange} in standard styles.
15096 \item Fix \cmd{DeclareHyphenationExceptions} with \sty{polyglossia} and language variants.
15097 \end{release}
15098 \begin{release}{3.20}{2024-03-22}
15099 \item Added new \opt{uniquename} options \see{use:opt:pre:int}
15100 \item Added default full date sorting templates\see{use:opt:pre}
15101 \item Added \opt{bibdatendsep}\see{use:fmt:lng}
15102 \item Added \cmd{AtFollowingRefsections}\see{aut:fmt:hok}
15103 \item Added \cmd{DeclareNamehashTemplate}\see{aut:cav:ni}
15104 \item Added \bibfield{fullhashraw}\see{aut:bbx:fld:gen}
15105 \item Augmented Extended Name Format to enable override of name hashes\see{use:enf}
15106 \end{release}
15107 \begin{release}{3.19}{2023-03-05}
15108 \item Added \cmd{AtNextRefsection}\see{aut:fmt:hok}
15109 \item Added \cmd{DeclareExtradateContext} option\see{aut:ctm:fld}
15110 \item Modified warning for using bibtex backend
15111 \item Enhanced \bibfield{extradate} tracking to fallback on \bibfield{labeltitle} when there is no author
15112 \end{release}
15113 \begin{release}{3.18b}{2022-07-12}
15114 \item Reenable \cmd{MakeUppercase}/\cmd{MakeLowercase} <patches>
15115 based on \cmd{CaseSwitch}
15116 \end{release}
15117 \begin{release}{3.18a}{2022-07-02}
15118 \item Disable \cmd{MakeUppercase}/\cmd{MakeLowercase} patches as emergency
15119 fix for \latex 2022-06-01-PL4 compatibility.
15120 \end{release}
15121 \begin{release}{3.18}{2022-06-22}
15122 \item Added sorting option \cmd{intciteorder}\see{aut:ctm:srt}
15123 \item Added global option \opt{pluralothers}\see{use:opt:pre:gen}
15124 \item Added \cmd{localrefcontext}\see{use:bib:context}
15125 \item Added \cmd{visibility} option to \cmd{DeclareSortingNamekeyTemplate}\see{aut:ctm:srt}
15126 \item Added \cmd{GenRefcontextData}\see{use:bib:context}
15127 \item Added \cmd{AtBeginRefsection}\see{aut:fmt:hok}
15128 \end{release}
15129 \begin{release}{3.17}{2022-01-25}
15130 \item Changed behaviour of index-less granular XDATA references\see{use:use:xdat}
15131 \item Added \cmd{DeclareNonamestring} \see{aut:ctm:nonamestring}
15132 \item Added new \cmd{citecount} sort option and
15133 associated default sorting scheme\see{aut:ctm:srt} and \see{use:opt:pre:gen}
15134 \item Added new sourcemap verbs \texttt{matches} and \texttt{matchesi}\see{aut:ctm:map}
15135 \item Deprecated season fields and macros in favour of generalised year
15136 divisions\see{aut:bbx:fld:dat}
15137 \item Added \cmd{textouterlang}\see{aut:str}
15138 \item Added \cmd{UndeclareDelimcontextAlias}\see{use:fmt:csd}
15139 \item Added \cmd{DeclareBibstringSet}, \cmd{DeclareBibstringSetFormat} etc.\see{aut:str}
15140 \item Added Marathi localisation (\textdevanagari{निरंजन})
15141 \item Added Romanian localisation (Patrick Danilevici)
15142 \item Added some support for calculating with non-\acr{US-ASCII} numerals\see{aut:aux:tst}
15143 \item Removed list support for \prm{name} argument of \cmd{DeclareDelimFormat}\see{use:fmt:csd}
15144 \end{release}
15145 \begin{release}{3.16}{2020-12-31}
15146 \item Added named refcontext support to \cmd{assignrefcontext*}\see{use:bib:context}
15147 \item Fixed infinite loop with \bibfield{volcitepages} field format
15148 \item Added Extended Name Format documentation\see{use:enf}
15149 \item Added \opt{label} option to \cmd{printbibliography}\see{use:bib:bib}
15150 \item Deprecate \cmd{mainlang} in favour of \cmd{textmainlang}\see{aut:str}
15151 \item Added Basque localisation (Ander Zarketa-Astigarraga)
15152 \end{release}
15153 \begin{release}{3.15a}{2020-08-23}
15154 \item Fixed bug with long arguments in \cmd{DeclareFieldFormat} and friends
15155 \end{release}
15156 \begin{release}{3.15}{2020-08-16}
15157 \item Added \opt{starnocited} option to sourcemaps\see{aut:ctm:map}
15158 \item Added the \opt{glob} option to \cmd{addbibresource}\see{use:bib:res}
15159 \item Added \bibfield{eid} to more entry types\see{bib:typ:blx}
15160 \item Added \cmd{bibeidpunct}\see{use:fmt:fmt}
15161 \item Added \bibfield{issuetitleaddon} and \bibfield{journaltitleaddon}\see{bib:fld:dat}
15162 \item \texttt{numeric-comp} compresses \opt{subentry} set references now\see{use:opt:pre:bbx}
15163 \item Added \opt{subentrycomp} to \texttt{numeric-comp} style\see{use:opt:pre:bbx}
15164 \item Added \cmd{multiciterangedelim}, \cmd{multicitesubentrydelim},
15165 \cmd{multicitesubentryrangedelim}, \cmd{superciterangedelim},
15166 \cmd{supercitesubentrydelim}, \cmd{supercitesubentryrangedelim}%
15167 \see{use:fmt:fmt}
15168 \item Implemented \opt{expl3} case changing functions\see{aut:aux:msc}
15169 \item Added \opt{casechanger} option\see{use:opt:ldt}
15170 \item Added \opt{bibtexcaseprotection} option\see{use:opt:pre:gen}
15171 \item Added \cmd{mautocite} and \cmd{Mautocite}\see{use:cit:mct}
15172 \item Added \opt{trackfloats} and \opt{backreffloats}\see{use:opt:pre:gen}
15173 \item Added \opt{block} option to \cmd{printbibliography} and friends\see{use:bib:bib}
15174 \item Added \cmd{NumsCheckSetup} and \cmd{PagesCheckSetup}\see{aut:aux:msc}
15175 \item Added \cmd{AtEveryEntrykey}\see{aut:fmt:hok}
15176 \item Added \cmd{ifdatesequal} and \cmd{ifdaterangesequal}\see{aut:aux:tst}
15177 \item Clarified \cmd{ifuniqueprimaryauthor} semantics\see{aut:aux:tst}
15178 \item Added \cmd{bibncpstring}, \cmd{bibncplstring} and \cmd{bibncpsstring}\see{aut:str}
15179 \item Added Lithuanian localisation (Valdemaras Klumbys)
15180 \item Added Serbian localisation (Andrej Radović)
15181 \item Added Turkish localisation (Abdulkerim Gok)
15182 \item Added file hooks\see{aut:fmt:hok:fil}
15183 \item Deprecated \cmd{ifkomabibtotoc} and \cmd{ifkomabibtotocnumbered}\see{use:cav:scr}
15184 \end{release}
15185 \begin{release}{3.14}{2019-12-01}
15186 \item Added new mapping verbs for citation sources\see{aut:ctm:map}
15187 \item Added documentation for new \biber granular \bibtype{xdata} functionality\see{use:use:xdat}
15188 \item Enhanced \sty{polyglossia} support
15189 \end{release}
15190 \begin{release}{3.13a}{2019-08-31}
15191 \item Bugfix release
15192 \end{release}
15193 \begin{release}{3.13}{2019-08-17}
15194 \item Added new \bibtype{dataset} entry type\see{bib:typ:blx}
15195 \item Promoted \bibtype{software} to regular entry type\see{bib:typ:blx}
15196 \item Added \bibfield{entrykey} alias for entry keys in labels\see{aut:ctm:lab}
15197 \item Added \opt{appendstrict} sourcemapping option\see{aut:ctm:map}
15198 \item Added \opt{nohashothers} and \opt{nosortothers}\see{use:opt:pre:int}
15199 \item Enhanced \cmd{addbibresource} with globbing\see{use:bib:res}
15200 \item Added \cmd{DeclareBiblatexOption}\see{aut:bbx:bbx}
15201 \item Expanded scope possibilities for several options\see{apx:opt}
15202 \item Added \cmd{ifvolcite} test\see{aut:aux:tst}
15203 \item Added special fields \bibfield{volcitevolume} and \bibfield{volcitepages}%
15204 \see{aut:cbx:fld}
15205 \item Added \cmd{AtVolcite} hook\see{aut:fmt:hok}
15206 \item Added \cmd{pnfmt} \see{use:cit:msc}
15207 \item Added \cmd{mkbibcompletename} and \cmd{mkbibcompletename<formatorder>}\see{use:fmt:fmt}
15208 \item Made \cmd{postnotedelim} and friends context sensitive\see{use:fmt:fmt}
15209 \item Added \cmd{multipostnotedelim} and \cmd{multiprenotedelim}\see{use:fmt:fmt}
15210 \item Added \cmd{thefirstlistitem} and friends\see{aut:aux:dat}
15211 \item Added \prm{itempostpro} argument to \cmd{mkcomprange}, \cmd{mknormrange} and \cmd{mkfirstpage}\see{aut:aux:msc}
15212 \item Added \len{biburlbigskip} and friends\see{use:fmt:len}
15213 \item Added \cnt{biburlbigbreakpenalty} and \cnt{biburlbreakpenalty} and friends\see{use:fmt:len}
15214 \item Added \cmd{DeclarePrintbibliographyDefaults}\see{use:bib:bib}
15215 \item Added \bibfield{doi} to \bibtype{online}\see{bib:typ:blx}
15216 \end{release}
15217
15218 \begin{release}{3.12}{2018-10-30}
15219 \item Added literal and named annotation functionality\see{use:annote}
15220 \item Added \cmd{ifnocite}\see{aut:aux:tst}
15221 \item Added case-insensitive versions of matching operators\see{aut:ctm:map}
15222 \item Added \bibfield{langid}s optional argument to \cmd{DeclareSortTranslit}\see{aut:ctm:srt}
15223 \item Added \opt{noroman} option\see{use:opt:pre:int}
15224 \item Changed \bibfield{sortyear} to an integer field\see{bib:fld:spc}
15225 \item Added \bibfield{extraname}\see{aut:bbx:fld:lab}
15226 \item Added \opt{bibencoding} option to \cmd{addbibresource}\see{use:bib:res}
15227 \item Changed type of \bibfield{number} from integer to literal \see{bib:fld:dat}
15228 \item Removed \opt{noerroretextools} option\see{int:pre:inc}
15229 \item Added \opt{maxsortnames} and \opt{minsortnames}\see{use:opt:pre:gen}
15230 \item Added \cmd{DeprecateFieldFormatWithReplacement} and friends\see{aut:bib:fmt}
15231 \item Added list and name wrappers\see{aut:bib:fmt}
15232 \item Added \cs{ifdateyearsequal}\see{aut:aux:tst}
15233 \item Added <and higher> sectioning values for \opt{citereset}, \opt{refsection} and \opt{refsegment} options\see{use:opt:pre:gen}
15234 \item Added Hungarian localisation\see{use:loc:hun}
15235 \item Added \cmd{DeclareCitePunctuationPosition}\see{aut:cbx:cbx}
15236 \end{release}
15237
15238 \begin{release}{3.11}{2018-02-20}
15239 \item Added \opt{entrynocite} option to sourcemapping\see{aut:ctm:map}
15240 \item Added \opt{driver} and \opt{biblistfilter} options to \cmd{printbiblist}\see{use:bib:biblist}
15241 \item Added \cmd{mknormrange}\see{aut:aux:msc}
15242 \item Added \cmd{ifdateannotation}\see{use:annote}
15243 \item Extended \cmd{iffieldannotation} and friends\see{use:annote}
15244 \item Changed \cmd{DeclareSourcemap} so that it can be used multiple times\see{aut:ctm:map}
15245 \item Added Latvian localisation (Rihards Skuja)
15246 \item Added \opt{locallabelwidth} option\see{use:opt:pre:gen}
15247 \end{release}
15248
15249 \begin{release}{3.10}{2017-12-19}
15250 \item Changed \opt{edtf} to \opt{iso}\see{use:opt:pre:gen}
15251 \item Added \opt{noerroretextools} option\see{int:pre:inc}
15252 \end{release}
15253
15254 \begin{release}{3.9}{2017-11-21}
15255 \item Added \cmd{iffieldplusstringbibstring}\see{aut:aux:tst}
15256 \item Fixed \cmd{mkpagetotal}\see{aut:aux:msc}
15257 \end{release}
15258
15259 \begin{release}{3.8}{2017-11-04}
15260 \item Added \kvopt{hyperref}{manual} option\see{use:opt:pre:gen}
15261 \item Added field \bibfield{extradatescope}\see{aut:bbx:fld:lab}
15262 \item Added \cmd{DeclareExtradate}\see{aut:ctm:fld}
15263 \item Added \cmd{DeprecateFieldWithReplacement}, \cmd{DeprecateListWithReplacement} and \cmd{DeprecateNameWithReplacement}\see{aut:bib:dat}
15264 \item Added \cmd{letbibmacro}\see{aut:aux:msc}
15265 \item Renamed \opt{extrayear} to \opt{extradate}\see{aut:bbx:fld:lab}
15266 \item Added \opt{sortsets} global option\see{use:opt:pre:gen}
15267 \item Added \cmd{iflabelalphanametemplatename} and \cmd{uniquenametemplatename}\see{aut:aux:tst}
15268 \item Renamed \cmd{ifsortingnamescheme} to \cmd{ifsortingnamekeytemplatename}\see{aut:aux:tst}
15269 \item Renamed \opt{sortingnamekeyscheme} to \opt{sortingnamekeytemplate}\see{use:bib:context}
15270 \item Renamed \cmd{DeclareSortingNamekeyScheme} to \cmd{DeclareSortingNamekeyTemplate}\see{aut:ctm:srt}
15271 \item Renamed \cmd{DeclareSortingScheme} to \cmd{DeclareSortingTemplate}\see{aut:ctm:srt}
15272 \item Changes to \cmd{DeclareUniquenameTemplate} and \cmd{DeclareLabelalphaNameTemplate} scopes\see{aut:cav:amb} and \see{aut:ctm:lab}
15273 \item Added new \opt{disambiguation} option to \cmd{DeclareUniquenameTemplate}\see{aut:cav:amb}
15274 \item Added new user-facing versions of some entry-querying commands\see{use:eq}
15275 \item Changed \bibfield{origlanguage} to a list in line with \bibfield{language}\see{bib:fld:dat}
15276 \item Deprecated \bibfield{childentrykey} and \bibfield{childentrytype}\see{aut:bbx:fld:gen}
15277 \item Added \bibfield{bibnamehash} and name list specific variants\see{aut:bbx:fld:gen}
15278 \item Added ALA-LC Russian romanisation transliteration support\see{aut:ctm:srt}
15279 \item Added \bibfield{urlraw}\see{aut:bbx:fld:gen}
15280 \item Added \cmd{AtUsedriver}\see{aut:fmt:hok}
15281 \item Added Bulgarian localisation (Kaloyan Ganev)
15282 \item \bibfield{sortyear} is now a literal, not an integer\see{bib:fld:spc}
15283 \item Added \cmd{DeclareLanguageMappingSuffix}\see{aut:lng:cmd}
15284 \item Changed default for \cmd{DeclarePrefChars}\see{aut:pct:cfg}
15285 \item Added \cmd{authortypedelim}, \cmd{editortypedelim} and \cmd{translatortypedelim}\see{use:fmt:fmt}
15286 \item Added \cmd{DeclareDelimAlias}\see{use:fmt:csd}
15287 \item Added \opt{slovenian} as alias for \opt{slovene} due to Polyglossia
15288 name for the language\see{bib:fld:spc}
15289 \item Added Ukrainian localisation (Sergiy M. Ponomarenko)
15290 \end{release}
15291
15292 \begin{release}{3.7}{2016-12-08}
15293 \item Corrected default for \cmd{bibdateeraprefix}\see{aut:fmt:lng}
15294 \item Added \cmd{DeclareSortInclusion}\see{aut:ctm:srt}
15295 \item Added \cmd{relateddelim$<$relatedtype$>$}\see{use:fmt:fmt}
15296 \end{release}
15297
15298 \begin{release}{3.6}{2016-09-15}
15299 \item Corrected some documentation and fixed a bug with labeldate
15300 localisation strings.
15301 \end{release}
15302
15303 \begin{release}{3.5}{2016-09-10}
15304 \item Added \cmd{ifuniquebaretitle} test\see{aut:aux:tst}
15305 \item Documented \cmd{labelnamesource} and \cmd{labeltitlesource}\see{aut:bbx:fld:gen}
15306 \item Added \cmd{bibdaterangesep}\see{use:fmt:lng}
15307 \item Added \opt{refsection} option to \cmd{DeclareSourcemap}\see{aut:ctm:map}
15308 \item Added \opt{suppress} option to inheritance specifications\see{aut:ctm:ref}
15309 \item Added \cmd{ifuniquework}\see{aut:aux:tst}
15310 \item Changed \cmd{DeclareStyleSourcemap} so that it can be used multiple times\see{aut:ctm:map}
15311 \item Added \cmd{forcezerosy} and \cmd{forcezerosmdt}\see{aut:fmt:ich}
15312 \item Changed \cmd{mkdatezeros} to \cmd{mkyearzeros}, \cmd{mkmonthszeros}
15313 and \cmd{mkdayzeros}\see{aut:fmt:ich}
15314 \item Added \bibfield{namehash} and \bibfield{fullhash} for all name list fields\see{aut:bbx:fld:gen}
15315 \item Generalised \opt{giveninits} option to all nameparts\see{use:opt:pre:int}
15316 \item Added \opt{inits} option to \cmd{DeclareSortingNamekeyScheme}\see{aut:ctm:srt}
15317 \item Removed option \opt{sortgiveninits}. Use the option \opt{inits} to \cmd{DeclareSortingNamekeyScheme} instead
15318 \item Added \cmd{DeclareLabelalphaNameTemplate}\see{aut:ctm:lab}
15319 \item Added full \acr{EDTF} Levels 0 and 1 compliance for parsing and printing times\see{bib:use:dat}
15320 \item Changed dates to be fully \acr{EDTF} Levels 0 and 1 compliant. Associated tests and localisation strings\see{bib:use:dat}
15321 \item Added \opt{timezeros}\see{use:opt:pre:gen}
15322 \item Added \opt{mktimezeros}\see{aut:fmt:ich}
15323 \item Changed \opt{iso8601} to \opt{edtf}\see{use:opt:pre:gen}
15324 \item Added \cmd{DeclareUniquenameTemplate}\see{aut:cav:amb}
15325 \item Removed experimental RIS support
15326 \item \opt{sortnamekeyscheme} and \opt{useprefix} can be now be set per-namelist and per-name for
15327 \bibtex datasources\see{aut:ctm:srt}
15328 \item Added \cmd{DeclareDelimcontextAlias}\see{use:fmt:csd}
15329 \item Added Estonian localisation (Benson Muite)
15330 \item Reference contexts may now be named\see{use:bib:context}
15331 \item Added \opt{notfield} step in Sourcemaps\see{aut:ctm:map}
15332 \end{release}
15333
15334 \begin{release}{3.4}{2016-05-10}
15335 \item Added \cmd{ifcrossrefsource} and \cmd{ifxrefsource}\see{aut:aux:tst}
15336 \item Added data annotation feature\see{use:annote}
15337 \item Added package option \opt{minxrefs}\see{use:opt:pre:gen}
15338 \item Added \cmd{ifuniqueprimaryauthor} and associated global option\see{aut:aux:tst}
15339 \item Added \cmd{DeprecateField}, \cmd{DeprecateList} and \cmd{DeprecateName}\see{aut:bib:dat}
15340 \item Added \cmd{ifcaselang}\see{aut:aux:tst}
15341 \item Added \cmd{DeclareSortTranslit}\see{aut:ctm:srt}
15342 \item Added \opt{uniquetitle} test\see{aut:aux:tst}
15343 \item Added \cmd{namelabeldelim}\see{use:fmt:fmt}
15344 \item New starred variants of the \cmd{assignrefcontext*} macros\see{use:bib:context}
15345 \item New context-sensitive delimiter interface\see{use:fmt:csd}
15346 \item Moved \opt{prefixnumbers} option to \cmd{newrefcontext} and renamed to \opt{labelprefix}\see{use:bib:context}
15347 \item Added \cmd{DeclareDatafieldSet}\see{aut:ctm:dsets}
15348 \end{release}
15349
15350 \begin{release}{3.3}{2016-03-01}
15351 \item New macros for auto-assignment of refcontexts\see{use:bib:context}
15352 \item Schema documentation for \biblatexml\see{apx:biblatexml}
15353 \item Sourcemapping documentation and examples for \biblatexml\see{aut:ctm:map}
15354 \item Changes for name formats to generalise available name parts\see{aut:bib:fmt}
15355 \item \opt{useprefix} can now be specified per-namelist and per-name in \biblatexml datasources
15356 \item New sourcemapping options for creating new entries dynamically and looping over map steps\see{aut:ctm:map}
15357 \item Added \opt{noalphaothers} and enhanced name range selection in \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15358 \item Added \cmd{DeclareDatamodelConstant}\see{aut:ctm:dm}
15359 \item Renamed \opt{firstinits} to \opt{giveninits} and \opt{sortfirstinits} to \opt{sortgiveninits}\see{use:opt:pre:int}
15360 \item Added \cmd{DeclareSortingNamekeyScheme}\see{aut:ctm:srt}
15361 \item Removed messy experimental endnote and zoterordf support for \biber
15362 \item Added \cmd{nonameyeardelim}\see{use:fmt:fmt}
15363 \item Added \cmd{extpostnotedelim}\see{use:fmt:fmt}
15364 \end{release}
15365
15366 \begin{release}{3.2}{2015-12-28}
15367 \item Added \opt{pstrwidth} and \opt{pcompound} to \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15368 \item Added \cmd{AtEachCitekey}\see{aut:fmt:hok}
15369 \end{release}
15370
15371 \begin{release}{3.1}{2015-09}
15372 \item Added \cmd{DeclareNolabel}\see{aut:ctm:lab}
15373 \item Added \cmd{DeclareNolabelwidthcount}\see{aut:ctm:lab}
15374 \end{release}
15375
15376 \begin{release}{3.0}{2015-04-20}
15377 \item Improved Danish (Jonas Nyrup) and Spanish (ludenticus) translations
15378 \item \bibfield{labelname} and \bibfield{labeltitle} are now resolved by \biblatex instead of \biber for more flexibility and future extensibility
15379 \item New \cmd{entryclone} sourcemap verb for cloning entries during sourcemapping\see{aut:ctm:map}
15380 \item New \cmd{pernottype} negated per-type sourcemap verb\see{aut:ctm:map}
15381 \item New range calculation command \cmd{frangelen}\see{aut:aux:msc}
15382 \item New bibliography context functionality\see{use:bib:context}
15383 \item Name lists in the data model now automatically create internals for \cmd{ifuse$<$name$>$} tests and booleans\see{use:opt:bib:hyb} and \see{aut:aux:tst}
15384 \end{release}
15385
15386 \begin{release}{2.9a}{2014-06-25}
15387 \item \texttt{resetnumbers} now allows passing a number to reset to\see{use:bib:bib}
15388 \end{release}
15389
15390 \begin{release}{2.9}{2014-02-25}
15391 \item Generalised shorthands facility\see{use:bib:biblist}
15392 \item Sorting locales can now be defined as part of a sorting scheme\see{aut:ctm:srt}
15393 \item Added \bibfield{sortinithash}\see{aut:bbx:fld:gen}
15394 \item Added Slovene localisation (Tea Tušar and Bogdan Filipič)
15395 \item Added \cmd{mkbibitalic}\see{aut:fmt:ich}
15396 \item Recommend \texttt{begentry} and \texttt{finentry} bibliography macros\see{aut:bbx:drv}
15397 \end{release}
15398
15399 \begin{release}{2.8a}{2013-11-25}
15400 \item Split option \opt{language=auto} into \opt{language=autocite} and \opt{language=autobib}\see{use:opt:pre:gen}
15401 \end{release}
15402
15403 \begin{release}{2.8}{2013-10-21}
15404 \item New \bibfield{langidopts}\see{bib:fld:spc}
15405 \item \bibfield{hyphenation} field renamed to \bibfield{langid}\see{bib:fld:spc}
15406 \item \sty{polyglossia} support
15407 \item Renamed \opt{babel} option to \opt{autolang}\see{use:opt:pre:gen}
15408 \item Corrected Dutch localisation
15409 \item Added \opt{datelabel=year} option\see{use:opt:pre:gen}
15410 \item Added \bibfield{datelabelsource} field\see{aut:bbx:fld:gen}
15411 \end{release}
15412
15413 \begin{release}{2.7a}{2013-07-14}
15414 \item Bugfix - respect maxnames and uniquelist in \cmd{finalandsemicolon}
15415 \item Corrected French localisation
15416 \end{release}
15417
15418 \begin{release}{2.7}{2013-07-07}
15419 \item Added field \bibfield{eventtitleaddon} to default datamodel and styles\see{bib:fld:dat}
15420 \item Added \cmd{ifentryinbib}, \cmd{iffirstcitekey} and \cmd{iflastcitekey}\see{aut:aux:tst}
15421 \item Added \bibfield{postpunct} special field, documented \bibfield{multiprenote} and \bibfield{multipostnote} special fields\see{aut:cbx:fld}
15422 \item Added \cmd{UseBibitemHook}, \cmd{AtEveryMultiCite}, \cmd{AtNextMultiCite}, \cmd{UseEveryCiteHook}, \cmd{UseEveryCitekeyHook}, \cmd{UseEveryMultiCiteHook}, \cmd{UseNextCiteHook}, \cmd{UseNextCitekeyHook}, \cmd{UseNextMultiCiteHook}, \cmd{DeferNextCitekeyHook}\see{aut:fmt:hok}
15423 \item Fixed \cmd{textcite} and related commands in the numeric and verbose styles\see{use:cit:cbx}
15424 \item Added multicite variants of \cmd{volcite} and related commands\see{use:cit:spc}
15425 \item Added \cmd{finalandsemicolon}\see{use:fmt:lng}
15426 \item Added citation delimiter \cmd{textcitedelim} for \cmd{textcite} and related commands to styles\see{aut:fmt:fmt}
15427 \item Updated Russian localisation (Oleg Domanov)
15428 \item Fixed Brazilian and Finnish localisation
15429 \end{release}
15430
15431 \begin{release}{2.6}{2013-04-30}
15432 \item Added \cmd{printunit}\see{aut:pct:new}
15433 \item Added field \bibfield{clonesourcekey}\see{aut:bbx:fld:gen}
15434 \item New options for \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15435 \item Added \cmd{DeclareLabeldate} and retired \cmd{DeclareLabelyear}\see{aut:ctm:fld}
15436 \item Added \texttt{nodate} localisation string\see{aut:lng:key:msc}
15437 \item Added \cmd{rangelen}\see{aut:aux:msc}
15438 \item Added starred variants of \cmd{citeauthor} and \cmd{Citeauthor}\see{use:cit:txt}
15439 \item Restored original \texttt{url} format. Added \texttt{urlfrom} localisation key\see{aut:lng:key:lab}
15440 \item Added \cmd{AtNextBibliography}\see{aut:fmt:hok}
15441 \item Fixed related entry processing to allow nested and cyclic related entries
15442 \item Added Croatian localisation (Ivo Pletikosić)
15443 \item Added Polish localisation (Anastasia Kandulina, Yuriy Chernyshov)
15444 \item Fixed Catalan localisation
15445 \item Added smart ``of'' for titles to Catalan and French localisation
15446 \item Misc bug fixes
15447 \end{release}
15448
15449 \begin{release}{2.5}{2013-01-10}
15450 \item Made \texttt{url} work as a localisation string, defaulting to previously hard-coded value <\textsc{URL}>.
15451 \item Changed some \biber\ option names to cohere with \biber\ 1.5.
15452 \item New sourcemap step for conditionally removing entire entries\see{aut:ctm:map}
15453 \item Updated Catalan localisation (Sebastià Vila-Marta)
15454 \end{release}
15455
15456 \begin{release}{2.4}{2012-11-28}
15457 \item Added \bibfield{relatedoptions} field\see{aut:ctm:rel}
15458 \item Added \cmd{DeclareStyleSourcemap}\see{aut:ctm:map}
15459 \item Renamed \cmd{DeclareDefaultSourcemap} to \cmd{DeclareDriverSourcemap}\see{aut:ctm:map}
15460 \item Documented \cmd{DeclareFieldInputHandler}, \cmd{DeclareListInputHandler} and \cmd{DeclareNameInputHandler}.
15461 \item Added Czech localisation (Michal Hoftich)
15462 \item Updated Catalan localisation (Sebastià Vila-Marta)
15463 \end{release}
15464
15465 \begin{release}{2.3}{2012-11-01}
15466 \item Better detection of situations which require a \biber\ or \LaTeX\ re-run
15467 \item New append mode for \cmd{DeclareSourcemap} so that fields can be combined\see{aut:ctm:map}
15468 \item Extended auxiliary indexing macros
15469 \item Added support for plural localisation strings with \bibfield{relatedtype}\see{aut:ctm:rel}
15470 \item Added \cmd{csfield} and \cmd{usefield}\see{aut:aux:dat}
15471 \item Added starred variant of \cmd{usebibmacro}\see{aut:aux:msc}
15472 \item Added \cmd{ifbibmacroundef}, \cmd{iffieldformatundef}, \cmd{iflistformatundef}
15473 and \cmd{ifnameformatundef}\see{aut:aux:msc}
15474 \item Added Catalan localisation (Sebastià Vila-Marta)
15475 \item Misc bug fixes
15476 \end{release}
15477
15478 \begin{release}{2.2}{2012-08-17}
15479 \item Misc bug fixes
15480 \item Added \cmd{revsdnamepunct}\see{use:fmt:fmt}
15481 \item Added \cmd{ifterseinits}\see{aut:aux:tst}
15482 \end{release}
15483
15484 \begin{release}{2.1}{2012-08-01}
15485 \item Misc bug fixes
15486 \item Updated Norwegian localisation (Håkon Malmedal)
15487 \item Increased data model auto-loading possibilities\see{aut:ctm:dm}
15488 \end{release}
15489
15490 \begin{release}{2.0}{2012-07-01}
15491 \item Misc bug fixes
15492 \item Generalised \opt{singletitle} test a little\see{aut:aux:tst}
15493 \item Added new special field \bibfield{extratitleyear}\see{aut:bbx:fld}
15494 \item Customisable data model\see{aut:ctm:dm}
15495 \item Added \cmd{DeclareDefaultSourcemap}\see{aut:ctm:map}
15496 \item Added \opt{labeltitle} option\see{use:opt:pre:int}
15497 \item Added new special field \bibfield{extratitle}\see{aut:bbx:fld}
15498 \item Made special field \bibfield{labeltitle} customisable\see{aut:bbx:fld}
15499 \item Removed field \bibfield{reprinttitle}\see{use:rel}
15500 \item Added related entry feature\see{use:rel}
15501 \item Added \cmd{DeclareNoinit}\see{aut:ctm:noinit}
15502 \item Added \cmd{DeclareNosort}\see{aut:ctm:nosort}
15503 \item Added \opt{sorting} option for \cmd{printbibliography} and \cmd{printshorthands}\see{use:bib:bib}
15504 \item Added \texttt{ids} field for citekey aliasing\see{bib:fld}
15505 \item Added \opt{sortfirstinits} option\see{use:opt:pre:int}
15506 \item Added data stream modification feature\see{aut:ctm:map}
15507 \item Added customisable labels feature\see{aut:ctm:lab}
15508 \item Added \cmd{citeyear*} and \cmd{citedate*}\see{use:cit:txt}
15509 \end{release}
15510
15511 % \begin{release}{1.7}{2011-11-13}
15512 % \item Added \texttt{xdata} containers\see{use:use:xdat}
15513 % \item Added special entry type \bibfield{xdata}\see{bib:typ:blx}
15514 % \item Added special field \bibfield{xdata}\see{bib:fld:spc}
15515 % \item Support \opt{maxnames}/\opt{minnames} globally/per-type/per-entry\see{use:opt:pre:gen}
15516 % \item Support \opt{maxbibnames}/\opt{minbibnames} globally/per-type/per-entry\see{use:opt:pre:gen}
15517 % \item Support \opt{maxcitenames}/\opt{mincitenames} globally/per-type/per-entry\see{use:opt:pre:gen}
15518 % \item Support \opt{maxitems}/\opt{minitems} globally/per-type/per-entry\see{use:opt:pre:gen}
15519 % \item Support \opt{maxalphanames}/\opt{minalphanames} globally/per-type/per-entry\see{use:opt:pre:int}
15520 % \item Support \opt{uniquelist} globally/per-type/per-entry\see{use:opt:pre:int}
15521 % \item Support \opt{uniquename} globally/per-type/per-entry\see{use:opt:pre:int}
15522 % \item Added \cmd{textcite} and \cmd{textcites} to all \texttt{verbose} citation styles\see{use:xbx:cbx}
15523 % \item Added special field formats \texttt{date}, \texttt{urldate}, \texttt{origdate}, \texttt{eventdate}\see{aut:fmt:ich}
15524 % \item Added \cmd{mkcomprange*}\see{aut:aux:msc}
15525 % \item Added \cmd{mkfirstpage*}\see{aut:aux:msc}
15526 % \item Added \cmd{volcitedelim}\see{aut:fmt:fmt}
15527 % \item Added missing documentation for \cmd{ifentrytype}\see{aut:aux:tst}
15528 % \item Added \cmd{mkbibneutord}\see{use:fmt:lng}
15529 % \item Added counter \cnt{biburlnumpenalty}\see{aut:fmt:len}
15530 % \item Added counter \cnt{biburlucpenalty}\see{aut:fmt:len}
15531 % \item Added counter \cnt{biburllcpenalty}\see{aut:fmt:len}
15532 % \item Added localisation keys \texttt{book}, \texttt{part}, \texttt{issue}, \texttt{forthcoming}\see{aut:lng:key}
15533 % \item Added some \texttt{lang...} and \texttt{from...} localisation keys\see{aut:lng:key}
15534 % \item Expanded documentation\see{apx:opt}
15535 % \item Added support for Russian (Oleg Domanov)
15536 % \item Updated support for Dutch (Pieter Belmans)
15537 % \item Fixed compatibility issue with \sty{textcase} package
15538 % \item Fixed some bugs
15539 % \end{release}
15540
15541 % \begin{release}{1.6}{2011-07-29}
15542 % \item Added special field \bibfield{sortshorthand}\see{bib:fld:spc}
15543 % \item Revised options \opt{maxnames}/\opt{minnames}\see{use:opt:pre:gen}
15544 % \item Options \opt{maxcitenames}/\opt{mincitenames} now supported by backend\see{use:opt:pre:gen}
15545 % \item Options \opt{maxbibnames}/\opt{minbibnames} now supported by backend\see{use:opt:pre:gen}
15546 % \item Added options \opt{maxalphanames}/\opt{minalphanames}\see{use:opt:pre:int}
15547 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{printbibliography}\see{use:bib:bib}
15548 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{printbibliography}\see{use:bib:bib}
15549 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbysection}\see{use:bib:bib}
15550 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbysection}\see{use:bib:bib}
15551 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbysegment}\see{use:bib:bib}
15552 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbysegment}\see{use:bib:bib}
15553 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbycategory}\see{use:bib:bib}
15554 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbycategory}\see{use:bib:bib}
15555 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{printshorthands}\see{use:bib:biblist}
15556 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{printshorthands}\see{use:bib:biblist}
15557 % \item Added special field format \bibfield{volcitevolume}\see{use:cit:spc}
15558 % \item Added special field format \bibfield{volcitepages}\see{use:cit:spc}
15559 % \item Added special field \bibfield{hash}\see{aut:bbx:fld:gen}
15560 % \item Added \cmd{mkcomprange}\see{aut:aux:msc}
15561 % \item Added \cmd{mkfirstpage}\see{aut:aux:msc}
15562 % \item Removed \cmd{mkpagefirst}\see{aut:aux:msc}
15563 % \item Fixed some bugs
15564 % \end{release}
15565
15566 % \begin{release}{1.5a}{2011-06-17}
15567 % \item Fixed some bugs
15568 % \end{release}
15569
15570 % \begin{release}{1.5}{2011-06-08}
15571 % \item Added option \kvopt{uniquename}{mininit/minfull}\see{use:opt:pre:int}
15572 % \item Added option \kvopt{uniquelist}{minyear}\see{use:opt:pre:int}
15573 % \item Updated documentation of \cnt{uniquename} counter\see{aut:aux:tst}
15574 % \item Updated documentation of \cnt{uniquelist} counter\see{aut:aux:tst}
15575 % \item Expanded documentation for \opt{uniquename/uniquelist} options\see{aut:cav:amb}
15576 % \item Added editorial role \texttt{reviser}\see{bib:use:edr}
15577 % \item Added localisation keys \texttt{reviser}, \texttt{revisers}, \texttt{byreviser}\see{aut:lng:key}
15578 % \item Added bibliography heading \texttt{none}\see{use:bib:hdg}
15579 % \item Fixed some \sty{memoir} compatibility issues
15580 % \end{release}
15581
15582 % \begin{release}{1.4c}{2011-05-12}
15583 % \item Fixed some bugs
15584 % \end{release}
15585
15586 % \begin{release}{1.4b}{2011-04-12}
15587 % \item Fixed some bugs
15588 % \end{release}
15589
15590 % \begin{release}{1.4a}{2011-04-06}
15591 % \item Enable \opt{uniquename} and \opt{uniquelist} in all \texttt{authortitle} styles\see{use:xbx:cbx}
15592 % \item Enable \opt{uniquename} and \opt{uniquelist} in all \texttt{authoryear} styles\see{use:xbx:cbx}
15593 % \item Fixed some bugs
15594 % \end{release}
15595
15596 % \begin{release}{1.4}{2011-03-31}
15597 % \item Added package option \opt{uniquelist}\see{use:opt:pre:int}
15598 % \item Added special counter \cnt{uniquelist}\see{aut:aux:tst}
15599 % \item Revised and improved package option \opt{uniquename}\see{use:opt:pre:int}
15600 % \item Revised and improved special counter \cnt{uniquename}\see{aut:aux:tst}
15601 % \item Added \cmd{bibnamedelimi}\see{use:fmt:fmt}
15602 % \item Added \cmd{bibindexnamedelima}\see{use:fmt:fmt}
15603 % \item Added \cmd{bibindexnamedelimb}\see{use:fmt:fmt}
15604 % \item Added \cmd{bibindexnamedelimc}\see{use:fmt:fmt}
15605 % \item Added \cmd{bibindexnamedelimd}\see{use:fmt:fmt}
15606 % \item Added \cmd{bibindexnamedelimi}\see{use:fmt:fmt}
15607 % \item Added \cmd{bibindexinitperiod}\see{use:fmt:fmt}
15608 % \item Added \cmd{bibindexinitdelim}\see{use:fmt:fmt}
15609 % \item Added \cmd{bibindexinithyphendelim}\see{use:fmt:fmt}
15610 % \item Fixed conflict with some \acr{AMS} classes
15611 % \end{release}
15612
15613 % \begin{release}{1.3a}{2011-03-18}
15614 % \item Fixed some bugs
15615 % \end{release}
15616
15617 % \begin{release}{1.3}{2011-03-14}
15618 % \item Support \bibtype{thesis} with \bibfield{isbn}\see{bib:typ:blx}
15619 % \item Updated \opt{terseinits} option\see{use:opt:pre:gen}
15620 % \item Allow macros in argument to \cmd{addbibresource} and friends\see{use:bib:res}
15621 % \item Allow macros in argument to \cmd{bibliography}\see{use:bib:res}
15622 % \item Introducing experimental support for Zotero \acr{RDF}/\acr{XML}\see{use:bib:res}
15623 % \item Introducing experimental support for EndNote \acr{XML}\see{use:bib:res}
15624 % \item Added option \opt{citecounter}\see{use:opt:pre:int}
15625 % \item Added \cnt{citecounter}\see{aut:aux:tst}
15626 % \item Added \cmd{smartcite} and \cmd{Smartcite}\see{use:cit:cbx}
15627 % \item Added \cmd{smartcites} and \cmd{Smartcites}\see{use:cit:mlt}
15628 % \item Added \cmd{svolcite} and \cmd{Svolcite}\see{use:cit:spc}
15629 % \item Added \cmd{bibnamedelima}\see{use:fmt:fmt}
15630 % \item Added \cmd{bibnamedelimb}\see{use:fmt:fmt}
15631 % \item Added \cmd{bibnamedelimc}\see{use:fmt:fmt}
15632 % \item Added \cmd{bibnamedelimd}\see{use:fmt:fmt}
15633 % \item Added \cmd{bibinitperiod}\see{use:fmt:fmt}
15634 % \item Added \cmd{bibinitdelim}\see{use:fmt:fmt}
15635 % \item Added \cmd{bibinithyphendelim}\see{use:fmt:fmt}
15636 % \item Expanded documentation\see{use:cav:nam}
15637 % \item Added \prm{position} parameter \texttt{f} to \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
15638 % \end{release}
15639
15640 % \begin{release}{1.2a}{2011-02-13}
15641 % \item Fix in \cmd{mkbibmonth}\see{aut:fmt:ich}
15642 % \end{release}
15643
15644 % \begin{release}{1.2}{2011-02-12}
15645 % \item Added entry type \bibtype{mvbook}\see{bib:typ:blx}
15646 % \item Added entry type \bibtype{mvcollection}\see{bib:typ:blx}
15647 % \item Added entry type \bibtype{mvproceedings}\see{bib:typ:blx}
15648 % \item Added entry type \bibtype{mvreference}\see{bib:typ:blx}
15649 % \item Introducing remote resources\see{use:bib:res}
15650 % \item Introducing experimental \acr{RIS} support\see{use:bib:res}
15651 % \item Added \cmd{addbibresource}\see{use:bib:res}
15652 % \item \cmd{bibliography} now deprecated\see{use:bib:res}
15653 % \item \cmd{bibliography*} replaced by \cmd{addglobalbib}\see{use:bib:res}
15654 % \item Added \cmd{addsectionbib}\see{use:bib:res}
15655 % \item Updated and expanded documentation\see{bib:cav:ref}
15656 % \item Introducing smart \bibfield{crossref} data inheritance\see{bib:cav:ref:bbr}
15657 % \item Introducing \bibfield{crossref} configuration interface\see{aut:ctm:ref}
15658 % \item Added \cmd{DefaultInheritance}\see{aut:ctm:ref}
15659 % \item Added \cmd{DeclareDataInheritance}\see{aut:ctm:ref}
15660 % \item Added \cmd{ResetDataInheritance}\see{aut:ctm:ref}
15661 % \item Added \cmd{ifkeyword}\see{aut:aux:tst}
15662 % \item Added \cmd{ifentrykeyword}\see{aut:aux:tst}
15663 % \item Added \cmd{ifcategory}\see{aut:aux:tst}
15664 % \item Added \cmd{ifentrycategory}\see{aut:aux:tst}
15665 % \item Added \cmd{ifdriver}\see{aut:aux:tst}
15666 % \item Added \cmd{forcsvfield}\see{aut:aux:msc}
15667 % \item Extended \cmd{mkpageprefix}\see{aut:aux:msc}
15668 % \item Extended \cmd{mkpagetotal}\see{aut:aux:msc}
15669 % \item Extended \cmd{mkpagefirst}\see{aut:aux:msc}
15670 % \item Added localisation key \texttt{inpreparation}\see{aut:lng:key}
15671 % \item Rearranged manual slightly, moving some tables to the appendix
15672 % \end{release}
15673
15674 % \begin{release}{1.1b}{2011-02-04}
15675 % \item Added option \opt{texencoding}\see{use:opt:pre:gen}
15676 % \item Added option \opt{safeinputenc}\see{use:opt:pre:gen}
15677 % \item Expanded documentation\see{bib:cav:enc:enc}
15678 % \item Improved \opt{mergedate} option of bibliography style \texttt{authoryear}\see{use:xbx:bbx}
15679 % \item Removed \opt{pass} option of \cmd{DeclareSortingScheme}\see{aut:ctm:srt}
15680 % \item Fixed some bugs
15681 % \end{release}
15682
15683 % \begin{release}{1.1a}{2011-01-08}
15684 % \item Added unsupported entry type \bibtype{bibnote}\see{bib:typ:ctm}
15685 % \item Added \cmd{bibliography*}\see{use:bib:res}
15686 % \item Fixed some bugs
15687 % \end{release}
15688
15689 % \begin{release}{1.1}{2011-01-05}
15690 % \item Added option \opt{maxbibnames}\see{use:opt:pre:gen}
15691 % \item Added option \opt{minbibnames}\see{use:opt:pre:gen}
15692 % \item Added option \opt{maxcitenames}\see{use:opt:pre:gen}
15693 % \item Added option \opt{mincitenames}\see{use:opt:pre:gen}
15694 % \item Fixed \kvopt{idemtracker}{strict} and \kvopt{idemtracker}{constrict}\see{use:opt:pre:int}
15695 % \item Added option \opt{mergedate} to bibliography style \texttt{authoryear}\see{use:xbx:bbx}
15696 % \item Added support for \opt{prefixnumbers} to bibliography style \texttt{alphabetic}\see{use:xbx:bbx}
15697 % \item Made option \bibfield{useprefix} settable on a per-type basis\see{use:opt:bib}
15698 % \item Made option \bibfield{useauthor} settable on a per-type basis\see{use:opt:bib}
15699 % \item Made option \bibfield{useeditor} settable on a per-type basis\see{use:opt:bib}
15700 % \item Made option \opt{usetranslator} settable on a per-type basis\see{use:opt:bib}
15701 % \item Made option \opt{skipbib} settable on a per-type basis\see{use:opt:bib}
15702 % \item Made option \opt{skiplos} settable on a per-type basis\see{use:opt:bib}
15703 % \item Made option \opt{skiplab} settable on a per-type basis\see{use:opt:bib}
15704 % \item Made option \opt{dataonly} settable on a per-type basis\see{use:opt:bib}
15705 % \item Made option \opt{labelalpha} settable on a per-type basis\see{use:opt:pre:int}
15706 % \item Made option \opt{labelnumber} settable on a per-type basis\see{use:opt:pre:int}
15707 % \item Made option \opt{labelyear} settable on a per-type basis\see{use:opt:pre:int}
15708 % \item Made option \opt{singletitle} settable on a per-type basis\see{use:opt:pre:int}
15709 % \item Made option \opt{uniquename} settable on a per-type basis\see{use:opt:pre:int}
15710 % \item Made option \opt{indexing} settable on a per-type basis\see{use:opt:pre:gen}
15711 % \item Made option \opt{indexing} settable on a per-entry basis\see{use:opt:pre:gen}
15712 % \item Extended \cmd{ExecuteBibliographyOptions}\see{use:cfg:opt}
15713 % \item Added \cmd{citedate}\see{use:cit:txt}
15714 % \item Improved static entry sets\see{use:use:set}
15715 % \item Introducing dynamic entry sets\see{use:use:set}
15716 % \item Added \cmd{defbibentryset}\see{use:bib:set}
15717 % \item Added option \opt{mcite}\see{use:opt:ldt}
15718 % \item Added \sty{mcite}\slash\sty{mciteplus}-like commands\see{use:cit:mct}
15719 % \item Added \cmd{sortalphaothers}\see{use:fmt:fmt}
15720 % \item Extended \cmd{DeclareNameFormat}\see{aut:bib:fmt}
15721 % \item Extended \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
15722 % \item Extended \cmd{DeclareListFormat}\see{aut:bib:fmt}
15723 % \item Extended \cmd{DeclareIndexListFormat}\see{aut:bib:fmt}
15724 % \item Extended \cmd{DeclareFieldFormat}\see{aut:bib:fmt}
15725 % \item Extended \cmd{DeclareIndexFieldFormat}\see{aut:bib:fmt}
15726 % \item Added \cmd{DeclareNameFormat*}\see{aut:bib:fmt}
15727 % \item Added \cmd{DeclareIndexNameFormat*}\see{aut:bib:fmt}
15728 % \item Added \cmd{DeclareListFormat*}\see{aut:bib:fmt}
15729 % \item Added \cmd{DeclareIndexListFormat*}\see{aut:bib:fmt}
15730 % \item Added \cmd{DeclareFieldFormat*}\see{aut:bib:fmt}
15731 % \item Added \cmd{DeclareIndexFieldFormat*}\see{aut:bib:fmt}
15732 % \item Introducing configurable sorting schemes
15733 % \item Added \cmd{DeclareSortingScheme}\see{aut:ctm:srt}
15734 % \item Added \cmd{DeclarePresort}\see{aut:ctm:srt}
15735 % \item Added \cmd{DeclareSortExclusion}\see{aut:ctm:srt}
15736 % \item Added \cmd{DeclareLabelname}\see{aut:ctm:fld}
15737 % \item Added \cmd{DeclareLabelyear}\see{aut:ctm:fld}
15738 % \item Improved special field \bibfield{labelname}\see{aut:bbx:fld}
15739 % \item Improved special field \bibfield{labelyear}\see{aut:bbx:fld}
15740 % \item Added \cmd{entrydata*}\see{aut:bib:dat}
15741 % \item Added \cmd{RequireBiber}\see{aut:aux:msc}
15742 % \item Added option \opt{check} to \cmd{printbibliography}\see{use:bib:bib}
15743 % \item Added option \opt{check} to \cmd{printshorthands}\see{use:bib:biblist}
15744 % \item Added \cmd{defbibcheck}\see{use:bib:flt}
15745 % \item Updated support for Portuguese (José Carlos Santos)
15746 % \item Fixed conflict with \sty{titletoc}
15747 % \item Fixed some bugs
15748 % \end{release}
15749
15750 % \begin{release}{1.0}{2010-11-19}
15751 % \item First officially stable release
15752 % \item Renamed option \kvopt{bibencoding}{inputenc} to \kvopt{bibencoding}{auto}\see{use:opt:pre:gen}
15753 % \item Made \kvopt{bibencoding}{auto} the package default\see{use:opt:pre:gen}
15754 % \item Added option \kvopt{backend}{bibtexu}\see{use:opt:pre:gen}
15755 % \item Slightly updated documentation\see{bib:cav:enc}
15756 % \item Updated support for Dutch (Alexander van Loon)
15757 % \item Updated support for Italian (Andrea Marchitelli)
15758 % \end{release}
15759
15760 %\begin{release}{0.9e}{2010-10-09}
15761 %\item Updated and expanded manual\see{bib:cav:enc}
15762 %\item Added option \opt{sortupper}\see{use:opt:pre:gen}
15763 %\item Added option \opt{sortlocale}\see{use:opt:pre:gen}
15764 %\item Added option \opt{backrefsetstyle}\see{use:opt:pre:gen}
15765 %\item Added \cmd{bibpagerefpunct}\see{use:fmt:fmt}
15766 %\item Added \cmd{backtrackertrue} and \cmd{backtrackerfalse}\see{aut:aux:msc}
15767 %\item Disable back reference tracking in \acr{TOC}/\acr{LOT}/\acr{LOF}\see{aut:cav:flt}
15768 %\item Improved back reference tracking for \bibtype{set} entries
15769 %\item Fixed some bugs
15770 %\end{release}
15771 %
15772 %\begin{release}{0.9d}{2010-09-03}
15773 %\item Added workaround for \sty{hyperref} space factor issue
15774 %\item Added workaround for \sty{xkeyval}'s flawed class option inheritance
15775 %\item Added workaround for \sty{fancyvrb}'s flawed brute-force \cmd{VerbatimFootnotes}
15776 %\item Removed option \kvopt{date}{none}\see{use:opt:pre:gen}
15777 %\item Removed option \kvopt{urldate}{none}\see{use:opt:pre:gen}
15778 %\item Removed option \kvopt{origdate}{none}\see{use:opt:pre:gen}
15779 %\item Removed option \kvopt{eventdate}{none}\see{use:opt:pre:gen}
15780 %\item Removed option \kvopt{alldates}{none}\see{use:opt:pre:gen}
15781 %\item Added option \kvopt{date}{iso8601}\see{use:opt:pre:gen}
15782 %\item Added option \kvopt{urldate}{iso8601}\see{use:opt:pre:gen}
15783 %\item Added option \kvopt{origdate}{iso8601}\see{use:opt:pre:gen}
15784 %\item Added option \kvopt{eventdate}{iso8601}\see{use:opt:pre:gen}
15785 %\item Added option \kvopt{alldates}{iso8601}\see{use:opt:pre:gen}
15786 %\end{release}
15787 %
15788 %\begin{release}{0.9c}{2010-08-29}
15789 %\item Added field \bibfield{eprintclass}\see{bib:fld:dat}
15790 %\item Added field alias \bibfield{archiveprefix}\see{bib:fld:als}
15791 %\item Added field alias \bibfield{primaryclass}\see{bib:fld:als}
15792 %\item Updated documentation\see{use:use:epr}
15793 %\item Tweaked package option \kvopt{babel}{other*}\see{use:opt:pre:gen}
15794 %\item Updated support for Brazilian (Mateus Araújo)
15795 %\item Fixed some bugs
15796 %\end{release}
15797 %
15798 %\begin{release}{0.9b}{2010-08-04}
15799 %
15800 %\item New dependency on \sty{logreq} package\see{int:pre:req}
15801 %\item Improved separator masking in literal lists\see{bib:use:and}
15802 %\item Added citation style \texttt{authortitle-ticomp}\see{use:xbx:cbx}
15803 %\item Added option \opt{citepages} to all \texttt{verbose} citation styles\see{use:xbx:cbx}
15804 %\item Added support for prefixes to all \texttt{numeric} citation styles\see{use:xbx:cbx}
15805 %\item Added support for prefixes to all \texttt{numeric} bibliography styles\see{use:xbx:bbx}
15806 %\item Renamed package option \opt{defernums} to \opt{defernumbers}\see{use:opt:pre:gen}
15807 %\item Added option \opt{sortcase}\see{use:opt:pre:gen}
15808 %\item Added option \opt{dateabbrev}\see{use:opt:pre:gen}
15809 %\item Added option \kvopt{date}{none}\see{use:opt:pre:gen}
15810 %\item Added option \kvopt{urldate}{none}\see{use:opt:pre:gen}
15811 %\item Added option \kvopt{origdate}{none}\see{use:opt:pre:gen}
15812 %\item Added option \kvopt{eventdate}{none}\see{use:opt:pre:gen}
15813 %\item Added option \kvopt{alldates}{none}\see{use:opt:pre:gen}
15814 %\item Added option \opt{clearlang}\see{use:opt:pre:gen}
15815 %\item Added option \opt{prefixnumbers} to \cmd{printbibliography}\see{use:bib:bib}
15816 %\item Added option \opt{resetnumbers} to \cmd{printbibliography}\see{use:bib:bib}
15817 %\item Added option \opt{omitnumbers} to \cmd{printbibliography}\see{use:bib:bib}
15818 %\item Added special field \bibfield{prefixnumber}\see{aut:bbx:fld}
15819 %\item Added \cmd{DeclareRedundantLanguages}\see{aut:lng:cmd}
15820 %\item Added support for handles (\acr{HDL}s)\see{use:use:epr}
15821 %\item Extended \cmd{defbibfilter}\see{use:bib:flt}
15822 %\item Added \cmd{nametitledelim}\see{use:fmt:fmt}
15823 %\item Improved \cmd{newbibmacro}\see{aut:aux:msc}
15824 %\item Improved \cmd{renewbibmacro}\see{aut:aux:msc}
15825 %\item Added \cmd{biblstring}\see{aut:str}
15826 %\item Added \cmd{bibsstring}\see{aut:str}
15827 %\item Added \cmd{bibcplstring}\see{aut:str}
15828 %\item Added \cmd{bibcpsstring}\see{aut:str}
15829 %\item Added \cmd{bibuclstring}\see{aut:str}
15830 %\item Added \cmd{bibucsstring}\see{aut:str}
15831 %\item Added \cmd{biblclstring}\see{aut:str}
15832 %\item Added \cmd{biblcsstring}\see{aut:str}
15833 %\item Added \cmd{bibxlstring}\see{aut:str}
15834 %\item Added \cmd{bibxsstring}\see{aut:str}
15835 %\item Added \cmd{mkbibbold}\see{aut:fmt:ich}
15836 %\item Modified and extended log messages\see{bib:cav:ide}
15837 %\item Fixed some bugs
15838 %
15839 %\end{release}
15840 %
15841 %\begin{release}{0.9a}{2010-03-19}
15842 %
15843 %\item Modified citation style \texttt{numeric}\see{use:xbx:cbx}
15844 %\item Modified citation style \texttt{numeric-comp}\see{use:xbx:cbx}
15845 %\item Modified citation style \texttt{numeric-verb}\see{use:xbx:cbx}
15846 %\item Modified citation style \texttt{alphabetic}\see{use:xbx:cbx}
15847 %\item Modified citation style \texttt{alphabetic-verb}\see{use:xbx:cbx}
15848 %\item Modified citation style \texttt{authoryear}\see{use:xbx:cbx}
15849 %\item Modified citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
15850 %\item Modified citation style \texttt{authoryear-ibid}\see{use:xbx:cbx}
15851 %\item Modified citation style \texttt{authoryear-icomp}\see{use:xbx:cbx}
15852 %\item Modified citation style \texttt{authortitle}\see{use:xbx:cbx}
15853 %\item Modified citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
15854 %\item Modified citation style \texttt{authortitle-ibid}\see{use:xbx:cbx}
15855 %\item Modified citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
15856 %\item Modified citation style \texttt{authortitle-terse}\see{use:xbx:cbx}
15857 %\item Modified citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
15858 %\item Modified citation style \texttt{draft}\see{use:xbx:cbx}
15859 %\item Modified citation style \texttt{debug}\see{use:xbx:cbx}
15860 %\item Added option \opt{bibwarn}\see{use:opt:pre:gen}
15861 %\item Added \cmd{printbibheading}\see{use:bib:bib}
15862 %\item Added option \opt{env} to \cmd{printbibliography}\see{use:bib:bib}
15863 %\item Added option \opt{env} to \cmd{printshorthands}\see{use:bib:biblist}
15864 %\item Added \cmd{defbibenvironment}\see{use:bib:hdg}
15865 %\item Removed \env{thebibliography}\see{aut:bbx:bbx}
15866 %\item Removed \env{theshorthands}\see{aut:bbx:bbx}
15867 %\item Removed \cmd{thebibitem}\see{aut:bbx:bbx}
15868 %\item Removed \cmd{thelositem}\see{aut:bbx:bbx}
15869 %\item Updated documentation\see{aut:bbx:bbx}
15870 %\item Updated documentation\see{aut:bbx:env}
15871 %\item Added \cmd{intitlepunct}\see{use:fmt:fmt}
15872 %\item Added option \opt{parentracker}\see{use:opt:pre:int}
15873 %\item Added option \opt{maxparens}\see{use:opt:pre:int}
15874 %\item Added counter \cnt{parenlevel}\see{aut:aux:tst}
15875 %\item Added \cmd{parentext}\see{use:cit:txt}
15876 %\item Added \cmd{brackettext}\see{use:cit:txt}
15877 %\item Improved \cmd{mkbibparens}\see{aut:fmt:ich}
15878 %\item Improved \cmd{mkbibbrackets}\see{aut:fmt:ich}
15879 %\item Added \cmd{bibopenparen} and \cmd{bibcloseparen}\see{aut:fmt:ich}
15880 %\item Added \cmd{bibopenbracket} and \cmd{bibclosebracket}\see{aut:fmt:ich}
15881 %\item Added special field \bibfield{childentrykey}\see{aut:bbx:fld}
15882 %\item Added special field \bibfield{childentrytype}\see{aut:bbx:fld}
15883 %\item Added \cmd{ifnatbibmode}\see{aut:aux:tst}
15884 %\item Added missing documentation of \cmd{ifbibxstring}\see{aut:aux:tst}
15885 %\item Added \cmd{providebibmacro}\see{aut:aux:msc}
15886 %\item Added localisation key \texttt{backrefpage}\see{aut:lng:key}
15887 %\item Added localisation key \texttt{backrefpages}\see{aut:lng:key}
15888 %\item Slightly expanded documentation\see{bib:use:dat}
15889 %\item Slightly expanded documentation\see{aut:bbx:fld:dat}
15890 %\item Added support for Finnish (translations by Hannu Väisänen)
15891 %\item Updated support for Greek (translations by Prokopis)
15892 %
15893 %\end{release}
15894 %
15895 %\begin{release}{0.9}{2010-02-14}
15896 %
15897 %\item Added entry type \bibtype{bookinbook}\see{bib:typ:blx}
15898 %\item Support \bibfield{eventtitle}/\bibfield{eventdate}/\bibfield{venue} in \bibtype{proceedings}\see{bib:typ:blx}
15899 %\item Support \bibfield{eventtitle}/\bibfield{eventdate}/\bibfield{venue} in \bibtype{inproceedings}\see{bib:typ:blx}
15900 %\item Added support for multiple editorial roles\see{bib:use:edr}
15901 %\item Added field \bibfield{editora}\see{bib:fld:dat}
15902 %\item Added field \bibfield{editorb}\see{bib:fld:dat}
15903 %\item Added field \bibfield{editorc}\see{bib:fld:dat}
15904 %\item Added field \bibfield{editoratype}\see{bib:fld:dat}
15905 %\item Added field \bibfield{editorbtype}\see{bib:fld:dat}
15906 %\item Added field \bibfield{editorctype}\see{bib:fld:dat}
15907 %\item Removed field \bibfield{redactor}\see{bib:fld:dat}
15908 %\item Added field \bibfield{pubstate}\see{bib:fld:dat}
15909 %\item Support \bibfield{pubstate} in all entry types\see{bib:typ:blx}
15910 %\item Support full dates in all entry types\see{bib:typ:blx}
15911 %\item Modified and extended date handling\see{bib:use:dat}
15912 %\item Updated documentation\see{bib:use:iss}
15913 %\item Removed field \bibfield{day}\see{bib:fld:dat}
15914 %\item Modified data type of field \bibfield{year}\see{bib:fld:dat}
15915 %\item Extended field \bibfield{date}\see{bib:fld:dat}
15916 %\item Removed field \bibfield{origyear}\see{bib:fld:dat}
15917 %\item Added field \bibfield{origdate}\see{bib:fld:dat}
15918 %\item Added field \bibfield{eventdate}\see{bib:fld:dat}
15919 %\item Removed fields \bibfield{urlday}/\bibfield{urlmonth}/\bibfield{urlyear}\see{bib:fld:dat}
15920 %\item Updated documentation\see{bib:use:dat}
15921 %\item Extended option \opt{date}\see{use:opt:pre:gen}
15922 %\item Extended option \opt{urldate}\see{use:opt:pre:gen}
15923 %\item Added option \opt{origdate}\see{use:opt:pre:gen}
15924 %\item Added option \opt{eventdate}\see{use:opt:pre:gen}
15925 %\item Added option \opt{alldates}\see{use:opt:pre:gen}
15926 %\item Added option \opt{datezeros}\see{use:opt:pre:gen}
15927 %\item Added option \opt{language}\see{use:opt:pre:gen}
15928 %\item Added option \cnt{notetype}\see{use:opt:pre:gen}
15929 %\item Added option \cnt{backrefstyle}\see{use:opt:pre:gen}
15930 %\item Modified option \opt{indexing}\see{use:opt:pre:gen}
15931 %\item Made option \kvopt{hyperref}{auto} the default\see{use:opt:pre:gen}
15932 %\item Added option \kvopt{backend}{biber}\see{use:opt:pre:gen}
15933 %\item Updated documentation\see{bib:cav:enc}
15934 %\item Added option \opt{isbn}\see{use:opt:pre:bbx}
15935 %\item Added option \opt{url}\see{use:opt:pre:bbx}
15936 %\item Added option \opt{doi}\see{use:opt:pre:bbx}
15937 %\item Added option \opt{eprint}\see{use:opt:pre:bbx}
15938 %\item Improved citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
15939 %\item Improved citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
15940 %\item Improved citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
15941 %\item Improved citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
15942 %\item Added citation style \texttt{authoryear-icomp}\see{use:xbx:cbx}
15943 %\item Added citation style \texttt{verbose-trad3}\see{use:xbx:cbx}
15944 %\item Improved bibliography style \texttt{authortitle}\see{use:xbx:bbx}
15945 %\item Improved bibliography style \texttt{authoryear}\see{use:xbx:bbx}
15946 %\item Improved bibliography style \texttt{verbose}\see{use:xbx:bbx}
15947 %\item Added option \opt{title} to \cmd{printbibliography}\see{use:bib:bib}
15948 %\item Added option \opt{title} to \cmd{printshorthands}\see{use:bib:biblist}
15949 %\item Extended \cmd{defbibheading}\see{use:bib:hdg}
15950 %\item Added options \opt{subtype}/\opt{notsubtype} to \cmd{printbibliography}\see{use:bib:biblist}
15951 %\item Added options \opt{subtype}/\opt{notsubtype} to \cmd{printshorthands}\see{use:bib:biblist}
15952 %\item Added test \opt{subtype} to \cmd{defbibfilter}\see{use:bib:flt}
15953 %\item Added option \opt{segment} to \cmd{printshorthands}\see{use:bib:biblist}
15954 %\item Added options \opt{type}/\opt{nottype} to \cmd{printshorthands}\see{use:bib:biblist}
15955 %\item Added options \opt{keyword}/\opt{notkeyword} to \cmd{printshorthands}\see{use:bib:biblist}
15956 %\item Added options \opt{category}/\opt{notcategory} to \cmd{printshorthands}\see{use:bib:biblist}
15957 %\item Added option \opt{filter} to \cmd{printshorthands}\see{use:bib:biblist}
15958 %\item Added \cmd{footcitetext}\see{use:cit:std}
15959 %\item Added \cmd{footcitetexts}\see{use:cit:mlt}
15960 %\item Added \cmd{ftvolcite}\see{use:cit:spc}
15961 %\item Added \cmd{textcites} and \cmd{Textcites}\see{use:cit:mlt}
15962 %\item Added \cmd{nohyphenation}\see{use:fmt:aux}
15963 %\item Added \cmd{textnohyphenation}\see{use:fmt:aux}
15964 %\item Added \cmd{mkpagefirst}\see{aut:aux:msc}
15965 %\item Added \cmd{pagenote} support to \cmd{mkbibendnote}\see{aut:fmt:ich}
15966 %\item Added \cmd{mkbibfootnotetext}\see{aut:fmt:ich}
15967 %\item Added \cmd{mkbibendnotetext}\see{aut:fmt:ich}
15968 %\item Added \cmd{bibfootnotewrapper}\see{aut:fmt:ich}
15969 %\item Added \cmd{bibendnotewrapper}\see{aut:fmt:ich}
15970 %\item Added \cmd{mkdatezeros}\see{aut:fmt:ich}
15971 %\item Added \cmd{stripzeros}\see{aut:fmt:ich}
15972 %\item Added support for \acr{jstor} links\see{use:use:epr}
15973 %\item Added support for PubMed links\see{use:use:epr}
15974 %\item Added support for Google Books links\see{use:use:epr}
15975 %\item Improved \cmd{DeclareBibliographyDriver}\see{aut:bbx:bbx}
15976 %\item Improved \cmd{DeclareBibliographyAlias}\see{aut:bbx:bbx}
15977 %\item Added special fields \bibfield{day}/\bibfield{month}/\bibfield{year}\see{aut:bbx:fld}
15978 %\item Added special fields \bibfield{endday}/\bibfield{endmonth}/\bibfield{endyear}\see{aut:bbx:fld}
15979 %\item Added special fields \bibfield{origday}/\bibfield{origmonth}/\bibfield{origyear}\see{aut:bbx:fld}
15980 %\item Added special fields \bibfield{origendday}/\bibfield{origendmonth}/\bibfield{origendyear}\see{aut:bbx:fld}
15981 %\item Added special fields \bibfield{eventday}/\bibfield{eventmonth}/\bibfield{eventyear}\see{aut:bbx:fld}
15982 %\item Added special fields \bibfield{eventendday}/\bibfield{eventendmonth}/\bibfield{eventendyear}\see{aut:bbx:fld}
15983 %\item Added special fields \bibfield{urlday}/\bibfield{urlmonth}/\bibfield{urlyear}\see{aut:bbx:fld}
15984 %\item Added special fields \bibfield{urlendday}/\bibfield{urlendmonth}/\bibfield{urlendyear}\see{aut:bbx:fld}
15985 %\item Renamed special field \bibfield{labelyear} to \bibfield{extrayear}\see{aut:bbx:fld}
15986 %\item Added new special field \bibfield{labelyear}\see{aut:bbx:fld}
15987 %\item Renamed \cnt{maxlabelyear} to \cnt{maxextrayear}\see{aut:fmt:ilc}
15988 %\item Renamed \cmd{bibdate} to \cmd{printdate}, modified \cmd{printdate}\see{aut:bib:dat}
15989 %\item Added \cmd{printdateextra}\see{aut:bib:dat}
15990 %\item Renamed \cmd{biburldate} to \cmd{printurldate}, modified \cmd{printurldate}\see{aut:bib:dat}
15991 %\item Added \cmd{printorigdate}\see{aut:bib:dat}
15992 %\item Added \cmd{printeventdate}\see{aut:bib:dat}
15993 %\item Added \cmd{bibdatedash}\see{use:fmt:lng}
15994 %\item Added \cmd{mkbibdatelong} and \cmd{mkbibdateshort}\see{use:fmt:lng}
15995 %\item Removed \cmd{bibdatelong} and \cmd{bibdateshort}\see{use:fmt:lng}
15996 %\item Removed \cmd{biburldatelong} and \cmd{biburldateshort}\see{use:fmt:lng}
15997 %\item Added \cmd{ifciteindex}\see{aut:aux:tst}
15998 %\item Added \cmd{ifbibindex}\see{aut:aux:tst}
15999 %\item Added \cmd{iffieldint}\see{aut:aux:tst}
16000 %\item Added \cmd{iffieldnum}\see{aut:aux:tst}
16001 %\item Added \cmd{iffieldnums}\see{aut:aux:tst}
16002 %\item Added \cmd{ifpages}\see{aut:aux:tst}
16003 %\item Added \cmd{iffieldpages}\see{aut:aux:tst}
16004 %\item Added \cmd{DeclarePageCommands} and \cmd{DeclarePageCommands*}\see{aut:aux:msc}
16005 %\item Improved \cmd{NewBibliographyString}\see{aut:lng:cmd}
16006 %\item Removed localisation key \texttt{editor}\see{aut:lng:key}
16007 %\item Removed localisation key \texttt{editors}\see{aut:lng:key}
16008 %\item Renamed localisation key \texttt{typeeditor} to \texttt{editor}\see{aut:lng:key}
16009 %\item Renamed localisation key \texttt{typeeditors} to \texttt{editors}\see{aut:lng:key}
16010 %\item Renamed localisation key \texttt{typecompiler} to \texttt{compiler}\see{aut:lng:key}
16011 %\item Renamed localisation key \texttt{typecompilers} to \texttt{compilers}\see{aut:lng:key}
16012 %\item Added localisation key \texttt{founder}\see{aut:lng:key}
16013 %\item Added localisation key \texttt{founders}\see{aut:lng:key}
16014 %\item Added localisation key \texttt{continuator}\see{aut:lng:key}
16015 %\item Added localisation key \texttt{continuators}\see{aut:lng:key}
16016 %\item Added localisation key \texttt{collaborator}\see{aut:lng:key}
16017 %\item Added localisation key \texttt{collaborators}\see{aut:lng:key}
16018 %\item Removed localisation key \texttt{byauthor}\see{aut:lng:key}
16019 %\item Renamed localisation key \texttt{bytypeauthor} to \texttt{byauthor}\see{aut:lng:key}
16020 %\item Removed localisation key \texttt{byeditor}\see{aut:lng:key}
16021 %\item Renamed localisation key \texttt{bytypeeditor} to \texttt{byeditor}\see{aut:lng:key}
16022 %\item Renamed localisation key \texttt{bytypecompiler} to \texttt{bycompiler}\see{aut:lng:key}
16023 %\item Added localisation key \texttt{byfounder}\see{aut:lng:key}
16024 %\item Added localisation key \texttt{bycontinuator}\see{aut:lng:key}
16025 %\item Added localisation key \texttt{bycollaborator}\see{aut:lng:key}
16026 %\item Added localisation key \texttt{inpress}\see{aut:lng:key}
16027 %\item Added localisation key \texttt{submitted}\see{aut:lng:key}
16028 %\item Added support for Dutch (translations by Alexander van Loon)
16029 %\item Added support for Greek (translations by Apostolos Syropoulos)
16030 %\item Added notes on Greek\see{use:loc:grk}
16031 %
16032 %\end{release}
16033 %
16034 %\begin{release}{0.8i}{2009-09-20}
16035 %
16036 %\item Fixed some bugs
16037 %
16038 %\end{release}
16039 %
16040 %\begin{release}{0.8h}{2009-08-10}
16041 %
16042 %\item Fixed some bugs
16043 %
16044 %\end{release}
16045 %
16046 %\begin{release}{0.8g}{2009-08-06}
16047 %
16048 %\item Fixed some bugs
16049 %
16050 %\end{release}
16051 %
16052 %\begin{release}{0.8f}{2009-07-25}
16053 %
16054 %\item Fixed some bugs
16055 %
16056 %\end{release}
16057 %
16058 %\begin{release}{0.8e}{2009-07-04}
16059 %
16060 %\item Added \cmd{mkbibordedition}\see{use:fmt:lng}
16061 %\item Added \cmd{mkbibordseries}\see{use:fmt:lng}
16062 %\item Added \cmd{mkbibendnote}\see{aut:fmt:ich}
16063 %\item Added several localisation keys related to \texttt{editor}\see{aut:lng:key}
16064 %\item Added several localisation keys related to \texttt{translator}\see{aut:lng:key}
16065 %\item Added localisation key \texttt{thiscite}\see{aut:lng:key}
16066 %\item Removed several \texttt{country...} localisation keys\see{aut:lng:key}
16067 %\item Removed several \texttt{patent...} localisation keys\see{aut:lng:key}
16068 %\item Removed several \texttt{patreq...} localisation keys\see{aut:lng:key}
16069 %\item Updated and clarified documentation\see{aut:lng:key}
16070 %\item Added support for Brazilian Portuguese (by Augusto Ritter Stoffel)
16071 %\item Added preliminary support for Portuguese/Portugal\see{use:opt:pre:gen}
16072 %\item Added revised Swedish translations (by Per Starbäck)\see{use:opt:pre:gen}
16073 %\item Expanded documentation\see{aut:cav:nam}
16074 %\item Improved concatenation of editorial and other roles
16075 %\item Fixed some bugs
16076 %
16077 %\end{release}
16078 %
16079 %\begin{release}{0.8d}{2009-05-30}
16080 %
16081 %\item Removed package option \opt{bibtex8}\see{use:opt:pre:gen}
16082 %\item Added package option \opt{backend}\see{use:opt:pre:gen}
16083 %\item Slightly modified package option \bibfield{loccittracker}\see{use:opt:pre:int}
16084 %\item Added \cmd{volcite} and \cmd{Volcite}\see{use:cit:spc}
16085 %\item Added \cmd{pvolcite} and \cmd{Pvolcite}\see{use:cit:spc}
16086 %\item Added \cmd{fvolcite}\see{use:cit:spc}
16087 %\item Added \cmd{tvolcite} and \cmd{Tvolcite}\see{use:cit:spc}
16088 %\item Added \cmd{avolcite} and \cmd{Avolcite}\see{use:cit:spc}
16089 %\item Added \cmd{notecite} and \cmd{Notecite}\see{use:cit:spc}
16090 %\item Added \cmd{Pnotecite} and \cmd{Pnotecite}\see{use:cit:spc}
16091 %\item Added \cmd{fnotecite}\see{use:cit:spc}
16092 %\item Added \cmd{addabthinspace}\see{aut:pct:spc}
16093 %\item Disable citation and page trackers in \acr{TOC}/\acr{LOT}/\acr{LOF}\see{aut:cav:flt}
16094 %\item Disable citation and page trackers in floats\see{aut:cav:flt}
16095 %\item Improved on-demand loading of localisation modules
16096 %\item Fixed some bugs
16097 %
16098 %\end{release}
16099 %
16100 %\begin{release}{0.8c}{2009-01-10}
16101 %
16102 %\item Added <idem> tracker\see{use:opt:pre:int}
16103 %\item Added package option \opt{idemtracker}\see{use:opt:pre:int}
16104 %\item Added \cmd{ifciteidem}\see{aut:aux:tst}
16105 %\item Added \cmd{ifentryseen}\see{aut:aux:tst}
16106 %\item Improved citation style \texttt{verbose-trad1}\see{use:xbx:cbx}
16107 %\item Improved citation style \texttt{verbose-trad2}\see{use:xbx:cbx}
16108 %\item Renamed \len{bibitemextrasep} to \len{bibnamesep}\see{use:fmt:len}
16109 %\item Slightly modified \len{bibnamesep}\see{use:fmt:len}
16110 %\item Added \len{bibinitsep}\see{use:fmt:len}
16111 %\item Increased default value of \cnt{highnamepenalty}\see{use:fmt:len}
16112 %\item Increased default value of \cnt{lownamepenalty}\see{use:fmt:len}
16113 %\item Updated documentation\see{use:loc:us}
16114 %\item Added \cmd{uspunctuation}\see{aut:pct:cfg}
16115 %\item Added \cmd{stdpunctuation}\see{aut:pct:cfg}
16116 %\item Added \cmd{midsentence*}\see{aut:pct:ctr}
16117 %\item Fixed some bugs
16118 %
16119 %\end{release}
16120 %
16121 %\begin{release}{0.8b}{2008-12-13}
16122 %
16123 %\item Added package/entry option \opt{usetranslator}\see{use:opt:bib}
16124 %\item Added \cmd{ifusetranslator}\see{aut:aux:tst}
16125 %\item Consider \bibfield{translator} when sorting\see{use:srt}
16126 %\item Consider \bibfield{translator} when generating \bibfield{labelname}\see{aut:bbx:fld}
16127 %\item Added field \bibfield{eventtitle}\see{bib:fld:dat}
16128 %\item Support \bibfield{eventtitle} in \bibtype{proceedings} entries\see{bib:typ:blx}
16129 %\item Support \bibfield{eventtitle} in \bibtype{inproceedings} entries\see{bib:typ:blx}
16130 %\item Added unsupported entry type \bibtype{commentary}\see{bib:typ:ctm}
16131 %\item Permit \cmd{NewBibliographyString} in \file{lbx} files\see{aut:lng:cmd}
16132 %\item Improved behavior of \cmd{mkbibquote} in <American-punctuation> mode\see{aut:fmt:ich}
16133 %\item Fixed some bugs
16134 %
16135 %\end{release}
16136 %
16137 %\begin{release}{0.8a}{2008-11-29}
16138 %
16139 %\item Updated documentation (important, please read)\see{int:feb}
16140 %\item Added package option \kvopt{hyperref}{auto}\see{use:opt:pre:gen}
16141 %\item Improved bibliography style \texttt{reading}\see{use:xbx:bbx}
16142 %\item Updated \acr{KOMA}-Script support for version 3.x\see{use:cav:scr}
16143 %\item Slightly modified special field \bibfield{fullhash}\see{aut:bbx:fld}
16144 %\item Added documentation of \cmd{DeclareNumChars*}\see{aut:aux:msc}
16145 %\item Added documentation of \cmd{DeclareRangeChars*}\see{aut:aux:msc}
16146 %\item Added documentation of \cmd{DeclareRangeCommands*}\see{aut:aux:msc}
16147 %\item Added \cmd{MakeSentenceCase}\see{aut:aux:msc}
16148 %\item Added \cmd{DeclareCaseLangs}\see{aut:aux:msc}
16149 %\item Support nested \cmd{mkbibquote} with American punctuation\see{aut:fmt:ich}
16150 %\item Improved \cmd{ifpunctmark}\see{aut:pct:chk}
16151 %\item Improved punctuation tracker\see{aut:pct:pct}
16152 %\item Added \cmd{DeclarePunctuationPairs}\see{aut:pct:cfg}
16153 %\item Added \cmd{DeclareLanguageMapping}\see{aut:lng:cmd}
16154 %\item Added support for custom localisation modules\see{aut:cav:lng}
16155 %\item Added extended \pdf bookmarks to this manual
16156 %\item Fixed various bugs
16157 %
16158 %\end{release}
16159 %
16160 %\begin{release}{0.8}{2008-10-02}
16161 %
16162 %\item Added \cmd{DefineHyphenationExceptions}\see{use:lng}
16163 %\item Added \cmd{DeclareHyphenationExceptions}\see{aut:lng:cmd}
16164 %\item Added \cmd{mkpagetotal}\see{aut:aux:msc}
16165 %\item Improved \acr{KOMA}-Script support\see{use:cav:scr}
16166 %\item Added \cmd{ifkomabibtotoc}\see{use:cav:scr}
16167 %\item Added \cmd{ifkomabibtotocnumbered}\see{use:cav:scr}
16168 %\item Added \cmd{ifmemoirbibintoc}\see{use:cav:mem}
16169 %\item Updated documentation\see{use:bib:hdg}
16170 %\item Updated documentation of \cmd{iffootnote}\see{aut:aux:tst}
16171 %\item Added several new localisation keys\see{aut:lng:key}
16172 %\item Rearranged some localisation keys (\texttt{section} vs. \texttt{paragraph})\see{aut:lng:key}
16173 %\item Added unsupported entry type \bibtype{letter}\see{bib:typ:ctm}
16174 %\item Added entry type \bibtype{suppbook}\see{bib:typ:blx}
16175 %\item Added entry type \bibtype{suppcollection}\see{bib:typ:blx}
16176 %\item Added entry type \bibtype{suppperiodical}\see{bib:typ:blx}
16177 %\item Support \bibtype{reference} and \bibtype{inreference}\see{bib:typ:blx}
16178 %\item Support \bibtype{review} as an alias\see{bib:typ:ctm}
16179 %\item Added field \bibfield{origpublisher}\see{bib:fld:dat}
16180 %\item Added field alias \bibfield{annote}\see{bib:fld:als}
16181 %\item Expanded documentation\see{bib:cav:enc}
16182 %\item Added \cmd{DeclareCapitalPunctuation}\see{aut:pct:cfg}
16183 %\item Removed \cmd{EnableCapitalAfter} and \cmd{DisableCapitalAfter}\see{aut:pct:cfg}
16184 %\item Added support for <American-style> punctuation\see{aut:pct:cfg}
16185 %\item Added \cmd{DeclareQuotePunctuation}\see{aut:pct:cfg}
16186 %\item Improved \cmd{mkbibquote}\see{aut:fmt:ich}
16187 %\item Expanded documentation\see{use:loc:us}
16188 %\item Improved all \texttt{numeric} citation styles\see{use:xbx:cbx}
16189 %\item Improved \texttt{numeric} bibliography style\see{use:xbx:bbx}
16190 %\item Added citation style \texttt{authoryear-ibid}\see{use:xbx:cbx}
16191 %\item Improved all \texttt{authoryear} citation styles\see{use:xbx:cbx}
16192 %\item Improved \texttt{authoryear} bibliography style\see{use:xbx:bbx}
16193 %\item Added \opt{pageref} option to \texttt{verbose-note} style\see{use:xbx:cbx}
16194 %\item Added \opt{pageref} option to \texttt{verbose-inote} style\see{use:xbx:cbx}
16195 %\item Added citation style \texttt{reading}\see{use:xbx:cbx}
16196 %\item Added bibliography style \texttt{reading}\see{use:xbx:bbx}
16197 %\item Added citation style \texttt{draft}\see{use:xbx:cbx}
16198 %\item Added bibliography style \texttt{draft}\see{use:xbx:bbx}
16199 %\item Improved \sty{natbib} compatibility style\see{use:cit:nat}
16200 %\item Added \cmd{ifcitation}\see{aut:aux:tst}
16201 %\item Added \cmd{ifbibliography}\see{aut:aux:tst}
16202 %\item Added \cmd{printfile}\see{aut:bib:dat}
16203 %\item Added package option \opt{loadfiles}\see{use:opt:pre:gen}
16204 %\item Added support for bibliographic data in external files\see{use:use:prf}
16205 %\item Expanded documentation\see{aut:cav:prf}
16206 %\item Modified field \bibfield{edition}\see{bib:fld:dat}
16207 %\item Modified special field \bibfield{labelyear}\see{aut:bbx:fld}
16208 %\item Modified special field \bibfield{labelalpha}\see{aut:bbx:fld}
16209 %\item Added special field \bibfield{extraalpha}\see{aut:bbx:fld}
16210 %\item Added counter \cnt{maxlabelyear}\see{aut:fmt:ilc}
16211 %\item Added counter \cnt{maxextraalpha}\see{aut:fmt:ilc}
16212 %\item Added \cmd{mknumalph}\see{use:fmt:aux}
16213 %\item Added \cmd{mkbibacro}\see{use:fmt:aux}
16214 %\item Added \cmd{autocap}\see{use:fmt:aux}
16215 %\item Added package option \opt{firstinits}\see{use:opt:pre:gen}
16216 %\item Added \cmd{iffirstinits}\see{aut:aux:tst}
16217 %\item Added support for eprint data\see{use:use:epr}
16218 %\item Added support for arXiv\see{use:use:epr}
16219 %\item Expanded documentation \see{aut:cav:epr}
16220 %\item Added field \bibfield{eprint}\see{bib:fld:dat}
16221 %\item Added field \bibfield{eprinttype}\see{bib:fld:dat}
16222 %\item Added eprint support to all standard entry types\see{bib:typ:blx}
16223 %\item Added package option \opt{arxiv}\see{use:opt:pre:gen}
16224 %\item Introduced concept of an entry set\see{use:use:set}
16225 %\item Expanded documentation\see{aut:cav:set}
16226 %\item Added entry type \bibtype{set}\see{bib:typ:blx}
16227 %\item Added field \bibfield{entryset}\see{bib:fld:spc}
16228 %\item Added special field \bibfield{entrysetcount}\see{aut:bbx:fld}
16229 %\item Added \cmd{entrydata}\see{aut:bib:dat}
16230 %\item Expanded documentation\see{aut:cav:mif}
16231 %\item Added \cmd{entryset}\see{aut:bib:dat}
16232 %\item Added \cmd{strfield}\see{aut:aux:dat}
16233 %\item Improved \cmd{usedriver}\see{aut:aux:msc}
16234 %\item Added \cmd{bibpagespunct}\see{use:fmt:fmt}
16235 %\item Expanded documentation\see{aut:cav:pct}
16236 %\item Added entry option \opt{skipbib}\see{use:opt:bib}
16237 %\item Added entry option \opt{skiplos}\see{use:opt:bib}
16238 %\item Added entry option \opt{skiplab}\see{use:opt:bib}
16239 %\item Added entry option \opt{dataonly}\see{use:opt:bib}
16240 %\item Modified special field \bibfield{namehash}\see{aut:bbx:fld}
16241 %\item Added special field \bibfield{fullhash}\see{aut:bbx:fld}
16242 %\item Added \cmd{DeclareNumChars}\see{aut:aux:msc}
16243 %\item Added \cmd{DeclareRangeChars}\see{aut:aux:msc}
16244 %\item Added \cmd{DeclareRangeCommands}\see{aut:aux:msc}
16245 %\item Added support for Swedish (translations by Per Starbäck and others)
16246 %\item Updated various localisation files
16247 %\item Various minor improvements throughout
16248 %\item Fixed some bugs
16249 %
16250 %\end{release}
16251 %
16252 %\begin{release}{0.7}{2007-12-09}
16253 %
16254 %\item Expanded documentation\see{int:feb}
16255 %\item New dependency on \sty{etoolbox} package\see{int:pre:req}
16256 %\item Made \sty{url} a required package\see{int:pre:req}
16257 %\item Modified package option \opt{sorting}\see{use:opt:pre:gen}
16258 %\item Introduced concept of an entry option\see{use:opt:bib}
16259 %\item Added option \bibfield{useauthor}\see{use:opt:bib}
16260 %\item Added option \bibfield{useeditor}\see{use:opt:bib}
16261 %\item Modified option \bibfield{useprefix}\see{use:opt:bib}
16262 %\item Removed field \bibfield{useprefix}\see{bib:fld:spc}
16263 %\item Added field \bibfield{options}\see{bib:fld:spc}
16264 %\item Updated documentation\see{use:srt}
16265 %\item Added citation style \texttt{authortitle-ibid}\see{use:xbx:cbx}
16266 %\item Added citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
16267 %\item Renamed citation style \texttt{authortitle-cterse} to \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16268 %\item Renamed citation style \texttt{authortitle-verb} to \texttt{verbose}\see{use:xbx:cbx}
16269 %\item Renamed citation style \texttt{authortitle-cverb} to \texttt{verbose-ibid}\see{use:xbx:cbx}
16270 %\item Added citation style \texttt{verbose-note}\see{use:xbx:cbx}
16271 %\item Added citation style \texttt{verbose-inote}\see{use:xbx:cbx}
16272 %\item Renamed citation style \texttt{authortitle-trad} to \texttt{verbose-trad1}\see{use:xbx:cbx}
16273 %\item Removed citation style \texttt{authortitle-strad}\see{use:xbx:cbx}
16274 %\item Added citation style \texttt{verbose-trad2}\see{use:xbx:cbx}
16275 %\item Improved citation style \texttt{authoryear}\see{use:xbx:cbx}
16276 %\item Improved citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
16277 %\item Improved citation style \texttt{authortitle-terse}\see{use:xbx:cbx}
16278 %\item Improved citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16279 %\item Improved all verbose citation styles\see{use:xbx:cbx}
16280 %\item Expanded documentation\see{bib:fld:typ}
16281 %\item Modified entry type \bibtype{article}\see{bib:typ:blx}
16282 %\item Added entry type \bibtype{periodical}\see{bib:typ:blx}
16283 %\item Added entry type \bibtype{patent}\see{bib:typ:blx}
16284 %\item Extended entry types \bibfield{proceedings} and \bibfield{inproceedings}\see{bib:typ:blx}
16285 %\item Extended entry type \bibfield{article}\see{bib:typ:blx}
16286 %\item Extended entry type \bibfield{booklet}\see{bib:typ:blx}
16287 %\item Extended entry type \bibfield{misc}\see{bib:typ:blx}
16288 %\item Added entry type alias \bibtype{electronic}\see{bib:typ:als}
16289 %\item Added new custom types\see{bib:typ:ctm}
16290 %\item Support \bibfield{pagetotal} field where applicable\see{bib:typ:blx}
16291 %\item Added field \bibfield{holder}\see{bib:fld:dat}
16292 %\item Added field \bibfield{venue}\see{bib:fld:dat}
16293 %\item Added field \bibfield{version}\see{bib:fld:dat}
16294 %\item Added field \bibfield{journaltitle}\see{bib:fld:dat}
16295 %\item Added field \bibfield{journalsubtitle}\see{bib:fld:dat}
16296 %\item Added field \bibfield{issuetitle}\see{bib:fld:dat}
16297 %\item Added field \bibfield{issuesubtitle}\see{bib:fld:dat}
16298 %\item Removed field \bibfield{journal}\see{bib:fld:dat}
16299 %\item Added field alias \bibfield{journal}\see{bib:fld:als}
16300 %\item Added field \bibfield{shortjournal}\see{bib:fld:dat}
16301 %\item Added field \bibfield{shortseries}\see{bib:fld:dat}
16302 %\item Added field \bibfield{shorthandintro}\see{bib:fld:dat}
16303 %\item Added field \bibfield{xref}\see{bib:fld:spc}
16304 %\item Added field \bibfield{authortype}\see{bib:fld:dat}
16305 %\item Added field \bibfield{editortype}\see{bib:fld:dat}
16306 %\item Added field \bibfield{reprinttitle}\see{bib:fld:dat}
16307 %\item Improved handling of field \bibfield{type}\see{bib:fld:dat}
16308 %\item Improved handling of field \bibfield{series}\see{bib:fld:dat}
16309 %\item Updated documentation\see{bib:use:ser}
16310 %\item Renamed field \bibfield{id} to \bibfield{eid}\see{bib:fld:dat}
16311 %\item Added field \bibfield{pagination}\see{bib:fld:dat}
16312 %\item Added field \bibfield{bookpagination}\see{bib:fld:dat}
16313 %\item Added special field \bibfield{sortinit}\see{aut:bbx:fld}
16314 %\item Introduced concept of a multicite command\see{use:cit:mlt}
16315 %\item Added \cmd{cites}\see{use:cit:mlt}
16316 %\item Added \cmd{Cites}\see{use:cit:mlt}
16317 %\item Added \cmd{parencites}\see{use:cit:mlt}
16318 %\item Added \cmd{Parencites}\see{use:cit:mlt}
16319 %\item Added \cmd{footcites}\see{use:cit:mlt}
16320 %\item Added \cmd{supercites}\see{use:cit:mlt}
16321 %\item Added \cmd{Autocite}\see{use:cit:aut}
16322 %\item Added \cmd{autocites}\see{use:cit:aut}
16323 %\item Added \cmd{Autocites}\see{use:cit:aut}
16324 %\item Added \cmd{DeclareMultiCiteCommand}\see{aut:cbx:cbx}
16325 %\item Added counter \cnt{multicitecount}\see{aut:fmt:ilc}
16326 %\item Added counter \cnt{multicitetotal}\see{aut:fmt:ilc}
16327 %\item Renamed \cmd{citefulltitle} to \cmd{citetitle*}\see{use:cit:txt}
16328 %\item Added \cmd{cite*}\see{use:cit:cbx}
16329 %\item Added \cmd{citeurl}\see{use:cit:txt}
16330 %\item Added documentation of field \bibfield{nameaddon}\see{bib:fld:dat}
16331 %\item Added field \bibfield{entrysubtype}\see{bib:fld:spc}
16332 %\item Added field \bibfield{execute}\see{bib:fld:spc}
16333 %\item Added custom fields \bibfield{verb{[a--c]}}\see{bib:fld:ctm}
16334 %\item Added custom fields \bibfield{name{[a--c]}type}\see{bib:fld:ctm}
16335 %\item Consider \bibfield{sorttitle} field when falling back to \bibfield{title}\see{use:srt}
16336 %\item Removed package option \opt{labelctitle}\see{use:opt:pre:int}
16337 %\item Removed field \opt{labelctitle}\see{aut:bbx:fld}
16338 %\item Added package option \opt{singletitle}\see{use:opt:pre:int}
16339 %\item Added \cmd{ifsingletitle}\see{aut:aux:tst}
16340 %\item Added \cmd{ifuseauthor}\see{aut:aux:tst}
16341 %\item Added \cmd{ifuseeditor}\see{aut:aux:tst}
16342 %\item Added \cmd{ifopcit}\see{aut:aux:tst}
16343 %\item Added \cmd{ifloccit}\see{aut:aux:tst}
16344 %\item Added package option \opt{uniquename}\see{use:opt:pre:int}
16345 %\item Added special counter \cnt{uniquename}\see{aut:aux:tst}
16346 %\item Added package option \opt{natbib}\see{use:opt:ldt}
16347 %\item Added compatibility commands for the \sty{natbib} package\see{use:cit:nat}
16348 %\item Added package option \opt{defernums}\see{use:opt:pre:gen}
16349 %\item Improved support for numeric labels\see{use:cav:lab}
16350 %\item Added package option \opt{mincrossrefs}\see{use:opt:pre:gen}
16351 %\item Added package option \opt{bibencoding}\see{use:opt:pre:gen}
16352 %\item Expanded documentation\see{bib:cav:enc}
16353 %\item Updated documentation\see{bib:cav:ide}
16354 %\item Added package option \opt{citetracker}\see{use:opt:pre:int}
16355 %\item Added package option \opt{ibidtracker}\see{use:opt:pre:int}
16356 %\item Added package option \bibfield{opcittracker}\see{use:opt:pre:int}
16357 %\item Added package option \bibfield{loccittracker}\see{use:opt:pre:int}
16358 %\item Added \cmd{citetrackertrue} and \cmd{citetrackerfalse}\see{aut:aux:msc}
16359 %\item Modified package option \opt{pagetracker}\see{use:opt:pre:int}
16360 %\item Added \cmd{pagetrackertrue} and \cmd{pagetrackerfalse}\see{aut:aux:msc}
16361 %\item Text commands now excluded from tracking\see{use:cit:txt}
16362 %\item Updated documentation of \cmd{iffirstonpage}\see{aut:aux:tst}
16363 %\item Updated documentation of \cmd{ifsamepage}\see{aut:aux:tst}
16364 %\item Removed package option \opt{keywsort}\see{use:opt:pre:gen}
16365 %\item Added package option \opt{refsection}\see{use:opt:pre:gen}
16366 %\item Added package option \opt{refsegment}\see{use:opt:pre:gen}
16367 %\item Added package option \opt{citereset}\see{use:opt:pre:gen}
16368 %\item Added option \opt{section} to \cmd{bibbysegment}\see{use:bib:bib}
16369 %\item Added option \opt{section} to \cmd{bibbycategory}\see{use:bib:bib}
16370 %\item Added option \opt{section} to \cmd{printshorthands}\see{use:bib:biblist}
16371 %\item Extended documentation of \env{refsection} environment\see{use:bib:sec}
16372 %\item Added \cmd{newrefsection}\see{use:bib:sec}
16373 %\item Added \cmd{newrefsegment}\see{use:bib:seg}
16374 %\item Added heading definition \texttt{subbibliography}\see{use:bib:hdg}
16375 %\item Added heading definition \texttt{subbibintoc}\see{use:bib:hdg}
16376 %\item Added heading definition \texttt{subbibnumbered}\see{use:bib:hdg}
16377 %\item Make all citation commands scan ahead for punctuation\see{use:cit}
16378 %\item Updated documentation of \cmd{DeclareAutoPunctuation}\see{aut:pct:cfg}
16379 %\item Removed \cmd{usecitecmd}\see{aut:cbx:cbx}
16380 %\item Updated documentation of \opt{autocite} package option\see{use:opt:pre:gen}
16381 %\item Updated documentation of \opt{autopunct} package option\see{use:opt:pre:gen}
16382 %\item Added \cmd{citereset}\see{use:cit:msc}
16383 %\item Added \cmd{citereset*}\see{use:cit:msc}
16384 %\item Added \cmd{mancite}\see{use:cit:msc}
16385 %\item Added \cmd{citesetup}\see{use:fmt:fmt}
16386 %\item Added \cmd{compcitedelim}\see{use:fmt:fmt}
16387 %\item Added \cmd{labelnamepunct}\see{use:fmt:fmt}
16388 %\item Added \cmd{subtitlepunct}\see{use:fmt:fmt}
16389 %\item Added \cmd{finallistdelim}\see{use:fmt:fmt}
16390 %\item Added \cmd{andmoredelim}\see{use:fmt:fmt}
16391 %\item Added \cmd{labelalphaothers}\see{use:fmt:fmt}
16392 %\item Added \len{bibitemextrasep}\see{use:fmt:len}
16393 %\item Renamed \cmd{blxauxprefix} to \cmd{blxauxsuffix}\see{use:use:aux}
16394 %\item Added \cmd{DeclareBibliographyOption}\see{aut:bbx:bbx}
16395 %\item Added \cmd{DeclareEntryOption}\see{aut:bbx:bbx}
16396 %\item Renamed \cmd{InitializeBibliographyDrivers} to \cmd{InitializeBibliographyStyle}\see{aut:bbx:bbx}
16397 %\item Added \cmd{InitializeCitationStyle}\see{aut:cbx:cbx}
16398 %\item Added \cmd{OnManualCitation}\see{aut:cbx:cbx}
16399 %\item Extended documentation of \cmd{DeclareCiteCommand}\see{aut:cbx:cbx}
16400 %\item Modified \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
16401 %\item Improved \cmd{printtext}\see{aut:bib:dat}
16402 %\item Improved \cmd{printfield}\see{aut:bib:dat}
16403 %\item Improved \cmd{printlist}\see{aut:bib:dat}
16404 %\item Improved \cmd{printnames}\see{aut:bib:dat}
16405 %\item Improved \cmd{indexfield}\see{aut:bib:dat}
16406 %\item Improved \cmd{indexlist}\see{aut:bib:dat}
16407 %\item Improved \cmd{indexnames}\see{aut:bib:dat}
16408 %\item Modified \cmd{DeclareFieldFormat}\see{aut:bib:fmt}
16409 %\item Modified \cmd{DeclareListFormat}\see{aut:bib:fmt}
16410 %\item Modified \cmd{DeclareNameFormat}\see{aut:bib:fmt}
16411 %\item Modified \cmd{DeclareFieldAlias}\see{aut:bib:fmt}
16412 %\item Modified \cmd{DeclareListAlias}\see{aut:bib:fmt}
16413 %\item Modified \cmd{DeclareNameAlias}\see{aut:bib:fmt}
16414 %\item Modified \cmd{DeclareIndexFieldFormat}\see{aut:bib:fmt}
16415 %\item Modified \cmd{DeclareIndexListFormat}\see{aut:bib:fmt}
16416 %\item Modified \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
16417 %\item Modified \cmd{DeclareIndexFieldAlias}\see{aut:bib:fmt}
16418 %\item Modified \cmd{DeclareIndexListAlias}\see{aut:bib:fmt}
16419 %\item Modified \cmd{DeclareIndexNameAlias}\see{aut:bib:fmt}
16420 %\item Improved \cmd{iffirstonpage}\see{aut:aux:tst}
16421 %\item Improved \cmd{ifciteseen}\see{aut:aux:tst}
16422 %\item Improved \cmd{ifandothers}\see{aut:aux:tst}
16423 %\item Added \cmd{ifinteger}\see{aut:aux:tst}
16424 %\item Added \cmd{ifnumeral}\see{aut:aux:tst}
16425 %\item Added \cmd{ifnumerals}\see{aut:aux:tst}
16426 %\item Removed \cmd{ifpage}\see{aut:aux:tst}
16427 %\item Removed \cmd{ifpages}\see{aut:aux:tst}
16428 %\item Moved \cmd{ifblank} to \sty{etoolbox} package\see{aut:aux:tst}
16429 %\item Removed \cmd{xifblank}\see{aut:aux:tst}
16430 %\item Moved \cmd{docsvlist} to \sty{etoolbox} package\see{aut:aux:msc}
16431 %\item Updated documentation of \cmd{docsvfield}\see{aut:aux:msc}
16432 %\item Added \cmd{ifciteibid}\see{aut:aux:tst}
16433 %\item Added \cmd{iffootnote}\see{aut:aux:tst}
16434 %\item Added \cmd{iffieldxref}\see{aut:aux:tst}
16435 %\item Added \cmd{iflistxref}\see{aut:aux:tst}
16436 %\item Added \cmd{ifnamexref}\see{aut:aux:tst}
16437 %\item Added \cmd{ifmoreitems}\see{aut:aux:tst}
16438 %\item Added \cmd{ifbibstring}\see{aut:aux:tst}
16439 %\item Added \cmd{iffieldbibstring}\see{aut:aux:tst}
16440 %\item Added \cmd{mkpageprefix}\see{aut:aux:msc}
16441 %\item Added \cmd{NumCheckSetup}\see{aut:aux:msc}
16442 %\item Added \cmd{pno}\see{use:cit:msc}
16443 %\item Added \cmd{ppno}\see{use:cit:msc}
16444 %\item Added \cmd{nopp}\see{use:cit:msc}
16445 %\item Added \cmd{ppspace}\see{aut:aux:msc}
16446 %\item Added \cmd{psq}\see{use:cit:msc}
16447 %\item Added \cmd{psqq}\see{use:cit:msc}
16448 %\item Added \cmd{sqspace}\see{aut:aux:msc}
16449 %\item Expanded documentation\see{bib:use:pag}
16450 %\item Expanded documentation\see{use:cav:pag}
16451 %\item Added \cmd{RN}\see{use:cit:msc}
16452 %\item Added \cmd{Rn}\see{use:cit:msc}
16453 %\item Added \cmd{RNfont}\see{use:cit:msc}
16454 %\item Added \cmd{Rnfont}\see{use:cit:msc}
16455 %\item Added package option \opt{punctfont}\see{use:opt:pre:gen}
16456 %\item Added \cmd{setpunctfont}\see{aut:pct:new}
16457 %\item Added \cmd{resetpunctfont}\see{aut:pct:new}
16458 %\item Added \cmd{nopunct}\see{aut:pct:pct}
16459 %\item Added \cmd{bibxstring}\see{aut:str}
16460 %\item Added \cmd{mkbibemph}\see{aut:fmt:ich}
16461 %\item Added \cmd{mkbibquote}\see{aut:fmt:ich}
16462 %\item Added \cmd{mkbibfootnote}\see{aut:fmt:ich}
16463 %\item Added \cmd{mkbibsuperscript}\see{aut:fmt:ich}
16464 %\item Added \cmd{currentfield}\see{aut:fmt:ilc}
16465 %\item Added \cmd{currentlist}\see{aut:fmt:ilc}
16466 %\item Added \cmd{currentname}\see{aut:fmt:ilc}
16467 %\item Added \cmd{AtNextCite}\see{aut:fmt:hok}
16468 %\item Added \cmd{AtNextCitekey}\see{aut:fmt:hok}
16469 %\item Added \cmd{AtDataInput}\see{aut:fmt:hok}
16470 %\item Added several new localisation keys\see{aut:lng:key}
16471 %\item Added support for Norwegian (translations by Johannes Wilm)
16472 %\item Added support for Danish (translations by Johannes Wilm)
16473 %\item Expanded documentation\see{aut:cav:grp}
16474 %\item Expanded documentation\see{aut:cav:mif}
16475 %\item Numerous improvements under the hood
16476 %\item Fixed some bugs
16477 %
16478 %\end{release}
16479 %
16480 %\begin{release}{0.6}{2007-01-06}
16481 %
16482 %\item Added package option \kvopt{sorting}{none}\see{use:opt:pre:gen}
16483 %\item Renamed package option \kvopt{block}{penalty} to \kvopt{block}{ragged}\see{use:opt:pre:gen}
16484 %\item Changed data type of \bibfield{origlanguage} back to field\see{bib:fld:dat}
16485 %\item Support \bibfield{origlanguage} field if \bibfield{translator} is present\see{bib:typ:blx}
16486 %\item Renamed field \bibfield{articleid} to \bibfield{id}\see{bib:fld:dat}
16487 %\item Support \bibfield{id} field in \bibfield{article} entries\see{bib:typ:blx}
16488 %\item Support \bibfield{series} field in \bibfield{article} entries\see{bib:typ:blx}
16489 %\item Support \bibfield{doi} field\see{bib:typ:blx}
16490 %\item Updated documentation of all entry types\see{bib:typ:blx}
16491 %\item Updated documentation of field \bibfield{series}\see{bib:fld:dat}
16492 %\item Added field \bibfield{redactor}\see{bib:fld:dat}
16493 %\item Added field \bibfield{shortauthor}\see{bib:fld:dat}
16494 %\item Added field \bibfield{shorteditor}\see{bib:fld:dat}
16495 %\item Improved support for corporate authors and editors\see{bib:use:inc}
16496 %\item Updated documentation of field \bibfield{labelname}\see{aut:bbx:fld}
16497 %\item Added field alias \bibfield{key}\see{bib:fld:als}
16498 %\item Added package option \opt{autocite}\see{use:opt:pre:gen}
16499 %\item Added package option \opt{autopunct}\see{use:opt:pre:gen}
16500 %\item Added \cmd{autocite}\see{use:cit:aut}
16501 %\item Added \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
16502 %\item Added \cmd{DeclareAutoPunctuation}\see{aut:pct:cfg}
16503 %\item Added option \opt{filter} to \cmd{printbibliography}\see{use:bib:bib}
16504 %\item Added \cmd{defbibfilter}\see{use:bib:flt}
16505 %\item Added package option \opt{maxitems}\see{use:opt:pre:gen}
16506 %\item Added package option \opt{minitems}\see{use:opt:pre:gen}
16507 %\item Added option \opt{maxitems} to \cmd{printbibliography}\see{use:bib:bib}
16508 %\item Added option \opt{minitems} to \cmd{printbibliography}\see{use:bib:bib}
16509 %\item Added option \opt{maxitems} to \cmd{bibbysection}\see{use:bib:bib}
16510 %\item Added option \opt{minitems} to \cmd{bibbysection}\see{use:bib:bib}
16511 %\item Added option \opt{maxitems} to \cmd{bibbysegment}\see{use:bib:bib}
16512 %\item Added option \opt{minitems} to \cmd{bibbysegment}\see{use:bib:bib}
16513 %\item Added option \opt{maxitems} to \cmd{bibbycategory}\see{use:bib:bib}
16514 %\item Added option \opt{minitems} to \cmd{bibbycategory}\see{use:bib:bib}
16515 %\item Added option \opt{maxitems} to \cmd{printshorthands}\see{use:bib:biblist}
16516 %\item Added option \opt{minitems} to \cmd{printshorthands}\see{use:bib:biblist}
16517 %\item Added counter \cnt{maxitems}\see{aut:fmt:ilc}
16518 %\item Added counter \cnt{minitems}\see{aut:fmt:ilc}
16519 %\item Added adapted headings for \sty{scrartcl}, \sty{scrbook}, \sty{scrreprt}\see{int:pre:cmp}
16520 %\item Added adapted headings for \sty{memoir}\see{int:pre:cmp}
16521 %\item Added \cmd{Cite}\see{use:cit:std}
16522 %\item Added \cmd{Parencite}\see{use:cit:std}
16523 %\item Added \cmd{Textcite}\see{use:cit:cbx}
16524 %\item Added \cmd{parencite*}\see{use:cit:cbx}
16525 %\item Added \cmd{supercite}\see{use:cit:cbx}
16526 %\item Added \cmd{Citeauthor}\see{use:cit:txt}
16527 %\item Added \cmd{nameyeardelim}\see{use:fmt:fmt}
16528 %\item Added \cmd{multilistdelim}\see{use:fmt:fmt}
16529 %\item Completed documentation\see{use:fmt:fmt}
16530 %\item Completed documentation\see{aut:fmt:fmt}
16531 %\item Added \cmd{usecitecmd}\see{aut:cbx:cbx}
16532 %\item Added \cmd{hyphenate}\see{use:fmt:aux}
16533 %\item Added \cmd{hyphen}\see{use:fmt:aux}
16534 %\item Added \cmd{nbhyphen}\see{use:fmt:aux}
16535 %\item Improved \cmd{ifsamepage}\see{aut:aux:tst}
16536 %\item Removed \cmd{ifnameequalstr}\see{aut:aux:tst}
16537 %\item Removed \cmd{iflistequalstr}\see{aut:aux:tst}
16538 %\item Added \cmd{ifcapital}\see{aut:aux:tst}
16539 %\item Added documentation of \cmd{MakeCapital}\see{aut:aux:msc}
16540 %\item Added starred variant to \cmd{setunit}\see{aut:pct:new}
16541 %\item Improved \cmd{ifterm}\see{aut:pct:chk}
16542 %\item Straightened out documentation of \cmd{thelist}\see{aut:aux:dat}
16543 %\item Straightened out documentation of \cmd{thename}\see{aut:aux:dat}
16544 %\item Added \cmd{docsvfield}\see{aut:aux:msc}
16545 %\item Added \cmd{docsvlist}\see{aut:aux:msc}
16546 %\item Removed \cmd{CopyFieldFormat}\see{aut:bib:fmt}
16547 %\item Removed \cmd{CopyIndexFieldFormat}\see{aut:bib:fmt}
16548 %\item Removed \cmd{CopyListFormat}\see{aut:bib:fmt}
16549 %\item Removed \cmd{CopyIndexListFormat}\see{aut:bib:fmt}
16550 %\item Removed \cmd{CopyNameFormat}\see{aut:bib:fmt}
16551 %\item Removed \cmd{CopyIndexNameFormat}\see{aut:bib:fmt}
16552 %\item Added \cmd{savefieldformat}\see{aut:aux:msc}
16553 %\item Added \cmd{restorefieldformat}\see{aut:aux:msc}
16554 %\item Added \cmd{savelistformat}\see{aut:aux:msc}
16555 %\item Added \cmd{restorelistformat}\see{aut:aux:msc}
16556 %\item Added \cmd{savenameformat}\see{aut:aux:msc}
16557 %\item Added \cmd{restorenameformat}\see{aut:aux:msc}
16558 %\item Added \cmd{savebibmacro}\see{aut:aux:msc}
16559 %\item Added \cmd{restorebibmacro}\see{aut:aux:msc}
16560 %\item Added \cmd{savecommand}\see{aut:aux:msc}
16561 %\item Added \cmd{restorecommand}\see{aut:aux:msc}
16562 %\item Added documentation of \texttt{shorthands} driver\see{aut:bbx:bbx}
16563 %\item Rearranged, renamed, and extended localisation keys\see{aut:lng:key}
16564 %\item Renamed counter \cnt{citecount} to \cnt{instcount}\see{aut:fmt:ilc}
16565 %\item Added new counter \cnt{citecount}\see{aut:fmt:ilc}
16566 %\item Added counter \cnt{citetotal}\see{aut:fmt:ilc}
16567 %\item Rearranged and expanded documentation\see{bib:use}
16568 %\item Expanded documentation\see{bib:cav}
16569 %\item Expanded documentation\see{use:cav:scr}
16570 %\item Expanded documentation\see{use:cav:mem}
16571 %\item Completed support for Spanish\see{use:loc:esp}
16572 %\item Added support for Italian (translations by Enrico Gregorio)
16573 %\item Added language alias \opt{australian}\see{bib:fld:spc}
16574 %\item Added language alias \opt{newzealand}\see{bib:fld:spc}
16575 %\item Various minor improvements throughout
16576 %
16577 %\end{release}
16578 %
16579 %\begin{release}{0.5}{2006-11-12}
16580 %
16581 %\item Added \cmd{usedriver}\see{aut:aux:msc}
16582 %\item Added package option \opt{pagetracker}\see{use:opt:pre:gen}
16583 %\item Added \cmd{iffirstonpage}\see{aut:aux:tst}
16584 %\item Added \cmd{ifsamepage}\see{aut:aux:tst}
16585 %\item Corrected documentation of \cmd{ifciteseen}\see{aut:aux:tst}
16586 %\item Added package option \opt{terseinits}\see{use:opt:pre:gen}
16587 %\item Modified default value of package option \opt{maxnames}\see{use:opt:pre:gen}
16588 %\item Renamed package option \opt{index} to \opt{indexing}\see{use:opt:pre:gen}
16589 %\item Extended package option \opt{indexing}\see{use:opt:pre:gen}
16590 %\item Removed package option \opt{citeindex}\see{use:opt:pre:gen}
16591 %\item Removed package option \opt{bibindex}\see{use:opt:pre:gen}
16592 %\item Added package option \opt{labelalpha}\see{use:opt:pre:int}
16593 %\item Updated documentation of field \bibfield{labelalpha}\see{aut:bbx:fld}
16594 %\item Added package option \opt{labelctitle}\see{use:opt:pre:int}
16595 %\item Updated documentation of field \bibfield{labelctitle}\see{aut:bbx:fld}
16596 %\item Added package option \opt{labelnumber}\see{use:opt:pre:int}
16597 %\item Updated documentation of field \bibfield{labelnumber}\see{aut:bbx:fld}
16598 %\item Added package option \opt{labelyear}\see{use:opt:pre:int}
16599 %\item Updated documentation of field \bibfield{labelyear}\see{aut:bbx:fld}
16600 %\item Added citation style \texttt{authortitle-verb}\see{use:xbx:cbx}
16601 %\item Added citation style \texttt{authortitle-cverb}\see{use:xbx:cbx}
16602 %\item Renamed citation style \texttt{traditional} to \texttt{authortitle-trad}\see{use:xbx:cbx}
16603 %\item Improved citation style \texttt{authortitle-trad}\see{use:xbx:cbx}
16604 %\item Added citation style \texttt{authortitle-strad}\see{use:xbx:cbx}
16605 %\item Improved bibliography style \texttt{authoryear}\see{use:xbx:bbx}
16606 %\item Improved bibliography style \texttt{authortitle}\see{use:xbx:bbx}
16607 %\item Added option \opt{maxnames} to \cmd{printbibliography}\see{use:bib:bib}
16608 %\item Added option \opt{minnames} to \cmd{printbibliography}\see{use:bib:bib}
16609 %\item Added option \opt{maxnames} to \cmd{bibbysection}\see{use:bib:bib}
16610 %\item Added option \opt{minnames} to \cmd{bibbysection}\see{use:bib:bib}
16611 %\item Added option \opt{maxnames} to \cmd{bibbysegment}\see{use:bib:bib}
16612 %\item Added option \opt{minnames} to \cmd{bibbysegment}\see{use:bib:bib}
16613 %\item Added option \opt{maxnames} to \cmd{bibbycategory}\see{use:bib:bib}
16614 %\item Added option \opt{minnames} to \cmd{bibbycategory}\see{use:bib:bib}
16615 %\item Added option \opt{maxnames} to \cmd{printshorthands}\see{use:bib:biblist}
16616 %\item Added option \opt{minnames} to \cmd{printshorthands}\see{use:bib:biblist}
16617 %\item Renamed \env{bibsection} to \env{refsection} (conflict with \sty{memoir})\see{use:bib:sec}
16618 %\item Renamed \env{bibsegment} to \env{refsegment} (consistency)\see{use:bib:seg}
16619 %\item Extended \env{refsection} environment\see{use:bib:sec}
16620 %\item Renamed \env{bibsection} counter to \env{refsection}\see{aut:fmt:ilc}
16621 %\item Renamed \env{bibsegment} counter to \env{refsegment}\see{aut:fmt:ilc}
16622 %\item Updated documentation\see{use:use:mlt}
16623 %\item Added counter \cnt{citecount}\see{aut:fmt:ilc}
16624 %\item Modified default definition of \cmd{blxauxprefix}\see{use:use:aux}
16625 %\item Added \cmd{CopyFieldFormat}\see{aut:bib:fmt}
16626 %\item Added \cmd{CopyIndexFieldFormat}\see{aut:bib:fmt}
16627 %\item Added \cmd{CopyListFormat}\see{aut:bib:fmt}
16628 %\item Added \cmd{CopyIndexListFormat}\see{aut:bib:fmt}
16629 %\item Added \cmd{CopyNameFormat}\see{aut:bib:fmt}
16630 %\item Added \cmd{CopyIndexNameFormat}\see{aut:bib:fmt}
16631 %\item Added \cmd{clearfield}\see{aut:aux:dat}
16632 %\item Added \cmd{clearlist}\see{aut:aux:dat}
16633 %\item Added \cmd{clearname}\see{aut:aux:dat}
16634 %\item Added \cmd{restorefield}\see{aut:aux:dat}
16635 %\item Added \cmd{restorelist}\see{aut:aux:dat}
16636 %\item Added \cmd{restorename}\see{aut:aux:dat}
16637 %\item Renamed \cmd{bibhyperlink} to \cmd{bibhyperref}\see{aut:aux:msc}
16638 %\item Added new command \cmd{bibhyperlink}\see{aut:aux:msc}
16639 %\item Added \cmd{bibhypertarget}\see{aut:aux:msc}
16640 %\item Renamed formatting directive \texttt{bibhyperlink} to \texttt{bibhyperref}\see{aut:fmt:ich}
16641 %\item Added new formatting directive \texttt{bibhyperlink}\see{aut:fmt:ich}
16642 %\item Added formatting directive \texttt{bibhypertarget}\see{aut:fmt:ich}
16643 %\item Added \cmd{addlpthinspace}\see{aut:pct:spc}
16644 %\item Added \cmd{addhpthinspace}\see{aut:pct:spc}
16645 %\item Added field \bibfield{annotator}\see{bib:fld:dat}
16646 %\item Added field \bibfield{commentator}\see{bib:fld:dat}
16647 %\item Added field \bibfield{introduction}\see{bib:fld:dat}
16648 %\item Added field \bibfield{foreword}\see{bib:fld:dat}
16649 %\item Added field \bibfield{afterword}\see{bib:fld:dat}
16650 %\item Updated documentation of field \bibfield{translator}\see{bib:fld:dat}
16651 %\item Added field \bibfield{articleid}\see{bib:fld:dat}
16652 %\item Added field \bibfield{doi}\see{bib:fld:dat}
16653 %\item Added field \bibfield{file}\see{bib:fld:dat}
16654 %\item Added field alias \bibfield{pdf}\see{bib:fld:als}
16655 %\item Added field \bibfield{indextitle}\see{bib:fld:dat}
16656 %\item Added field \bibfield{indexsorttitle}\see{bib:fld:spc}
16657 %\item Changed data type of \bibfield{language}\see{bib:fld:dat}
16658 %\item Changed data type of \bibfield{origlanguage}\see{bib:fld:dat}
16659 %\item Updated documentation of entry type \bibfield{book}\see{bib:typ:blx}
16660 %\item Updated documentation of entry type \bibfield{collection}\see{bib:typ:blx}
16661 %\item Updated documentation of entry type \bibfield{inbook}\see{bib:typ:blx}
16662 %\item Updated documentation of entry type \bibfield{incollection}\see{bib:typ:blx}
16663 %\item Extended entry type \bibfield{misc}\see{bib:typ:blx}
16664 %\item Added \cmd{UndefineBibliographyExtras}\see{use:lng}
16665 %\item Added \cmd{UndeclareBibliographyExtras}\see{aut:lng:cmd}
16666 %\item Added \cmd{finalandcomma}\see{use:fmt:lng}
16667 %\item Added localisation key \texttt{citedas}\see{aut:lng:key}
16668 %\item Renamed localisation key \texttt{editby} to \texttt{edited}\see{aut:lng:key}
16669 %\item Renamed localisation key \texttt{transby} to \texttt{translated}\see{aut:lng:key}
16670 %\item Added localisation key \texttt{annotated}\see{aut:lng:key}
16671 %\item Added localisation key \texttt{commented}\see{aut:lng:key}
16672 %\item Added localisation key \texttt{introduced}\see{aut:lng:key}
16673 %\item Added localisation key \texttt{foreworded}\see{aut:lng:key}
16674 %\item Added localisation key \texttt{afterworded}\see{aut:lng:key}
16675 %\item Added localisation key \texttt{commentary}\see{aut:lng:key}
16676 %\item Added localisation key \texttt{annotations}\see{aut:lng:key}
16677 %\item Added localisation key \texttt{introduction}\see{aut:lng:key}
16678 %\item Added localisation key \texttt{foreword}\see{aut:lng:key}
16679 %\item Added localisation key \texttt{afterword}\see{aut:lng:key}
16680 %\item Added localisation key \texttt{doneby}\see{aut:lng:key}
16681 %\item Added localisation key \texttt{itemby}\see{aut:lng:key}
16682 %\item Added localisation key \texttt{spanish}\see{aut:lng:key}
16683 %\item Added localisation key \texttt{latin}\see{aut:lng:key}
16684 %\item Added localisation key \texttt{greek}\see{aut:lng:key}
16685 %\item Modified localisation key \texttt{fromenglish}\see{aut:lng:key}
16686 %\item Modified localisation key \texttt{fromfrench}\see{aut:lng:key}
16687 %\item Modified localisation key \texttt{fromgerman}\see{aut:lng:key}
16688 %\item Added localisation key \texttt{fromspanish}\see{aut:lng:key}
16689 %\item Added localisation key \texttt{fromlatin}\see{aut:lng:key}
16690 %\item Added localisation key \texttt{fromgreek}\see{aut:lng:key}
16691 %\item Expanded documentation\see{bib:use}
16692 %\item Updated documentation\see{use:xbx:cbx}
16693 %\item Updated documentation\see{use:xbx:bbx}
16694 %\item Updated documentation\see{use:fmt:fmt}
16695 %\item Updated documentation\see{aut:fmt:fmt}
16696 %\item Updated and completed documentation\see{use:fmt:lng}
16697 %\item Updated and completed documentation\see{aut:fmt:lng}
16698 %\item Added support for Spanish (translations by Ignacio Fernández Galván)
16699 %\item Various memory-related optimizations in \path{biblatex.bst}
16700 %
16701 %\end{release}
16702 %
16703 %\begin{release}{0.4}{2006-10-01}
16704 %
16705 %\item Added package option \opt{sortlos}\see{use:opt:pre:gen}
16706 %\item Added package option \opt{bibtex8}\see{use:opt:pre:gen}
16707 %\item Made \bibfield{pageref} field local to \env{refsection} environment\see{aut:bbx:fld}
16708 %\item Renamed field \bibfield{labeltitle} to \bibfield{labelctitle}\see{aut:bbx:fld}
16709 %\item Added new field \bibfield{labeltitle}\see{aut:bbx:fld}
16710 %\item Added new field \bibfield{sortkey}\see{bib:fld:spc}
16711 %\item Updated documentation\see{use:srt}
16712 %\item Removed \cmd{iffieldtrue}\see{aut:aux:tst}
16713 %\item Renamed counter \cnt{namepenalty} to \cnt{highnamepenalty}\see{use:fmt:len}
16714 %\item Added counter \cnt{lownamepenalty}\see{use:fmt:len}
16715 %\item Added documentation of \cmd{noligature}\see{use:fmt:aux}
16716 %\item Added \cmd{addlowpenspace}\see{aut:pct:spc}
16717 %\item Added \cmd{addhighpenspace}\see{aut:pct:spc}
16718 %\item Added \cmd{addabbrvspace}\see{aut:pct:spc}
16719 %\item Added \cmd{adddotspace}\see{aut:pct:spc}
16720 %\item Added \cmd{addslash}\see{aut:pct:spc}
16721 %\item Expanded documentation\see{use:cav}
16722 %\item Various minor improvements throughout
16723 %\item Fixed some bugs
16724 %
16725 %\end{release}
16726 %
16727 %\begin{release}{0.3}{2006-09-24}
16728 %
16729 %\item Renamed citation style \texttt{authortitle} to \texttt{authortitle-terse}\see{use:xbx:cbx}
16730 %\item Renamed citation style \texttt{authortitle-comp} to \texttt{authortitle-cterse}\see{use:xbx:cbx}
16731 %\item Renamed citation style \texttt{authortitle-verb} to \texttt{authortitle}\see{use:xbx:cbx}
16732 %\item Added new citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
16733 %\item Citation style \texttt{traditional} now supports <loc.~cit.>\see{use:xbx:cbx}
16734 %\item Added package option \opt{date}\see{use:opt:pre:gen}
16735 %\item Added package option \opt{urldate}\see{use:opt:pre:gen}
16736 %\item Introduced new data type: literal lists\see{bib:fld}
16737 %\item Renamed \cmd{citename} to \cmd{citeauthor}\see{use:cit:txt}
16738 %\item Renamed \cmd{citelist} to \cmd{citename}\see{use:cit:low}
16739 %\item Added new \cmd{citelist} command\see{use:cit:low}
16740 %\item Renamed \cmd{printlist} to \cmd{printnames}\see{aut:bib:dat}
16741 %\item Added new \cmd{printlist} command\see{aut:bib:dat}
16742 %\item Renamed \cmd{indexlist} to \cmd{indexnames}\see{aut:bib:dat}
16743 %\item Added new \cmd{indexlist} command\see{aut:bib:dat}
16744 %\item Renamed \cmd{DeclareListFormat} to \cmd{DeclareNameFormat}\see{aut:bib:fmt}
16745 %\item Added new \cmd{DeclareListFormat} command\see{aut:bib:fmt}
16746 %\item Renamed \cmd{DeclareListAlias} to \cmd{DeclareNameAlias}\see{aut:bib:fmt}
16747 %\item Added new \cmd{DeclareListAlias} command\see{aut:bib:fmt}
16748 %\item Renamed \cmd{DeclareIndexListFormat} to \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
16749 %\item Added new \cmd{DeclareIndexListFormat} command\see{aut:bib:fmt}
16750 %\item Renamed \cmd{DeclareIndexListAlias} to \cmd{DeclareIndexNameAlias}\see{aut:bib:fmt}
16751 %\item Added new \cmd{DeclareIndexListAlias} command\see{aut:bib:fmt}
16752 %\item Renamed \cmd{biblist} to \cmd{thename}\see{aut:aux:dat}
16753 %\item Added new \cmd{thelist} command\see{aut:aux:dat}
16754 %\item Renamed \cmd{bibfield} to \cmd{thefield}\see{aut:aux:dat}
16755 %\item Renamed \cmd{savelist} to \cmd{savename}\see{aut:aux:dat}
16756 %\item Added new \cmd{savelist} command\see{aut:aux:dat}
16757 %\item Renamed \cmd{savelistcs} to \cmd{savenamecs}\see{aut:aux:dat}
16758 %\item Added new \cmd{savelistcs} command\see{aut:aux:dat}
16759 %\item Renamed \cmd{iflistundef} to \cmd{ifnameundef}\see{aut:aux:tst}
16760 %\item Added new \cmd{iflistundef} test\see{aut:aux:tst}
16761 %\item Renamed \cmd{iflistsequal} to \cmd{ifnamesequal}\see{aut:aux:tst}
16762 %\item Added new \cmd{iflistsequal} test\see{aut:aux:tst}
16763 %\item Renamed \cmd{iflistequals} to \cmd{ifnameequals}\see{aut:aux:tst}
16764 %\item Added new \cmd{iflistequals} test\see{aut:aux:tst}
16765 %\item Renamed \cmd{iflistequalcs} to \cmd{ifnameequalcs}\see{aut:aux:tst}
16766 %\item Added new \cmd{iflistequalcs} test\see{aut:aux:tst}
16767 %\item Renamed \cmd{iflistequalstr} to \cmd{ifnameequalstr}\see{aut:aux:tst}
16768 %\item Added new \cmd{iflistequalstr} test\see{aut:aux:tst}
16769 %\item Renamed \cmd{ifcurrentlist} to \cmd{ifcurrentname}\see{aut:aux:tst}
16770 %\item Added new \cmd{ifcurrentlist} test\see{aut:aux:tst}
16771 %\item Entry type alias \bibtype{conference} now resolved by \bibtex\see{bib:typ:als}
16772 %\item Entry type alias \bibtype{mastersthesis} now resolved by \bibtex\see{bib:typ:als}
16773 %\item Entry type alias \bibtype{phdthesis} now resolved by \bibtex\see{bib:typ:als}
16774 %\item Entry type alias \bibtype{techreport} now resolved by \bibtex\see{bib:typ:als}
16775 %\item Entry type alias \bibtype{www} now resolved by \bibtex\see{bib:typ:als}
16776 %\item Added new custom fields \bibfield{lista} through \bibfield{listf}\see{bib:fld:ctm}
16777 %\item Changed data type of \bibfield{location}\see{bib:fld:dat}
16778 %\item Changed data type of \bibfield{origlocation}\see{bib:fld:dat}
16779 %\item Changed data type of \bibfield{publisher}\see{bib:fld:dat}
16780 %\item Changed data type of \bibfield{institution}\see{bib:fld:dat}
16781 %\item Changed data type of \bibfield{organization}\see{bib:fld:dat}
16782 %\item Modified values of \bibfield{gender} field for \sty{jurabib} compatibility\see{bib:fld:spc}
16783 %\item Modified and extended \texttt{idem\dots} keys for \sty{jurabib} compatibility\see{aut:lng:key}
16784 %\item Improved \cmd{addtocategory}\see{use:bib:cat}
16785 %\item Removed formatting command \cmd{mkshorthand}\see{use:fmt:fmt}
16786 %\item Added field formatting directive \texttt{shorthandwidth}\see{aut:fmt:ich}
16787 %\item Added documentation of \cmd{shorthandwidth}\see{aut:fmt:ilc}
16788 %\item Removed formatting command \cmd{mklabelnumber}\see{use:fmt:fmt}
16789 %\item Added field formatting directive \texttt{labelnumberwidth}\see{aut:fmt:ich}
16790 %\item Added documentation of \cmd{labelnumberwidth}\see{aut:fmt:ilc}
16791 %\item Removed formatting command \cmd{mklabelalpha}\see{use:fmt:fmt}
16792 %\item Added field formatting directive \texttt{labelalphawidth}\see{aut:fmt:ich}
16793 %\item Added documentation of \cmd{labelalphawidth}\see{aut:fmt:ilc}
16794 %\item Renamed \cmd{bibitem} to \cmd{thebibitem}\see{aut:bbx:env}
16795 %\item Renamed \cmd{lositem} to \cmd{thelositem}\see{aut:bbx:env}
16796 %\item Modified \cmd{AtBeginBibliography}\see{aut:fmt:hok}
16797 %\item Added \cmd{AtBeginShorthands}\see{aut:fmt:hok}
16798 %\item Added \cmd{AtEveryLositem}\see{aut:fmt:hok}
16799 %\item Extended \sty{showkeys} compatibility to list of shorthands\see{int:pre:cmp}
16800 %\item Added compatibility code for the \sty{hyperref} package\see{int:pre:cmp}
16801 %\item Added package option \opt{hyperref}\see{use:opt:pre:gen}
16802 %\item Added package option \opt{backref}\see{use:opt:pre:gen}
16803 %\item Added field \bibfield{pageref}\see{aut:bbx:fld}
16804 %\item Added \cmd{ifhyperref}\see{aut:aux:msc}
16805 %\item Added \cmd{bibhyperlink}\see{aut:aux:msc}
16806 %\item Added field formatting directive \texttt{bibhyperlink}\see{aut:fmt:ich}
16807 %\item Renamed \cmd{ifandothers} to \cmd{ifmorenames}\see{aut:aux:tst}
16808 %\item Added new \cmd{ifandothers} test\see{aut:aux:tst}
16809 %\item Removed field \bibfield{moreauthor}\see{aut:bbx:fld}
16810 %\item Removed field \bibfield{morebookauthor}\see{aut:bbx:fld}
16811 %\item Removed field \bibfield{moreeditor}\see{aut:bbx:fld}
16812 %\item Removed field \bibfield{morelabelname}\see{aut:bbx:fld}
16813 %\item Removed field \bibfield{moretranslator}\see{aut:bbx:fld}
16814 %\item Removed field \bibfield{morenamea}\see{aut:bbx:fld}
16815 %\item Removed field \bibfield{morenameb}\see{aut:bbx:fld}
16816 %\item Removed field \bibfield{morenamec}\see{aut:bbx:fld}
16817 %\item Updated documentation\see{aut:int}
16818 %\item Updated documentation\see{aut:bbx:bbx}
16819 %\item Updated documentation\see{aut:bbx:env}
16820 %\item Updated documentation\see{aut:bbx:drv}
16821 %\item Expanded documentation\see{aut:fmt}
16822 %\item Modified internal \bibtex interface
16823 %\item Fixed some typos in the manual
16824 %\item Fixed some bugs
16825 %
16826 %\end{release}
16827 %
16828 %\begin{release}{0.2}{2006-09-06}
16829 %
16830 %\item Added bibliography categories\see{use:bib:cat}
16831 %\item Added \cmd{DeclareBibliographyCategory}\see{use:bib:cat}
16832 %\item Added \cmd{addtocategory}\see{use:bib:cat}
16833 %\item Added \texttt{category} and \texttt{notcategory} filters\see{use:bib:bib}
16834 %\item Added \cmd{bibbycategory}\see{use:bib:bib}
16835 %\item Added usage examples for bibliography categories\see{use:use:div}
16836 %\item Added documentation of configuration file\see{use:cfg:cfg}
16837 %\item Added documentation of \cmd{ExecuteBibliographyOptions}\see{use:cfg:opt}
16838 %\item Added documentation of \cmd{AtBeginBibliography}\see{aut:fmt:hok}
16839 %\item Added \cmd{AtEveryBibitem}\see{aut:fmt:hok}
16840 %\item Added \cmd{AtEveryCite}\see{aut:fmt:hok}
16841 %\item Added \cmd{AtEveryCitekey}\see{aut:fmt:hok}
16842 %\item Added optional argument to \cmd{printtext}\see{aut:bib:dat}
16843 %\item Added \cmd{ifpage}\see{aut:aux:tst}
16844 %\item Added \cmd{ifpages}\see{aut:aux:tst}
16845 %\item Added field \bibfield{titleaddon}\see{bib:fld:dat}
16846 %\item Added field \bibfield{booktitleaddon}\see{bib:fld:dat}
16847 %\item Added field \bibfield{maintitleaddon}\see{bib:fld:dat}
16848 %\item Added field \bibfield{library}\see{bib:fld:dat}
16849 %\item Added field \bibfield{part}\see{bib:fld:dat}
16850 %\item Added field \bibfield{origlocation}\see{bib:fld:dat}
16851 %\item Added field \bibfield{origtitle}\see{bib:fld:dat}
16852 %\item Added field \bibfield{origyear}\see{bib:fld:dat}
16853 %\item Added field \bibfield{origlanguage}\see{bib:fld:dat}
16854 %\item Modified profile of field \bibfield{language}\see{bib:fld:dat}
16855 %\item Extended entry type \bibtype{book}\see{bib:typ:blx}
16856 %\item Extended entry type \bibtype{inbook}\see{bib:typ:blx}
16857 %\item Extended entry type \bibtype{collection}\see{bib:typ:blx}
16858 %\item Extended entry type \bibtype{incollection}\see{bib:typ:blx}
16859 %\item Extended entry type \bibtype{proceedings}\see{bib:typ:blx}
16860 %\item Extended entry type \bibtype{inproceedings}\see{bib:typ:blx}
16861 %\item Added entry type alias \bibtype{www}\see{bib:typ:als}
16862 %\item Added compatibility code for the \sty{showkeys} package\see{int:pre:cmp}
16863 %\item Support printable characters in \bibfield{keyword} and \texttt{notkeyword} filters\see{use:bib:bib}
16864 %\item Support printable characters in \bibfield{keywords} field\see{bib:fld:spc}
16865 %\item Ignore spaces after commas in \bibfield{keywords} field\see{bib:fld:spc}
16866 %\item Internal rearrangement of all bibliography styles
16867 %\item Fixed various bugs
16868 %
16869 %\end{release}
16870 %
16871 %\begin{release}{0.1}{2006-09-02}
16872 %
16873 %\item Initial public release
16874 %
16875 %\end{release}
16876
16877 \end{changelog}
16878 \end{document}
16879 %%% Local Variables:
16880 %%% coding: utf-8
16881 %%% eval: (auto-fill-mode -1)
16882 %%% eval: (visual-line-mode)
16883 %%% TeX-engine: luatex
16884 %%% End: