Debian Codegraph @

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

raw
1 \documentclass{ltxdockit}[2011/03/25]
2 \usepackage{btxdockit}
3 \usepackage{fontspec}
4 \newfontfamily{\quickch}{MS PGothic}
5 \usepackage{hyperref}
6 \usepackage{zref-xr}
7
8 \setmonofont{Courier New}
9 \setmainfont[Ligatures=TeX]{Linux Libertine O}
10 \setsansfont[Ligatures=TeX]{Linux Biolinum O}
11 \newfontfamily\devanagarifont{Shobhika}[%
12 Script=Devanagari,
13 Renderer=Harfbuzz]
14 \newcommand*{\textdevanagari}[1]{{\devanagarifont #1}}
15 \usepackage[american]{babel}
16 \usepackage[strict]{csquotes}
17 \usepackage{tabularx}
18 \usepackage{longtable}
19 \usepackage{booktabs}
20 \usepackage{shortvrb}
21 \usepackage{pifont}
22 \usepackage{microtype}
23 \usepackage{typearea}
24 \usepackage{mdframed}
25 \areaset[current]{370pt}{700pt}
26 \lstset{
27 basicstyle=\ttfamily,
28 keepspaces=true,
29 upquote=true,
30 frame=single,
31 breaklines=true,
32 postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
33 }
34 \KOMAoptions{numbers=noenddot}
35 \addtokomafont{title}{\sffamily}
36 \addtokomafont{disposition}{\spotcolor}
37 \addtokomafont{descriptionlabel}{\spotcolor}
38 \setkomafont{caption}{\bfseries\sffamily\spotcolor}
39 \setkomafont{captionlabel}{\bfseries\sffamily\spotcolor}
40 \pretocmd{\cmd}{\sloppy}{}{}
41 \pretocmd{\bibfield}{\sloppy}{}{}
42 \pretocmd{\bibtype}{\sloppy}{}{}
43 \makeatletter
44 \RedeclareSectionCommand[%
45 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
46 afterskip=1.5ex \@plus .2ex,%
47 ]{paragraph}
48 \RedeclareSectionCommand[%
49 beforeskip=-3.25ex\@plus -1ex \@minus -.2ex,%
50 indent=\z@,%
51 ]{subparagraph}
52 \makeatother
53
54 \MakeAutoQuote{«}{»}
55 \MakeAutoQuote*{<}{>}
56 \MakeShortVerb{\|}
57
58 \newcommand*{\allowbreakhere}{\discretionary{}{}{}}
59
60 \newcommand*{\biber}{\sty{biber}\xspace}
61 \newcommand*{\biblatex}{\sty{biblatex}\xspace}
62 \newcommand*{\biblatexml}{\sty{biblatexml}\xspace}
63 \newcommand*{\biblatexhome}{https://sourceforge.net/projects/biblatex/}
64 \newcommand*{\biblatexctan}{https://ctan.org/pkg/biblatex/}
65
66 \titlepage{%
67 title={The \biblatex Package},
68 subtitle={Programmable Bibliographies and Citations},
69 url={\biblatexhome},
70 author={Philip Kime, Moritz Wemheuer, Philipp Lehman},
71 email={},
72 revision={4.0},
73 date={\today}}
74
75 \hypersetup{%
76 pdftitle={The \biblatex Package},
77 pdfsubject={Programmable Bibliographies and Citations},
78 pdfauthor={Philipp Lehman, Philip Kime, Moritz Wemheuer},
79 pdfkeywords={tex, latex, bibtex, bibliography, references, citation}}
80
81 % tables
82
83 \newcolumntype{H}{>{\sffamily\bfseries\spotcolor}l}
84 \newcolumntype{L}{>{\raggedright\let\\=\tabularnewline}p}
85 \newcolumntype{R}{>{\raggedleft\let\\=\tabularnewline}p}
86 \newcolumntype{C}{>{\centering\let\\=\tabularnewline}p}
87 \newcolumntype{V}{>{\raggedright\let\\=\tabularnewline\ttfamily}p}
88
89 \newcommand*{\sorttablesetup}{%
90 \tablesetup
91 \ttfamily
92 \def\new{\makebox[1.25em][r]{\ensuremath\rightarrow}\,}%
93 \def\alt{\par\makebox[1.25em][r]{\ensuremath\hookrightarrow}\,}%
94 \def\note##1{\textrm{##1}}}
95
96 \newcommand{\tickmarkyes}{\Pisymbol{psy}{183}}
97 \newcommand{\tickmarkno}{\textendash}
98 \providecommand*{\textln}[1]{#1}
99 \providecommand*{\lnstyle}{}
100
101 % markup and misc
102
103 \setcounter{secnumdepth}{4}
104
105 \makeatletter
106
107 \newenvironment{nameparts}
108 {\trivlist\item
109 \tabular{@{}ll@{}}}
110 {\endtabular\endtrivlist}
111
112 \newenvironment{namedelims}
113 {\trivlist\item
114 \tabularx{\textwidth}{@{}c@{=}l>{\raggedright\let\\=\tabularnewline}X@{}}}
115 {\endtabularx\endtrivlist}
116
117 \newenvironment{namesample}
118 {\def\delim##1##2{\@delim{##1}{\normalfont\tiny\bfseries##2}}%
119 \def\@delim##1##2{{%
120 \setbox\@tempboxa\hbox{##1}%
121 \@tempdima=\wd\@tempboxa
122 \wd\@tempboxa=\z@
123 \box\@tempboxa
124 \begingroup\spotcolor
125 \setbox\@tempboxa\hb@xt@\@tempdima{\hss##2\hss}%
126 \vrule\lower1.25ex\box\@tempboxa
127 \endgroup}}%
128 \ttfamily\trivlist
129 \setlength\itemsep{0.5\baselineskip}}
130 {\endtrivlist}
131
132 \makeatother
133
134 \newrobustcmd*{\Deprecated}{%
135 \textcolor{spot}{\margnotefont Deprecated}}
136 \newrobustcmd*{\DeprecatedMark}{%
137 \leavevmode\marginpar{\Deprecated}}
138 \newrobustcmd*{\LF}{%
139 \textcolor{spot}{\margnotefont Label field}}
140 \newrobustcmd*{\LFMark}{%
141 \leavevmode\marginpar{\LF}}
142 \newrobustcmd*{\CSdelim}{%
143 \textcolor{spot}{\margnotefont Context Sensitive}}
144 \newrobustcmd*{\CSdelimMark}{%
145 \leavevmode\marginpar{\CSdelim}}
146
147
148 \newcommand*{\seestyleexample}[1]{%
149 \leavevmode
150 \marginpar{%
151 \raggedright
152 \footnotesize
153 Style example:\\
154 \href{file:examples/#1.pdf}{local},
155 \href{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/examples/#1.pdf}
156 {online}.}%
157 \ignorespaces}
158
159 % following snippet is based on code by Michael Ummels (TeX Stack Exchange)
160 % <http://tex.stackexchange.com/a/13073/8305>
161 \makeatletter
162 \newcommand\fnurl@[1]{\footnote{\url@{#1}}}
163 \DeclareRobustCommand{\fnurl}{\hyper@normalise\fnurl@}
164 \makeatother
165
166 \hyphenation{%
167 star-red
168 bib-lio-gra-phy
169 white-space
170 }
171
172 \begin{document}
173
174 \printtitlepage
175 \tableofcontents
176 \listoftables
177
178 \section{Introduction}
179 \label{int}
180
181 \textcolor{red}{\textbf{NOTE}: This is the documentation for the
182 <multiscript> version of \biblatex. The package name is
183 <\texttt{biblatex-ms}> and it requires the multiscript version of \biber
184 (\texttt{biber-ms}). This version is expected in the future to be the
185 default and only version of \biblatex but currently, in order to garner
186 feedback and testing, it is a separate package which can be installed in
187 parallel with the standard version. It should be fully backwards
188 compatible with the standard \biblatex package but is considered
189 experimental and feedback is encourage via the \biblatex github
190 repository\fnurl{https://github.com/plk/biblatex}.}\\
191
192 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}
193 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}.
194
195 \subsection[About]{About \biblatex}
196 \label{int:abt}
197
198 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 them 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.
199
200 \subsection{License}
201
202 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}
203
204 \subsection{Feedback}
205 \label{int:feb}
206
207 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}
208
209 \subsection{Acknowledgements}
210
211 The package was originally written by Philipp Lehman and much of his excellent
212 original code remains in the core. Philip Kime took over the package in
213 2012 with Moritz Wemheuer making regular and valuable contributions from 2017.
214 The main authors would like to acknowledge the valuable help of Audrey
215 Boruvka and Joseph Wright who helped with the transition of ownership in
216 2012 and following years.
217
218 The language modules of this package are made possible thanks to the following contributors:\\
219 Ander Zarketa-Astigarraga (Basque);
220 Augusto Ritter Stoffel, Mateus Araújo, Gustavo Barros (Brazilian);
221 Kaloyan Ganev (Bulgarian);
222 Sebastià Vila-Marta (Catalan);
223 Ivo Pletikosić (Croatian);
224 Michal Hoftich (Czech);
225 Christian Mondrup, Jonas Nyrup (Danish);
226 Johannes Wilm (Danish\slash Norwegian);
227 Alexander van Loon, Pieter Belmans, Hendrik Maryns (Dutch);
228 Kristian Kankainen, Benson Muite (Estonian);
229 Hannu Väisänen, Janne Kujanpää (Finnish);
230 Denis Bitouzé (French);
231 Apostolos Syropoulos, Prokopis (Greek);
232 Márton Marczell, Bence Ferdinandy (Hungarian);
233 Baldur Kristinsson (Icelandic);
234 Enrico Gregorio, Andrea Marchitelli (Italian);
235 Rihards Skuja (Latvian);
236 Valdemaras Klumbys (Lithuanian);
237 \textdevanagari{निरंजन} (Marathi);
238 Håkon Malmedal, Hans Fredrik Nordhaug (Norwegian);
239 Anastasia Kandulina, Yuriy Chernyshov (Polish);
240 José Carlos Santos (Portuguese);
241 Patrick Danilevici (Romanian);
242 Oleg Domanov (Russian);
243 Andrej Radović (Serbian);
244 Martin Vrábel, Dávid Lupták (Slovak);
245 Tea Tušar, Bogdan Filipič (Slovene);
246 Ignacio Fernández Galván (Spanish);
247 Per Starbäck, Carl-Gustav Werner, Filip Åsblom (Swedish);
248 Abdulkerim Gok (Turkish);
249 Sergiy M. Ponomarenko (Ukrainian).
250
251 \subsection{Prerequisites}
252 \label{int:pre}
253
254 This section gives an overview of all resources required by this package and discusses compatibility issues.
255
256 \subsubsection{Requirements}
257 \label{int:pre:req}
258
259 The resources listed in this section are strictly required for \biblatex to function. The package will not work if they are not available.
260
261 \begin{marglist}
262
263 \item[\etex]
264 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.
265
266 \item[\biber]
267 \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}.
268
269 \item[etoolbox]
270 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}
271
272 \item[kvoptions]
273 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}
274
275 \item[logreq]
276 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/}
277
278 \item[pdftexcmds]
279 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/}
280
281 \biblatex uses \sty{pdftexcmds} to access the MD5 hash primitives, so version~0.27 (2018/01/30) or above is strongly recommended.
282
283 \end{marglist}
284
285 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 package are included in all common \tex distributions and will be loaded automatically.
286
287 \subsubsection{Recommended Packages}
288 \label{int:pre:rec}
289
290 The packages listed in this section are not strictly required for \biblatex to function, but they provide recommended additional functions or enhance existing features.
291
292 \begin{marglist}
293
294 \item[babel/polyglossia]
295 The \sty{babel} and \sty{polyglossia} packages provides 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.)
296
297 \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.
298
299 The minimum supported \sty{babel} version is~v3.9r (2016/04/23).
300
301 \item[csquotes]
302 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/}
303
304 \end{marglist}
305
306 \subsubsection{Additional Useful Packages}
307 \label{int:pre:add}
308
309 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.
310
311 \begin{marglist}
312
313 \item[xpatch]
314 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.
315
316 \end{marglist}
317
318 \subsubsection{Compatible Classes and Packages}
319 \label{int:pre:cmp}
320
321 The \biblatex package provides dedicated compatibility code for the classes and packages listed in this section.
322
323 \begin{marglist}
324
325 \item[hyperref]
326 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.
327
328 \item[showkeys]
329 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.
330
331 \item[memoir]
332 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.
333
334 \item[\acr{KOMA}-Script]
335 When using any of the \sty{scrartcl}, \sty{scrbook}, or \sty{scrreprt} classes, the default bibliography headings are adapted such that they blend with the default layout of these classes. See \secref{use:cav:scr} for further usage hints.
336
337 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.
338
339 \end{marglist}
340
341 \subsubsection{Incompatible Packages}
342 \label{int:pre:inc}
343
344 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.
345
346 \begin{marglist}
347
348 \item[babelbib]
349 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}.
350
351 \item[backref]
352 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.
353
354 \item[bibtopic]
355 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.
356
357 \item[bibunits]
358 The \sty{bibunits} package provides support for multiple partial (\eg per chapter) bibliographies. See \sty{chapterbib}.
359
360 \item[chapterbib]
361 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.
362
363 \item[cite]
364 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}.
365
366 \item[citeref]
367 Another package for creating back references in the bibliography. See \sty{backref}.
368
369 \item[inlinebib]
370 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}.
371
372 \item[jurabib]
373 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.
374
375 \item[mcite]
376 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.
377
378 \item[mciteplus]
379 A significantly enhanced reimplementation of the \sty{mcite} package which supports grouping in sorted bibliographies. See \sty{mcite}.
380
381 \item[multibib]
382 The \sty{multibib} package provides support for bibliographies subdivided by topic or other criteria. See \sty{bibtopic}.
383
384 \item[natbib]
385 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}.
386
387 \item[splitbib]
388 The \sty{splitbib} package provides support for bibliographies subdivided by topic. See \sty{bibtopic}.
389
390 \item[titlesec]
391 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}.
392
393 \item[ucs]
394 The \sty{ucs} package provides support for \utf encoded input, but it does so in a way incompatible with \biblatex.
395
396 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}.
397
398 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}.
399
400 \item[etextools]
401 The \sty{etextools} package provides enhancements to list macros defined by \sty{etoolbox} and a few other tools for command definitions.
402 The package redefines list handling macros in a way incompatible with \biblatex.
403
404 If you must load the \sty{etextools} package at all costs, define the control sequence \cs{blx@noerroretextools} before you load \biblatex.
405 If \cs{blx@noerroretextools} is defined, no error will be issued if \sty{etextools} is loaded, the message is degraded to a warning instead.
406 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.
407
408 \end{marglist}
409
410 \subsubsection{Compatibility Matrix for \biber}
411 \label{int:pre:bibercompat}
412
413 \biber\ versions are closely coupled with \biblatex\ versions. You
414 need to have the right combination of the two. \biber\ will throw a fatal error
415 during processing if it encounters information which comes from a
416 \biblatex\ version which is incompatible. \Tabref{tab:int:pre:bibercompat} shows a
417 compatibility matrix for the recent versions.
418
419 \begin{table}
420 \caption{\biber/\biblatex\ compatibility matrix}
421 \label{tab:int:pre:bibercompat}
422 \tablesetup\centering
423 \begin{tabular}{cc}
424 \toprule
425 \sffamily\bfseries\spotcolor Biber version
426 & \sffamily\bfseries\spotcolor \biblatex\ version\\
427 \midrule
428 2.19 & 3.19\\
429 2.18 & 3.18\\
430 2.17 & 3.17\\
431 2.16 & 3.16\\
432 2.15 & 3.15\\
433 2.14 & 3.14\\
434 2.13 & 3.13\\
435 2.12 & 3.12\\
436 2.11 & 3.11\\
437 2.10 & 3.10\\
438 2.9 & 3.9\\
439 2.8 & 3.8\\
440 2.7 & 3.7\\
441 2.6 & 3.5, 3.6\\
442 2.5 & 3.4\\
443 2.4 & 3.3\\
444 2.3 & 3.2\\
445 2.2 & 3.1\\
446 2.1 & 3.0\\
447 2.0 & 3.0\\
448 1.9 & 2.9\\
449 1.8 & 2.8\\
450 1.7 & 2.7\\
451 1.6 & 2.6\\
452 1.5 & 2.5\\
453 1.4 & 2.4\\
454 1.3 & 2.3\\
455 1.2 & 2.1, 2.2\\
456 1.1 & 2.1\\
457 1.0 & 2.0\\
458 0.9.9 & 1.7x\\
459 0.9.8 & 1.7x\\
460 0.9.7 & 1.7x\\
461 0.9.6 & 1.7x\\
462 0.9.5 & 1.6x\\
463 0.9.4 & 1.5x\\
464 0.9.3 & 1.5x\\
465 0.9.2 & 1.4x\\
466 0.9.1 & 1.4x\\
467 0.9 & 1.4x\\
468 \bottomrule
469 \end{tabular}
470 \end{table}
471
472 \section{Database Guide}
473 \label{bib}
474
475 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}.
476
477 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 captalisation in the data model, for standard types and fields that would be all lowercase.
478
479 \subsection{Entry Types}
480 \label{bib:typ}
481
482 This section gives an overview of the entry types supported by the default \biblatex data model along with the fields supported by each type.
483
484 \subsubsection{Regular Types}
485 \label{bib:typ:blx}
486
487 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.
488
489 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.
490
491 \begin{typelist}
492
493 \typeitem{article}
494
495 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.
496
497 \reqitem{author, title, journaltitle, year/date}
498 \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}
499
500 \typeitem{book}
501
502 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.
503
504 \reqitem{author, title, year/date}
505 \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}
506
507 \typeitem{mvbook}
508
509 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}.
510
511 \reqitem{author, title, year/date}
512 \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}
513
514 \typeitem{inbook}
515
516 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}.
517
518 \reqitem{author, title, booktitle, year/date}
519 \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}
520
521 \typeitem{bookinbook}
522
523 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.
524
525 \typeitem{suppbook}
526
527 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}.
528
529 \typeitem{booklet}
530
531 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.
532
533 \reqitem{author/editor, title, year/date}
534 \optitem{subtitle, titleaddon, language, howpublished, type, note, location, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
535
536 \typeitem{collection}
537
538 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.
539
540 \reqitem{editor, title, year/date}
541 \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}
542
543 \typeitem{mvcollection}
544
545 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}.
546
547 \reqitem{editor, title, year/date}
548 \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}
549
550 \typeitem{incollection}
551
552 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.
553
554 \reqitem{author, title, editor, booktitle, year/date}
555 \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}
556
557 \typeitem{suppcollection}
558
559 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}.
560
561 \typeitem{dataset}
562
563 A data set or a similar collection of (mostly) raw data.
564
565 \reqitem{author/editor, title, year/date}
566 \optitem{subtitle, titleaddon, language, edition, type, series, number, version, note, organization, publisher, location, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
567
568 \typeitem{manual}
569
570 Technical or other documentation, not necessarily in printed form. The \bibfield{author} or \bibfield{editor} is omissible in terms of \secref{bib:use:key}.
571
572 \reqitem{author/editor, title, year/date}
573 \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}
574
575 \typeitem{misc}
576
577 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}.
578
579 \reqitem{author/editor, title, year/date}
580 \optitem{subtitle, titleaddon, language, howpublished, type, version, note, organization, location, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
581
582 \typeitem{online}
583
584 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.
585
586 \reqitem{author/editor, title, year/date, doi/eprint/url}
587 \optitem{subtitle, titleaddon, language, version, note, organization, month, addendum, pubstate, eprintclass, eprinttype, urldate}
588
589 \typeitem{patent}
590
591 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.
592
593 \reqitem{author, title, number, year/date}
594 \optitem{holder, subtitle, titleaddon, type, version, location, note, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
595
596 \typeitem{periodical}
597
598 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}.
599
600 \reqitem{editor, title, year/date}
601 \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}
602
603 \typeitem{suppperiodical}
604
605 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}.
606
607 \typeitem{proceedings}
608
609 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}.
610
611 \reqitem{title, year/date}
612 \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}
613
614 \typeitem{mvproceedings}
615
616 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}
617
618 \reqitem{title, year/date}
619 \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}
620
621 \typeitem{inproceedings}
622
623 An article in a conference proceedings. This type is similar to \bibtype{incollection}. It supports an optional \bibfield{organization} field.
624
625 \reqitem{author, title, booktitle, year/date}
626 \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}
627
628 \typeitem{reference}
629
630 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}.
631
632 \typeitem{mvreference}
633
634 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}.
635
636 \typeitem{inreference}
637
638 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}.
639
640 \typeitem{report}
641
642 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.
643
644 \reqitem{author, title, type, institution, year/date}
645 \optitem{subtitle, titleaddon, language, number, version, note, location, month, isrn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
646
647 \typeitem{set}
648
649 An entry set. This entry type is special, see \secref{use:use:set} for details.
650
651 \typeitem{software}
652
653 Computer software. The standard styles will treat this entry type as an alias for \bibtype{misc}.
654
655 \typeitem{thesis}
656
657 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.
658
659 \reqitem{author, title, type, institution, year/date}
660 \optitem{subtitle, titleaddon, language, note, location, month, isbn, eid, chapter, pages, pagetotal, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
661
662 \typeitem{unpublished}
663
664 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.
665
666 \reqitem{author, title, year/date}
667 \optitem{subtitle, titleaddon, type, eventtitle, eventtitleaddon, eventdate, venue, language, howpublished, note, location, isbn, month, addendum, pubstate, doi, eprint, eprintclass, eprinttype, url, urldate}
668
669 \typeitem{xdata}
670
671 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.
672
673 \typeitem{custom[a--f]}
674
675 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}.
676
677 \end{typelist}
678
679 \subsubsection{Type Aliases}
680 \label{bib:typ:als}
681
682 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}.
683
684 \begin{typelist}
685
686 \typeitem{conference} A legacy alias for \bibtype{inproceedings}.
687
688 \typeitem{electronic} An alias for \bibtype{online}.
689
690 \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.
691
692 \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.
693
694 \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.
695
696 \typeitem{www}
697
698 An alias for \bibtype{online}, provided for \sty{jurabib} compatibility.
699
700 \end{typelist}
701
702 \subsubsection{Non-standard Types}
703 \label{bib:typ:ctm}
704
705 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.
706
707 \begin{typelist}
708
709 \typeitem{artwork}
710
711 Works of the visual arts such as paintings, sculpture, and installations.
712
713 \typeitem{audio}
714
715 Audio recordings, typically on audio \acr{CD}, \acr{DVD}, audio cassette, or similar media. See also \bibtype{music}.
716
717 \typeitem{bibnote}
718
719 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.
720
721 \typeitem{commentary}
722
723 Commentaries which have a status different from regular books, such as legal commentaries.
724
725 \typeitem{image}
726
727 Images, pictures, photographs, and similar media.
728
729 \typeitem{jurisdiction}
730
731 Court decisions, court recordings, and similar things.
732
733 \typeitem{legislation}
734
735 Laws, bills, legislative proposals, and similar things.
736
737 \typeitem{legal}
738
739 Legal documents such as treaties.
740
741 \typeitem{letter}
742
743 Personal correspondence such as letters, emails, memoranda, etc.
744
745 \typeitem{movie}
746
747 Motion pictures. See also \bibtype{video}.
748
749 \typeitem{music}
750
751 Musical recordings. This is a more specific variant of \bibtype{audio}.
752
753 \typeitem{performance}
754
755 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.
756
757 \typeitem{review}
758
759 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}.
760
761 \typeitem{standard}
762
763 National and international standards issued by a standards body such as the International Organization for Standardization.
764
765 \typeitem{video}
766
767 Audiovisual recordings, typically on \acr{DVD}, \acr{VHS} cassette, or similar media. See also \bibtype{movie}.
768
769 \end{typelist}
770
771 \subsection{Entry Fields}
772 \label{bib:fld}
773
774 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.
775
776 \subsubsection{Data Types}
777 \label{bib:fld:typ}
778
779 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.
780
781 Entry fields of any data type may be multiscript entry fields which means that they can have multiple <alternates> which are combinations of a multiscript <form> and <language>. Multiscript entry fields must be declared to be such in the data model. See \ref{use:multiscript}.
782
783 \begin{description}
784
785 \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}.
786
787 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 are also automatically have a \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:
788
789 \begin{itemize}
790 \item Family name (also known as <last> part)
791 \item Given name (also known as <first> part)
792 \item Name prefix (also known as <von> part)
793 \item Name suffix (also known as <Jr> part)
794 \end{itemize}
795
796 The supported list of name parts is defined as a constant list in the default data model using the \cmd{DeclareDatamodelConstant} command (see \secref{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.
797
798 \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:
799
800 \begin{description}
801
802 \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}.
803
804 \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}.
805
806 \end{description}
807 \end{description}
808
809 \begin{description}
810
811 \item[Fields] are usually printed as a whole. There are several subtypes:
812
813 \begin{description}
814
815 \item[Literal fields] are printed as is. Typical examples of literal fields are \bibfield{title} and \bibfield{note}.
816
817 \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}).
818
819 \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}.
820
821 \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}.
822
823 \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.
824
825 \item[Verbatim fields] are processed in verbatim mode and may contain special characters. Typical examples of verbatim fields are \bibfield{file} and \bibfield{doi}.
826
827 \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}.
828
829 \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.
830
831 \item[Pattern fields] A literal field which must match a particular pattern. An example is the \bibfield{gender} field from \secref{bib:fld:spc}.
832
833 \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.
834
835 \item[Code fields] Holds \tex code.
836
837 \end{description}
838 \end{description}
839
840 \subsubsection{Data Fields}
841 \label{bib:fld:dat}
842
843 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.
844
845 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}.
846
847 \begin{fieldlist}
848
849 \fielditem{abstract}{literal}
850
851 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.
852
853 \fielditem{addendum}{literal}
854
855 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.
856
857 \listitem{afterword}{name}
858
859 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}.
860
861 \fielditem{annotation}{literal}
862
863 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.
864
865 \listitem{annotator}{name}
866
867 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}.
868
869 \listitem{author}{name}
870
871 The author(s) of the \bibfield{title}.
872
873 \fielditem{authortype}{key}
874
875 The type of author. This field will affect the string (if any) used to introduce the author.
876
877 \listitem{bookauthor}{name}
878
879 The author(s) of the \bibfield{booktitle}.
880
881 \fielditem{bookpagination}{key}
882
883 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}.
884
885 \fielditem{booksubtitle}{literal}
886
887 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}.
888
889 \fielditem{booktitle}{literal}
890
891 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}.
892
893 \fielditem{booktitleaddon}{literal}
894
895 An annex to the \bibfield{booktitle}, to be printed in a different font.
896
897 \fielditem{chapter}{literal}
898
899 A chapter or section or any other unit of a work.
900
901 \listitem{commentator}{name}
902
903 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}.
904
905 \fielditem{date}{date}
906
907 The publication date. See also \bibfield{month} and \bibfield{year} as well as \secref{bib:use:dat,bib:use:yearordate}.
908
909 \fielditem{doi}{verbatim}
910
911 The Digital Object Identifier of the work.
912
913 \fielditem{edition}{integer or literal}
914
915 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».
916
917 \listitem{editor}{name}
918
919 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.
920
921 \listitem{editora}{name}
922
923 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.
924
925 \listitem{editorb}{name}
926
927 Another secondary editor performing a different role. Use the \bibfield{editorbtype} field to specify the role. See \secref{bib:use:edr} for further hints.
928
929 \listitem{editorc}{name}
930
931 Another secondary editor performing a different role. Use the \bibfield{editorctype} field to specify the role. See \secref{bib:use:edr} for further hints.
932
933 \fielditem{editortype}{key}
934
935 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.
936
937 \fielditem{editoratype}{key}
938
939 Similar to \bibfield{editortype} but referring to the \bibfield{editora} field. See \secref{bib:use:edr} for further hints.
940
941 \fielditem{editorbtype}{key}
942
943 Similar to \bibfield{editortype} but referring to the \bibfield{editorb} field. See \secref{bib:use:edr} for further hints.
944
945 \fielditem{editorctype}{key}
946
947 Similar to \bibfield{editortype} but referring to the \bibfield{editorc} field. See \secref{bib:use:edr} for further hints.
948
949 \fielditem{eid}{literal}
950
951 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.
952
953 Not to be confused with \bibfield{number}, which for \bibtype{article}s subdivides the \bibfield{volume}.
954
955 \fielditem{entrysubtype}{literal}
956
957 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.
958
959 \fielditem{eprint}{verbatim}
960
961 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}.
962
963 \fielditem{eprintclass}{literal}
964
965 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}.
966
967 \fielditem{eprinttype}{literal}
968
969 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}.
970
971 \fielditem{eventdate}{date}
972
973 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}.
974
975 \fielditem{eventtitle}{literal}
976
977 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}.
978
979 \fielditem{eventtitleaddon}{literal}
980
981 An annex to the \bibfield{eventtitle} field. Can be used for known event acronyms, for example.
982
983 \fielditem{file}{verbatim}
984
985 A local link to a \acr{pdf} or other version of the work. Not used by the standard bibliography styles.
986
987 \listitem{foreword}{name}
988
989 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}.
990
991 \listitem{holder}{name}
992
993 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}.
994
995 \fielditem{howpublished}{literal}
996
997 A publication notice for unusual publications which do not fit into any of the common categories.
998
999 \fielditem{indextitle}{literal}
1000
1001 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. It the \bibfield{title} field is a multiscript field (it is in the default datamodel), then the currently active multiscript form and language (if the entry has a \bibfield{langid} field, this is used to override the currently active multiscript language) are used to determine which alternate to copy to the \bibfield{indextitle} field. If this default behaviour is not what is required, use an explicit \bibfield{indextitle} field in the entry.
1002
1003 \listitem{institution}{literal}
1004
1005 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}.
1006
1007 \listitem{introduction}{name}
1008
1009 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}.
1010
1011 \fielditem{isan}{literal}
1012
1013 The International Standard Audiovisual Number of an audiovisual work. Not used by the standard bibliography styles.
1014
1015 \fielditem{isbn}{literal}
1016
1017 The International Standard Book Number of a book.
1018
1019 \fielditem{ismn}{literal}
1020
1021 The International Standard Music Number for printed music such as musical scores. Not used by the standard bibliography styles.
1022
1023 \fielditem{isrn}{literal}
1024
1025 The International Standard Technical Report Number of a technical report.
1026
1027 \fielditem{issn}{literal}
1028
1029 The International Standard Serial Number of a periodical.
1030
1031 \fielditem{issue}{literal}
1032
1033 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}.
1034
1035 \fielditem{issuesubtitle}{literal}
1036
1037 The subtitle of a specific issue of a journal or other periodical.
1038
1039 \fielditem{issuetitle}{literal}
1040
1041 The title of a specific issue of a journal or other periodical.
1042
1043 \fielditem{issuetitleaddon}{literal}
1044
1045 An annex to the \bibfield{issuetitle}, to be printed in a different font.
1046
1047 \fielditem{iswc}{literal}
1048
1049 The International Standard Work Code of a musical work. Not used by the standard bibliography styles.
1050
1051 \fielditem{journalsubtitle}{literal}
1052
1053 The subtitle of a journal, a newspaper, or some other periodical.
1054
1055 \fielditem{journaltitle}{literal}
1056
1057 The name of a journal, a newspaper, or some other periodical.
1058
1059 \fielditem{journaltitleaddon}{literal}
1060
1061 An annex to the \bibfield{journaltitle}, to be printed in a different font.
1062
1063
1064 \fielditem{label}{literal}
1065
1066 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}.
1067
1068 \listitem{language}{key}
1069
1070 The language(s) of the work. Languages may be specified literally or as localisation keys. If localisation keys are used, the prefix \texttt{lang} is omissible. See also \bibfield{origlanguage} and compare \bibfield{langid} in \secref{bib:fld:spc}.
1071
1072 \fielditem{library}{literal}
1073
1074 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.
1075
1076 \listitem{location}{literal}
1077
1078 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}.
1079
1080 \fielditem{mainsubtitle}{literal}
1081
1082 The subtitle related to the \bibfield{maintitle}. See also \bibfield{subtitle}.
1083
1084 \fielditem{maintitle}{literal}
1085
1086 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.
1087
1088 \fielditem{maintitleaddon}{literal}
1089
1090 An annex to the \bibfield{maintitle}, to be printed in a different font.
1091
1092 \fielditem{month}{literal}
1093
1094 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
1095 explicitly in the data (for plain \bibtex compatibility for example). It is
1096 however better to use the \bibfield{date} field as this supports many more features. See \secref{bib:use:dat,bib:use:yearordate}.
1097
1098 \fielditem{nameaddon}{literal}
1099
1100 An addon to be printed immediately after the author name in the bibliography. Not used by the standard bibliography styles.
1101
1102 \fielditem{note}{literal}
1103
1104 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}.
1105
1106 \fielditem{number}{literal}
1107
1108 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.
1109
1110 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.
1111
1112 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.
1113
1114 \listitem{organization}{literal}
1115
1116 The organization(s) that published a \bibtype{manual} or an \bibtype{online} resource, or sponsored a conference. See also \secref{bib:use:and}.
1117
1118 \fielditem{origdate}{date}
1119
1120 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}.
1121
1122 \listitem{origlanguage}{key}
1123
1124 If the work is a translation, the language(s) of the original work. See also \bibfield{language}.
1125
1126 \listitem{origlocation}{literal}
1127
1128 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}.
1129
1130 \listitem{origpublisher}{literal}
1131
1132 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}.
1133
1134 \fielditem{origtitle}{literal}
1135
1136 If the work is a translation, the \bibfield{title} of the original work. Not used by the standard bibliography styles. See also \bibfield{title}.
1137
1138 \fielditem{pages}{range}
1139
1140 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.
1141
1142 \fielditem{pagetotal}{literal}
1143
1144 The total number of pages of the work.
1145
1146 \fielditem{pagination}{key}
1147
1148 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}.
1149
1150 \fielditem{part}{literal}
1151
1152 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}.
1153
1154 \listitem{publisher}{literal}
1155
1156 The name(s) of the publisher(s). See also \secref{bib:use:and}.
1157
1158 \fielditem{pubstate}{key}
1159
1160 The publication state of the work, \eg\ <in press>. See \secref{aut:lng:key:pst} for known publication states.
1161
1162 \fielditem{reprinttitle}{literal}
1163
1164 The title of a reprint of the work. Not used by the standard styles.
1165
1166 \fielditem{series}{literal}
1167
1168 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.
1169
1170 \listitem{shortauthor}{name\LFMark}
1171
1172 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.
1173
1174 \listitem{shorteditor}{name\LFMark}
1175
1176 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.
1177
1178 \fielditem{shorthand}{literal\LFMark}
1179
1180 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}.
1181
1182 \fielditem{shorthandintro}{literal}
1183
1184 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.
1185
1186 \fielditem{shortjournal}{literal\LFMark}
1187
1188 A short version or an acronym of the \bibfield{journaltitle}. Not used by the standard bibliography styles.
1189
1190 \fielditem{shortseries}{literal\LFMark}
1191
1192 A short version or an acronym of the \bibfield{series} field. Not used by the standard bibliography styles.
1193
1194 \fielditem{shorttitle}{literal\LFMark}
1195
1196 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}.
1197
1198 \fielditem{subtitle}{literal}
1199
1200 The subtitle of the work.
1201
1202 \fielditem{title}{literal}
1203
1204 The title of the work.
1205
1206 \fielditem{titleaddon}{literal}
1207
1208 An annex to the \bibfield{title}, to be printed in a different font.
1209
1210 \listitem{translator}{name}
1211
1212 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.
1213
1214 \fielditem{type}{key}
1215
1216 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}.
1217
1218 \fielditem{url}{uri}
1219
1220 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.
1221
1222 \fielditem{urldate}{date}
1223
1224 The access date of the address specified in the \bibfield{url} field. See also \secref{bib:use:dat}.
1225
1226 \fielditem{venue}{literal}
1227
1228 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}.
1229
1230 \fielditem{version}{literal}
1231
1232 The revision number of a piece of software, a manual, etc.
1233
1234 \fielditem{volume}{integer}
1235
1236 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}.
1237
1238 \fielditem{volumes}{integer}
1239
1240 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}.
1241
1242 \fielditem{year}{literal}
1243
1244 The year of publication. This field is a literal field only when given
1245 explicitly in the data (for plain \bibtex compatibility for example). It is
1246 however better to use the \bibfield{date} field as this is compatible with
1247 plain years too and supports many more features. See \secref{bib:use:dat,bib:use:yearordate}.
1248
1249 \end{fieldlist}
1250
1251 \subsubsection{Special Fields}
1252 \label{bib:fld:spc}
1253
1254 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.
1255
1256 \begin{fieldlist}
1257
1258 \fielditem{crossref}{entry key}
1259
1260 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}.
1261
1262 \fielditem{entryset}{separated values}
1263
1264 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}.
1265
1266 \fielditem{execute}{code}
1267
1268 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.
1269
1270 \fielditem{gender}{Pattern matching one of: \opt{sf}, \opt{sm}, \opt{sn}, \opt{pf}, \opt{pm}, \opt{pn}, \opt{pp}}
1271
1272 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.
1273
1274 \begin{table}
1275 \caption{Supported Languages}
1276 \label{bib:fld:tab1}
1277 \tablesetup
1278 \begin{tabularx}{\textwidth}{@{}p{90pt}@{}p{160pt}@{}X@{}}
1279 \toprule
1280 \multicolumn{1}{@{}H}{Language} &
1281 \multicolumn{1}{@{}H}{Region/Dialect} &
1282 \multicolumn{1}{@{}H}{Identifiers} \\
1283 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule{3-3}
1284 Basque & France, Spain & \opt{basque} \\
1285 Bulgarian & Bulgaria & \opt{bulgarian} \\
1286 Catalan & Spain, France, Andorra, Italy & \opt{catalan} \\
1287 Croatian & Croatia, Bosnia and Herzegovina, Serbia & \opt{croatian} \\
1288 Czech & Czech Republic & \opt{czech} \\
1289 Danish & Denmark & \opt{danish} \\
1290 Dutch & Netherlands & \opt{dutch} \\
1291 English & USA & \opt{american}, \opt{USenglish}, \opt{english} \\
1292 & United Kingdom & \opt{british}, \opt{UKenglish} \\
1293 & Canada & \opt{canadian} \\
1294 & Australia & \opt{australian} \\
1295 & New Zealand & \opt{newzealand} \\
1296 Estonian & Estonia & \opt{estonian} \\
1297 Finnish & Finland & \opt{finnish} \\
1298 French & France, Canada & \opt{french} \\
1299 German & Germany & \opt{german} \\
1300 & Austria & \opt{austrian} \\
1301 & Switzerland & \opt{swissgerman} \\
1302 German (new) & Germany & \opt{ngerman} \\
1303 & Austria & \opt{naustrian} \\
1304 & Switzerland & \opt{nswissgerman} \\
1305 Greek & Greece & \opt{greek} \\
1306 Hungarian & Hungary & \opt{magyar}, \opt{hungarian} \\
1307 Icelandic & Iceland & \opt{icelandic} \\
1308 Italian & Italy & \opt{italian} \\
1309 Latvian & Latvia & \opt{latvian} \\
1310 Lithuanian & Lithuania & \opt{lithuanian} \\
1311 Marathi & India & \opt{marathi} \\
1312 Norwegian (Bokmål) & Norway & \opt{norsk} \\
1313 Norwegian (Nynorsk) & Norway & \opt{nynorsk} \\
1314 Polish & Poland & \opt{polish} \\
1315 Portuguese & Brazil & \opt{brazil} \\
1316 & Portugal & \opt{portuguese}, \opt{portuges} \\
1317 Romanian & Romania & \opt{romanian} \\
1318 Russian & Russia & \opt{russian} \\
1319 Serbian (Latin) & Serbia & \opt{serbian} \\
1320 Serbian (Cyrillic) & Serbia & \opt{serbianc} \\
1321 Slovak & Slovakia & \opt{slovak} \\
1322 Slovene & Slovenia & \opt{slovene}, \opt{slovenian} \\
1323 Spanish & Spain & \opt{spanish} \\
1324 Swedish & Sweden & \opt{swedish} \\
1325 Turkish & Turkey & \opt{turkish} \\
1326 Ukrainian & Ukraine & \opt{ukrainian} \\
1327 \bottomrule
1328 \end{tabularx}
1329 \end{table}
1330
1331 \fielditem{langid}{identifier}
1332
1333 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}.
1334
1335 \fielditem{langidopts}{literal}
1336
1337 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:
1338
1339 \begin{lstlisting}[style=bibtex]{}
1340 langid = {english},
1341 langidopts = {variant=british},
1342 \end{lstlisting}
1343 %
1344 would wrap the bibliography entry in:
1345
1346 \begin{ltxexample}
1347 \english[variant=british]
1348 ...
1349 \endenglish
1350 \end{ltxexample}
1351 %
1352
1353 \fielditem{ids}{separated list of entrykeys}
1354
1355 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}.
1356
1357 \fielditem{indexsorttitle}{literal}
1358
1359 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:
1360
1361 \begin{lstlisting}[style=bibtex]{}
1362 title = {The \LaTeX\ Companion},
1363 indextitle = {\LaTeX\ Companion, The},
1364 indexsorttitle = {LATEX Companion},
1365 \end{lstlisting}
1366 %
1367 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.
1368
1369 \fielditem{keywords}{separated values}
1370
1371 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.
1372
1373 \fielditem{options}{separated \keyval options}
1374
1375 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.
1376
1377 \fielditem{presort}{string}
1378
1379 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}.
1380
1381 \fielditem{related}{separated values}
1382
1383 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.
1384
1385 \fielditem{relatedoptions}{separated values}
1386
1387 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.
1388
1389 \fielditem{relatedtype}{identifier}
1390
1391 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
1392 before the data from the related entry list. It is also used to identify type-specific
1393 formatting directives and bibliography macros for the related entries. Please refer to \secref{use:rel} for further details.
1394
1395 \fielditem{relatedstring}{literal}
1396
1397 A field used to override the bibliography string specified by \bibfield{relatedtype}. Please refer to \secref{use:rel} for further details.
1398
1399 \fielditem{sortkey}{literal}
1400
1401 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}.
1402
1403 \listitem{sortname}{name}
1404
1405 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}.
1406
1407 \fielditem{sortshorthand}{literal}
1408
1409 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}.
1410
1411 \fielditem{sorttitle}{literal}
1412
1413 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}.
1414
1415 \fielditem{sortyear}{integer}
1416
1417 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}.
1418
1419 \fielditem{xdata}{separated list of entrykeys}
1420
1421 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}.
1422
1423 \fielditem{xref}{entry key}
1424
1425 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}.
1426
1427 \end{fieldlist}
1428
1429 \subsubsection{Custom Fields}
1430 \label{bib:fld:ctm}
1431
1432 The fields listed in this section are intended for special bibliography styles. They are not used by the standard bibliography styles.
1433
1434 \begin{fieldlist}
1435
1436 \listitem{name{[a--c]}}{name}
1437
1438 Custom lists for special bibliography styles. Not used by the standard bibliography styles.
1439
1440 \fielditem{name{[a--c]}type}{key}
1441
1442 Similar to \bibfield{authortype} and \bibfield{editortype} but referring to the fields \bibfield{name{[a--c]}}. Not used by the standard bibliography styles.
1443
1444 \listitem{list{[a--f]}}{literal}
1445
1446 Custom lists for special bibliography styles. Not used by the standard bibliography styles.
1447
1448 \fielditem{user{[a--f]}}{literal}
1449
1450 Custom fields for special bibliography styles. Not used by the standard bibliography styles.
1451
1452 \fielditem{verb{[a--c]}}{literal}
1453
1454 Similar to the custom fields above except that these are verbatim fields. Not used by the standard bibliography styles.
1455
1456 \end{fieldlist}
1457
1458 \subsubsection{Field Aliases}
1459 \label{bib:fld:als}
1460
1461 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.
1462
1463 \begin{fieldlist}
1464
1465 \listitem{address}{literal}
1466
1467 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}.
1468
1469 \fielditem{annote}{literal}
1470
1471 An alias for \bibfield{annotation}, provided for \sty{jurabib} compatibility. See \secref{bib:fld:dat}.
1472
1473 \fielditem{archiveprefix}{literal}
1474
1475 An alias for \bibfield{eprinttype}, provided for arXiv compatibility. See \secref{bib:fld:dat,use:use:epr}.
1476
1477 \fielditem{journal}{literal}
1478
1479 An alias for \bibfield{journaltitle}, provided for \bibtex compatibility. See \secref{bib:fld:dat}.
1480
1481 \fielditem{key}{literal}
1482
1483 An alias for \bibfield{sortkey}, provided for \bibtex compatibility. See \secref{bib:fld:spc}.
1484
1485 \fielditem{pdf}{verbatim}
1486
1487 An alias for \bibfield{file}, provided for JabRef compatibility. See \secref{bib:fld:dat}.
1488
1489 \fielditem{primaryclass}{literal}
1490
1491 An alias for \bibfield{eprintclass}, provided for arXiv compatibility. See \secref{bib:fld:dat,use:use:epr}.
1492
1493 \listitem{school}{literal}
1494
1495 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}.
1496
1497 \end{fieldlist}
1498
1499 \subsection{Usage Notes}
1500 \label{bib:use}
1501
1502 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.
1503 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:
1504
1505 \begin{itemize}
1506 \setlength{\itemsep}{0pt}
1507 \item The entry type \bibtype{inbook}. See \secref{bib:typ:blx, bib:use:inb} for details.
1508 \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.
1509 \item The handling of certain types of titles. See \secref{bib:use:ttl} for details.
1510 \item The field \bibfield{series}. See \secref{bib:fld:dat, bib:use:ser} for details.
1511 \item The fields \bibfield{year} and \bibfield{month}. See \secref{bib:fld:dat, bib:use:dat, bib:use:yearordate, bib:use:iss} for details.
1512 \item The field \bibfield{edition}. See \secref{bib:fld:dat} for details.
1513 \item The field \bibfield{key}. See \secref{bib:use:key} for details.
1514 \end{itemize}
1515
1516 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.
1517
1518 \subsubsection{The Entry Type \bibtype{inbook}}
1519 \label{bib:use:inb}
1520
1521 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.
1522
1523 \subsubsection{Missing and Omissible Data}
1524 \label{bib:use:key}
1525
1526 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.
1527
1528 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.
1529
1530 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.
1531
1532 \subsubsection{Corporate Authors and Editors}
1533 \label{bib:use:inc}
1534
1535 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.
1536
1537 \begin{lstlisting}[style=bibtex]{}
1538 author = {<<{National Aeronautics and Space Administration}>>},
1539 shortauthor = {NASA},
1540 \end{lstlisting}
1541 %
1542 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.
1543
1544 \begin{lstlisting}[style=bibtex]{}
1545 editor = {<<{National Aeronautics and Space Administration}>>
1546 and Doe, John},
1547 shorteditor = {NASA and Doe, John},
1548 \end{lstlisting}
1549 %
1550 Users switching from the \sty{jurabib} package to \biblatex should note that the \bibfield{shortauthor} field is treated as a name list.
1551
1552 \subsubsection{Literal Lists}
1553 \label{bib:use:and}
1554
1555 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.
1556
1557 \begin{lstlisting}[style=bibtex]{}
1558 publisher = {William Reid <<{and}>> Company},
1559 institution = {Office of Information Management <<{and}>> Communications},
1560 organization = {American Society for Photogrammetry <<{and}>> Remote Sensing
1561 and
1562 American Congress on Surveying <<{and}>> Mapping},
1563 \end{lstlisting}
1564 %
1565 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:
1566
1567 \begin{lstlisting}[style=bibtex]{}
1568 publisher = {<<{William Reid and Company}>>},
1569 institution = {<<{Office of Information Management and Communications}>>},
1570 organization = {<<{American Society for Photogrammetry and Remote Sensing}>>
1571 and
1572 <<{American Congress on Surveying and Mapping}>>},
1573 \end{lstlisting}
1574 %
1575 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.
1576
1577 \subsubsection{Titles}
1578 \label{bib:use:ttl}
1579
1580 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:
1581
1582 \begin{lstlisting}[style=bibtex]{}
1583 @MvBook{works,
1584 author = {Shakespeare, William},
1585 title = {Collected Works},
1586 volumes = {5},
1587 ...
1588 \end{lstlisting}
1589 %
1590 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:
1591
1592 \begin{lstlisting}[style=bibtex]{}
1593 @Book{works:4,
1594 author = {Shakespeare, William},
1595 maintitle = {Collected Works},
1596 title = {Sonnets},
1597 volume = {4},
1598 ...
1599 \end{lstlisting}
1600 %
1601 If the individual volumes do not have a title, we put the main title in the \bibfield{title} field and include a volume number:
1602
1603 \begin{lstlisting}[style=bibtex]{}
1604 @Book{works:4,
1605 author = {Shakespeare, William},
1606 title = {Collected Works},
1607 volume = {4},
1608 ...
1609 \end{lstlisting}
1610 %
1611 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:
1612
1613 \begin{lstlisting}[style=bibtex]{}
1614 @InBook{lear,
1615 author = {Shakespeare, William},
1616 bookauthor = {Shakespeare, William},
1617 maintitle = {Collected Works},
1618 booktitle = {Tragedies},
1619 title = {King Lear},
1620 volume = {1},
1621 pages = {53-159},
1622 ...
1623 \end{lstlisting}
1624 %
1625 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:
1626
1627 \begin{lstlisting}[style=bibtex]{}
1628 @InBook{stage,
1629 author = {Expert, Edward},
1630 title = {Shakespeare and the Elizabethan Stage},
1631 bookauthor = {Shakespeare, William},
1632 editor = {Bookmaker, Bernard},
1633 maintitle = {Collected Works},
1634 booktitle = {Tragedies},
1635 volume = {1},
1636 pages = {7-49},
1637 ...
1638 \end{lstlisting}
1639 %
1640 See \secref{bib:use:ser} for further examples.
1641
1642 \subsubsection{Editorial Roles}
1643 \label{bib:use:edr}
1644
1645 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.
1646
1647 \begin{marglist}
1648 \setlength{\itemsep}{0pt}
1649 \item[editor] The main editor. This is the most generic editorial role and the default value.
1650 \item[compiler] Similar to \texttt{editor} but used if the task of the editor is mainly compiling.
1651 \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.
1652 \item[continuator] An editor who continued the work of the founding editor (\texttt{founder}) but was subsequently replaced by the current editor (\texttt{editor}).
1653 \item[redactor] A secondary editor whose task is redacting the work.
1654 \item[reviser] A secondary editor whose task is revising the work.
1655 \item[collaborator] A secondary editor or a consultant to the editor.
1656 \item[organizer] Similar to \texttt{editor} but used if the task of the editor is mainly organizing.
1657 \end{marglist}
1658 %
1659 For example, if the task of the editor is compiling, you may indicate that in the corresponding \bibfield{editortype} field:
1660
1661 \begin{lstlisting}[style=bibtex]{}
1662 @Collection{...,
1663 editor = {Editor, Edward},
1664 editortype = {compiler},
1665 ...
1666 \end{lstlisting}
1667 %
1668 There may also be secondary editors in addition to the main editor:
1669
1670 \begin{lstlisting}[style=bibtex]{}
1671 @Book{...,
1672 author = {...},
1673 editor = {Editor, Edward},
1674 editora = {Redactor, Randolph},
1675 editoratype = {redactor},
1676 editorb = {Consultant, Conrad},
1677 editorbtype = {collaborator},
1678 ...
1679 \end{lstlisting}
1680 %
1681 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:
1682
1683 \begin{lstlisting}[style=bibtex]{}
1684 @Book{...,
1685 author = {...},
1686 editor = {Editor, Edward},
1687 editora = {Founder, Frederic},
1688 editoratype = {founder},
1689 ...
1690 \end{lstlisting}
1691 %
1692 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:
1693
1694 \begin{lstlisting}[style=bibtex]{}
1695 @Collection{...,
1696 editor = {Founder, Frederic},
1697 editortype = {founder},
1698 editora = {Editor, Edward},
1699 ...
1700 \end{lstlisting}
1701 %
1702 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.
1703
1704 \subsubsection{Publication and Journal Series}
1705 \label{bib:use:ser}
1706
1707 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:
1708
1709 \begin{lstlisting}[style=bibtex]{}
1710 @Book{...,
1711 author = {Expert, Edward},
1712 title = {Shakespeare and the Elizabethan Age},
1713 series = {Studies in English Literature and Drama},
1714 number = {57},
1715 ...
1716 \end{lstlisting}
1717 %
1718 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:
1719
1720 \begin{lstlisting}[style=bibtex]{}
1721 @Article{...,
1722 journal = {Journal Name},
1723 series = {3},
1724 volume = {15},
1725 number = {7},
1726 year = {1995},
1727 ...
1728 \end{lstlisting}
1729 %
1730 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}:
1731
1732 \begin{lstlisting}[style=bibtex]{}
1733 @Article{...,
1734 journal = {Journal Name},
1735 series = {newseries},
1736 volume = {9},
1737 year = {1998},
1738 ...
1739 \end{lstlisting}
1740 %
1741 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.
1742
1743 \subsubsection{Date and Time Specifications}
1744 \label{bib:use:dat}
1745
1746 \begin{table}
1747 \caption{Date Specifications}
1748 \label{bib:use:tab1}
1749 \tablesetup
1750 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1751 \toprule
1752 \multicolumn{1}{@{}H}{Date Specification} &
1753 \multicolumn{2}{H}{Formatted Date (Examples)} \\
1754 \cmidrule(l){2-3}
1755 &
1756 \multicolumn{1}{H}{Short/12-hour Format} &
1757 \multicolumn{1}{H}{Long/24-hour Format} \\
1758 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1759 1850 & 1850 & 1850 \\
1760 1997/ & 1997-- & 1997-- \\
1761 /1997 & --1997 & --1997 \\
1762 1997/.. & 1997-- & 1997-- \\
1763 ../1997 & --1997 & --1997 \\
1764 1967-02 & 02/1967 & February 1967 \\
1765 2009-01-31 & 31/01/2009 & 31st January 2009 \\
1766 1988/1992 & 1988--1992 & 1988--1992 \\
1767 2002-01/2002-02 & 01/2002--02/2002 & January 2002--February 2002 \\
1768 1995-03-30/1995-04-05 & 30/03/1995--05/04/1995 & 30th March 1995--5th April 1995 \\
1769 2004-04-05T14:34:00 & 05/04/2004 2:34 PM & 5th April 2004 14:34:00\\
1770 \bottomrule
1771 \end{tabularx}
1772 \end{table}
1773
1774 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.
1775
1776 \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}.
1777
1778 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.
1779
1780 \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}).
1781
1782 \begin{table}
1783 \caption{ISO8601-2 4.3 Unspecified Date Parsing}
1784 \label{bib:use:tab3}
1785 \tablesetup
1786 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1787 \toprule
1788 \multicolumn{1}{@{}H}{Date Specification} &
1789 \multicolumn{1}{H}{Expanded Range} &
1790 \multicolumn{1}{H}{Meta-information} \\
1791 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1792 199X & 1990/1999 & yearindecade \\
1793 19XX & 1900/1999 & yearincentury \\
1794 1999-XX & 1999-01/1999-12 & monthinyear \\
1795 1999-01-XX & 1999-01-01/1999-01-31 & dayinmonth \\
1796 1999-XX-XX & 1999-01-01/1999-12-31 & dayinyear \\
1797 \bottomrule
1798 \end{tabularx}
1799 \end{table}
1800
1801 \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.
1802
1803 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.
1804
1805 \begin{table}
1806 \caption{Enhanced Date Specifications}
1807 \label{bib:use:tab2}
1808 \tablesetup
1809 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}llX@{}}
1810 \toprule
1811 \multicolumn{1}{@{}H}{Date Specification} &
1812 \multicolumn{2}{H}{Formatted Date (Examples)} \\
1813 \cmidrule(l){2-3}
1814 &
1815 \multicolumn{1}{H}{Output Format} &
1816 \multicolumn{1}{H}{Output Format Notes} \\
1817 \cmidrule{1-1}\cmidrule(l){2-2}\cmidrule(l){3-3}
1818 0000 & 1 BC & \kvopt{dateera}{christian} prints \opt{beforechrist} localisation\\
1819 -0876 & 877 BCE & \kvopt{dateera}{secular} prints \opt{beforecommonera} localisation string\\
1820 -0877/-0866 & 878 BC--867 BC & using \cmd{ifdateera} test and \opt{beforechrist} localisation string\\
1821 0768 & 0768 CE & using \opt{dateeraauto} set to <1000> and \opt{commonera} localisation string\\
1822 -0343-02 & 344-02 BCE & \\
1823 0343-02-03 & 343-02-03 CE & with \opt{dateeraauto=400} \\
1824 0343-02-03 & 343-02-02 CE & with \opt{dateeraauto=400} and \opt{julian} \\
1825 1723\textasciitilde & circa 1723 & using \cmd{ifdatecirca} test\\
1826 1723? & 1723? & using \cmd{ifdateuncertain} test\\
1827 1723\% & circa 1723? & using \cmd{ifdateuncertain} and \cmd{ifdatecirca} tests\\
1828 2004-22 & 2004 & also, \bibfield{yeardivision} is set to the localisation string <summer>\\
1829 2004-24 & 2004 & also, \bibfield{yeardivision} is set to the localisation string <winter>\\
1830 \bottomrule
1831 \end{tabularx}
1832 \end{table}
1833
1834 \subsubsection{Year, Month and Date}
1835 \label{bib:use:yearordate}
1836
1837 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.
1838
1839 \subsubsection{Months and Journal Issues}
1840 \label{bib:use:iss}
1841
1842 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.
1843
1844 \subsubsection{Journal Numbers and Issues}
1845 \label{bib:use:issnum}
1846
1847 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.
1848
1849 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.
1850
1851 \subsubsection{Pagination}
1852 \label{bib:use:pag}
1853
1854 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:
1855
1856 \begin{lstlisting}[style=bibtex]{}
1857 @InBook{key,
1858 title = {...},
1859 pagination = {verse},
1860 booktitle = {...},
1861 bookpagination = {page},
1862 pages = {53--65},
1863 ...
1864 \end{lstlisting}
1865 %
1866 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.
1867
1868 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.
1869
1870 \subsection{Hints and Caveats}
1871 \label{bib:cav}
1872
1873 This section provides some additional hints concerning the data interface of this package. It also addresses some common problems.
1874
1875 \subsubsection{Cross-referencing}
1876 \label{bib:cav:ref}
1877
1878 \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:
1879
1880 \begin{lstlisting}[style=bibtex]{}
1881 @Book{book,
1882 author = {Author},
1883 title = {Booktitle},
1884 subtitle = {Booksubtitle},
1885 publisher = {Publisher},
1886 location = {Location},
1887 date = {1995},
1888 }
1889 @InBook{inbook,
1890 crossref = {book},
1891 title = {Title},
1892 pages = {5--25},
1893 }
1894 \end{lstlisting}
1895 %
1896 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:
1897
1898 \begin{lstlisting}[style=bibtex]{}
1899 author = {Author},
1900 bookauthor = {Author},
1901 title = {Title},
1902 booktitle = {Booktitle},
1903 booksubtitle = {Booksubtitle},
1904 publisher = {Publisher},
1905 location = {Location},
1906 date = {1995},
1907 pages = {5--25},
1908 \end{lstlisting}
1909 %
1910 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}.
1911
1912 \paragraph{The \bibfield{xref} field}
1913 \label{bib:cav:ref:ref}
1914
1915 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}.
1916
1917 \subsubsection{Sorting and Encoding Issues}
1918 \label{bib:cav:enc}
1919
1920 \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/}
1921
1922 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:
1923
1924 \begin{ltxexample}
1925 \usepackage[sortlocale=de]{biblatex}
1926 \end{ltxexample}
1927 %
1928 or if you are using German as the main document language via \sty{babel} or \sty{polyglossia}:
1929
1930 \begin{ltxexample}
1931 \usepackage[sortlocale=auto]{biblatex}
1932 \end{ltxexample}
1933 %
1934 This will make \biblatex pass the \sty{babel}/\sty{polyglossia} main document language
1935 as the locale which \biber will map into a suitable default locale. \biber
1936 will not try to get locale information from its environment as this makes
1937 document processing dependent on something not in the document which is
1938 against \tex's spirit of reproducibility. This also makes sense since
1939 \sty{babel}/\sty{polyglossia} are in fact the relevant environment for a document. Note
1940 that this will also work with 8-bit encodings such as Latin\,9, \ie you can
1941 take advantage of Unicode-based sorting even though you are not using \utf
1942 input. See \secref{bib:cav:enc:enc} on how to specify input and data
1943 encodings properly.
1944
1945 \paragraph{Specifying Encodings}
1946 \label{bib:cav:enc:enc}
1947 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:
1948
1949 \begin{itemize}
1950 \setlength{\itemsep}{0pt}
1951
1952 \item \acr{US-ASCII} notation in both the \file{tex} and the \file{bib} file with \pdftex or traditional \tex:
1953
1954 \begin{ltxexample}
1955 \usepackage{biblatex}
1956 \end{ltxexample}
1957
1958 \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 :
1959
1960 \begin{ltxexample}
1961 \usepackage[latin1]{inputenc}
1962 \usepackage[bibencoding=ascii]{biblatex}
1963 \end{ltxexample}
1964
1965 \item Latin\,9 encoding (\acr{ISO}-8859-15) in both the \file{tex} and the \file{bib} file with \pdftex or traditional:
1966
1967 \begin{ltxexample}
1968 \usepackage[latin9]{inputenc}
1969 \usepackage[bibencoding=auto]{biblatex}
1970 \end{ltxexample}
1971 %
1972 Since \kvopt{bibencoding}{auto} is the default setting, the option is omissible. The following setup will have the same effect:
1973
1974 \begin{ltxexample}
1975 \usepackage[latin9]{inputenc}
1976 \usepackage{biblatex}
1977 \end{ltxexample}
1978
1979 \item \utf encoding in the \file{tex} file, Latin\,1 (\acr{ISO}-8859-1) in the \file{bib} file with \pdftex or traditional \tex:
1980
1981 \begin{ltxexample}
1982 \usepackage[utf8]{inputenc}
1983 \usepackage[bibencoding=latin1]{biblatex}
1984 \end{ltxexample}
1985
1986 The same scenario with \latex release 2018-04-01 or above, \xetex or \luatex in native \utf mode:
1987
1988 \begin{ltxexample}
1989 \usepackage[bibencoding=latin1]{biblatex}
1990 \end{ltxexample}
1991
1992 \end{itemize}
1993
1994 \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:
1995
1996 \begin{itemize}
1997
1998 \item Transparent \utf workflow, \ie \utf encoding in both the \file{tex} and the \file{bib} file with \pdftex or traditional \tex:
1999
2000 \begin{ltxexample}
2001 \usepackage[utf8]{inputenc}
2002 \usepackage[bibencoding=auto]{biblatex}
2003 \end{ltxexample}
2004 %
2005 Since \kvopt{bibencoding}{auto} is the default setting, the option is omissible:
2006
2007 \begin{ltxexample}
2008 \usepackage[utf8]{inputenc}
2009 \usepackage{biblatex}
2010 \end{ltxexample}
2011
2012 The same scenario with \xetex or \luatex in native \utf mode:
2013
2014 \begin{ltxexample}
2015 \usepackage{biblatex}
2016 \end{ltxexample}
2017
2018 \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:
2019
2020 \begin{ltxexample}
2021 \usepackage[latin1]{inputenc}
2022 \usepackage[bibencoding=utf8]{biblatex}
2023 \end{ltxexample}
2024
2025 \end{itemize}
2026
2027 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}.
2028
2029 \begin{itemize}
2030
2031 \item If you are affected by this problem, try setting the \opt{safeinputenc} option:
2032
2033 \begin{ltxexample}
2034 \usepackage[utf8]{inputenc}
2035 \usepackage[safeinputenc]{biblatex}
2036 \end{ltxexample}
2037 %
2038 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}.
2039
2040 \end{itemize}
2041
2042 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.
2043
2044 Typical errors when \sty{inputenc} cannot handle a certain UTF-8 character are:
2045
2046 \begin{verbatim}
2047 ! Package inputenc Error: Unicode char <char> (U+<codepoint>)
2048 (inputenc) not set up for use with LaTeX.
2049 \end{verbatim}
2050 %
2051 but also less obvious things like:
2052
2053 \begin{verbatim}
2054 ! Argument of \UTFviii@three@octets has an extra }.
2055 \end{verbatim}
2056
2057 \section{User Guide}
2058 \label{use}
2059
2060 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.
2061
2062 \subsection{Package Options}
2063 \label{use:opt}
2064
2065 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}.
2066
2067 \subsubsection{Load-time Options}
2068 \label{use:opt:ldt}
2069
2070 The following options must be used as \biblatex is loaded, \ie in the optional argument to \cmd{usepackage}.
2071
2072 \begin{optionlist}
2073
2074 \optitem[biber]{backend}{\opt{bibtex}, \opt{bibtex8}, \opt{biber}}
2075
2076 Specifies the database backend. The following backends are supported:
2077
2078 \begin{valuelist}
2079
2080 \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.
2081
2082 \item[bibtex] Legacy \bibtex. Traditional \bibtex supports \acr{US-ASCII} encoding only. Sorting is always case"=insensitive.
2083
2084 \item[bibtex8] \bin{bibtex8}, the 8-bit implementation of \bibtex, supports \acr{US-ASCII} and 8-bit encodings such as Latin~1.
2085
2086
2087 \end{valuelist}
2088
2089 See \secref{use:bibtex} for details of using \bibtex as a backend.
2090
2091 \valitem[numeric]{style}{file}
2092
2093 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.
2094
2095 \valitem[numeric]{bibstyle}{file}
2096
2097 Loads the bibliography style \prm{file}\path{.bbx}. See \secref{use:xbx:bbx} for an overview of the standard bibliography styles.
2098
2099 \valitem[numeric]{citestyle}{file}
2100
2101 Loads the citation style \prm{file}\path{.cbx}. See \secref{use:xbx:cbx} for an overview of the standard citation styles.
2102
2103 \boolitem[false]{natbib}
2104
2105 Loads compatibility module which provides aliases for the citation commands of the \sty{natbib} package. See \secref{use:cit:nat} for details.
2106
2107 \boolitem[false]{mcite}
2108
2109 Loads a citation module which provides \sty{mcite}\slash\sty{mciteplus}-like citation commands. See \secref{use:cit:mct} for details.
2110
2111 \optitem[auto]{casechanger}{\opt{auto}, \opt{latex2e}, \opt{expl3}}
2112
2113 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).
2114
2115 \end{optionlist}
2116
2117 \subsubsection{Preamble Options}
2118 \label{use:opt:pre}
2119
2120 \paragraph{General}
2121 \label{use:opt:pre:gen}
2122
2123 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.
2124
2125 \begin{optionlist}
2126
2127 \valitem[default]{msform}{form}
2128
2129 The default multiscript field alternate <form>. Must be one of the forms declared in <multiscriptforms> constant. This controls the default <form> selected by \biber and also the default <form> selected by citations. Can be overridden on a per-refcontext basis. See \ref{use:multiscript}.
2130
2131 \valitem[en]{mslang}{bcp47tag}
2132
2133 The default multiscript field alternate <language> as a BCP47 tag. This controls the default <language> selected by \biber and also the default <language> selected by citations. Can be overridden on a per-refcontext basis. See \ref{use:multiscript}. If \sty{babel} or \sty{polyglossia} are used, this is determined from the main language selected at the beginning of the document. If neither \sty{babel} or \sty{polyglossia} is loaded, the default is as show above.
2134
2135 \boolitem[false]{dynamiclabel}
2136
2137 Normally the multiscript entryfield alternates pointed to by \bibfield{labelname} and \bibfield{labeltitle} are determined for the document via the \cmd{DeclareLabelname} and \cmd{DeclareLabeltitle} commands and this determination is static. If this option is <true>, then the multiscript alternate entryfield pointed by \bibfield{labelname} and \bibfield{labeltitle} are determined dynamically by the setting of the \opt{msform} and \opt{mslang} options at the point where the \bibfield{labelname} or \bibfield{labeltitle} are printed. See \secref{use:multiscript}.
2138
2139 \optitem[nty]{sorting}{\opt{nty}, \opt{nyt}, \opt{nyvt}, \opt{anyt}, \opt{anyvt}, \opt{ynt}, \opt{ydnt}, \opt{count}, \opt{none}, \opt{debug}, \prm{name}}
2140
2141 The sorting order of the bibliography. Unless stated otherwise, the entries are sorted in ascending order. The following choices are available by default:
2142
2143 \begin{valuelist}
2144 \item[nty] Sort by name, title, year.
2145 \item[nyt] Sort by name, year, title.
2146 \item[nyvt] Sort by name, year, volume, title.
2147 \item[anyt] Sort by alphabetic label, name, year, title.
2148 \item[anyvt] Sort by alphabetic label, name, year, volume, title.
2149 \item[ynt] Sort by year, name, title.
2150 \item[ydnt] Sort by year (descending), name, title.
2151 \item[none] Do not sort at all. All entries are processed in citation order.
2152 \item[count] Sort in descending order of number of times cited
2153 \item[debug] Sort by entry key. This is intended for debugging only.
2154 \item[\prm{name}] Use \prm{name}, as defined with \cmd{DeclareSortingTemplate} (\secref{aut:ctm:srt})
2155 \end{valuelist}
2156
2157 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.
2158
2159 \boolitem[true]{sortcase}
2160
2161 Whether or not to sort the bibliography and the list of shorthands case"=sensitively.
2162
2163 \boolitem[true]{sortupper}
2164
2165 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.
2166
2167 \optitem[auto]{sortlocale}{\opt{auto}, \prm{locale}}
2168
2169 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.
2170
2171 \boolitem[false]{sortcites}
2172
2173 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.
2174
2175 \boolitem[false]{sortsets}
2176
2177 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.
2178
2179 \boolitem[false]{pluralothers}
2180
2181 Controls whether the localised <and others> string (e.g. <et al>) is forced
2182 to be plural. If true, it will only be printed in place of two or more
2183 names and if there is only one name it would replace, the name itself is
2184 printed instead. Defaults to false.
2185
2186 \intitem[3]{maxnames}
2187
2188 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}.
2189
2190 \intitem[1]{minnames}
2191
2192 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}.
2193
2194 \intitem[\prm{maxnames}]{maxbibnames}
2195
2196 Similar to \opt{maxnames} but affects only the bibliography.
2197
2198 \intitem[\prm{minnames}]{minbibnames}
2199
2200 Similar to \opt{minnames} but affects only the bibliography.
2201
2202 \intitem[\prm{maxnames}]{maxcitenames}
2203
2204 Similar to \opt{maxnames} but affects only the citations in the document body.
2205
2206
2207 \intitem[\prm{minnames}]{mincitenames}
2208
2209 Similar to \opt{minnames} but affects only the citations in the document body.
2210
2211 \intitem[\prm{maxbibnames}]{maxsortnames}
2212
2213 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.
2214
2215 \intitem[\prm{minbibnames}]{minsortnames}
2216
2217 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.
2218
2219 \intitem[3]{maxitems}
2220
2221 Similar to \opt{maxnames}, but affecting all literal lists (\bibfield{publisher}, \bibfield{location}, etc.).
2222
2223 \intitem[1]{minitems}
2224
2225 Similar to \opt{minnames}, but affecting all literal lists (\bibfield{publisher}, \bibfield{location}, etc.).
2226
2227 \optitem{autocite}{\opt{plain}, \opt{inline}, \opt{footnote}, \opt{superscript}, \opt{...}}
2228
2229 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}.
2230
2231 \boolitem[true]{autopunct}
2232
2233 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.
2234
2235 \optitem[autobib]{language}{\opt{autobib}, \opt{autocite}, \opt{auto}, \prm{language}}
2236
2237 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.
2238
2239 \boolitem[true]{clearlang}
2240
2241 If this option is enabled, \biblatex will automatically clear the \bibfield{language} field of all entries whose language 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}.
2242 This option is also settable on a per-type and per-entry basis.
2243
2244 \optitem[none]{autolang}{\opt{none}, \opt{hyphen}, \opt{other}, \opt{other*}, \opt{langname}}
2245
2246 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:
2247
2248 \begin{valuelist}
2249
2250 \item[none]
2251 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.
2252
2253 \item[hyphen]
2254 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.
2255
2256 \item[other]
2257 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.
2258
2259 \item[other*]
2260 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}.
2261
2262 \item[langname]
2263 \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.
2264
2265 \end{valuelist}
2266
2267 \optitem[captions]{langhook}{\opt{captions}, \opt{extras}}
2268
2269 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.
2270
2271 \optitem[none]{autofieldlang}{\opt{none}, \opt{hyphen}, \opt{other}, \opt{other*}, \opt{langname}}
2272
2273 As \opt{autolang} but controls the language environment at the level of individual multiscript fields or list items in a multiscript field. This environment overrides \opt{autolang} at a more granular level.
2274
2275 \boolitem[false]{autofieldlangstrings}
2276
2277 Whether to also switch \biblatex languages strings when \opt{autofieldlang} is set to <none> or <hyphen> (with \opt{autolang}, this only happens with <other> or <other*>). This allows more fine-grained control over language switching at the entryfield and entryfield item level.
2278
2279 \optitem[none]{block}{\opt{none}, \opt{space}, \opt{par}, \opt{nbpar}, \opt{ragged}}
2280
2281 This option controls the extra spacing between blocks, \ie larger segments of a bibliography entry. The possible choices are:
2282
2283 \begin{valuelist}
2284
2285 \item[none] Do not add anything at all.
2286
2287 \item[space] Insert additional horizontal space between blocks. This is similar to the default behavior of the standard \latex document classes.
2288
2289 \item[par] Start a new paragraph for every block. This is similar to the \opt{openbib} option of the standard \latex document classes.
2290
2291 \item[nbpar] Similar to the \opt{par} option, but disallows page breaks at block boundaries and within an entry.
2292
2293 \item[ragged] Inserts a small negative penalty to encourage line breaks at block boundaries and sets the bibliography ragged right.
2294
2295 \end{valuelist}
2296
2297 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.
2298
2299 \boolitem[false]{locallabelwidth}
2300
2301 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.
2302
2303 \optitem[foot+end]{notetype}{\opt{foot+end}, \opt{footonly}, \opt{endonly}}
2304
2305 This option controls the behavior of \cmd{mkbibfootnote}, \cmd{mkbibendnote}, and similar wrappers from \secref{aut:fmt:ich}. The possible choices are:
2306
2307 \begin{valuelist}
2308 \item[foot+end] Support both footnotes and endnotes, \ie \cmd{mkbibfootnote} will generate footnotes and \cmd{mkbibendnote} will generate endnotes.
2309 \item[footonly] Force footnotes, \ie make \cmd{mkbibendnote} generate footnotes.
2310 \item[endonly] Force endnotes, \ie make \cmd{mkbibfootnote} generate endnotes.
2311 \end{valuelist}
2312
2313 \optitem[auto]{hyperref}{\opt{true}, \opt{false}, \opt{auto}, \opt{manual}}
2314
2315 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.
2316
2317 \boolitem[false]{backref}
2318
2319 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.
2320
2321 \optitem[three]{backrefstyle}{\opt{none}, \opt{three}, \opt{two}, \opt{two+}, \opt{three+}, \opt{all+}}
2322
2323 This option controls how sequences of consecutive pages in the list of back references are formatted. The following styles are available:
2324
2325 \begin{valuelist}
2326
2327 \item[none] Disable this feature, \ie do not compress the page list.
2328
2329 \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>.
2330
2331 \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>.
2332
2333 \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>.
2334
2335 \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>.
2336
2337 \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.>.
2338
2339 \end{valuelist}
2340
2341 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>.
2342
2343 \optitem[setonly]{backrefsetstyle}{\opt{setonly}, \opt{memonly}, \opt{setormem}, \opt{setandmem}, \opt{memandset}, \opt{setplusmem}}
2344
2345 This option controls how back references to \bibtype{set} entries and their members are handled. The following options are available:
2346
2347 \begin{valuelist}
2348
2349 \item[setonly] All back references are added to the \bibtype{set} entry. The \bibfield{pageref} lists of set members remain blank.
2350
2351 \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.
2352
2353 \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.
2354
2355 \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.
2356
2357 \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.
2358
2359 \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.
2360
2361 \end{valuelist}
2362
2363 \boolitem[true]{backreffloats}
2364
2365 Whether to enable back references to citations in floats.
2366
2367
2368 \optitem[false]{indexing}{\opt{true}, \opt{false}, \opt{cite}, \opt{bib}}
2369
2370 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:
2371
2372 \begin{valuelist}
2373 \item[true] Enable indexing globally.
2374 \item[false] Disable indexing globally.
2375 \item[cite] Enable indexing in citations only.
2376 \item[bib] Enable indexing in the bibliography only.
2377 \end{valuelist}
2378
2379 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.
2380
2381 \boolitem[false]{loadfiles}
2382
2383 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.
2384
2385 \optitem[none]{refsection}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2386
2387 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:
2388
2389 \begin{valuelist}
2390 \item[none] Disable this feature.
2391 \item[part] Start a reference section at every \cmd{part} command.
2392 \item[chapter] Start a reference section at every \cmd{chapter} command.
2393 \item[chapter+] Start a reference section at every \cmd{chapter} and every higher level of sectioning, i.e. \cmd{part}.
2394 \item[section] Start a reference section at every \cmd{section} command.
2395 \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).
2396 \item[subsection] Start a reference section at every \cmd{subsection} command.
2397 \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}.
2398 \end{valuelist}
2399 %
2400 The starred versions of these commands will not start a new reference section.
2401
2402 \optitem[none]{refsegment}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2403
2404 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.
2405
2406 \optitem[none]{citereset}{\opt{none}, \opt{part}, \opt{chapter}, \opt{chapter+}, \opt{section}, \opt{section+}, \opt{subsection}, \opt{subsection+}}
2407
2408 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:
2409
2410 \begin{valuelist}
2411 \item[none] Disable this feature.
2412 \item[part] Perform a reset at every \cmd{part} command.
2413 \item[chapter] Perform a reset at every \cmd{chapter} command.
2414 \item[chapter+] Perform a reset at every \cmd{chapter} and \cmd{part} command.
2415 \item[section] Perform a reset at every \cmd{section} command.
2416 \item[section+] Perform a reset at every \cmd{section}, \prm{chapter} (if supported by the class) and \cmd{part} command.
2417 \item[subsection] Perform a reset at every \cmd{subsection} command.
2418 \item[subsection+] Perform a reset at every \cmd{subsection}, \cmd{section}, \prm{chapter} (if supported by the class) and \cmd{part} command.
2419 \end{valuelist}
2420
2421 \boolitem[true]{abbreviate}
2422
2423 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.
2424 This option is also settable on a per-type or per-entry basis.
2425
2426 \optitem[comp]{date}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2427
2428 This option controls the basic format of printed date specifications. The following choices are available:
2429
2430 \begin{valuelist}
2431 \item[year] Use only years, for example:\par
2432 2010\par
2433 2010--2012\par
2434 \item[short] Use the short format with verbose ranges, for example:\par
2435 01/01/2010\par
2436 21/01/2010--30/01/2010\par
2437 01/21/2010--01/30/2010
2438 \item[long] Use the long format with verbose ranges, for example:\par
2439 1st January 2010\par
2440 21st January 2010--30th January 2010\par
2441 January 21, 2010--January 30, 2010\par
2442 \item[terse] Use the short format with compact ranges, for example:\par
2443 21--30/01/2010\par
2444 01/21--01/30/2010
2445 \item[comp] Use the long format with compact ranges, for example:\par
2446 21st--30th January 2010\par
2447 January 21--30, 2010\par
2448 \item[iso] Use ISO8601 Extended Format (\texttt{yyyy-mm-dd}), for example:\par
2449 2010-01-01\par
2450 2010-01-21/2010-01-30
2451 \item[ymd] A year-month-day format which can be modified by other options unlike strict \acr{ISO8601-2}, for example:\par
2452 2010-1-1\par
2453 2010-1-21/2010-1-30
2454 \end{valuelist}
2455 %
2456 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.
2457
2458 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{abbreviate} 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.
2459
2460 The options \opt{julian} and \opt{gregorianstart} may be used to control when to output Julian Calendar dates.
2461
2462 \optitem[year]{labeldate}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2463
2464 Similar to the \opt{date} option but controls the format of the date field selected with \cmd{DeclareLabeldate}.
2465
2466 \optitem[comp]{$<$datetype$>$date}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2467
2468 Similar to the \opt{date} option but controls the format of the \bibfield{$<$datetype$>$date} field in the datamodel.
2469
2470 \optitem{alldates}{\opt{year}, \opt{short}, \opt{long}, \opt{terse}, \opt{comp}, \opt{ymd}, \opt{iso}}
2471
2472 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}.
2473
2474 \boolitem[false]{julian}
2475
2476 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>.
2477
2478 \valitem{gregorianstart}{YYYY-MM-DD}
2479
2480 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>.
2481
2482 \boolitem[true]{datezeros}
2483
2484 This option controls whether \texttt{short} and \texttt{terse} date components are printed with leading zeros unless overridden by specific formatting.
2485
2486 \boolitem[true]{timezeros}
2487
2488 This option controls whether time components are printed with leading zeros unless overridden by specific formatting.
2489
2490 \boolitem[false]{timezones}
2491
2492 This option controls whether timezones are printed when printing times.
2493
2494 \boolitem[false]{seconds}
2495
2496 This option controls whether seconds are printed when printing times.
2497
2498 \boolitem[true]{dateabbrev}
2499
2500 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.
2501 This option is also settable on a per-type and per-entry basis.
2502
2503 \boolitem[false]{datecirca}
2504
2505 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}).
2506
2507 \boolitem[false]{dateuncertain}
2508
2509 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}).
2510
2511 \optitem[astronomical]{dateera}{\opt{astronomical}, \opt{secular}, \opt{christian}}
2512
2513 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}.
2514
2515 \intitem[0]{dateeraauto}
2516
2517 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>.
2518
2519 \optitem[24h]{time}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2520
2521 This option controls the basic format of printed time specifications. The following choices are available:
2522
2523 \begin{valuelist}
2524 \item[24h] 24-hour format, for example:\par
2525 14:03:23\par
2526 14:3:23\par
2527 14:03:23+05:00\par
2528 14:03:23Z\par
2529 14:21:23--14:23:45\par
2530 14:23:23--14:23:45\par
2531 \item[24hcomp] 24-hour format with compressed ranges, for example:\par
2532 14:21--23 (hours are the same)\par
2533 14:23:23--45 (hour and minute are the same)\par
2534 \item[12h] 12-hour format with (localised) AM/PM markers, for example:\par
2535 2:34 PM\par
2536 2:34 PM--3:50 PM\par
2537 \end{valuelist}
2538 %
2539 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}.
2540
2541 \optitem[24h]{labeltime}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2542
2543 Similar to the \opt{time} option but controls the format of the time part fields obtained from the field selected with \cmd{DeclareLabeldate}.
2544
2545 \optitem[24h]{$<$datetype$>$time}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2546
2547 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.
2548
2549 \optitem{alltimes}{\opt{12h}, \opt{24h}, \opt{24hcomp}}
2550
2551 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}.
2552
2553 \boolitem[false]{dateusetime}
2554
2555 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}.
2556
2557 \boolitem[false]{labeldateusetime}
2558
2559 Similar to the \opt{dateusetime} option but controls the whether to print time components for the field selected with \cmd{DeclareLabeldate}.
2560
2561 \boolitem[false]{$<$datetype$>$dateusetime}
2562
2563 Similar to the \opt{dateusetime} option but controls the whether to print time components for the \bibfield{$<$datetype$>$date} field in the datamodel.
2564
2565 \boolitem[false]{alldatesusetime}
2566
2567 Sets \opt{labeldateusetime} and the \opt{$<$datetype$>$dateusetime} option for all \bibfield{$<$datetype$>$date} fields in the datamoel.
2568
2569 \boolitem[false]{defernumbers}
2570
2571 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}.
2572
2573 \boolitem[false]{punctfont}
2574
2575 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.
2576
2577 \optitem[abs]{arxiv}{\opt{abs}, \opt{ps}, \opt{pdf}, \opt{format}}
2578
2579 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:
2580
2581 \begin{valuelist}
2582 \item[abs] Link to the abstract page.
2583 \item[ps] Link to the PostScript version.
2584 \item[pdf] Link to the \pdf version.
2585 \item[format] Link to the format selector page.
2586 \end{valuelist}
2587
2588 See \secref{use:use:epr} for details on support for arXiv and electronic publishing information.
2589
2590 \optitem[auto]{texencoding}{\opt{auto}, \prm{encoding}}
2591
2592 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:
2593
2594 \begin{valuelist}
2595
2596 \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.
2597
2598 \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.
2599
2600 \end{valuelist}
2601 %
2602 Note that setting \kvopt{texencoding}{\prm{encoding}} will also affect the \opt{bibencoding} option if \kvopt{bibencoding}{auto}.
2603
2604 \optitem[auto]{bibencoding}{\opt{auto}, \prm{encoding}}
2605
2606 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:
2607
2608 \begin{valuelist}
2609
2610 \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.
2611
2612 \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.
2613
2614 \end{valuelist}
2615
2616 By default, \biblatex assumes that the \file{tex} file and the \file{bib} file use the same encoding (\kvopt{bibencoding}{auto}).
2617
2618 \boolitem[false]{safeinputenc}
2619
2620 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.
2621
2622 \boolitem[true]{bibwarn}
2623
2624 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.
2625
2626 \intitem[2]{mincrossrefs}
2627
2628 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.
2629
2630 \intitem[2]{minxrefs}
2631
2632 As \opt{mincrossrefs} but for \bibfield{xref} fields.
2633
2634 \boolitem[true]{bibtexcaseprotection}
2635
2636 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 enforced by wrapping the relevant word in \cmd{NoCaseChange}---this makes for a less confusing, if more verbose, markup of case protection.
2637
2638 \end{optionlist}
2639
2640 \paragraph{Style-specific}
2641 \label{use:opt:pre:bbx}
2642
2643 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.
2644
2645 \begin{optionlist}
2646
2647 \boolitem[true]{isbn}
2648
2649 This option controls whether the fields \bibfield{isbn}\slash \bibfield{issn}\slash \bibfield{isrn} are printed.
2650
2651 \boolitem[true]{url}
2652
2653 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.
2654
2655 \boolitem[true]{doi}
2656
2657 This option controls whether the field \bibfield{doi} is printed.
2658
2659 \boolitem[true]{eprint}
2660
2661 This option controls whether \bibfield{eprint} information is printed.
2662
2663 \boolitem[true]{related}
2664
2665 Whether to use information from related entries or not. See \secref{use:rel}.
2666
2667 \end{optionlist}
2668
2669 \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.
2670
2671 \begin{optionlist}
2672
2673 \boolitem[false]{subentry}
2674
2675 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.
2676
2677 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.
2678
2679 \end{optionlist}
2680
2681 \subparagraph{\texttt{numeric-comp}} The citation style \texttt{numeric-comp} supports the \opt{subentrycomp} option in global, per-type and per-entry scope.
2682
2683 \begin{optionlist}
2684
2685 \boolitem[true]{subentrycomp}
2686
2687 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}.
2688
2689 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]>.
2690
2691 The option is intended mainly for backwards compatibility, because earlier versions of \biblatex did not compress set member citations.
2692
2693 \end{optionlist}
2694
2695 \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.
2696
2697 \begin{optionlist}
2698
2699 \boolitem[true]{dashed}
2700
2701 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.
2702
2703 \end{optionlist}
2704
2705 \subparagraph{\texttt{authoryear}} Bibliography styles of the \texttt{authoryear} family provide the option \opt{mergedate} in global, per-type and per-entry scope.
2706
2707 \begin{optionlist}
2708
2709 \optitem[true]{mergedate}{\opt{false}, \opt{minimum}, \opt{basic}, \opt{compact}, \opt{maximum}, \opt{true}}
2710
2711 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.
2712
2713 \begin{valuelist}
2714 \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.
2715 \item[minimum] Omit the date specification whenever it coincides \emph{exactly}---including \bibfield{extradate} information---with the output of the date label.
2716 \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.
2717 \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.
2718 \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.
2719 \item[true] An alias for \opt{compact}.
2720 \end{valuelist}
2721
2722 More in-depth examples of this option can be found in the style examples.
2723 \end{optionlist}
2724
2725 \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.
2726
2727 \begin{optionlist}
2728
2729 \boolitem[false]{ibidpage}
2730
2731 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.
2732
2733 \end{optionlist}
2734
2735 \subparagraph{\texttt{verbose}} All citation styles of the \texttt{verbose} family provide the global option \opt{citepages}.
2736
2737 \begin{optionlist}
2738
2739 \optitem[permit]{citepages}{\opt{permit}, \opt{suppress}, \opt{omit}, \opt{separate}}
2740
2741 This option controls the output of the \bibfield{page}\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
2742
2743 \begin{quote}
2744 Author. \enquote{Title.} In: \emph{Book,} pp.\,100--150, p.\,125.
2745 \end{quote}
2746
2747 Here <p.\,125> is the \bibfield{postnote} argument and <pp.\,100--150> is the value of the \bibfield{pages} field.
2748
2749 \begin{valuelist}
2750 \item[permit] Allow duplication of page specifications, i.e.\ print both \bibfield{page}\slash\bibfield{pagetotal} and \bibfield{postnote}.
2751 \item[suppress] Unconditionally suppress the \bibfield{pages}\slash \bibfield{pagetotal} fields in citations, regardless of the \bibfield{postnote}.
2752 \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.
2753 \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.
2754 \end{valuelist}
2755
2756 \end{optionlist}
2757
2758 \subparagraph{\texttt{verbose-trad}} The citation styles of the \texttt{verbose-trad} family support the global option \opt{strict}.
2759
2760 \begin{optionlist}
2761
2762 \boolitem[false]{strict}
2763
2764 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.
2765
2766 \end{optionlist}
2767
2768 \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.
2769
2770
2771 \paragraph{Internal}
2772 \label{use:opt:pre:int}
2773
2774 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.
2775
2776 \begin{optionlist}
2777
2778 \optitem[false]{pagetracker}{\opt{true}, \opt{false}, \opt{page}, \opt{spread}}
2779
2780 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:
2781
2782 \begin{valuelist}
2783 \item[true] Enable the tracker in automatic mode. This is like \opt{spread} if \latex is in twoside mode, and like \opt{page} otherwise.
2784 \item[false] Disable the tracker.
2785 \item[page] Enable the tracker in page mode. In this mode, tracking works on a per"=page basis.
2786 \item[spread] Enable the tracker in spread mode. In this mode, tracking works on a per"=spread (double page) basis.
2787 \end{valuelist}
2788
2789 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2790
2791 \optitem[false]{citecounter}{\opt{true}, \opt{false}, \opt{context}}
2792
2793 This option controls the citation counter which is required by \cnt{citecounter} from \secref{aut:aux:tst}. The possible choices are:
2794
2795 \begin{valuelist}
2796 \item[true] Enable the citation counter in global mode.
2797 \item[false] Disable the citation counter.
2798 \item[context] Enable the citation counter in context"=sensitive mode. In this mode, citations in footnotes and in the body text are counted independently.
2799 \end{valuelist}
2800
2801 \optitem[false]{citetracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2802
2803 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:
2804
2805 \begin{valuelist}
2806 \item[true] Enable the tracker in global mode.
2807 \item[false] Disable the tracker.
2808 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked independently.
2809 \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.
2810 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}.
2811 \end{valuelist}
2812
2813 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2814 This option is also settable on a per-type or per-entry basis.
2815
2816 \optitem[false]{ibidtracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2817
2818 This option controls the <ibidem> tracker which is required by the \cmd{ifciteibid} test from \secref{aut:aux:tst}. The possible choices are:
2819
2820 \begin{valuelist}
2821 \item[true] Enable the tracker in global mode.
2822 \item[false] Disable the tracker.
2823 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2824 \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.}
2825 \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.
2826 \end{valuelist}
2827
2828 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2829 This option is also settable on a per-type or per-entry basis.
2830
2831 \optitem[false]{opcittracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2832
2833 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:
2834
2835 \begin{valuelist}
2836 \item[true] Enable the tracker in global mode.
2837 \item[false] Disable the tracker.
2838 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2839 \item[strict] Enable the tracker in strict mode. In this mode, potentially ambiguous references are suppressed. See \kvopt{ibidtracker}{strict} for details.
2840 \item[constrict] This mode combines the features of \opt{context} and \opt{strict}. See the explanation of \kvopt{ibidtracker}{constrict} for details.
2841 \end{valuelist}
2842
2843 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2844 This option is also settable on a per-type or per-entry basis.
2845
2846 \optitem[false]{loccittracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2847
2848 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:
2849
2850 \begin{valuelist}
2851 \item[true] Enable the tracker in global mode.
2852 \item[false] Disable the tracker.
2853 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2854 \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}).
2855 \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}).
2856 \end{valuelist}
2857
2858 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2859 This option is also settable on a per-type or per-entry basis.
2860
2861 \optitem[false]{idemtracker}{\opt{true}, \opt{false}, \opt{context}, \opt{strict}, \opt{constrict}}
2862
2863 This option controls the <idem> tracker which is required by the \cmd{ifciteidem} test from \secref{aut:aux:tst}. The possible choices are:
2864
2865 \begin{valuelist}
2866 \item[true] Enable the tracker in global mode.
2867 \item[false] Disable the tracker.
2868 \item[context] Enable the tracker in context"=sensitive mode. In this mode, citations in footnotes and in the body text are tracked separately.
2869 \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.
2870 \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.
2871 \end{valuelist}
2872
2873 Note that this tracker is disabled in all floats unless explicitly requested with \opt{trackfloats}, see \secref{aut:cav:flt}.
2874 This option is also settable on a per-type or per-entry basis.
2875
2876 \boolitem[false]{trackfloats}
2877
2878 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}.
2879
2880 \boolitem[true]{parentracker}
2881
2882 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}).
2883
2884 \intitem[3]{maxparens}
2885
2886 The maximum permitted nesting level of parentheses and brackets. If parentheses and brackets are nested deeper than this value, \biblatex will issue errors.
2887
2888 \boolitem[false]{$<$namepart$>$inits}
2889
2890 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}.
2891 This option is also settable on a per-type, per-entry, per-namelist and per-name basis.
2892
2893 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.
2894
2895 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.
2896
2897 \boolitem[false]{terseinits}
2898
2899 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.
2900 This option is also settable on a per-type, per-entry, per-name and per-namelist basis.
2901
2902 \boolitem[false]{labelalpha}
2903
2904 Whether or not to provide the special fields \bibfield{labelalpha} and \bibfield{extraalpha}, see \secref{aut:bbx:fld} for details.
2905 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.
2906
2907 \intitem[3]{maxalphanames}
2908
2909 Similar to the \opt{maxnames} option but customizes the format of the \bibfield{labelalpha} field.
2910
2911 \intitem[1]{minalphanames}
2912
2913 Similar to the \opt{minnames} option but customizes the format of the \bibfield{labelalpha} field.
2914
2915 \boolitem[false]{labelnumber}
2916
2917 Whether or not to provide the special field \bibfield{labelnumber}, see \secref{aut:bbx:fld} for details.
2918 This option is also settable on a per-type and per-entry basis.
2919
2920 \boolitem[false]{noroman}
2921
2922 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>.
2923
2924 This option is also settable on a per-type and per-entry basis.
2925
2926 \boolitem[false]{labeltitle}
2927
2928 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.
2929
2930 \boolitem[false]{labeltitleyear}
2931
2932 Whether or not to provide the special field \bibfield{extratitleyear}, 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{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.
2933
2934 \boolitem[false]{labeldateparts}
2935
2936 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.
2937 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.
2938
2939 \begin{table}
2940 \caption{Work Uniqueness options}
2941 \label{use:opt:wu}
2942 \footnotesize
2943 \ttfamily
2944 \tablesetup
2945 \begin{tabularx}{\textwidth}{XXX}
2946 \toprule
2947 \multicolumn{1}{@{}H}{Option} &
2948 \multicolumn{1}{@{}H}{Test} &
2949 \multicolumn{1}{@{}H}{Tracks} \\
2950 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}
2951 singletitle & \cmd{ifsingletitle} & labelname\\
2952 uniquetitle & \cmd{ifuniquetitle} & labeltitle\\
2953 uniquebaretitle & \cmd{ifuniquebaretitle} & labeltitle {\rmfamily when} labelname {\rmfamily is null}\\
2954 uniquework & \cmd{ifuniquework} & labelname+labeltitle\\
2955 \bottomrule
2956 \end{tabularx}
2957 \end{table}
2958
2959 \boolitem[false]{singletitle}
2960
2961 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.
2962 This option is also settable on a per-type and per-entry basis.
2963
2964 \boolitem[false]{uniquetitle}
2965
2966 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.
2967 This option is also settable on a per-type and per-entry basis.
2968
2969 \boolitem[false]{uniquebaretitle}
2970
2971 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.
2972 This option is also settable on a per-type and per-entry basis.
2973
2974 \boolitem[false]{uniquework}
2975
2976 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.
2977 This option is also settable on a per-type and per-entry basis.
2978
2979 \boolitem[false]{uniqueprimaryauthor}
2980
2981 Whether or not to provide the data required by the \cmd{ifuniqueprimaryauthor} test, see \secref{aut:aux:tst} for details.
2982 This option is also settable on a per-type and per-entry basis.
2983
2984 \optitem[false]{uniquename}{\opt{true}, \opt{false}, \opt{init}, \opt{full}, \opt{allinit}, \opt{allfull},
2985 \opt{mininit}, \opt{minfull}}
2986
2987 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:
2988
2989 \begin{valuelist}
2990 \item[true] An alias for \opt{full}.
2991 \item[false] Disable this feature.
2992 \item[init] Disambiguate using initials only.
2993 \item[full] Disambiguate using initials or full names, as required.
2994 \item[allinit] Similar to \opt{init} but disambiguates all names in the \bibfield{labelname} list, beyond \opt{maxnames}\slash \opt{minnames}\slash \opt{uniquelist}.
2995 \item[allfull] Similar to \opt{full} but disambiguates all names in the \bibfield{labelname} list, beyond \opt{maxnames}\slash \opt{minnames}\slash \opt{uniquelist}.
2996 \item[mininit] A variant of \texttt{init} which only disambiguates names in identical lists of base nameparts (by default, lists of family names).
2997 \item[minfull] A variant of \texttt{full} which only disambiguates names in identical lists of base nameparts (by default, lists of family names).
2998 \end{valuelist}
2999 %
3000 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.
3001
3002 \optitem[false]{uniquelist}{\opt{true}, \opt{false}, \opt{minyear}}
3003
3004 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:
3005
3006 \begin{valuelist}
3007 \item[true] Disambiguate the \bibfield{labelname} list.
3008 \item[false] Disable this feature.
3009 \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}.
3010 \end{valuelist}
3011 %
3012 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.
3013
3014 \boolitem[false]{nohashothers}
3015
3016 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:
3017
3018 \begin{lstlisting}{}
3019 Jones 1972
3020 Jones/and others 1972
3021 Smith 2000
3022 Smith/Vogel/Beast/Tremble 2000
3023 \end{lstlisting}
3024 %
3025 With \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{nohashothers}{false}, the result would be:
3026
3027 \begin{lstlisting}{}
3028 Jones 1972
3029 Jones et al. 1972
3030 Smith 2000
3031 Smith et al. 2000
3032 \end{lstlisting}
3033 %
3034 Whereas with \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{nohashothers}{true}, the result would be:
3035
3036 \begin{lstlisting}{}
3037 Jones 1972a
3038 Jones et al. 1972b
3039 Smith 2000a
3040 Smith et al. 2000b
3041 \end{lstlisting}
3042
3043 If desired, this could be further simplified by removing the <et al.\@>
3044 to obtain:
3045
3046 \begin{lstlisting}{}
3047 Jones 1972a
3048 Jones 1972b
3049 Smith 2000a
3050 Smith 2000b
3051 \end{lstlisting}
3052 %
3053 Note that the \opt{nohashothers} option will affect the \bibfield{extradate} and \bibfield{extraname} fields.
3054
3055 This option is also settable on a per-type, per-entry and per-namelist basis.
3056
3057 \boolitem[false]{nosortothers}
3058
3059 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:
3060
3061 \begin{lstlisting}{}
3062 Jones, Smith
3063 Jones, Smith et al
3064 \end{lstlisting}
3065 %
3066 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.
3067
3068 This option is also settable on a per-type, per-entry and per-namelist basis.
3069 \end{optionlist}
3070
3071 \begin{table}
3072 \caption{Disambiguation counters}
3073 \label{use:opt:tab1}
3074 \footnotesize
3075 \ttfamily
3076 \tablesetup
3077 \begin{tabularx}{\textwidth}{XXXX}
3078 \toprule
3079 \multicolumn{1}{@{}H}{Option} &
3080 \multicolumn{1}{@{}H}{Enabled field(s)} &
3081 \multicolumn{1}{@{}H}{Enabled counter} &
3082 \multicolumn{1}{@{}H}{Counter tracks} \\
3083 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
3084 labelalpha & labelalpha & extraalpha & label\\
3085 labeldateparts & labelyear & extradate & extradate context+labelyear\\
3086 & labelmonth & & \\
3087 & labelday & & \\
3088 & labelendyear & & \\
3089 & labelendmonth & & \\
3090 & labelendday & & \\
3091 & labelhour & & \\
3092 & labelminute & & \\
3093 & labelsecond & & \\
3094 & labelendhour & & \\
3095 & labelendminute & & \\
3096 & labelendsecond & & \\
3097 & labelyeardivision & & \\
3098 & labelendyeardivision & & \\
3099 & labeltimezone & & \\
3100 & labelendtimezone & & \\
3101 labeltitle & {\rmfamily ---} & extratitle & labelname+labeltitle\\
3102 labeltitleyear & {\rmfamily ---} & extratitleyear & labeltitle+labelyear\\
3103 {\rmfamily ---} & {\rmfamily ---} & extraname & labelname\\
3104 \bottomrule
3105 \end{tabularx}
3106 \end{table}
3107
3108 \subsubsection{Entry Options}
3109 \label{use:opt:bib}
3110
3111 Entry options are package options which determine how bibliography data entries are handled. They may be set at various scopes defined below.
3112
3113 \paragraph{Preamble/Type/Entry Options}
3114 \label{use:opt:bib:hyb}
3115
3116 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.
3117
3118 \begin{optionlist}
3119
3120 \boolitem[true]{useauthor}
3121
3122 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}.
3123 This option is also settable on a per-type and per-entry basis.
3124
3125 \boolitem[true]{useeditor}
3126
3127 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}.
3128 This option is also settable on a per-type and per-entry basis.
3129
3130 \boolitem[false]{usetranslator}
3131
3132 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:
3133 This option is also settable on a per-type and per-entry basis.
3134
3135 \begin{lstlisting}[style=bibtex]{}
3136 @Book{...,
3137 options = {useauthor=false,usetranslator=true},
3138 author = {...},
3139 translator = {...},
3140 ...
3141 \end{lstlisting}
3142 %
3143 With the standard styles, the \bibfield{translator} is printed after the title by default. See also \secref{use:srt}.
3144
3145 \boolitem[true]{use$<$name$>$}
3146
3147 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
3148 defined. Global, per-type and per-entry options called <use$<$name$>$>are automatically created.
3149
3150 \boolitem[false]{useprefix}
3151
3152 Whether the default data model name part <prefix> (von, van, of, da, de, della, etc.) is considered when:
3153
3154 \begin{itemize}
3155 \item Printing the family name in citations
3156 \item Sorting
3157 \item Generation of certain types of labels
3158 \item Generating name uniqueness information
3159 \item Formatting aspects of the bibliography
3160 \end{itemize}
3161 %
3162 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.
3163 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.
3164
3165 \optitem{indexing}{\opt{true}, \opt{false}, \opt{cite}, \opt{bib}}
3166
3167 The \opt{indexing} option is also settable per-type or per-entry basis. See \secref{use:opt:pre:gen} for details.
3168
3169 \boolitem[false]{skipbib}
3170
3171 If this option is enabled, the entry is excluded from the bibliography but it may still be cited.
3172 This option is also settable on a per-type basis.
3173
3174 \boolitem[false]{skipbiblist}
3175
3176 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.
3177 This option is also settable on a per-type basis.
3178
3179 \boolitem[false]{skiplab}
3180
3181 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.
3182 This option is also settable on a per-type basis.
3183
3184 \boolitem[false]{dataonly}
3185
3186 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.
3187 This option is also settable on a per-type basis.
3188
3189 \paragraph{Entry Only Options}
3190 \label{use:opt:bib:entry}
3191
3192 The following options are settable only on a per"=entry in the \bibfield{options} field. They are not available globally or per"=type.
3193
3194 \valitem{labelnamefield}{fieldname}
3195
3196 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.
3197
3198 \valitem{labeltitlefield}{fieldname}
3199
3200 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.
3201
3202 \end{optionlist}
3203
3204 \subsubsection{Legacy Options}
3205
3206 The following legacy option may be used globally in the optional argument to \cmd{documentclass} or locally in the optional argument to \cmd{usepackage}:
3207
3208 \begin{optionlist}
3209
3210 \legitem{openbib}\DeprecatedMark This option is provided for backwards compatibility with the standard LaTeX document classes. \opt{openbib} is similar to \kvopt{block}{par}.
3211
3212 \end{optionlist}
3213
3214 \subsection{Global Customization}
3215 \label{use:cfg}
3216
3217 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.
3218
3219 \subsubsection{Configuration File}
3220 \label{use:cfg:cfg}
3221
3222 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.
3223
3224 \subsubsection{Setting Package Options}
3225 \label{use:cfg:opt}
3226
3227 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:
3228
3229 \begin{ltxsyntax}
3230
3231 \cmditem{ExecuteBibliographyOptions}[entrytype, \dots]{key=value, \dots}
3232
3233 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.
3234
3235 \end{ltxsyntax}
3236
3237 \subsection{Standard Styles}
3238 \label{use:xbx}
3239
3240 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}.
3241
3242 \subsubsection{Citation Styles}
3243 \label{use:xbx:cbx}
3244
3245 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.
3246
3247 \begin{marglist}
3248
3249 \item[numeric]\seestyleexample{30-style-numeric-biber}
3250 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.
3251
3252 \item[numeric-comp]\seestyleexample{31-style-numeric-comp-biber}
3253 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.
3254
3255 \item[numeric-verb]\seestyleexample{32-style-numeric-verb-biber}
3256 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.
3257
3258 \item[alphabetic]\seestyleexample{40-style-alphabetic-biber}
3259 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.
3260
3261 \item[alphabetic-verb]\seestyleexample{41-style-alphabetic-verb-biber}
3262 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.
3263
3264 \item[authoryear]\seestyleexample{50-style-authoryear-biber}
3265 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}.
3266
3267 \item[authoryear-comp]\seestyleexample{52-style-authoryear-comp-biber}
3268 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}.
3269
3270 \item[authoryear-ibid]\seestyleexample{51-style-authoryear-ibid-biber}
3271 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.
3272
3273 \item[authoryear-icomp]\seestyleexample{53-style-authoryear-icomp-biber}
3274 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.
3275
3276 \item[authortitle]\seestyleexample{60-style-authortitle-biber}
3277 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}.
3278
3279 \item[authortitle-comp]\seestyleexample{62-style-authortitle-comp-biber}
3280 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}.
3281
3282 \item[authortitle-ibid]\seestyleexample{61-style-authortitle-ibid-biber}
3283 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.
3284
3285 \item[authortitle-icomp]\seestyleexample{63-style-authortitle-icomp-biber}
3286 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.
3287
3288 \item[authortitle-terse]\seestyleexample{64-style-authortitle-terse-biber}
3289 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}.
3290
3291 \item[authortitle-tcomp]\seestyleexample{65-style-authortitle-tcomp-biber}
3292 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}.
3293
3294 \item[authortitle-ticomp]\seestyleexample{66-style-authortitle-ticomp-biber}
3295 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.
3296
3297 \item[verbose]\seestyleexample{70-style-verbose-biber}
3298 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.
3299
3300 \item[verbose-ibid]\seestyleexample{71-style-verbose-ibid-biber}
3301 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.
3302
3303 \item[verbose-note]\seestyleexample{72-style-verbose-note-biber}
3304 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.
3305
3306 \item[verbose-inote]\seestyleexample{73-style-verbose-inote-biber}
3307 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.
3308
3309 \item[verbose-trad1]\seestyleexample{74-style-verbose-trad1-biber}
3310 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.
3311
3312 \item[verbose-trad2]\seestyleexample{75-style-verbose-trad2-biber}
3313 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.
3314
3315 \item[verbose-trad3]\seestyleexample{76-style-verbose-trad3-biber}
3316 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.
3317
3318 \item[reading]\seestyleexample{80-style-reading-biber}
3319 A citation style which goes with the bibliography style by the same name. It simply loads the \texttt{authortitle} style.
3320
3321 \end{marglist}
3322
3323 The following citation styles are special purpose styles. They are not intended for the final version of a document:
3324
3325 \begin{marglist}
3326
3327 \item[draft]\seestyleexample{81-style-draft-biber}
3328 A draft style which uses the entry keys in citations. The style will set the following package options at load time: \kvopt{autocite}{plain}.
3329
3330 \item[debug]\seestyleexample{82-style-debug-biber}
3331 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}.
3332
3333 \end{marglist}
3334
3335 \subsubsection{Bibliography Styles}
3336 \label{use:xbx:bbx}
3337
3338 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.
3339
3340 \begin{marglist}
3341
3342 \item[numeric]\seestyleexample{30-style-numeric-biber}
3343 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.
3344
3345 \item[alphabetic]\seestyleexample{40-style-alphabetic-biber}
3346 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}.
3347
3348 \item[authoryear]\seestyleexample{50-style-authoryear-biber}
3349 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}.
3350
3351 \item[authortitle]\seestyleexample{60-style-authortitle-biber}
3352 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}.
3353
3354 \item[verbose]\seestyleexample{70-style-verbose-biber}
3355 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}.
3356
3357 \item[reading]\seestyleexample{80-style-reading-biber}
3358 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}.
3359
3360 \end{marglist}
3361
3362 The following bibliography styles are special purpose styles. They are not intended for the final version of a document:
3363
3364 \begin{marglist}
3365
3366 \item[draft]\seestyleexample{81-style-draft-biber}
3367 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}.
3368
3369 \item[debug]\seestyleexample{82-style-debug-biber}
3370 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}.
3371
3372 \end{marglist}
3373
3374 \subsection{Extended Name Format}
3375 \label{use:enf}
3376 The parsing rules for \bibtex names are rather archaic and not suited to
3377 many international name formats. \biber supports an extended name format
3378 which allows explicit specification of the parts of names. This allows the
3379 use of custom name parts apart from the four standard \bibtex parts. Extended
3380 name formats are supported in all name fields and can be used along with
3381 the usual \bibtex name format. Recognition of extended name format can be
3382 disabled with the \biber option \opt{--noxname} in case you do not need the
3383 extended format and the auto-detection causes problems with normal name
3384 parsing. The separator \verb+=+ which comes between the namepart names and
3385 values is customisable with the \biber option \opt{--xnamesep}. Here is an
3386 example:
3387
3388 \begin{lstlisting}[style=bibtex]{}
3389 AUTHOR = {Hans Harman and Simon de Beumont}
3390 AUTHOR = {given=Hans, family=Harman and given=Simon, prefix=de, family=Beumont}
3391 \end{lstlisting}
3392 %
3393 These two name specifications are equivalent but the extended format
3394 explicitly names the parts. The supported parts are those specified by the
3395 \biblatex data mode constant \opt{nameparts}, see \secref{aut:bbx:drv}. As
3396 with traditional \bibtex name parsing, initials are automatically generated
3397 but it is also possible to specify these explicitly:
3398
3399 \begin{lstlisting}[style=bibtex]{}
3400 AUTHOR = {given=Jean, prefix=de la, prefix-i=d, family=Rousse}
3401 AUTHOR = {given={Jean Pierre Simon}, given-i=JPS}
3402 \end{lstlisting}
3403 %
3404 Initials are specified by adding the suffix \verb+-i+ to the namepart name.
3405 Compound parts may be protected with braces:
3406
3407 \begin{lstlisting}[style=bibtex]{}
3408 AUTHOR = {given={Jean Pierre}}
3409 \end{lstlisting}
3410 %
3411 If a namepart contains a comma, the whole namepart should be protected with
3412 quotes:
3413
3414 \begin{lstlisting}[style=bibtex]{}
3415 AUTHOR = {"family={Robert and Sons, Inc.}"}
3416 \end{lstlisting}
3417 %
3418 Traditional \bibtex name formats and the extended form may be used together:
3419
3420 \begin{lstlisting}[style=bibtex]{}
3421 AUTHOR = {Hans Harman and given=Simon, prefix=de, family=Beumont}
3422 \end{lstlisting}
3423 %
3424 Per-namelist and per-name options may be specified in the extended name
3425 format, see \secref{use:opt:bib:hyb}:
3426
3427 \begin{lstlisting}[style=bibtex]{}
3428 AUTHOR = {nosortothers=true and Hans Harman and
3429 given=Simon, family=Beumont, prefix=de, useprefix=true}
3430 \end{lstlisting}
3431
3432 \subsection{Related Entries}
3433 \label{use:rel}
3434
3435 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 should specify 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:
3436
3437 \begin{lstlisting}[style=bibtex]{}
3438 @Book{key1,
3439 ...
3440 related = {key2},
3441 relatedtype = {reprintof},
3442 ...
3443 }
3444
3445 @Book{key2,
3446 ...
3447 }
3448 \end{lstlisting}
3449 %
3450 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}:
3451
3452 \begin{itemize}
3453 \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.
3454 \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
3455 \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.
3456 \end{itemize}
3457 %
3458 It is also supported to have cascading and/or circular relations:
3459
3460 \begin{lstlisting}[style=bibtex]{}
3461 @Book{key1,
3462 ...
3463 related = {key2},
3464 relatedtype = {reprintof},
3465 ...
3466 }
3467
3468 @Book{key2,
3469 ...
3470 related = {key3},
3471 relatedtype = {translationof},
3472 ...
3473 }
3474
3475 @Book{key3,
3476 ...
3477 related = {key2},
3478 relatedtype = {translatedas},
3479 ...
3480 }
3481 \end{lstlisting}
3482 %
3483 Multiple relations to the same entry are also possible:
3484 \begin{lstlisting}[style=bibtex]{}
3485 @MVBook{key1,
3486 ...
3487 related = {key2,key3},
3488 relatedtype = {multivolume},
3489 ...
3490 }
3491
3492 @Book{key2,
3493 ...
3494 }
3495
3496 @Book{key3,
3497 ...
3498 }
3499 \end{lstlisting}
3500 %
3501 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}.
3502
3503 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}.
3504
3505 \subsection{Sorting Options}
3506 \label{use:srt}
3507
3508 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.
3509
3510 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.
3511
3512 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.
3513
3514 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.
3515
3516 \subsection{Data Annotations}
3517 \label{use:annote}
3518 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:
3519
3520 \begin{lstlisting}[style=bibtex]{}
3521 @MISC{Article1,
3522 AUTHOR = {Last1\textsuperscript{*}, First1 and \textbf{Last2}, \textbf{First2} and Last3, First3}
3523 }
3524 \end{lstlisting}
3525 %
3526 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.
3527
3528 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.
3529
3530 There are three «scopes» for data annotations, in order of increasing specificity:
3531
3532 \begin{itemize}
3533 \item \opt{field}---applied to top-level fields in a data source entry
3534 \item \opt{item}---applied to items within a list field in a data source entry
3535 \item \opt{part}---applied to parts within items within a list field in a data source entry
3536 \end{itemize}
3537 %
3538 Data annotations are supported for \bibtex and \biblatexml data sources.
3539
3540 \begin{lstlisting}[style=bibtex]{}
3541 @MISC{ann1,
3542 AUTHOR = {Last1, First1 and Last2, First2 and Last3, First3},
3543 AUTHOR+an = {1:family=student;2=corresponding},
3544 TITLE = {The Title},
3545 TITLE+an:default = {=titleannotation},
3546 TITLE+an:cat = {="Provisional"}
3547 }
3548 \end{lstlisting}
3549 %
3550 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:
3551
3552 \begin{lstlisting}[style=bibtex]{}
3553 TITLE+an = {=titleannotation},
3554 TITLE+an:default = {=titleannotation},
3555 \end{lstlisting}
3556 %
3557 The format of annotation fields in \bibtex data sources is is as follows:
3558
3559 \begin{lstlisting}
3560 <annotationspecs> ::= <annotationspec> [ ";" <annotationspec> ]
3561 <annotationspec> ::= [ <itemcount> [ ":" <part> ] ] "=" <annotations>
3562 <annotations> ::= <annotation> [ "," <annotation> ]
3563 <annotation> ::= ["] (string) ["]
3564 \end{lstlisting}
3565 %
3566 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:
3567
3568 \begin{lstlisting}[style=bibtex]{}
3569 AUTHOR = {Last1, First1 and Last2, First2 and Last3, First3},
3570 AUTHOR+an = {3:given=annotation1, annotation2},
3571 TITLE = {A title},
3572 TITLE+an = {=a title annotation, another title annotation},
3573 LANGUAGE = {english and french},
3574 LANGUAGE+an = {1=annotation3; 2=annotation4}
3575 }
3576 \end{lstlisting}
3577 %
3578 Attaching annotations to data is similar in \biblatexml data sources. Using the example above, we would have:
3579
3580 \begin{lstlisting}[language=xml]
3581 <bltx:entries xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
3582 <bltx:entry id="test" entrytype="misc">
3583 <bltx:names type="author">
3584 <bltx:name>
3585 <bltx:namepart type="given" initial="F">First1</bltx:namepart>
3586 <bltx:namepart type="family" initial="L">Last1</bltx:namepart>
3587 </bltx:name>
3588 <bltx:name>
3589 <bltx:namepart type="given" initial="F">First2</bltx:namepart>
3590 <bltx:namepart type="family" initial="L">Last2</bltx:namepart>
3591 </bltx:name>
3592 <bltx:name>
3593 <bltx:namepart type="given" initial="F">First3</bltx:namepart>
3594 <bltx:namepart type="family" initial="L">Last3</bltx:namepart>
3595 </bltx:name>
3596 </bltx:names>
3597 </bltx:annotation field="author" item="1" part="family">student</bltx:annotation>
3598 </bltx:annotation field="author" item="2">corresponding</bltx:annotation>
3599 </bltx:entry>
3600 </bltx:entries>
3601 \end{lstlisting}
3602 %
3603 To access the annotation information when formatting bibliography data, macros are provided, corresponding to the three annotation scopes:
3604
3605 \begin{ltxsyntax}
3606
3607 \cmditem{iffieldannotation}[msform][mslang][entryfield][annotationname]{annotation}{true}{false}
3608
3609 Executes \prm{true} if the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} 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.
3610
3611 \cmditem{ifitemannotation}[msform][mslang][entryfield][annotationname][item]{annotation}{true}{false}
3612
3613 Executes \prm{true} if the item \prm{item} in the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} 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.
3614
3615 \cmditem{ifpartannotation}[msform][mslang][entryfield][annotationname][item]{part}{annotation}{true}{false}
3616
3617 Executes \prm{true} if the part named \prm{part} in item \prm{item} in the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} and \prm{item} can be inferred as in \cmd{ifitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3618
3619 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.
3620
3621 \cmditem{ifdateannotation}[annotationname]{datetype}{annotation}{true}{false}
3622
3623 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.
3624
3625 \cmditem{hasfieldannotation}[msform][mslang][entryfield][annotationname]{true}{false}
3626
3627 Executes \prm{true} if the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} 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.
3628
3629 \cmditem{hasitemannotation}[msform][mslang][entryfield][annotationname][item]{true}{false}
3630
3631 Executes \prm{true} if the item \prm{item} in the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} 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.
3632
3633 \cmditem{haspartannotation}[msform][mslang][entryfield][annotationname][item]{part}{true}{false}
3634
3635 Executes \prm{true} if the part named \prm{part} in the item \prm{item} in the data field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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{entryfield} and \prm{item} can be inferred as in \cmd{ifitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3636
3637 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.
3638
3639 \cmditem{hasdateannotation}[annotationname]{datetype}{true}{false}
3640
3641 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.
3642
3643 \end{ltxsyntax}
3644 %
3645 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»:
3646
3647 \begin{lstlisting}[style=latex]{}
3648 \ifpartannotation{family}{student}
3649 {\textsuperscript{*}}
3650 {}%
3651 \end{lstlisting}
3652 %
3653 To put the given and family names of name list items annotated as «corresponding» in boldface:
3654
3655 \begin{lstlisting}[style=latex]{}
3656 \renewcommand*{\mkbibnamegiven}[1]{%
3657 \ifitemannotation{corresponding}
3658 {\textbf{#1}}
3659 {#1}}
3660
3661 \renewcommand*{\mkbibnamefamily}[1]{%
3662 \ifitemannotation{corresponding}
3663 {\textbf{#1}}
3664 {#1}}
3665 \end{lstlisting}
3666
3667 \subsubsection{Literal Annotations}
3668
3669 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:
3670
3671 \begin{lstlisting}[style=bibtex]{}
3672 AUTHOR = {{American Educational Research Association} and {American Psychological Association}
3673 and {National Council on Measurement in Education}},
3674 AUTHOR+an = {1:family="AERA"; 2:family="APA"; 3:family="NCME"}
3675 }
3676 \end{lstlisting}
3677 %
3678 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
3679
3680 \begin{ltxsyntax}
3681
3682 \cmditem{getfieldannotation}[msform][mslang][entryfield][annotationname]
3683
3684 Retrieves any literal annotation for the field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}). 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{entryfield} 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.
3685
3686 \cmditem{getitemannotation}[entryfield][annotationname][item]
3687
3688 Retrieves any literal annotation for the item \prm{item} in the field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}). 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{entryfield} 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.
3689
3690 \cmditem{getpartannotation}[msform][mslang][entryfield][annotationname][item]{part}
3691
3692 Retrieves any literal annotation for the part \prm{part} of the item number \prm{item} in the field \prm{entryfield} (optionally a multiscript field of \prm{msform}/\prm{mslang}). 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{entryfield} and \prm{item} can be inferred as in \cmd{getitemannotation}. The parameter \prm{part} can never be inferred and is therefore a mandatory argument.
3693
3694 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.
3695
3696 \cmditem{getdateannotation}[annotationname]{datetype}
3697
3698 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.
3699
3700 \end{ltxsyntax}
3701 %
3702 So, for example, given the bibliography entry above, we could put the following in the preamble:
3703
3704 \begin{ltxexample}[style=latex]
3705 \renewcommand*{\mkbibnamefamily}[1]{%
3706 #1\space\mkbibparens{\getpartannotation{family}}}
3707 \end{ltxexample}
3708 %
3709 In order to get something like this in the bibliography when formatting names:
3710
3711 \begin{lstlisting}[style=bibtex]{}
3712 American Educational Research Association (AERA) and
3713 American Psychological Association (APA), and
3714 National Council on Measurement in Education (NCME)
3715 }
3716 \end{lstlisting}
3717 %
3718 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.
3719
3720 \subsection{Bibliography Commands}
3721 \label{use:bib}
3722
3723 \subsubsection{Resources}
3724 \label{use:bib:res}
3725
3726 \begin{ltxsyntax}
3727
3728 \cmditem{addbibresource}[options]{resource}
3729
3730 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 useable 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:
3731
3732 \begin{ltxexample}
3733 \addbibresource{bibfile1.bib}
3734 \addbibresource{bibfile2.bib}
3735 \addbibresource[glob]{bibfiles/bibfile*.bib}
3736 \addbibresource[glob]{bibfile-num?.bib}
3737 \addbibresource[glob]{bibfile{1,2,3}.bib}
3738 \addbibresource[location=remote]{https://raw.githubusercontent.com/plk/biblatex/master/bibtex/bib/biblatex/biblatex-examples.bib}
3739 \addbibresource[location=remote,label=lan]{ftp://192.168.1.57/~user/file.bib}
3740 \end{ltxexample}
3741 %
3742 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:
3743
3744 \begin{optionlist*}
3745
3746 \valitem{bibencoding}{bibencoding}
3747
3748 This option can be used to override the global \opt{bibencoding} option for a particular \prm{resource}.
3749
3750 \valitem{label}{identifier}
3751
3752 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.
3753
3754 \valitem[local]{location}{location}
3755
3756 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.
3757
3758 \valitem[file]{type}{type}
3759
3760 The type of resource. Currently, the only supported type is \texttt{file}.
3761
3762 \valitem[bibtex]{datatype}{datatype}
3763
3764 The data type (format) of the resource. The following formats are currently supported:
3765
3766 \begin{valuelist}
3767
3768 \item[bibtex] \bibtex format.
3769
3770 \item[biblatexml] Experimental XML format for \biblatex. See \secref{apx:biblatexml}.
3771
3772 \end{valuelist}
3773
3774 \boolitem{glob}
3775
3776 Whether \biber should glob (expand according to pattern) the datasource name. There is
3777 a global setting for this in \biber (false by default and settable to true
3778 using the \opt{--glob-datasources} option). This option allows overriding
3779 the \biber default on a per-resource basis.
3780
3781 \end{optionlist*}
3782
3783 \cmditem{addglobalbib}[options]{resource}
3784
3785 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.
3786
3787 \cmditem{addsectionbib}[options]{resource}
3788
3789 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.
3790
3791 \cmditem{bibliography}{bibfile, \dots}\DeprecatedMark
3792
3793 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.
3794
3795 \subsubsection{The Bibliography}
3796 \label{use:bib:bib}
3797
3798 \cmditem{printbibliography}[key=value, \dots]
3799
3800 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:
3801
3802 \end{ltxsyntax}
3803
3804 \begin{optionlist*}
3805
3806 \valitem[bibliography/shorthands]{env}{name}
3807
3808 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}.
3809
3810 \valitem[bibliography/shorthands]{heading}{name}
3811
3812 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}.
3813
3814 \valitem{title}{text}
3815
3816 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.
3817
3818 \valitem{label}{label}
3819
3820 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).
3821
3822 \optitem[\normalfont\emph{global setting} (\opt{none})]{block}{\opt{none}, \opt{space}, \opt{par}, \opt{nbpar}, \opt{ragged}}
3823
3824 This option overrides the global \opt{block} option (see \secref{use:opt:pre:gen}, the meaning of the settings is explained there as well).
3825
3826 \valitem{prenote}{name}
3827
3828 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.
3829
3830 \valitem{postnote}{name}
3831
3832 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.
3833
3834 \intitem[\normalfont\em current section]{section}
3835
3836 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.
3837
3838 \intitem{segment}
3839
3840 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.
3841
3842 \valitem{type}{entrytype}
3843
3844 Print only entries whose entry type is \prm{entrytype}.
3845
3846 \valitem{nottype}{entrytype}
3847
3848 Print only entries whose entry type is not \prm{entrytype}. This option may be used multiple times.
3849
3850 \valitem{subtype}{subtype}
3851
3852 Print only entries whose \bibfield{entrysubtype} is defined and \prm{subtype}.
3853
3854 \valitem{notsubtype}{subtype}
3855
3856 Print only entries whose \bibfield{entrysubtype} is undefined or not \prm{subtype}. This option may be used multiple times.
3857
3858 \valitem{keyword}{keyword}
3859
3860 Print only entries whose \bibfield{keywords} field includes \prm{keyword}. This option may be used multiple times.
3861
3862 \valitem{notkeyword}{keyword}
3863
3864 Print only entries whose \bibfield{keywords} field does not include \prm{keyword}. This option may be used multiple times.
3865
3866 \valitem{category}{category}
3867
3868 Print only entries assigned to category \prm{category}. This option may be used multiple times.
3869
3870 \valitem{notcategory}{category}
3871
3872 Print only entries not assigned to category \prm{category}. This option may be used multiple times.
3873
3874 \valitem{filter}{name}
3875
3876 Filter the entries with filter \prm{name}, as defined with \cmd{defbibfilter}. See \secref{use:bib:flt} for details.
3877
3878 \valitem{check}{name}
3879
3880 Filter the entries with check \prm{name}, as defined with \cmd{defbibcheck}. See \secref{use:bib:flt} for details.
3881
3882 \valitem{resetnumbers}{true,false,number}
3883
3884 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.
3885
3886 \boolitem{omitnumbers}
3887
3888 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).
3889
3890 \boolitem[false]{locallabelwidth}
3891
3892 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}.
3893
3894 \end{optionlist*}
3895
3896 \begin{ltxsyntax}
3897
3898 \cmditem{bibbysection}[key=value, \dots]
3899
3900 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}).
3901
3902 \cmditem{bibbysegment}[key=value, \dots]
3903
3904 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}).
3905
3906 \cmditem{bibbycategory}[key=value, \dots]
3907
3908 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}).
3909
3910 \cmditem{printbibheading}[key=value, \dots]
3911
3912 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} and \opt{label}. 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.
3913
3914 \cmditem{DeclarePrintbibliographyDefaults}{key=value, \dots}
3915
3916 This command can be used to globally set defaults for some options to \cmd{printbibliography}, the \cmd{bibby...} bibliography commands and \cmd{printbibheading}.
3917 The supported keys are
3918 \begin{itemize}
3919 \item \opt{env}
3920 \item \opt{heading}
3921 \item \opt{title}
3922 \item \opt{prenote}
3923 \item \opt{postnote}
3924 \item \opt{filter}
3925 \end{itemize}
3926
3927 \end{ltxsyntax}
3928 %
3929 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}.
3930
3931 \subsubsection{Bibliography Lists}
3932 \label{use:bib:biblist}
3933
3934 \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.
3935
3936 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.
3937
3938 \begin{ltxsyntax}
3939
3940 \cmditem{printbiblist}[key=value, \dots]{biblistname}
3941
3942 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}. Additionaly, 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.
3943
3944
3945 The \prm{biblistname} is a mandatory argument which names the bibliography list. This name is used to identify:
3946 \begin{itemize}
3947 \item The default bibliography driver used to print the list entries
3948 \item A default bibliography list filter declared with \cmd{DeclareBiblistFilter} (see \secref{aut:ctm:bibfilt}) used to filter the entries returned from \biber
3949 \item A default check declared with \cmd{defbibcheck} (see \secref{use:bib:flt}) used to post-process the list entries
3950 \item The default bib environment to use
3951 \item The default sorting template to use
3952 \end{itemize}
3953
3954 The two additional options can be used to change some of the defaults set by the mandatory argument.
3955
3956 \begin{optionlist*}
3957 \valitem[\prm{biblistname}]{driver}{driver}
3958
3959 Change the bibliography driver used to print the list entries.
3960 % \prm{driver} must be a valid driver declared with \cmd{DeclareBibliographyDriver} (see \secref{aut:bbx:bbx}).
3961
3962 \valitem[\prm{biblistname}]{biblistfilter}{biblistfilter}
3963
3964 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}).
3965 \end{optionlist*}
3966
3967 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}).
3968
3969 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:
3970
3971 \begin{ltxexample}
3972 \printbiblist[...]{shorthand}
3973 \end{ltxexample}
3974
3975 \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:
3976
3977 \begin{itemize}
3978 \item A default bib environment (See \secref{use:bib:hdg})
3979 \item A bibliography list filter (See \secref{aut:ctm:bibfilt})
3980 \item Some supporting formats and lengths (See \secref{aut:fmt:ilc} and \secref{aut:fmt:ich})
3981 \end{itemize}
3982 %
3983 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:
3984
3985 \begin{ltxexample}
3986 \DeclareBibliographyDriver{shortjournal}{%
3987 \printfield{journaltitle}}
3988 \end{ltxexample}
3989 %
3990 Then you can put this in your document where you want to print the list:
3991
3992 \begin{ltxexample}
3993 \printbiblist[title={Journal Shorthands}]{shortjournal}
3994 \end{ltxexample}
3995 %
3996 Since \bibfield{shortjournal} is defined in the default data model as a <Label field>, this example:
3997 \begin{itemize}
3998 \item Uses the automatically created <shortjournal> bib environment
3999 \item Uses the automatically created <shortjournal> bibliography list filter to return only entries with a \bibfield{shortjournal} field in the \file{.bbl}
4000 \item Uses the defined <shortjournal> bibliography driver to print the entries
4001 \item Uses the default <biblist> heading but overrides the title with <Journal Shorthands>
4002 \item Uses the current bibliography context sorting template if no template exists with the name \bibfield{shortjournal}
4003 \end{itemize}
4004 %
4005 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:
4006
4007 \begin{ltxexample}
4008 \DeclareSortingTemplate{shortjournal}{
4009 \sort{
4010 \field{shortjournal}
4011 }
4012 }
4013 \end{ltxexample}
4014
4015 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.
4016 \end{ltxsyntax}
4017
4018 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:
4019
4020 \begin{ltxexample}[basicstyle=\displayverbfont\footnotesize]
4021 \defbibcheck{shortjournal}{%
4022 \iffieldundef{shortjournal}
4023 {\skipentry}
4024 {\iffieldundef{journaltitle}
4025 {\skipentry}
4026 {\ifcsdef{sjcheck@\therefsection
4027 -\strfield{shortjournal}=\strfield{journaltitle}}
4028 {\skipentry}
4029 {\savefieldcs{journaltitle}{sjcheck@\therefsection
4030 -\strfield{shortjournal}=\strfield{journaltitle}}}}}}
4031 \end{ltxexample}
4032
4033 \subsubsection{Bibliography Sections}
4034 \label{use:bib:sec}
4035
4036 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.
4037
4038 \begin{ltxsyntax}
4039
4040 \envitem{refsection}[resource, \dots]
4041
4042 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}).
4043
4044 \cmditem{newrefsection}[resource, \dots]
4045
4046 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.
4047
4048 \end{ltxsyntax}
4049
4050 \subsubsection{Bibliography Segments}
4051 \label{use:bib:seg}
4052
4053 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.
4054
4055 \begin{ltxsyntax}
4056
4057 \envitem{refsegment}
4058
4059 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.
4060
4061 \csitem{newrefsegment}
4062
4063 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.
4064
4065 \end{ltxsyntax}
4066
4067 \subsubsection{Bibliography Categories}
4068 \label{use:bib:cat}
4069
4070 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.
4071
4072 \begin{ltxsyntax}
4073
4074 \cmditem{DeclareBibliographyCategory}{category}
4075
4076 Declares a new \prm{category}, to be used in conjunction with \cmd{addtocategory} and the
4077 \opt{category} and \opt{notcategory} filters of \cmd{printbibliography}. This command is used in the document preamble.
4078
4079 \cmditem{addtocategory}{category}{key}
4080
4081 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.
4082
4083 \end{ltxsyntax}
4084
4085 \subsubsection{Bibliography Headings and Environments}
4086 \label{use:bib:hdg}
4087
4088 \begin{ltxsyntax}
4089
4090 \cmditem{defbibenvironment}{name}{begin code}{end code}{item code}
4091
4092 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:
4093
4094 \begin{ltxexample}
4095 \defbibenvironment{bibliography}
4096 {\list{}
4097 {\setlength{\leftmargin}{\bibhang}%
4098 \setlength{\itemindent}{-\leftmargin}%
4099 \setlength{\itemsep}{\bibitemsep}%
4100 \setlength{\parsep}{\bibparsep}}}
4101 {\endlist}
4102 {\item}
4103 \end{ltxexample}
4104 %
4105 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}.
4106
4107 \cmditem{defbibheading}{name}[title]{code}
4108
4109 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:
4110
4111 \begin{ltxexample}
4112 \defbibheading{bibliography}[\bibname]{%
4113 \chapter*{#1}%
4114 \markboth{#1}{#1}}
4115 \end{ltxexample}
4116
4117 \end{ltxsyntax}
4118
4119 The following headings, which are intended for use with \cmd{printbibliography} and \cmd{printbibheading}, are predefined:
4120
4121 \begin{valuelist*}
4122
4123 \item[bibliography]
4124 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.
4125
4126 \item[subbibliography]
4127 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.
4128
4129 \item[bibintoc]
4130 Similar to \texttt{bibliography} above but adds an entry to the table of contents.
4131
4132 \item[subbibintoc]
4133 Similar to \texttt{subbibliography} above but adds an entry to the table of contents.
4134
4135 \item[bibnumbered]
4136 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.
4137
4138 \item[subbibnumbered]
4139 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.
4140
4141 \item[none]
4142 A blank heading definition. Use this to suppress the heading.
4143
4144 \end{valuelist*}
4145
4146 The following headings intended for use with \cmd{printbiblist} are predefined:
4147
4148 \begin{valuelist*}
4149
4150 \item[biblist]
4151 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.
4152
4153 \item[biblistintoc]
4154 Similar to \texttt{biblist} above but adds an entry to the table of contents.
4155
4156 \item[biblistnumbered]
4157 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.
4158
4159 \end{valuelist*}
4160
4161 \subsubsection{Bibliography Notes}
4162 \label{use:bib:nts}
4163
4164 \begin{ltxsyntax}
4165
4166 \cmditem{defbibnote}{name}{text}
4167
4168 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}.
4169
4170 \end{ltxsyntax}
4171
4172 \subsubsection{Bibliography Filters and Checks}
4173 \label{use:bib:flt}
4174
4175 \begin{ltxsyntax}
4176
4177 \cmditem{defbibfilter}{name}{expression}
4178
4179 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:
4180
4181 \end{ltxsyntax}
4182
4183 \begin{optionlist*}
4184
4185 \valitem{segment}{integer}
4186
4187 Matches all entries cited in reference segment \prm{integer}.
4188
4189 \valitem{type}{entrytype}
4190
4191 Matches all entries whose entry type is \prm{entrytype}.
4192
4193 \valitem{subtype}{subtype}
4194
4195 Matches all entries whose \bibfield{entrysubtype} is \prm{subtype}.
4196
4197 \valitem{keyword}{keyword}
4198
4199 Matches all entries whose \bibfield{keywords} field includes \prm{keyword}. If the \prm{keyword} contains spaces, it needs to be wrapped in braces.
4200
4201 \valitem{category}{category}
4202
4203 Matches all entries assigned to \prm{category} with \cmd{addtocategory}.
4204
4205 \end{optionlist*}
4206
4207 Here is an example of a filter expression:
4208
4209 \begin{ltxexample}[style=latex,keywords={and,or,not,type,keyword}]
4210 \defbibfilter{example}{%
4211 ( type=book or type=inbook )
4212 and keyword=abc
4213 and not keyword={x y z}
4214 }
4215 \end{ltxexample}
4216 %
4217 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 are separated by whitespace (spaces, tabs, or line endings). 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:
4218
4219 \begin{ltxexample}[style=ifthen,morekeywords={\\type,\\keyword}]
4220 \defbibfilter{example}{%
4221 \( \type{book} \or \type{inbook} \)
4222 \and \keyword{abc}
4223 \and \not \keyword{x y z}
4224 }
4225 \end{ltxexample}
4226 %
4227 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.
4228
4229 \begin{ltxsyntax}
4230
4231 \cmditem{defbibcheck}{name}{code}
4232
4233 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:
4234
4235 \begin{ltxexample}
4236 \defbibcheck{<<abstract>>}{%
4237 \iffieldundef{abstract}{<<\skipentry>>}{}}
4238 ...
4239 \printbibliography[<<check=abstract>>]
4240 \end{ltxexample}
4241 %
4242 The following check will exclude all entries published before the year 2000:
4243
4244 \begin{ltxexample}
4245 \defbibcheck{recent}{%
4246 \iffieldint{year}
4247 {\ifnumless{\thefield{year}}{2000}
4248 {\skipentry}
4249 {}}
4250 {\skipentry}}
4251 \end{ltxexample}
4252 %
4253 See the author guide, in particular \secref{aut:aux:tst,aut:aux:ife}, for further details.
4254
4255 \end{ltxsyntax}
4256
4257 \subsubsection{Reference Contexts}
4258 \label{use:bib:context}
4259
4260 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:
4261
4262 \begin{itemize}
4263 \item A sorting template
4264 \item A template for constructing the sorting keys for names
4265 \item A string prefix for citation schemes which use alphabetic or numeric labels
4266 \item A template for calculating name uniqueness information
4267 \item A template for constructing alphabetic labels for names
4268 \item A multiscript default <form>
4269 \item A multiscript default <language>
4270 \end{itemize}
4271 %
4272 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.
4273 The former use is the most common when one needs to print more than one bibliography list with different, for example, sorting.
4274
4275 \begin{ltxexample}
4276 \usepackage[sorting=nyt]{biblatex}
4277 \begin{document}
4278 \cite{one}
4279 \cite{two}
4280 \printbibliography
4281 \newrefcontext[sorting=ydnt]
4282 \printbibliography
4283 \end{ltxexample}
4284 %
4285 Here we print two bibliographies, one with the default <nyt> sorting template and one with the <ydnt> sorting template.
4286
4287 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:
4288
4289 \begin{ltxexample}
4290 \usepackage[sorting=nyt,style=authoryear]{biblatex}
4291 \DeclareSortingTemplate{yntd}{
4292 \sort{
4293 \field[strside=left,strwidth=4]{sortyear}
4294 \field[strside=left,strwidth=4]{year}
4295 \literal{9999}
4296 }
4297 \sort{
4298 \field{sortname}
4299 \field{author}
4300 \field{editor}
4301 }
4302 \sort[direction=descending]{
4303 \field{sorttitle}
4304 \field{title}
4305 }
4306 }
4307 \begin{document}
4308 \cite{one}
4309 \cite{two}
4310 \printbibliography
4311 \newrefcontext[sorting=yntd]
4312 \cite{one}
4313 \cite{two}
4314 \printbibliography
4315 \end{ltxexample}
4316 %
4317 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.
4318
4319 Reference contexts can be declared with \cmd{DeclareRefcontext} and referred to by name, see below.
4320
4321 By default, data for a citation is drawn from the reference context of the last bibliography in which it was printed. For example:
4322
4323 \begin{ltxexample}[style=latex]
4324 \DeclareRefcontext{ap}{labelprefix=A}
4325 \begin{document}
4326
4327 \cite{book, article, misc}
4328
4329 \printbibliography[type=book]
4330
4331 \newrefcontext{ap}
4332 \printbibliography[type=article]
4333
4334 \newrefcontext[sorting=ydnt]
4335 \printbibliography[type=misc]
4336
4337 \end{document}
4338 \end{ltxexample}
4339 %
4340 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:
4341
4342 \begin{itemize}
4343 \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.
4344 \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.
4345 \item The citation of entry \bibfield{misc} would draw its data from the reference context with \opt{sorting=ydnt}
4346 \end{itemize}
4347 %
4348 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 programatically, see the \cmd{assignrefcontext*} macros below.
4349
4350 \begin{ltxsyntax}
4351
4352 \cmditem{DeclareRefcontext}{name}{key=value, \dots}
4353
4354 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:
4355
4356 \begin{optionlist*}
4357
4358 \valitem[default]{msform}{form}
4359
4360 The default multiscript field alternate <form>. Must be one of the forms declared in <multiscriptforms> constant. This controls the default <form> for multiscript aware macros and citations within the scope of the refcontext. See \ref{use:multiscript}.
4361
4362 \valitem[en-us]{mslang}{bcp47tag}
4363
4364 The default multiscript field alternate <language> as a BCP47 tag. This controls the default <language> for multiscript aware macros and citations within the scope of the refcontext. See \ref{use:multiscript}.
4365
4366 \valitem{sorting}{name}
4367
4368 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.
4369
4370 \valitem{sortingnamekeytemplatename}{name}
4371
4372 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.
4373
4374 \valitem{uniquenametemplatename}{name}
4375
4376 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.
4377
4378 \valitem{labelalphanametemplatename}{name}
4379
4380 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.
4381
4382 \valitem{nametemplates}{name}
4383
4384 A convenience meta-option which sets \opt{sortingnamekeytemplate}, \opt{uniquenametemplate} and \opt{labelalphanametemplate} 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.
4385
4386 \valitem{labelprefix}{string}
4387
4388 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.
4389
4390 \end{optionlist*}
4391 %
4392
4393 \envitem{refcontext}[key=value, \dots]{name}
4394
4395 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}.
4396
4397 The \opt{refcontext} environment cannot be nested and \biblatex will generate an error if you try to do so.
4398
4399 \cmditem{newrefcontext}[key=value, \dots]{name}
4400
4401 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.
4402
4403 \cmditem{localrefcontext}[key=value, \dots]{name}
4404
4405 This command is similar to the \env{newrefcontext} command except that it sets up the reference context only locally.
4406 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.
4407 \end{ltxsyntax}
4408 %
4409 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:
4410
4411 \begin{ltxexample}[style=latex]
4412 \usepackage[sorting=nty]{biblatex}
4413
4414 \DeclareRefcontext{testrc}{sorting=nyt}
4415
4416 % Global reference context:
4417 % sorting=nty
4418 % sortingnamekeytemplate=global
4419 % labelprefix=
4420
4421 \begin{document}
4422
4423 \begin{refcontext}{testrc}
4424 % reference context:
4425 % sorting=nyt
4426 % sortingnamekeytemplate=global
4427 % labelprefix=
4428 \end{refcontext}
4429
4430 \begin{refcontext}[labelprefix=A]{testrc}
4431 % reference context:
4432 % sorting=nyt
4433 % sortingnamekeytemplate=global
4434 % labelprefix=A
4435 \end{refcontext}
4436
4437 \begin{refcontext}[sorting=ydnt,labelprefix=A]
4438 % reference context:
4439 % sorting=ydnt
4440 % sortingnamekeytemplate=global
4441 % labelprefix=A
4442 \end{refcontext}
4443
4444 \newrefcontext}[labelprefix=B]
4445 % reference context:
4446 % sorting=nty
4447 % sortingnamekeytemplate=global
4448 % labelprefix=B
4449 \endrefcontext
4450
4451 \newrefcontext}[sorting=ynt,labelprefix=C]{testrc}
4452 % reference context:
4453 % sorting=ynt
4454 % sortingnamekeytemplate=global
4455 % labelprefix=C
4456 \endrefcontext
4457 \end{ltxexample}
4458
4459 \begin{ltxsyntax}
4460
4461 \cmditem{assignrefcontextkeyws}[key=value, \dots]{keyword1,keyword2, ...}
4462 \cmditem{assignrefcontextkeyws*}[key=value, \dots]{keyword1,keyword2, ...}
4463 \cmditem{assignrefcontextcats}[key=value, \dots]{category1, category2, ...}
4464 \cmditem{assignrefcontextcats*}[key=value, \dots]{category1, category2, ...}
4465 \cmditem{assignrefcontextentries}[key=value, \dots]{entrykey1, entrykey2, ...}
4466 \cmditem{assignrefcontextentries*}[key=value, \dots]{entrykey1, entrykey2, ...}
4467 \cmditem{assignrefcontextentries}[key=value, \dots]{*}
4468 \cmditem{assignrefcontextentries*}[key=value, \dots]{*}
4469
4470 \end{ltxsyntax}
4471 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:
4472
4473 \begin{ltxexample}[style=latex]
4474 \assignrefcontextentries[labelprefix=A]{key2}
4475 \cite{key1}
4476 \begin{refcontext}[labelprefix=B]
4477 \cite{key2}
4478 \end{refcontext}
4479 \end{ltxexample}
4480 %
4481 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>).
4482 The starred versions do not override a local refcontext and so with:
4483
4484 \begin{ltxexample}[style=latex]
4485 \assignrefcontextentries*[labelprefix=A]{key2}
4486 \cite{key1}
4487 \begin{refcontext}[labelprefix=B]
4488 \cite{key2}
4489 \end{refcontext}
4490 \end{ltxexample}
4491 %
4492 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.
4493
4494 \begin{ltxexample}[style=latex]
4495 \DeclareRefcontext{testrc}{labelprefix=A}
4496 \assignrefcontextentries[name=testrc]{key2}
4497 \cite{key1}
4498 \begin{refcontext}[labelprefix=B]
4499 \cite{key2}
4500 \end{refcontext}
4501 \end{ltxexample}
4502 %
4503 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>).
4504
4505 \begin{ltxexample}[style=latex]
4506 \DeclareRefcontext{testrc}{labelprefix=A}
4507 \assignrefcontextentries[name=testrc,labelprefix=C]{key2}
4508 \cite{key1}
4509 \begin{refcontext}[labelprefix=B]
4510 \cite{key2}
4511 \end{refcontext}
4512 \end{ltxexample}
4513 %
4514 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>).
4515
4516 \begin{ltxsyntax}
4517 \cmditem{GenRefcontextData}{key=value, \dots}
4518
4519 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.
4520 \end{ltxsyntax}
4521
4522 \subsubsection{Dynamic Entry Sets}
4523 \label{use:bib:set}
4524
4525 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}:
4526
4527 \begin{ltxsyntax}
4528
4529 \cmditem{defbibentryset}{key}{key1,key2,key3, \dots}
4530
4531 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.
4532
4533 \end{ltxsyntax}
4534
4535 \subsection{Citation Commands}
4536 \label{use:cit}
4537
4538 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:
4539
4540 \begin{ltxsyntax}
4541
4542 \cmditem*{command}[prenote][postnote]{keys}<punctuation>
4543
4544 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.
4545
4546 \end{ltxsyntax}
4547
4548 \subsubsection{Standard Commands}
4549 \label{use:cit:std}
4550
4551 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.
4552
4553 \begin{ltxsyntax}
4554
4555 \cmditem{cite}[prenote][postnote]{key}
4556 \cmditem{Cite}[prenote][postnote]{key}
4557
4558 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.
4559
4560 \cmditem{parencite}[prenote][postnote]{key}
4561 \cmditem{Parencite}[prenote][postnote]{key}
4562
4563 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.
4564
4565 \cmditem{footcite}[prenote][postnote]{key}
4566 \cmditem{footcitetext}[prenote][postnote]{key}
4567
4568 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}.
4569
4570 \end{ltxsyntax}
4571
4572 \subsubsection{Style-specific Commands}
4573 \label{use:cit:cbx}
4574
4575 The following additional citation commands are only provided by some of the citation styles which come with this package.
4576
4577 \begin{ltxsyntax}
4578
4579 \cmditem{textcite}[prenote][postnote]{key}
4580 \cmditem{Textcite}[prenote][postnote]{key}
4581
4582 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.
4583
4584 \cmditem{smartcite}[prenote][postnote]{key}
4585 \cmditem{Smartcite}[prenote][postnote]{key}
4586
4587 Like \cmd{parencite} in a footnote and like \cmd{footcite} in the body.
4588
4589 \cmditem{cite*}[prenote][postnote]{key}
4590
4591 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.
4592
4593 \cmditem{parencite*}[prenote][postnote]{key}
4594
4595 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.
4596
4597 \cmditem{supercite}{key}
4598
4599 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.
4600
4601 \end{ltxsyntax}
4602
4603 \subsubsection{Qualified Citation Lists}
4604 \label{use:cit:mlt}
4605
4606 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:
4607
4608 \begin{ltxexample}
4609 \parencites[35]{key1}[88--120]{key2}[23]{key3}
4610 \end{ltxexample}
4611 %
4612 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:
4613
4614 \begin{ltxexample}
4615 \parencites[35]{key1}[chapter 2 in][]{key2}[23]{key3}
4616 \end{ltxexample}
4617 %
4618 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:
4619
4620 \begin{ltxexample}
4621 \parencites<<(>>and chapter 3<<)>>[35]{key1}[78]{key2}[23]{key3}
4622 \parencites<<(>>Compare<<)()>>[35]{key1}[78]{key2}[23]{key3}
4623 \parencites<<(>>See<<)(>>and the introduction<<)>>[35]{key1}[78]{key2}[23]{key3}
4624 \end{ltxexample}
4625 %
4626 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.
4627
4628 \begin{ltxexample}[style=latex,showspaces]
4629 \parencites[35]{key1}[78]{key2}<<\relax>>[...]
4630 \parencites[35]{key1}[78]{key2}<<\ >>{...}
4631 \end{ltxexample}
4632 %
4633 By default, this package provides the following multicite commands which correspond to regular commands from \secref{use:cit:std, use:cit:cbx}:
4634
4635 \begin{ltxsyntax}
4636
4637 \cmditem{cites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4638 \cmditem{Cites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4639
4640 The multicite version of \cmd{cite} and \cmd{Cite}, respectively.
4641
4642 \cmditem{parencites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4643 \cmditem{Parencites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4644
4645 The multicite version of \cmd{parencite} and \cmd{Parencite}, respectively.
4646
4647 \cmditem{footcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4648 \cmditem{footcitetexts}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4649
4650 The multicite version of \cmd{footcite} and \cmd{footcitetext}, respectively.
4651
4652 \cmditem{smartcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4653 \cmditem{Smartcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4654
4655 The multicite version of \cmd{smartcite} and \cmd{Smartcite}, respectively.
4656
4657 \cmditem{textcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4658 \cmditem{Textcites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4659
4660 The multicite version of \cmd{textcite} and \cmd{Textcite}, respectively.
4661
4662 \cmditem{supercites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4663
4664 The multicite version of \cmd{supercite}. This command is only provided by the numeric styles.
4665
4666 \end{ltxsyntax}
4667
4668 \subsubsection{Style-independent Commands}
4669 \label{use:cit:aut}
4670
4671 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).
4672
4673 \begin{ltxsyntax}
4674
4675 \cmditem{autocite}[prenote][postnote]{key}
4676 \cmditem{Autocite}[prenote][postnote]{key}
4677
4678 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.
4679
4680 \cmditem*{autocite*}[prenote][postnote]{key}
4681 \cmditem*{Autocite*}[prenote][postnote]{key}
4682
4683 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*}.
4684
4685 \cmditem{autocites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4686 \cmditem{Autocites}(multiprenote)(multipostnote)[prenote][postnote]{key}|...|[prenote][postnote]{key}
4687
4688 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.
4689
4690 \end{ltxsyntax}
4691
4692 \subsubsection{Text Commands}
4693 \label{use:cit:txt}
4694
4695 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.
4696
4697 \begin{ltxsyntax}
4698
4699 \cmditem{citeauthor}[prenote][postnote]{key}
4700 \cmditem*{citeauthor*}[prenote][postnote]{key}
4701 \cmditem{Citeauthor}[prenote][postnote]{key}
4702 \cmditem*{Citeauthor*}[prenote][postnote]{key}
4703
4704 These commands print the authors. Strictly speaking, it prints the \bibfield{labelname} list, which may be the
4705 \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 refering to a paper in the singular when otherwise \cmd{citeauthor} would generate a (naturally plural) list of names.
4706
4707 \cmditem{citetitle}[prenote][postnote]{key}
4708 \cmditem*{citetitle*}[prenote][postnote]{key}
4709
4710 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.
4711
4712 \cmditem{citeyear}[prenote][postnote]{key}
4713 \cmditem*{citeyear*}[prenote][postnote]{key}
4714
4715 This command prints the year (\bibfield{year} field or year component of \bibfield{date}). The starred variant includes the \bibfield{extradate} information, if any.
4716
4717 \cmditem{citedate}[prenote][postnote]{key}
4718 \cmditem*{citedate*}[prenote][postnote]{key}
4719
4720 This command prints the full date (\bibfield{date} or \bibfield{year}). The starred variant includes the \bibfield{extradate} information, if any.
4721
4722 \cmditem{citeurl}[prenote][postnote]{key}
4723
4724 This command prints the \bibfield{url} field.
4725
4726 \cmditem{parentext}{text}
4727
4728 This command wraps the \prm{text} in context sensitive parentheses.
4729
4730 \cmditem{brackettext}{text}
4731
4732 This command wraps the \prm{text} in context sensitive brackets.
4733
4734 \end{ltxsyntax}
4735
4736 \subsubsection{Special Commands}
4737 \label{use:cit:spc}
4738
4739 The following special commands are also provided by the core of \biblatex.
4740
4741 \begin{ltxsyntax}
4742
4743 \cmditem{nocite}{key}
4744 \cmditem*{nocite}|\{*\}|
4745
4746 This command is similar to the standard \latex \cmd{nocite} command. It
4747 adds the \prm{key} to the bibliography without printing a citation. If the
4748 \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.
4749
4750 \cmditem{fullcite}[prenote][postnote]{key}
4751
4752 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.
4753
4754 \cmditem{footfullcite}[prenote][postnote]{key}
4755
4756 Similar to \cmd{fullcite} but puts the entire citation in a footnote and adds a period at the end.
4757
4758 \cmditem{volcite}[prenote]{volume}[pages]{key}
4759 \cmditem{Volcite}[prenote]{volume}[pages]{key}
4760
4761 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{volcitevolume} (\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}).
4762
4763 \cmditem{volcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4764 \cmditem{Volcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4765
4766 The multicite version of \cmd{volcite} and \cmd{Volcite}, respectively.
4767
4768 \cmditem{pvolcite}[prenote]{volume}[pages]{key}
4769 \cmditem{Pvolcite}[prenote]{volume}[pages]{key}
4770
4771 Similar to \cmd{volcite} but based on \cmd{parencite}.
4772
4773 \cmditem{pvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4774 \cmditem{Pvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4775
4776 The multicite version of \cmd{pvolcite} and \cmd{Pvolcite}, respectively.
4777
4778 \cmditem{fvolcite}[prenote]{volume}[pages]{key}
4779 \cmditem{ftvolcite}[prenote]{volume}[pages]{key}
4780
4781 Similar to \cmd{volcite} but based on \cmd{footcite} and \cmd{footcitetext}, respectively.
4782
4783 \cmditem{fvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4784 \cmditem{Fvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4785
4786 The multicite version of \cmd{fvolcite} and \cmd{Fvolcite}, respectively.
4787
4788 \cmditem{svolcite}[prenote]{volume}[pages]{key}
4789 \cmditem{Svolcite}[prenote]{volume}[pages]{key}
4790
4791 Similar to \cmd{volcite} but based on \cmd{smartcite}.
4792
4793 \cmditem{svolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4794 \cmditem{Svolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4795
4796 The multicite version of \cmd{svolcite} and \cmd{Svolcite}, respectively.
4797
4798 \cmditem{tvolcite}[prenote]{volume}[pages]{key}
4799 \cmditem{Tvolcite}[prenote]{volume}[pages]{key}
4800
4801 Similar to \cmd{volcite} but based on \cmd{textcite}.
4802
4803 \cmditem{tvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4804 \cmditem{Tvolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4805
4806 The multicite version of \cmd{tvolcite} and \cmd{Tvolcite}, respectively.
4807
4808 \cmditem{avolcite}[prenote]{volume}[pages]{key}
4809 \cmditem{Avolcite}[prenote]{volume}[pages]{key}
4810
4811 Similar to \cmd{volcite} but based on \cmd{autocite}.
4812
4813 \cmditem{avolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4814 \cmditem{Avolcites}(multiprenote)(multipostnote)[prenote]{volume}[pages]{key}|\\...|[prenote]{volume}[pages]{key}
4815
4816 The multicite version of \cmd{avolcite} and \cmd{Avolcite}, respectively.
4817
4818 \cmditem{notecite}[prenote][postnote]{key}
4819 \cmditem{Notecite}[prenote][postnote]{key}
4820
4821 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).
4822
4823 \cmditem{pnotecite}[prenote][postnote]{key}
4824 \cmditem{Pnotecite}[prenote][postnote]{key}
4825
4826 Similar to \cmd{notecite} but the notes are printed in parentheses.
4827
4828 \cmditem{fnotecite}[prenote][postnote]{key}
4829
4830 Similar to \cmd{notecite} but the notes are printed in a footnote.
4831
4832 \end{ltxsyntax}
4833
4834 \subsubsection{Low-level Commands}
4835 \label{use:cit:low}
4836
4837 The following commands are also provided by the core of \biblatex. They grant access to all lists and fields at a lower level.
4838
4839 \begin{ltxsyntax}
4840
4841 \cmditem{citefield}[prenote][postnote]{key}[format][msform][mslang]{field}
4842
4843 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} (optionally a multiscript field of \prm{msform}/\prm{mslang}), in the sense explained in \secref{bib:fld}.
4844
4845 \cmditem{citelist}[prenote][postnote]{key}[format][msform][mslang]{literal list}
4846
4847 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} (optionally a multiscript list of \prm{msform}/\prm{mslang}), in the sense explained in \secref{bib:fld}.
4848
4849 \cmditem{citename}[prenote][postnote]{key}[format][msform][mslang]{name list}
4850
4851 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} (optionally a multiscript name of \prm{msform}/\prm{mslang}), in the sense explained in \secref{bib:fld}.
4852
4853 \end{ltxsyntax}
4854
4855 \subsubsection{Miscellaneous Commands}
4856 \label{use:cit:msc}
4857
4858 The commands in this section are little helpers related to citations.
4859
4860 \begin{ltxsyntax}
4861
4862 \csitem{citereset}
4863
4864 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}.
4865
4866 \csitem{citereset*}
4867
4868 Similar to \cmd{citereset} but only executes the style's initialization hook, without resetting the internal citation trackers.
4869
4870 \csitem{mancite}
4871
4872 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}.
4873
4874 \csitem{pno}
4875
4876 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.
4877
4878 \csitem{ppno}
4879
4880 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.
4881
4882 \csitem{nopp}
4883
4884 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.
4885
4886 \csitem{psq}
4887
4888 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.
4889
4890 \csitem{psqq}
4891
4892 Similar to \cmd{psq} but indicates an open-ended page range. 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.
4893
4894 \cmditem{pnfmt}{text}
4895
4896 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.
4897
4898 \begin{ltxexample}
4899 \autocite[\pnfmt{378-381, 383} and more]{sigfridsson}
4900 \end{ltxexample}
4901
4902 \cmditem{RN}{integer}
4903
4904 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}.
4905
4906 \cmditem{Rn}{integer}
4907
4908 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}.
4909
4910 \end{ltxsyntax}
4911
4912 \subsubsection{\sty{natbib} Compatibility Commands}
4913 \label{use:cit:nat}
4914
4915 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.
4916
4917 \subsubsection[\sty{mcite}-like Citation Commands]{\sty{mcite}-like Citation Commands}
4918 \label{use:cit:mct}
4919
4920 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:
4921
4922 \begin{ltxexample}
4923 \mcite{key1,setA,*keyA1,*keyA2,*keyA3,key2,setB,*keyB1,*keyB2,*keyB3}
4924 \end{ltxexample}
4925 %
4926 is essentially equivalent to this:
4927
4928 \begin{ltxexample}
4929 \defbibentryset{setA}{keyA1,keyA2,keyA3}%
4930 \defbibentryset{setB}{keyB1,keyB2,keyB3}%
4931 \cite{key1,setA,key2,setB}
4932 \end{ltxexample}
4933 %
4934 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:
4935
4936 \begin{ltxexample}
4937 \mcite*[pre][post]{setA,*keyA1,*keyA2,*keyA3}
4938 \end{ltxexample}
4939 %
4940 will execute:
4941
4942 \begin{ltxexample}
4943 \defbibentryset{setA}{keyA1,keyA2,keyA3}%
4944 \cite*[pre][post]{setA}
4945 \end{ltxexample}
4946 %
4947 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:
4948
4949 \begin{table}
4950 \caption{\sty{mcite}-like commands}
4951 \label{use:cit:mct:tab1}
4952 \tablesetup
4953 \begin{tabular}{@{}V{0.5\textwidth}@{}V{0.5\textwidth}@{}}
4954 \toprule
4955 \multicolumn{1}{@{}H}{Standard Command} &
4956 \multicolumn{1}{@{}H}{\sty{mcite}-like Command} \\
4957 \cmidrule(r){1-1}\cmidrule{2-2}
4958 |\cite| & |\mcite| \\
4959 |\Cite| & |\Mcite| \\
4960 |\parencite| & |\mparencite| \\
4961 |\Parencite| & |\Mparencite| \\
4962 |\footcite| & |\mfootcite| \\
4963 |\footcitetext| & |\mfootcitetext| \\
4964 |\textcite| & |\mtextcite| \\
4965 |\Textcite| & |\Mtextcite| \\
4966 |\supercite| & |\msupercite| \\
4967 |\autocite| & |\mautocite| \\
4968 |\Autocite| & |\Mautocite| \\
4969 \bottomrule
4970 \end{tabular}
4971 \end{table}
4972
4973 \begin{ltxexample}
4974 \cite{<<glashow>>,*salam,*weinberg}
4975 \end{ltxexample}
4976 %
4977 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:
4978
4979 \begin{ltxexample}
4980 \mcite{<<set1>>,*glashow,*salam,*weinberg}
4981 \end{ltxexample}
4982 %
4983 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.
4984
4985 \begin{table}
4986 \caption[\sty{mcite}-like syntax]
4987 {\sty{mcite}-like syntax (sample output with \kvopt{style}{numeric} and \opt{subentry} option)}
4988 \label{use:cit:mct:tab2}
4989 \tablesetup
4990 \begin{tabular}{@{}V{0.6\textwidth}@{}V{0.1\textwidth}@{}p{0.3\textwidth}@{}}
4991 \toprule
4992 \multicolumn{1}{@{}H}{Input} &
4993 \multicolumn{1}{@{}H}{Output} &
4994 \multicolumn{1}{@{}H}{Comment} \\
4995 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule{3-3}
4996 |\mcite{set1,*glashow,*salam,*weinberg}|& [1] & Defining and citing the set \\
4997 |\mcite{set1}| & [1] & Subsequent citation of the set \\
4998 |\cite{set1}| & [1] & Regular |\cite| works as usual \\
4999 |\mcite{set1,*glashow,*salam,*weinberg}|& [1] & Redundant, but permissible \\
5000 |\mcite{glashow}| & [1a] & Citing a set member \\
5001 |\cite{weinberg}| & [1c] & Regular |\cite| works as well \\
5002 \bottomrule
5003 \end{tabular}
5004 \end{table}
5005
5006 \subsection{Localization Commands}
5007 \label{use:lng}
5008
5009 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.
5010
5011 \begin{ltxsyntax}
5012
5013 \cmditem{DefineBibliographyStrings}{language}{definitions}
5014
5015 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:
5016
5017 \begin{ltxexample}
5018 \DefineBibliographyStrings{american}{%
5019 bibliography = {Bibliography},
5020 shorthands = {Abbreviations},
5021 editor = {editor},
5022 editors = {editors},
5023 }
5024 \end{ltxexample}
5025 %
5026 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.
5027
5028 \cmditem{DefineBibliographyExtras}{language}{code}
5029
5030 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}.
5031
5032 \cmditem{UndefineBibliographyExtras}{language}{code}
5033
5034 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.
5035
5036 \cmditem{DefineHyphenationExceptions}{language}{text}
5037
5038 This is a \latex frontend to \tex's \cmd{hyphenation} command which defines hyphenation exceptions.
5039 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:
5040
5041 \begin{ltxexample}
5042 \DefineHyphenationExceptions{american}{%
5043 hy-phen-ation ex-cep-tion
5044 }
5045 \end{ltxexample}
5046
5047 \cmditem{NewBibliographyString}{key}
5048
5049 This command declares new localisation strings, \ie it initializes a new \prm{key} to be used in the
5050 \prm{definitions} of \cmd{DefineBibliographyStrings}. The \prm{key} argument may also be a comma"=separated
5051 list of key names. The keys listed in \secref{aut:lng:key} are defined by default.
5052
5053 \end{ltxsyntax}
5054
5055 \subsection{Entry Querying Commands}
5056 \label{use:eq}
5057 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.
5058
5059 \begin{ltxsyntax}
5060 \cmditem{ifentryseen}{entrykey}{true}{false}
5061 \cmditem{ifentryinbib}{entrykey}{true}{false}
5062 \cmditem{ifentrycategory}{entrykey}{category}{true}{false}
5063 \cmditem{ifentrykeyword}{entrykey}{keyword}{true}{false}
5064 \end{ltxsyntax}
5065
5066 \subsection{Formatting Commands}
5067 \label{use:fmt}
5068
5069 The commands and facilities presented in this section may be used to adapt the format of citations and the bibliography.
5070
5071 \subsubsection{Generic Commands and Hooks}
5072 \label{use:fmt:fmt}
5073
5074 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}.
5075
5076 \begin{ltxsyntax}
5077
5078 \csitem{bibsetup}
5079 Arbitrary code to be executed at the beginning of the bibliography, intended for commands which affect the layout of the bibliography.
5080
5081 \csitem{bibfont}
5082 Arbitrary code setting the font used in the bibliography. This is very similar to \cmd{bibsetup} but intended for switching fonts.
5083
5084 \csitem{citesetup}
5085 Arbitrary code to be executed at the beginning of each citation command.
5086
5087 \csitem{newblockpunct}
5088 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}).
5089
5090 \csitem{newunitpunct}
5091 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.
5092
5093 \csitem{finentrypunct}
5094 The punctuation printed at the very end of every bibliography entry, usually a period. The default definition is a period.
5095
5096 \csitem{entrysetpunct}
5097 The punctuation printed between bibliography subentries of an entry set. The default definition is a semicolon and a space.
5098
5099 \csitem{bibnamedelima}
5100 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.
5101
5102 \csitem{bibnamedelimb}
5103 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.
5104
5105 \csitem{bibnamedelimc}
5106 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.
5107
5108 \csitem{bibnamedelimd}
5109 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.
5110
5111 \csitem{bibnamedelimi}
5112 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.
5113
5114 \csitem{bibinitperiod}
5115 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.
5116
5117 \csitem{bibinitdelim}
5118 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.
5119
5120 \csitem{bibinithyphendelim}
5121 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.
5122
5123 \csitem{bibindexnamedelima}
5124 Replaces \cmd{bibnamedelima} in the index.
5125
5126 \csitem{bibindexnamedelimb}
5127 Replaces \cmd{bibnamedelimb} in the index.
5128
5129 \csitem{bibindexnamedelimc}
5130 Replaces \cmd{bibnamedelimc} in the index.
5131
5132 \csitem{bibindexnamedelimd}
5133 Replaces \cmd{bibnamedelimd} in the index.
5134
5135 \csitem{bibindexnamedelimi}
5136 Replaces \cmd{bibnamedelimi} in the index.
5137
5138 \csitem{bibindexinitperiod}
5139 Replaces \cmd{bibinitperiod} in the index.
5140
5141 \csitem{bibindexinitdelim}
5142 Replaces \cmd{bibinitdelim} in the index.
5143
5144 \csitem{bibindexinithyphendelim}
5145 Replaces \cmd{bibinithyphendelim} in the index.
5146
5147 \csitem{revsdnamepunct}
5148 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}:
5149
5150 \begin{ltxexample}
5151 Jones<<,>> Edward
5152 \end{ltxexample}
5153
5154 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.
5155
5156 \csitem{bibnamedash}
5157 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.
5158
5159 \csitem{labelnamepunct}\DeprecatedMark
5160 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
5161 \begin{ltxexample}
5162 \DeclareDelimFormat[bib]{nametitledelim}{%
5163 \addcolon\space}
5164 \end{ltxexample}
5165
5166 \csitem{subtitlepunct}
5167 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.
5168
5169 \csitem{intitlepunct}
5170 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.
5171
5172 \csitem{bibpagespunct}
5173 The separator printed before the \bibfield{pages} field. The default is a comma plus an interword space.
5174
5175 \csitem{bibpagerefpunct}
5176 The separator printed before the \bibfield{pageref} field. The default is an interword space.
5177
5178 \csitem{bibeidpunct}
5179 The separator printed before the \bibfield{eid} field (similar to \cmd{bibpagespunct}). The default is a comma plus an interword space.
5180
5181 \csitem{multinamedelim}\CSdelimMark
5182 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}.}
5183
5184 \csitem{finalnamedelim}\CSdelimMark
5185 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:
5186
5187 \begin{ltxexample}
5188 Michel Goossens<<,>> Frank Mittelbach <<and>> Alexander Samarin
5189 Edward Jones <<and>> Joe Williams
5190 \end{ltxexample}
5191 %
5192 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}.
5193
5194 \csitem{revsdnamedelim}\CSdelimMark
5195 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}:
5196
5197 \begin{ltxexample}
5198 Jones, Edward<<, and>> Joe Williams
5199 \end{ltxexample}
5200 %
5201 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.
5202
5203 \csitem{andothersdelim}\CSdelimMark
5204 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.
5205
5206 \csitem{multilistdelim}\CSdelimMark
5207 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.
5208
5209 \csitem{finallistdelim}\CSdelimMark
5210 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.
5211
5212 \csitem{andmoredelim}\CSdelimMark
5213 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.
5214
5215 \csitem{multicitedelim}
5216 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.
5217
5218 \csitem{multiciterangedelim}
5219 The delimiter printed between two citations if they are compressed to a range. The default is \cmd{bibrangedash}.
5220
5221 \csitem{multicitesubentrydelim}
5222 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.
5223
5224 \csitem{multicitesubentryrangedelim}
5225 The delimiter printed between two citations of the same set if they are compressed to a range. The default is \cmd{multiciterangedelim}.
5226
5227 \csitem{supercitedelim}
5228 Similar to \cmd{multicitedelim}, but used by the \cmd{supercite} command only. The default is a comma.
5229
5230 \csitem{superciterangedelim}
5231 Analogue of \cmd{multiciterangedelim} for \cmd{supercite}. The default is \cmd{bibrangedash}.
5232
5233 \csitem{supercitesubentrydelim}
5234 Analogue of \cmd{multicitesubentrydelim} for \cmd{supercite}. The default is \cmd{supercitedelim}.
5235
5236 \csitem{supercitesubentryrangedelim}
5237 Analogue of \cmd{multicitesubentryrangedelim} for \cmd{supercite}. The default is \cmd{superciterangedelim}.
5238
5239 \csitem{compcitedelim}
5240 Similar to \cmd{multicitedelim}, but used by certain citation styles when <compressing> multiple citations. The default definition is a comma plus an interword space.
5241
5242 \csitem{textcitedelim}
5243 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}.
5244
5245 \csitem{nametitledelim}\CSdelimMark
5246 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.
5247
5248 \csitem{nameyeardelim}\CSdelimMark
5249 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.
5250
5251 \csitem{namelabeldelim}\CSdelimMark
5252 The delimiter printed between the name\slash title and the label by alphabetic and numeric citation styles. The default definition is an interword space.
5253
5254 \csitem{nonameyeardelim}\CSdelimMark
5255 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.
5256
5257 \csitem{authortypedelim}\CSdelimMark
5258 The delimiter printed between the author and the \texttt{authortype}. The default is a comma followed by a space.
5259
5260 \csitem{editortypedelim}\CSdelimMark
5261 The delimiter printed between the editor and the \texttt{editor} or \texttt{editortype} string. The default is a comma followed by a space.
5262
5263 \csitem{translatortypedelim}\CSdelimMark
5264 The delimiter printed between the translator and the \texttt{translator} string. The default is a comma followed by a space.
5265
5266 \csitem{labelalphaothers}
5267 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.
5268
5269 \csitem{sortalphaothers}
5270 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:
5271
5272 \begin{ltxexample}
5273 \renewcommand*{\labelalphaothers}{\textbf{+}}
5274 \renewcommand*{\sortalphaothers}{+}
5275 \end{ltxexample}
5276 %
5277 If \cmd{sortalphaothers} is not redefined, it defaults to \cmd{labelalphaothers}.
5278
5279 \csitem{volcitedelim}
5280 The delimiter printed between the volume portion and the page/text portion of \cmd{volcite} and related commands (\secref{use:cit:spc}).
5281
5282 \cmditem{mkvolcitenote}{volume}{pages}
5283
5284 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.
5285
5286 \csitem{prenotedelim}\CSdelimMark
5287 The delimiter printed after the \prm{prenote} argument of a citation command. See \secref{use:cit} for details. The default is an interword space.
5288
5289 \csitem{postnotedelim}\CSdelimMark
5290 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.
5291
5292 \csitem{extpostnotedelim}\CSdelimMark
5293 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.
5294
5295 \csitem{multiprenotedelim}\CSdelimMark
5296 The delimiter printed after the \prm{multiprenote} argument of a citation command. See \secref{use:cit} for details. The default is \cs{prenotedelim}.
5297
5298 \csitem{multipostnotedelim}\CSdelimMark
5299 The delimiter printed before the \prm{multipostnote} argument of a citation command. See \secref{use:cit} for details. The default is \cs{postnotedelim}.
5300
5301 \cmditem{mkbibname<namepart>}{text}
5302 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:
5303
5304 \begin{ltxexample}
5305 \mkbibnamefamily
5306 \mkbibnamegiven
5307 \mkbibnameprefix
5308 \mkbibnamesuffix
5309 \end{ltxexample}
5310 %
5311 For backwards compatibility with the legacy \bibtex name parts, the following are also defined, will generate warnings and will set the correct macro:
5312
5313 \begin{ltxexample}
5314 \mkbibnamelast
5315 \mkbibnamefirst
5316 \mkbibnameaffix
5317 \end{ltxexample}
5318
5319 \cmditem{mkbibcompletenamefamily}{text}
5320 This command, which takes one argument, is used to format the complete name in \texttt{family} format order.
5321
5322 \cmditem{mkbibcompletenamefamilygiven}{text}
5323 This command, which takes one argument, is used to format the complete name in \texttt{family-given} format order.
5324
5325 \cmditem{mkbibcompletenamegivenfamily}{text}
5326 This command, which takes one argument, is used to format the complete name in \texttt{given-family} format order.
5327
5328 \cmditem{mkbibcompletename}{text}
5329 The initial value of all default formatting hooks \cmd{mkbibcompletename<formatorder>}.
5330
5331 \csitem{datecircadelim}\CSdelimMark
5332 When formatting dates with the global option \opt{datecirca} enabled, the delimiter printed after any localised <circa> term. Defaults to interword space.
5333
5334 \csitem{dateeradelim}\CSdelimMark
5335 When formatting dates with the global option \opt{dateera} set, the delimiter printed before the localisation era term. Defaults to interword space.
5336
5337 \csitem{dateuncertainprint}
5338 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}).
5339
5340 \csitem{enddateuncertainprint}
5341 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}).
5342
5343 \csitem{datecircaprint}
5344 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.
5345
5346 \csitem{enddatecircaprint}
5347 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.
5348
5349 \csitem{datecircaprintiso}
5350 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}.
5351
5352 \csitem{enddatecircaprintiso}
5353 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}.
5354
5355 \cmditem{dateeraprint}{yearfield}
5356 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.
5357
5358 \csitem{dateeraprintpre}
5359 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.
5360
5361 \csitem{relatedpunct}
5362 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:
5363
5364 \begin{ltxexample}
5365 A. Smith. Title. 2000, (Orig. pub. as<<->>Origtitle)
5366 \end{ltxexample}
5367
5368 \csitem{relateddelim}
5369 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:
5370
5371 \begin{ltxexample}
5372 Donald E. Knuth. Computers & Typesetting. 5 vols. Reading, Mass.: Addison-Wesley, 1984-1986.
5373 Vol. A: The TEXbook. 1984.
5374 Vol. B: TEX: The Program. 1986.
5375 Vol. C: The METAFONTbook. By. 1986.
5376 Vol. D: METAFONT: The Program. 1986.
5377 Vol. E: Computer Modern Typefaces. 1986.
5378 \end{ltxexample}
5379
5380 \csitem{relateddelim$<$relatedtype$>$}
5381 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.
5382
5383 \csitem{begrelateddelim}
5384 The generic separator before the block of related entries. The default definition is \cmd{newunitpunct}.
5385
5386 \csitem{begrelateddelim$<$relatedtype$>$}
5387 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.
5388
5389 \end{ltxsyntax}
5390
5391 \subsubsection{Context-sensitive Delimiters}
5392 \label{use:fmt:csd}
5393 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}.
5394
5395 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.
5396 \begin{ltxsyntax}
5397
5398 \cmditem{DeclareDelimFormat}[context, \dots]{name}{code}
5399 \cmditem*{DeclareDelimFormat}*[context, \dots]{name}{code}
5400
5401 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.
5402
5403 \cmditem{DeclareDelimAlias}[alias context, \dots]{alias}[delim context]{delim}
5404
5405 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 assigment 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.
5406
5407
5408 \begin{ltxexample}[style=latex]
5409 \DeclareDelimAlias[bib,biblist]{finalnamedelim}[]{multinamedelim}
5410 \end{ltxexample}
5411 %
5412 Defines the \opt{bib} and \opt{biblist} contexts of \cmd{finalnamedelim} as aliases of \cmd{multinamedelim} in global context.
5413 On the other hand
5414 \begin{ltxexample}[style=latex]
5415 \DeclareDelimAlias[bib,biblist]{finalnamedelim}{multinamedelim}
5416 \end{ltxexample}
5417 %
5418 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}.
5419
5420 \cmditem*{DeclareDelimAlias}*[alias context, \dots]{alias}[delim context]{delim}\DeprecatedMark
5421
5422 The starred version of \cmd{DeclareDelimAlias} is deprecated in favour of using unstarred \cmd{DeclareDelimAlias} with optional arguments.
5423
5424 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.
5425
5426 \cmditem{printdelim}[context]{name}
5427
5428 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.
5429
5430 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}
5431
5432 \cmditem{delimcontext}{context}
5433
5434 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.
5435
5436 \cmditem{DeclareDelimcontextAlias}{alias}{name}
5437
5438 The context-sensitive delimiter system creates delimiter contexts based on
5439 the name of citation commands (<parencite>, <textcite> etc.) passed to
5440 \cmd{DeclareCiteCommand}. In certain cases where there are nested
5441 definitions of citation commands where \cmd{DeclareCiteCommand} calls
5442 itself (see the definition of \cmd{textcite} in \sty{authoryear-icomp}
5443 for example). The delimiter context is then usually incorrect and the
5444 delimiter specifications do not work. For example, the definition of
5445 \cmd{textcite} in fact defines and uses \cmd{cbx@textcite} and so the
5446 context is automatically set to \opt{cbx@textcite} when printing the
5447 citation. Delimiter definitions expecting to see the context \opt{textcite}
5448 therefore do not work. Therefore this command is provided for style authors
5449 which aliases the context \prm{alias} to the context \prm{name}. For
5450 example:
5451
5452 \begin{ltxexample}[style=latex]
5453 \DeclareDelimcontextAlias{cbx@textcite}{textcite}
5454 \end{ltxexample}
5455 %
5456 This (which is a default setting), makes sure that when inside the
5457 \cmd{cbx@textcite} citation command, the context is in fact \opt{textcite}
5458 as expected.
5459
5460 \cmditem{UndeclareDelimcontextAlias}{alias}
5461
5462 Removes the delimiter context alias declared for \prm{alias}.
5463
5464 \end{ltxsyntax}
5465 %
5466 \biblatex\ has several default contexts which are established automatically in various places:
5467
5468 \begin{description}
5469 \item[none] At begin document
5470 \item[bib] Inside a bibliography begun with \cmd{printbibliography} or inside a \cmd{usedriver}
5471 \item[biblist] Inside a bibliography list begun with \cmd{printbiblist}
5472 \item[<citecommand>] Inside a citation command \cmd{citecommand} defined with \cmd{DeclareCiteCommand}
5473 \end{description}
5474
5475 For example, the defaults for \cmd{nametitledelim} are:
5476
5477 \begin{ltxexample}[style=latex]
5478 \DeclareDelimFormat{nametitledelim}{\addcomma\space}
5479 \DeclareDelimFormat[bib,biblist]{nametitledelim}{\labelnamepunct}
5480 \DeclareDelimFormat[textcite]{nametitledelim}{\addspace}
5481 \end{ltxexample}
5482 %
5483 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
5484
5485 \begin{ltxexample}[style=latex]
5486 \printdelim[textcite]{nametitledelim}
5487 \end{ltxexample}
5488 %
5489 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:
5490
5491 \begin{ltxexample}[style=latex]
5492 \DeclareDelimFormat{delima}{X}
5493 \DeclareDelimFormat[textcite]{delima}{Y}
5494 \renewcommand*{\delima}{Z}
5495 \end{ltxexample}
5496 %
5497 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.
5498
5499 \subsubsection{Language-specific Commands}
5500 \label{use:fmt:lng}
5501
5502 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.
5503
5504 \begin{ltxsyntax}
5505
5506 \csitem{bibrangedash}
5507
5508 The language specific dash to be used for ranges of numbers. Defaults to \cmd{textendash}.
5509
5510 \csitem{bibrangessep}
5511
5512 The language specific separator to be used between multiple ranges. Defaults to a comma followed by a space.
5513
5514 \csitem{bibdatesep}
5515
5516 The language specific separator used between date components in terse date formats. Defaults to \cmd{hyphen}.
5517
5518 \csitem{bibdaterangesep}
5519
5520 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.
5521
5522 \csitem{mkbibdatelong}
5523
5524 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.
5525
5526 \csitem{mkbibdateshort}
5527
5528 Similar to \cmd{mkbibdatelong} but using the language specific short date format.
5529
5530 \csitem{mkbibtimezone}
5531
5532 Modifies a timezone string passed in as the only argument. By default this changes <Z> to the value of \cmd{bibtimezone}.
5533
5534 \csitem{bibdateuncertain}
5535
5536 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.
5537
5538 \csitem{bibdateeraprefix}
5539
5540 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.
5541
5542 \csitem{bibdateeraendprefix}
5543
5544 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.
5545
5546 \csitem{bibtimesep}
5547
5548 The language specific marker which separates time components. Defaults to a colon.
5549
5550 \csitem{bibutctimezone}
5551
5552 The language specific string printed for the UTC timezone. Defaults to <Z>.
5553
5554 \csitem{bibtimezonesep}
5555
5556 The language specific marker which separates an optional time zone component from a time. Empty by default.
5557
5558 \csitem{bibtzminsep}
5559
5560 The language specific marker which separates hour and minute component of offset timezones. Defaults to a \cmd{bibtimesep}.
5561
5562 \csitem{bibdatetimesep}
5563
5564 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.
5565
5566 \csitem{finalandcomma}
5567
5568 Prints the comma to be inserted before the final <and> in a list, if applicable in the respective language. Here is an example:
5569
5570 \begin{ltxexample}
5571 Michel Goossens, Frank Mittelbach<<,>> and Alexander Samarin
5572 \end{ltxexample}
5573 %
5574 \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}.
5575
5576 \csitem{finalandsemicolon}
5577
5578 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:
5579
5580 \begin{ltxexample}
5581 Goossens, Mittelbach, and Samarin; Bertram and Wenworth<<;>> and Knuth
5582 \end{ltxexample}
5583 %
5584 \cmd{finalandsemicolon} is the semicolon before the word <and>. See also \cmd{textcitedelim} in \secref{use:fmt:fmt}.
5585
5586 \cmditem{mkbibordinal}{integer}
5587
5588 This command, which takes an integer as its argument, prints an ordinal number.
5589
5590 \cmditem{mkbibmascord}{integer}
5591
5592 Similar to \cmd{mkbibordinal}, but prints a masculine ordinal, if applicable in the respective language.
5593
5594 \cmditem{mkbibfemord}{integer}
5595
5596 Similar to \cmd{mkbibordinal}, but prints a feminine ordinal, if applicable in the respective language.
5597
5598 \cmditem{mkbibneutord}{integer}
5599
5600 Similar to \cmd{mkbibordinal}, but prints a neuter ordinal, if applicable in the respective language.
5601
5602 \cmditem{mkbibordedition}{integer}
5603
5604 Similar to \cmd{mkbibordinal}, but intended for use with the term <edition>.
5605
5606 \cmditem{mkbibordseries}{integer}
5607
5608 Similar to \cmd{mkbibordinal}, but intended for use with the term <series>.
5609
5610 \end{ltxsyntax}
5611
5612 \subsubsection{Lengths and Counters}
5613 \label{use:fmt:len}
5614
5615 The length registers and counters in this section may be changed in the document preamble with \cmd{setlength} and \cmd{setcounter}, respectively.
5616
5617 \begin{ltxsyntax}
5618
5619 \lenitem{bibhang}
5620
5621 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}.
5622
5623 \lenitem{biblabelsep}
5624
5625 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.
5626
5627 \lenitem{bibitemsep}
5628
5629 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.
5630
5631 \lenitem{bibnamesep}
5632
5633 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.
5634
5635 \lenitem{bibinitsep}
5636
5637 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.
5638
5639 \lenitem{bibparsep}
5640
5641 The vertical space between paragraphs within an entry in the bibliography. The default value is zero.
5642
5643 \cntitem{abbrvpenalty}
5644
5645 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.}
5646
5647 \cntitem{highnamepenalty}
5648
5649 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).
5650
5651 \cntitem{lownamepenalty}
5652
5653 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.
5654
5655 \cntitem{biburlnumpenalty}
5656
5657 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.
5658
5659 \cntitem{biburlucpenalty}
5660
5661 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all uppercase letters.
5662
5663 \cntitem{biburllcpenalty}
5664
5665 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all lowercase letters.
5666
5667 \cntitem{biburlbigbreakpenalty}
5668
5669 The \sty{biblatex} version of \sty{url}'s \len{UrlBigBreakPenalty}. The default value is \texttt{100}.
5670
5671 \cntitem{biburlbreakpenalty}
5672
5673 The \sty{biblatex} version of \sty{url}'s \len{UrlBreakPenalty}. The default value is \texttt{200}.
5674
5675 \lenitem{biburlbigskip}
5676
5677 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}.
5678
5679 \lenitem{biburlnumskip}
5680
5681 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.
5682
5683 \lenitem{biburlucskip}
5684
5685 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
5686
5687 \lenitem{biburllcskip}
5688
5689 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
5690
5691 \end{ltxsyntax}
5692
5693 \subsubsection{All-purpose Commands}
5694 \label{use:fmt:aux}
5695
5696 The commands in this section are all-purpose text commands which are generally available, not only in citations and the bibliography.
5697
5698 \begin{ltxsyntax}
5699
5700 \csitem{bibellipsis}
5701
5702 An ellipsis symbol with brackets: <[\dots\unkern]>.
5703
5704 \csitem{noligature}
5705
5706 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.
5707
5708 \csitem{hyphenate}
5709
5710 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.
5711
5712 \csitem{hyphen}
5713
5714 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.
5715
5716 \csitem{nbhyphen}
5717
5718 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.
5719
5720 \csitem{nohyphenation}
5721
5722 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.
5723
5724 \cmditem{textnohyphenation}{text}
5725
5726 Similar to \cmd{nohyphenation} but restricted to the \prm{text} argument.
5727
5728 \cmditem{mknumalph}{integer}
5729
5730 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.
5731
5732 \cmditem{mkbibacro}{text}
5733
5734 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.
5735
5736 \cmditem{autocap}{character}
5737
5738 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:
5739
5740 \begin{ltxexample}
5741 \autocap{s}pecial issue
5742 \end{ltxexample}
5743 %
5744 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:
5745
5746 \begin{ltxexample}
5747 \autocap{\'e}dition sp\'eciale
5748 \end{ltxexample}
5749 %
5750 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:
5751
5752 \begin{ltxexample}
5753 \autocap{\oe}uvres
5754 \end{ltxexample}
5755 %
5756 This will yield <Œuvres> or <œuvres>.
5757
5758 \end{ltxsyntax}
5759
5760 \subsection[Language notes]{Language-specific Notes}
5761 \label{use:loc}
5762
5763 The facilities discussed in this section are specific to certain localisation modules.
5764
5765 \subsubsection{American}
5766 \label{use:loc:us}
5767
5768 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:
5769
5770 \begin{ltxexample}
5771 \DefineBibliographyExtras{american}{%
5772 \stdpunctuation
5773 }
5774 \end{ltxexample}
5775 %
5776 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.
5777
5778 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.
5779
5780 \subsubsection{Bulgarian}
5781 \label{use:loc:bul}
5782
5783 Like the Greek localisation module, the Bulgarian module also requires \utf support. It will not work with any other encoding.
5784
5785 \subsubsection{Greek}
5786 \label{use:loc:grk}
5787
5788 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.
5789
5790 \subsubsection{Hungarian}
5791 \label{use:loc:hun}
5792
5793 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.
5794
5795 \subsubsection{Latvian}
5796 \label{use:loc:lav}
5797
5798 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.
5799
5800 \subsubsection{Lithuanian}
5801 \label{use:loc:lit}
5802
5803 The Lithuanian localisation module needs \utf support and will only work with this encoding.
5804
5805 \subsubsection{Marathi}
5806 \label{use:loc:mar}
5807
5808 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.
5809
5810 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}.
5811
5812 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.
5813
5814 \subsubsection{Romanian}
5815 \label{use:loc:ron}
5816
5817 The Romanian localisation module needs \utf support and will only work with this encoding.
5818
5819 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.
5820
5821 \subsubsection{Russian}
5822 \label{use:loc:rus}
5823
5824 Like the Greek and Lithuanian localisation module, the Russian module also requires \utf support. It will not work with any other encoding.
5825
5826 \subsubsection{Spanish}
5827 \label{use:loc:esp}
5828
5829 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.
5830
5831 \begin{ltxsyntax}
5832
5833 \cntitem{smartand}
5834
5835 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}.
5836
5837 \csitem{forceE}
5838
5839 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:
5840
5841 \begin{lstlisting}[style=bibtex]{}
5842 author = {Edward Jones and Eoin Maguire},
5843 author = {Edward Jones and <<{\forceE{E}}>>oin Maguire},
5844 \end{lstlisting}
5845 %
5846 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.
5847
5848 \csitem{forceY}
5849
5850 Similar to \cmd{forceE} but enforces <y>.
5851
5852 \end{ltxsyntax}
5853
5854 \subsubsection{Turkish}
5855 \label{use:loc:tur}
5856
5857 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}.
5858
5859
5860 \subsection{Usage Notes}
5861 \label{use:use}
5862
5863 The following sections give a basic overview of the \biblatex package and discuss some typical usage scenarios.
5864
5865 \subsubsection{Overview}
5866 \label{use:use:int}
5867
5868 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:
5869
5870 \begin{ltxexample}
5871 \documentclass{...}
5872 \usepackage[...]{biblatex}
5873 <<\addbibresource>>{<<bibfile.bib>>}
5874 \begin{document}
5875 <<\cite>>{...}
5876 ...
5877 <<\printbibliography>>
5878 \end{document}
5879 \end{ltxexample}
5880 %
5881 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:
5882
5883 \begin{enumerate}
5884
5885 \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}.
5886 \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.
5887 \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.
5888
5889 \end{enumerate}
5890
5891 \subsubsection{Auxiliary Files}
5892 \label{use:use:aux}
5893
5894 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}).
5895
5896 \subsubsection{Multiple Bibliographies}
5897 \label{use:use:mlt}
5898
5899 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.
5900
5901 \begin{ltxexample}
5902 \documentclass{...}
5903 \usepackage{biblatex}
5904 \addbibresource{...}
5905 \begin{document}
5906 \chapter{...}
5907 <<\begin{refsection}>>
5908 ...
5909 <<\printbibliography[heading=subbibliography]>>
5910 <<\end{refsection}>>
5911 \chapter{...}
5912 <<\begin{refsection}>>
5913 ...
5914 <<\printbibliography[heading=subbibliography]>>
5915 <<\end{refsection}>>
5916 \end{document}
5917 \end{ltxexample}
5918 %
5919 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.
5920
5921 \begin{ltxexample}
5922 \documentclass{...}
5923 \usepackage{biblatex}
5924 <<\defbibheading>>{<<subbibliography>>}{%
5925 \section*{References for Chapter \ref{<<refsection:\therefsection>>}}}
5926 \addbibresource{...}
5927 \begin{document}
5928 \chapter{...}
5929 <<\begin{refsection}>>
5930 ...
5931 <<\end{refsection}>>
5932 \chapter{...}
5933 <<\begin{refsection}>>
5934 ...
5935 <<\end{refsection}>>
5936 \printbibheading
5937 <<\printbibliography>>[<<section=1>>,<<heading=subbibliography>>]
5938 <<\printbibliography>>[<<section=2>>,<<heading=subbibliography>>]
5939 \end{document}
5940 \end{ltxexample}
5941 %
5942 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}:
5943
5944 \begin{ltxexample}
5945 \usepackage{<<nameref>>}
5946 \defbibheading{subbibliography}{%
5947 \section*{<<\nameref{refsection:\therefsection}>>}}
5948 \end{ltxexample}
5949 %
5950 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:
5951
5952 \begin{ltxexample}
5953 \printbibheading
5954 <<\bibbysection[heading=subbibliography]>>
5955 \end{ltxexample}
5956 %
5957 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.
5958
5959 \begin{ltxexample}
5960 \documentclass{...}
5961 \usepackage{biblatex}
5962 <<\defbibheading>>{<<subbibliography>>}{%
5963 \section*{References for Chapter \ref{<<refsegment:\therefsection\therefsegment>>}}}
5964 \addbibresource{...}
5965 \begin{document}
5966 \chapter{...}
5967 <<\begin{refsegment}>>
5968 ...
5969 <<\end{refsegment}>>
5970 \chapter{...}
5971 <<\begin{refsegment}>>
5972 ...
5973 <<\end{refsegment}>>
5974 \printbibheading
5975 <<\printbibliography>>[<<segment=1>>,<<heading=subbibliography>>]
5976 <<\printbibliography>>[<<segment=2>>,<<heading=subbibliography>>]
5977 \end{document}
5978 \end{ltxexample}
5979 %
5980 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:
5981
5982 \begin{ltxexample}
5983 \printbibheading
5984 <<\bibbysegment[heading=subbibliography]>>
5985 \end{ltxexample}
5986 %
5987 This is equivalent to giving one \cmd{printbibliography} command for every segment in the current \env{refsection}.
5988
5989 \subsubsection{Subdivided Bibliographies}
5990 \label{use:use:div}
5991
5992 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.
5993
5994 \begin{ltxexample}
5995 \documentclass{...}
5996 \usepackage{biblatex}
5997 \addbibresource{...}
5998 \begin{document}
5999 ...
6000 \printbibheading
6001 \printbibliography[<<nottype=online>>,heading=subbibliography,
6002 <<title={Printed Sources}>>]
6003 \printbibliography[<<type=online>>,heading=subbibliography,
6004 <<title={Online Sources}>>]
6005
6006 \end{document}
6007 \end{ltxexample}
6008 %
6009 You may also use more than two subdivisions:
6010
6011 \begin{ltxexample}
6012 \printbibliography[<<type=article>>,...]
6013 \printbibliography[<<type=book>>,...]
6014 \printbibliography[<<nottype=article>>,<<nottype=book>>,...]
6015 \end{ltxexample}
6016 %
6017 It is even possible to give a chain of different types of filters:
6018
6019 \begin{ltxexample}
6020 \printbibliography[<<section=2>>,<<type=book>>,<<keyword=abc>>,<<notkeyword=xyz>>]
6021 \end{ltxexample}
6022 %
6023 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.
6024
6025 \begin{ltxexample}
6026 \documentclass{...}
6027 \usepackage{biblatex}
6028 \addbibresource{...}
6029 \begin{document}
6030 ...
6031 \printbibheading
6032 \printbibliography[<<keyword=primary>>,heading=subbibliography,%
6033 <<title={Primary Sources}>>]
6034 \printbibliography[<<keyword=secondary>>,heading=subbibliography,%
6035 <<title={Secondary Sources}>>]
6036 \end{document}
6037 \end{ltxexample}
6038 %
6039 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:
6040
6041 \begin{ltxexample}
6042 \printbibliography[<<keyword=primary>>,...]
6043 \printbibliography[<<notkeyword=primary>>,...]
6044 \end{ltxexample}
6045 %
6046 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.
6047
6048 \begin{lstlisting}[style=bibtex]{}
6049 @Book{key,
6050 <<keywords>> = {<<primary>>,some,other,keywords},
6051 ...
6052 \end{lstlisting}
6053 %
6054 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.
6055
6056 \begin{ltxexample}
6057 \documentclass{...}
6058 \usepackage{biblatex}
6059 <<\DeclareBibliographyCategory>>{<<primary>>}
6060 <<\DeclareBibliographyCategory>>{<<secondary>>}
6061 <<\addtocategory>>{<<primary>>}{key1,key3,key6}
6062 <<\addtocategory>>{<<secondary>>}{key2,key4,key5}
6063 \addbibresource{...}
6064 \begin{document}
6065 ...
6066 \printbibheading
6067 \printbibliography[<<category=primary>>,heading=subbibliography,%
6068 <<title={Primary Sources}>>]
6069 \printbibliography[<<category=secondary>>,heading=subbibliography,%
6070 <<title={Secondary Sources}>>]
6071 \end{document}
6072 \end{ltxexample}
6073 %
6074 In this case it would also be sufficient to use one category only:
6075
6076 \begin{ltxexample}
6077 \printbibliography[<<category=primary>>,...]
6078 \printbibliography[<<notcategory=primary>>,...]
6079 \end{ltxexample}
6080 %
6081 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.
6082
6083 \begin{ltxexample}
6084 \documentclass{...}
6085 \usepackage{biblatex}
6086 <<\DeclareBibliographyCategory>>{<<primary>>}
6087 <<\DeclareBibliographyCategory>>{<<secondary>>}
6088 \addtocategory{primary}{key1,key3,key6}
6089 \addtocategory{secondary}{key2,key4,key5}
6090 <<\defbibheading>>{<<primary>>}{\section*{Primary Sources}}
6091 <<\defbibheading>>{<<secondary>>}{\section*{Secondary Sources}}
6092 \addbibresource{...}
6093 \begin{document}
6094 ...
6095 \printbibheading
6096 <<\bibbycategory>>
6097 \end{document}
6098 \end{ltxexample}
6099 %
6100 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.
6101
6102 \subsubsection{Entry Sets}
6103 \label{use:use:set}
6104
6105 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.
6106
6107 \paragraph{Static entry sets}
6108
6109 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:
6110
6111 \begin{lstlisting}[style=bibtex]{}
6112 <<@Set>>{<<set1>>,
6113 <<entryset>> = {<<key1,key2,key3>>},
6114 }
6115 \end{lstlisting}
6116 %
6117 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.
6118
6119 \paragraph[Dynamic entry sets]{Dynamic entry sets}
6120
6121 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}:
6122
6123 \begin{lstlisting}[style=bibtex]{}
6124 \defbibentryset{set1}{key1,key2,key3}
6125 \end{lstlisting}
6126 %
6127 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.
6128
6129 \subsubsection[Data Containers]{Data Containers}
6130 \label{use:use:xdat}
6131
6132 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:
6133
6134 \begin{lstlisting}[style=bibtex]{}
6135 <<@XData>>{<<hup>>,
6136 publisher = {Harvard University Press},
6137 location = {Cambridge, Mass.},
6138 }
6139 @Book{...,
6140 author = {...},
6141 title = {...},
6142 date = {...},
6143 <<xdata>> = {<<hup>>},
6144 }
6145 \end{lstlisting}
6146 %
6147 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:
6148
6149 \begin{lstlisting}[style=bibtex]{}
6150 @XData{macmillan:name,
6151 publisher = {Macmillan},
6152 }
6153 @XData{macmillan:place,
6154 location = {New York and London},
6155 }
6156 @XData{macmillan,
6157 xdata = {macmillan:name,macmillan:place},
6158 }
6159 @Book{...,
6160 author = {...},
6161 title = {...},
6162 date = {...},
6163 xdata = {macmillan},
6164 }
6165 \end{lstlisting}
6166 %
6167 More granular \bibtype{xdata} entry data may be referenced. It is not necessary to reference only entire fields. For example:
6168
6169 \begin{lstlisting}[style=bibtex]{}
6170 @XData{someauthors,
6171 author = {John Smith and Brian Brown}
6172 }
6173 @XData{somelocations,
6174 location = {Location1 and Location2}
6175 }
6176 @XData{somenotes,
6177 note = {A note}
6178 }
6179 @Book{...,
6180 author = {Alan Drudge and xdata=someauthors-author-2},
6181 editor = {xdata=someauthors-author and Ann Editor},
6182 location = {xdata=somelocations-location-1 and Location3},
6183 note = {xdata=somenotes-note}
6184 }
6185 \end{lstlisting}
6186 %
6187 The format of granular \bibtype{xdata} references are as follows:
6188
6189 \begin{namesample}
6190 \item~\delim{x}{1}data\delim{=}{2}\delim{$<$}{3}key$>$\delim{-}{4}\delim{$<$}{5}field$>$\delim{-}{6}\delim{$<$}{7}index$>$
6191 \end{namesample}
6192
6193 \begin{enumerate}
6194 \item The value of the \biber option \opt{--xdatamarker} (by default '\texttt{xdata}')
6195 \item The value of the \biber option \opt{--xnamesep} (by default '\texttt{=}')
6196 \item A valid entry key of an \bibtype{xdata} entry
6197 \item The value of the \biber option \opt{--xdatasep} (by default '\texttt{-}')
6198 \item A valid entry field in the source \bibtype {xdata} entry
6199 \item (Optional) The value of the \biber option \opt{--xdatasep} (by default '\texttt{-}')
6200 \item (Optional) A valid 1-based index into a list/name field in the source \bibtype {xdata} entry
6201 \end{enumerate}
6202 %
6203 There are \opt{--output-*} variants of the above options for \biber tool mode output so that these separators and markers can be programatically changed. Taking the example above, this \bibtype{book} would resolve to:
6204
6205 \begin{lstlisting}[style=bibtex]{}
6206 @Book{...,
6207 author = {Alan Drudge and Brian Brown},
6208 editor = {John Smith and Brian Brown and Ann Editor},
6209 location = {Location1 and Location3},
6210 note = {A note}
6211 }
6212 \end{lstlisting}
6213 %
6214 Things to note with granular \bibtype{xdata} references:
6215
6216 \begin{itemize}
6217 \item References must be made only to \bibtype{xdata} fields. A warning will be generated otherwise and the reference will not be resolved
6218 \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
6219 \item References to fields of datatype 'date' are not possible. References to legacy \bibfield{year} and \bibfield{month} fields are possible
6220 \item References to missing entries, fields or list/name indices will generate a warning and the reference will not be resolved
6221 \item If an index is missing for a reference to a list/name field, the
6222 entire xdata name/list field will be spliced into the referencing field
6223 at the desired position.
6224 \end{itemize}
6225 %
6226 See also \secref{bib:typ:blx,bib:fld:spc}.
6227
6228 \subsubsection{Electronic Publishing Information}
6229 \label{use:use:epr}
6230
6231 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»:
6232
6233 \begin{lstlisting}[style=bibtex]{}
6234 <<eprint>> = {<<identifier>>},
6235 <<eprinttype>> = {<<Resource>>},
6236 \end{lstlisting}
6237 %
6238 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:
6239
6240 \begin{lstlisting}[style=bibtex]{}
6241 <<eprint>> = {<<math/0307200v3>>},
6242 <<eprinttype>> = {<<arxiv>>},
6243 \end{lstlisting}
6244 %
6245 For papers which use the new identifier scheme (April 2007 and later) add the primary classification in the \bibfield{eprintclass} field:
6246
6247 \begin{lstlisting}[style=bibtex]{}
6248 eprint = {1008.2849v1},
6249 eprinttype = {arxiv},
6250 <<eprintclass>> = {<<cs.DS>>},
6251 \end{lstlisting}
6252 %
6253 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.
6254
6255 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:
6256
6257 \begin{lstlisting}[style=bibtex]{}
6258 <<eprint>> = {<<number>>},
6259 <<eprinttype>> = {<<jstor>>},
6260 \end{lstlisting}
6261 %
6262 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):
6263
6264 \begin{lstlisting}[style=bibtex]{}
6265 url = {http://www.jstor.org/stable/<<number>>},
6266 \end{lstlisting}
6267 %
6268 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.
6269
6270 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:
6271
6272 \begin{lstlisting}[style=bibtex]{}
6273 url = {http://www.ncbi.nlm.nih.gov/pubmed/<<pmid>>},
6274 \end{lstlisting}
6275 %
6276 becomes:
6277
6278 \begin{lstlisting}[style=bibtex]{}
6279 <<eprint>> = {<<pmid>>},
6280 <<eprinttype>> = {<<pubmed>>},
6281 \end{lstlisting}
6282 %
6283 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.
6284
6285 For handles (\acr{HDL}s), put the handle in the \bibfield{eprint} field and the string \texttt{hdl} in the \bibfield{eprinttype} field:
6286
6287 \begin{lstlisting}[style=bibtex]{}
6288 <<eprint>> = {<<handle>>},
6289 <<eprinttype>> = {<<hdl>>},
6290 \end{lstlisting}
6291 %
6292 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:
6293
6294 \begin{lstlisting}[style=bibtex]{}
6295 url = {http://books.google.com/books?id=<<XXu4AkRVBBoC>>},
6296 \end{lstlisting}
6297 %
6298 would become:
6299
6300 \begin{lstlisting}[style=bibtex]{}
6301 <<eprint>> = {<<XXu4AkRVBBoC>>},
6302 <<eprinttype>> = {<<googlebooks>>},
6303 \end{lstlisting}
6304 %
6305 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.}
6306
6307 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.
6308
6309 \subsubsection{External Abstracts and Annotations}
6310 \label{use:use:prf}
6311
6312 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
6313
6314 \begin{ltxexample}[style=bibtex]
6315 @Article{key1,
6316 ...
6317 abstract = {This is an abstract of entry `key1'.}
6318 }
6319 \end{ltxexample}
6320 %
6321 in the \file{bib} file, you may create a file named \path{bibabstract-key1.tex} and put the abstract in this file:
6322
6323 \begin{ltxexample}
6324 This is an abstract of entry `key1'.
6325 \endinput
6326 \end{ltxexample}
6327 %
6328 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.
6329
6330 \subsection{Hints and Caveats}
6331 \label{use:cav}
6332
6333 This section provides additional usage hints and addresses some common problems and potential misconceptions.
6334
6335 \subsubsection{Usage with \acr{KOMA}-Script Classes}
6336 \label{use:cav:scr}
6337
6338 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.
6339
6340 \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.
6341
6342 \begin{ltxsyntax}
6343
6344 \cmditem{ifkomabibtotoc}{true}{false}\DeprecatedMark
6345
6346 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.
6347
6348 \cmditem{ifkomabibtotocnumbered}{true}{false}\DeprecatedMark
6349
6350 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.
6351
6352 \end{ltxsyntax}
6353
6354 \subsubsection{Usage with the Memoir Class}
6355 \label{use:cav:mem}
6356
6357 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:
6358
6359 \begin{ltxsyntax}
6360
6361 \cmditem{ifmemoirbibintoc}{true}{false}
6362
6363 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.
6364
6365 \end{ltxsyntax}
6366
6367 \subsubsection{Page Numbers in Citations}
6368 \label{use:cav:pag}
6369
6370 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:
6371
6372 \begin{ltxexample}
6373 \cite[25]{key}
6374 \cite[vii]{key}
6375 \cite[XIV]{key}
6376 \cite[34--38]{key}
6377 \cite[iv--x]{key}
6378 \cite[185/86]{key}
6379 \cite[XI \& XV]{key}
6380 \cite[3, 5, 7]{key}
6381 \cite[vii--x; 5, 7]{key}
6382 \end{ltxexample}
6383 %
6384 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:
6385
6386 \begin{ltxexample}
6387 \cite[\pno~27a]{key}
6388 \end{ltxexample}
6389 %
6390 There is also a \cmd{ppno} command which forces a range prefix as well as a \cmd{nopp} command which suppresses all prefixes:
6391
6392 \begin{ltxexample}
6393 \cite[\ppno~27a--28c]{key}
6394 \cite[\nopp 25]{key}
6395 \end{ltxexample}
6396 %
6397 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:
6398
6399 \begin{ltxexample}
6400 \cite[VII, \pno~5]{key}
6401 \cite[VII, \pno~3, \ppno~40--45]{key}
6402 \cite[see][\ppno~37--46, in particular \pno~40]{key}
6403 \end{ltxexample}
6404 %
6405 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}.
6406
6407 \begin{ltxexample}
6408 \cite[\pnfmt{37-46}, in particular \pnfmt{40}]{key}
6409 \end{ltxexample}
6410 %
6411 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):
6412
6413 \begin{ltxexample}
6414 \cite[\ppno~27~sq.]{key}
6415 \cite[\ppno~55~sqq.]{key}
6416 \end{ltxexample}
6417 %
6418 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}.
6419
6420 \begin{ltxexample}
6421 \cite[27\psq]{key}
6422 \cite[55\psqq]{key}
6423 \end{ltxexample}
6424 %
6425 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:
6426
6427 \begin{ltxexample}
6428 \cite[p.~5]{key}
6429 \end{ltxexample}
6430 %
6431 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:
6432
6433 \begin{ltxexample}
6434 \DeclareFieldFormat{postnote}{#1}
6435 \end{ltxexample}
6436 %
6437 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.
6438
6439 \subsubsection{Name Parts and Name Spacing}
6440 \label{use:cav:nam}
6441
6442 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:
6443
6444 \begin{nameparts}
6445 Given & John Edward \\
6446 Prefix & --- \\
6447 Family & Doe \\
6448 Suffix & --- \\
6449 \end{nameparts}
6450 %
6451 The spacing, punctuation and line"=breaking behavior of names is controlled by six macros:
6452
6453 \begin{namedelims}
6454 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. \\
6455 b & \cmd{bibnamedelimb} & Inserted by the backend between all elements of a name part where \cmd{bibnamedelima} does not apply. \\
6456 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. \\
6457 d & \cmd{bibnamedelimd} & Inserted by a formatting directive between name parts where \cmd{bibnamedelimc} does not apply. \\
6458 i & \cmd{bibnamedelimi} & Replaces \cmd{bibnamedelima/b} after initials \\
6459 p & \cmd{revsdnamepunct} & Inserted by a formatting directive after the family name when the name parts are reversed.
6460 \end{namedelims}
6461 %
6462 This is how the delimiters are employed:
6463
6464 \begin{namesample}
6465 \item John\delim{~}{a}Edward\delim{ }{d}Doe
6466 \item Doe\delim{,}{p}\delim{ }{d}John\delim{~}{a}Edward
6467 \end{namesample}
6468 %
6469 Initials in the \file{bib} file get a special delimiter:
6470
6471 \begin{namesample}
6472 \item J.\delim{~}{i}Edward\delim{ }{d}Doe
6473 \end{namesample}
6474 %
6475 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:
6476
6477 \begin{nameparts}
6478 Given & Charles-Jean Étienne Gustave Nicolas \\
6479 Prefix & de \\
6480 Family & La Vallée Poussin \\
6481 Suffix & --- \\
6482 \end{nameparts}
6483 %
6484 The delimiters:
6485
6486 \begin{namesample}
6487 \item Charles-Jean\delim{~}{b}Étienne\delim{~}{b}Gustave\delim{~}{a}Nicolas\delim{ }{d}%
6488 de\delim{ }{c}%
6489 La\delim{~}{a}Vallée\delim{~}{a}Poussin
6490 \end{namesample}
6491 %
6492 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:
6493
6494 \begin{namedelims}
6495 a & \cmd{bibinitperiod} & Inserted by the backend after initials.\\
6496 b & \cmd{bibinitdelim} & Inserted by the backend between multiple initials.\\
6497 c & \cmd{bibinithyphendelim} & Inserted by the backend between the initials of hyphenated name parts, replacing \cmd{bibinitperiod} and \cmd{bibinitdelim}.\\
6498 \end{namedelims}
6499 %
6500 This is how they are employed:
6501
6502 \begin{namesample}
6503 \item J\delim{.}{a}\delim{~}{b}E\delim{.}{a} Doe
6504 \item K\delim{.-}{c}H\delim{.}{a} Mustermann
6505 \end{namesample}
6506
6507 \subsubsection{Split Bibliographies and Citation Labels}
6508 \label{use:cav:lab}
6509
6510 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.
6511
6512 Compare the output of the following example with \texttt{defernumbers=true} and \texttt{defernumbers=false}.
6513 %
6514 \begin{ltxexample}
6515 \documentclass{article}
6516 \usepackage[defernumbers=true]{biblatex}
6517
6518 \addbibresource{biblatex-examples.bib}
6519
6520 \begin{document}
6521 Lorem \autocite{worman} ipsum \autocite{sigfridsson}
6522 dolor \autocite{nussbaum} sit \autocite{aksin}
6523
6524 \printbibheading[title={Bibliography}]
6525 \printbibliography[heading=subbibliography,
6526 type=book, title={Books}]
6527 \printbibliography[heading=subbibliography,
6528 type=article, title={Articles}]
6529 \end{document}
6530 \end{ltxexample}
6531
6532 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.
6533
6534 \subsubsection{Active Characters in Bibliography Headings}
6535 \label{use:cav:act}
6536
6537 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.
6538
6539 \subsubsection{Grouping in Reference Sections and Segments}
6540 \label{use:cav:grp}
6541
6542 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:
6543
6544 \begin{ltxexample}
6545 \chapter{...}
6546 <<\refsection>>
6547 ...
6548 <<\endrefsection>>
6549 \end{ltxexample}
6550 %
6551 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.
6552
6553 \subsection{Using the fallback \bibtex\ backend}
6554 \label{use:bibtex}
6555
6556 To utilise all of the features described here, \biblatex must be used with the
6557 \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
6558 long-established \bibtex program (either the 7-bit \texttt{bibtex} or
6559 8-bit \texttt{bibtex8}) as the supporting backend. This works in much the
6560 same way as for \biber with the only proviso being that \bibtex is much more
6561 limited as a backend.
6562
6563 Using \bibtex as the backend requires that the option \opt{backend=bibtex}
6564 or \opt{backend=bibtex8} is given at load time. The \biblatex package will
6565 then write appropriate data for use by \bibtex into the auxiliary file(s)
6566 and a special data file (automatically included in those to be read by
6567 \bibtex). The \bibtex(8) program should then be run on each auxiliary file:
6568 \biblatex will list all of the required files in the log.
6569
6570 Key limitations of the \bibtex backend are:
6571 \begin{itemize}
6572 \item Sorting is global and is limited to \acr{US-ASCII} ordering
6573 \item No re-encoding is possible and thus database entries must be in
6574 LICR form to work reliably
6575 \item The data model is fixed
6576 \item Cross-referencing is more limited and entry sets must be written
6577 into the \path{.bib} file
6578 \item Fixed memory capacity (using the \verb|--wolfgang| option with
6579 \verb|bibtex8| is strongly recommended to minimize the likelihood of
6580 an issue here)
6581 \end{itemize}
6582
6583 \subsection{Multiscript Support}
6584 \label{use:multiscript}
6585
6586 \biblatex and \biber allow the user to specify <alternates> for entryfields designated as <multiscript> in the bibliography data. Here and below <entryfield> is any bibliography field, whether a plain field, list or name. The <alternates> are simply alternative <form> and <language> combinations of the same entryfield data. Multiscript support consists of the following features:
6587
6588 \begin{itemize}
6589 \item Data entryfields in the datasources (\file{.bib}, \file{.bltxml} etc.) may have more than one <alternates>
6590 \item All macros which accept the name of an entryfield have optional <msform> and <mslang> arguments to allow the specification of a particular <alternate> of the entryfield, with the default <alternate> determined by the global/per-refcontext \opt{msform} and \opt{mslang} options. \item The language of individual items in name list or plain list entryfields can be specified using a dedicated data annotation to allow script/language switching on a per-item basis.
6591 \item For name list and plain list entryfields, all alternates of the item being printed are available as macros
6592 \item Options are available to determine how automatic script/language switching is performed at a per-field and per-listitem level.
6593 \item The alternate for \bibfield{labelname} and \bibfield{labeltitle} can be determined dynamically depending on the current \opt{msform} and \opt{mslang} settings at time of printing.
6594 \end{itemize}
6595
6596 The <form> of an alternate entryfield value is one of the vales of the <multiscriptforms> constant, the default for which is:
6597
6598 \begin{ltxexample}
6599 \DeclareDatamodelConstant[type=list]{multiscriptforms}{default,transliteration,transcription,translation}
6600 \end{ltxexample}
6601 %
6602 The <language> of an alternate entryfield value is a standard IETF BCP47\footnote{https://tools.ietf.org/html/bcp47} language tag which specifies a language code along with optional subtags specifying dialects etc. In most cases, these are obvious and well-known tags such as <en> for English, <en-us> for US-english, <fr> for French, <de> for German etc.
6603
6604 The default multiscript language used when selecting entryfields to print etc. is determined from the babel/polyglossia main language with a fallback to <en-us>. The \opt{langid} datasource entry option plays an important role in multiscript support as it determines the default alternate language on a per-entry basis. \biber has a \opt{mslang} option which sets the default alternate language for all multiscript entryfields which do not specify a language explicitly for the field or for the entry using \bibfield{langid} as described above. \biber will by default use the global \opt{mslang} option setting from \biblatex but this can be overridden using \biber's own \opt{mslang} option (which defaults to <en-us>). For maximum control over multiscript functionality, it is recommended to consistently set the \bibfield{langid} field in your datasource entries so that you always know which multiscript language will be used by default when printing data from an entry. See below for details on how alternates are selected for printing.
6605
6606 Bibliographic entryfields which support multiscript alternates are specified in the datamodel using \cmd{DeclareDatamodelMultiscriptEntryfields}. The default includes most name, list and literal fields in the standard datamodel. Multiscript enabled entryfields always have a <form> and <language> associated with them which default to the global \opt{msform} and \opt{mslang} options respectively. These global defaults can be overriden on a per-refcontext basis by the \opt{msform} and \opt{mslang} options to the refcontext macros.
6607
6608 The \biblatex options:
6609
6610 \begin{itemize}
6611 \item \cmd{DeclareLabelname}
6612 \item \cmd{DeclareLabeltitle}
6613 \item \cmd{DeclareSortingTemplate}
6614 \item \cmd{DeclareLabelalphaTemplate}
6615 \end{itemize}
6616 %
6617 are multiscript aware and allow the selection of specific entryfield alternates by use of the \opt{form} and \opt{lang} options. For example, declaring the \opt{labelname} template like this:
6618
6619 \begin{ltxexample}
6620 \DeclareLabelname{%
6621 \field[form=transliteration,lang=ru-Cyrl]{author}
6622 \field{author}
6623 }
6624 \end{ltxexample}
6625 %
6626 Would set the \opt{labelname} to a Russian Cyrillic alternate of the \bibfield{author} name field, if found, before trying the default alternate <form> and <language> alternate of the \bibfield{author} name field.
6627
6628 Here is an example of the \biber multiscript support syntax for \file{.bib} datasources:
6629 {\footnotesize
6630 \begin{lstlisting}[style=bibtex,escapeinside={(*@}{@*)}]{}
6631 @ARTICLE{mstest,
6632 AUTHOR = {Bill Smith and Пушкин, Александр and (*@\quickch{徐冰}@*)},
6633 AUTHOR+an:mslang = {2="ru-Cyrl";3="zh-Hant"},
6634 AUTHOR_transliteration_ru-Latn = {Bill Smith and Pushkin, Aleksandr and Xu, Bing},
6635 AUTHOR_transliteration_ru-Latn+an:mslang = {1="en-US";3="zh-Latn"},
6636 AUTHOR_transliteration_ru-Grek = {Bill Smith and Πούσκιν, Ἀλεξάντρ and Ξού, Μπίνγκ},
6637 AUTHOR_transliteration_ru-Grek+an:mslang = {1="en-US";3="zh-Grek"},
6638 LOCATION = {locationa and Standortb},
6639 LOCATION+an:mslang = {2="de"},
6640 LOCATION_translation_fr = {emplacementa and Standortb},
6641 LOCATION_translation_fr+an:mslang = {2="de"},
6642 TITLE = {Title},
6643 TITLE_translation_fr = {Titre},
6644 DATE = {1995}
6645 }
6646 \end{lstlisting}
6647 }
6648 %
6649 This example demonstrates the multiscript entryfield alternate syntax where the
6650 <form> and <language> follow the entryfield name, separated by a (customisable)
6651 separator (the default is an underscore). Notice that there are alternates
6652 for the \bibfield{author}, \bibfield{location} and \bibfield{title} entryfields.
6653
6654 It is also possible to override the <language> of an alternate on a
6655 per-item basis using the \biber data annotation feature (see
6656 \ref{use:annote}). \biber's multiscript support reserves the \bibfield{mslang}
6657 named literal annotation for this purpose. These annotations are available via the
6658 interfaces described in \ref{use:annote}.
6659
6660 Within formats, \cmd{currentmsform} and \cmd{currentmslang} contain the multiscript form and BCP47 language tag respectively for the current field/list item. \cmd{currentmsforms} and \cmd{currentmslangs} contain \sty{etoolbox} lists of all multiscript forms and BCP47 language tags respectively of the current entryfield. The macros are all empty in non-multiscript fields.
6661
6662 The standard \bibfield{langid} entryfield plays a special role in multiscript support as it is a per-entry override for the default alternate <language> for all entryfields in the entry. For example:
6663
6664 \begin{lstlisting}[style=bibtex]{}
6665 @ARTICLE{mstest,
6666 LANGID = {russian},
6667 AUTHOR = {Bill Smith and Пушкин, Александр},
6668 AUTHOR+an:mslang = {1="en-US"},
6669 }
6670 \end{lstlisting}
6671 %
6672 The name <Пушкин, Александр> will be processed by \biber with the <language> \opt{ru-Cyrl} due to the \bibfield{langid} entryfield which overrides the global \opt{mslang} setting of \biblatex which is passed to \biber.
6673
6674 Within field, list and name formatting directives, the macros \cmd{currentmsforms} and \cmd{currentmslangs} are \sty{etoolbox} lists of valid multiscript forms/langs for the current entryfield which allow, for example, looping over valid multiscript forms and languages for the entryfield being processed. See \ref{aut:bib:fmt} and \ref{aut:fmt:ilc}.
6675
6676 Inside the formats for multiscript name list and plain list fields, macros are automatically made available which contain all alternates of the current list item/nameparts. See \ref{aut:bbx:drv} and \ref{aut:bib:fmt}.
6677
6678 Automatic \sty{babel}/\sty{polyglossia} language and \sty{biblatex} bibstring switching on a per-list item/namepart basis is controlled by the options \opt{autofieldlang} and \opt{autofieldlangstrings} which allow switching at a more granular level than \opt{autolang}. Granular automatic language switching relies on a mapping of BCP47 language tags to \biblatex/\sty{babel}/\sty{polyglossia} language identifiers so that these packages know which language to switch to (this is necessary until BCP47 support is native to \biblatex, \sty{babel} and \sty{polyglossia}. \biblatex has default mappings as defined in Appendix \secref{apx:bcp}. In addition, you may override or add new mappings with the \cmd{maplangtag} command:
6679
6680 \begin{ltxsyntax}
6681
6682 \cmditem{maplangtag}{BCP47tag}{langid}
6683
6684 Provides a mapping between the BCP47 language tags used in multiscript entryfield alternate specifications and \biblatex/\sty{babel}/\sty{polyglossia} language identifiers.
6685
6686 \end{ltxsyntax}
6687
6688 The \biblatex option \opt{dynamiclabel} allows dynamic selection of \bibfield{labelname} and \bibfield{labeltitle} depending on the current \opt{msform} and \opt{mslang} settings. For example, suppose the following:
6689
6690 \begin{lstlisting}[style=bibtex]{}
6691 @ARTICLE{mstest,
6692 AUTHOR = {Pushkin, Alexander},
6693 AUTHOR_transliteration_ru = {Пушкин, Александр},
6694 }
6695 \end{lstlisting}
6696 %
6697 The default \cmd{DeclareLabelname} setting would select the English \bibfield{author} field alternate as the value of \bibfield{labelname} and the following would print <Pushkin> for both citations in an \sty{authoryear} style since citations in such styles use \bibfield{labelname} by default:
6698
6699 \begin{ltxexample}
6700 \cite{mtest}
6701 \begin{refcontext}[msform=transliteration,mslang=ru]
6702 \cite{mtest}
6703 \end{refcontext}
6704 \end{ltxexample}
6705 %
6706 \bibfield{labelname} here is the same in both refcontexts, as determined by the \cmd{DeclareLabelname} setting. However, with <\kvopt{dynamiclabel}{true}>, the second citation would determine \bibfield{labelname} from the current (refcontext) settings for \opt{msform} and \opt{mslang} and the second citation would read <Пушкин>. It is also possible to select particular alternates of name list fields using the optional arguments to \cmd{DeclareLabelname} but bear in mind that these are still static settings--\bibfield{labelname} selection will not be dynamic and override the \cmd{DeclareLabelname} choice unless <\kvopt{dynamiclabel}{true}>. Similar considerations apply to \bibfield{labeltitle}.
6707
6708 \subsection{Selection of Multiscript Alternates}
6709 \label{use:multiscript:select}
6710 When selecting or printing a multiscript alternate with:
6711
6712 \begin{itemize}
6713 \item \cmd{printfield}
6714 \item \cmd{printlist}
6715 \item \cmd{printname}
6716 \item \cmd{indexfield}
6717 \item \cmd{indexlist}
6718 \item \cmd{indexname}
6719 \end{itemize}
6720 %
6721 the multiscript alternate to use is selected using the following rules:
6722
6723 \begin{itemize}
6724 \item If an explicit form/lang is specified, then only this alternate is considered
6725 \item If no explicit form/lang is specified, then the following are considered, in order
6726 \begin{itemize}
6727 \item The alternate identified by the currently active form/lang (see below)
6728 \item The first alternate found in the multiscript select list for the entry \bibfield{langid} (if it exists) or else the currently active multiscript language
6729 \item The alternate identified by the currently active multiscipt form and the entry \bibfield{langid} (if it exists) or else the currently active multiscript language
6730 \end{itemize}
6731 \end{itemize}
6732
6733 The active multiscript form/language are determined by, in ascending order of override:
6734
6735 \begin{itemize}
6736 \item The global \opt{msform} and \opt{mslang} settings derived respectively from the global option and babel/polyglossia document language
6737 \item The refcontext \opt{msform}/\opt{mslang} options
6738 \end{itemize}
6739
6740 The multiscript select list for a \bibfield{langid} is defined using the following macro:
6741
6742 \begin{ltxsyntax}
6743
6744 \cmditem{DeclareMsselect}{langid}{specification}
6745
6746 Defines the multiscript alternates to look for, in order, when attempting to print a multiscript field in the context of the language with \prm{langid}. \prm{langid} can be a babel/polyglossia language specifier or BCP47 language tag. The language context is either the \bibfield{langid} of the entry (if it exists) or the active \bibfield{mslang}. The \prm{specification} is one or more \cmd{alternate} macros:
6747
6748 \begin{optionlist*}
6749
6750 \cmditem{alternate}{form}{BCP47tag}
6751
6752 A multiscript alternate to look for, specified by \opt{form} and \opt{BCP47tag}.
6753
6754 \end{optionlist*}
6755
6756 \end{ltxsyntax}
6757 %
6758 For example, to specify a multiscript select list for entries with \bibfield{langid} of <japanese> (or entries with no \bibfield{langid} field in a context where the active \opt{mslang} is the BCP47 language tag equivalent <ja-jp>).
6759
6760 \begin{ltxexample}
6761 \DeclareMsselect{japanese}{
6762 \alternate{transcription}{ja-hira}
6763 \alternate{transliteration}{ja-latn}
6764 }
6765 \end{ltxexample}
6766 %
6767 This could also be specified as:
6768
6769 \begin{ltxexample}
6770 \DeclareMsselect{ja-jp}{
6771 \alternate{transcription}{ja-hira}
6772 \alternate{transliteration}{ja-latn}
6773 }
6774 \end{ltxexample}
6775 %
6776 For example, consider the following data with two multiscript entryfields
6777 (the logic is the same for lists and names):
6778 \begin{lstlisting}[style=bibtex]{}
6779 @ARTICLE{mstest,
6780 LANGID = {lang4},
6781 MSFIELD1 = {Value1},
6782 MSFIELD1_form1_lang1 = {Value2},
6783 MSFIELD1_form2_lang2 = {Value3},
6784 MSFIELD1_form4_lang4 = {Value4},
6785 MSFIELD2 = {Value5},
6786 MSFIELD2_form1_lang1 = {Value6},
6787 MSFIELD2_form3_lang3 = {Value7},
6788 }
6789 \end{lstlisting}
6790 %
6791 the values selected to be printed would be:
6792 {\footnotesize
6793 \begin{ltxexample}
6794 % Assume global defaults of form=form1, lang=lang1
6795
6796 \DeclareMsselect{lang4}{
6797 \alternate{form2}{lang2}
6798 }
6799
6800 % Explicit form/lang
6801 \printfield[form1][lang1]{MSFIELD1} => "Value2"
6802 \printfield[form3][lang3]{MSFIELD1} => ""
6803 \printfield[form1][lang1]{MSFIELD2} => "Value6"
6804
6805 % global form/lang alternates exist for both fields
6806 \printfield{MSFIELD1} => "Value2"
6807 \printfield{MSFIELD2} => "Value6"
6808
6809 % refcontext can change defaults for form/lang
6810 % but doesn't effect explicit form/lang
6811 \newrefcontext[msform=form3,mslang=lang3]
6812 \printfield[form1][lang1]{MSFIELD1} => "Value2"
6813 \printfield[form3][lang3]{MSFIELD1} => ""
6814 \printfield[form1][lang1]{MSFIELD2} => "Value6"
6815
6816 % MSFIELD2 has a value for refcontext default form3/lang3
6817 \printfield{MSFIELD2} => "Value7"
6818
6819 % MSFIELD1 does not have an alternate for refcontext
6820 % default form3/lang3 but due to \DeclareMsselect, we
6821 % can use form2/lang2 for MSFIELD1
6822 \printfield{MSFIELD1} => "Value3"
6823
6824 \newrefcontext[msform=form4,mslang=lang4]
6825 \printfield{MSFIELD1} => "Value4"
6826 % MSFIELD2 does not have an alternate for refcontext
6827 % default form4/lang4 alternate for MSFIELD2, also there
6828 % is no form2/lang2 in the select list for the LANGID
6829 % of the entry and no form1/lang4 alternate
6830 \printfield{MSFIELD2} => ""
6831 \end{ltxexample}
6832 }
6833 \section{Author Guide}
6834 \label{aut}
6835
6836 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.
6837
6838 \subsection{Overview}
6839 \label{aut:int}
6840
6841 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:
6842
6843 \begin{ltxexample}
6844 \documentclass{...}
6845 \begin{document}
6846 \cite{...}
6847 ...
6848 \bibliographystyle{...}
6849 \bibliography{...}
6850 \end{document}
6851 \end{ltxexample}
6852 %
6853 Processing this files requires that a certain procedure be followed. This procedure is as follows:
6854
6855 \begin{enumerate}
6856
6857 \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.
6858
6859 \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.
6860
6861 \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.
6862
6863 \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.
6864
6865 \end{enumerate}
6866
6867 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:
6868
6869 \begin{lstlisting}[style=bibtex]{}
6870 @Book{companion,
6871 author = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
6872 title = {The LaTeX Companion},
6873 publisher = {Addison-Wesley},
6874 address = {Reading, Mass.},
6875 year = {1994},
6876 }
6877 \end{lstlisting}
6878 %
6879 With the \path{plain.bst} style, \bibtex exports this entry to the \file{bbl} file as follows:
6880
6881 \begin{ltxexample}
6882 \bibitem{companion}
6883 Michel Goossens, Frank Mittelbach, and Alexander Samarin.
6884 \newblock {\em The LaTeX Companion}.
6885 \newblock Addison-Wesley, Reading, Mass., 1994.
6886 \end{ltxexample}
6887 %
6888 By default, \latex generates numeric citation labels, hence \cmd{bibitem} writes lines such as the following to the \file{aux} file:
6889
6890 \begin{ltxexample}
6891 \bibcite{companion}{1}
6892 \end{ltxexample}
6893 %
6894 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:
6895
6896 \begin{ltxexample}
6897 \bibcite{companion}{{1}{1994}{{Goossens et~al.}}{{Goossens, Mittelbach,
6898 and Samarin}}}
6899 \end{ltxexample}
6900 %
6901 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:
6902
6903 \begin{ltxexample}
6904 \bibcite{companion}{{Goossens\jbbfsasep Mittelbach\jbbstasep Samarin}%
6905 {}{{0}{}{book}{1994}{}{}{}{}{Reading, Mass.\bpubaddr{}Addison-Wesley%
6906 \bibbdsep{} 1994}}{{The LaTeX Companion}{}{}{2}{}{}{}{}{}}{\bibnf
6907 {Goossens}{Michel}{M.}{}{}\Bibbfsasep\bibnf{Mittelbach}{Frank}{F.}%
6908 {}{}\Bibbstasep\bibnf{Samarin}{Alexander}{A.}{}{}}{\bibtfont{The
6909 LaTeX Companion}.\ \apyformat{Reading, Mass.\bpubaddr{}
6910 Addison-Wesley\bibbdsep{} 1994}}}
6911 \end{ltxexample}
6912 %
6913 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.
6914
6915 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}:
6916
6917 \begin{ltxexample}
6918 \documentclass{...}
6919 \usepackage[...]{biblatex}
6920 \addbibresource{...}
6921 \begin{document}
6922 \cite{...}
6923 ...
6924 \printbibliography
6925 \end{document}
6926 \end{ltxexample}
6927 %
6928 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:
6929
6930 \begin{enumerate}
6931
6932 \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.
6933
6934 \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.
6935
6936 \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.
6937
6938 \end{enumerate}
6939
6940 Let's consider the sample entry given above once more:
6941
6942 \begin{lstlisting}[style=bibtex]{}
6943 @Book{companion,
6944 author = {Michel Goossens and Frank Mittelbach and Alexander Samarin},
6945 title = {The LaTeX Companion},
6946 publisher = {Addison-Wesley},
6947 address = {Reading, Mass.},
6948 year = {1994},
6949 }
6950 \end{lstlisting}
6951 %
6952 This entry is essentially exported in the following format:
6953
6954 \begin{ltxexample}
6955 \entry{companion}{book}{}
6956 \labelname{author}{3}{}{%
6957 {{uniquename=0,hash=...}{Goossens}{G.}{Michel}{M.}{}{}{}{}}%
6958 {{uniquename=0,hash=...}{Mittelbach}{M.}{Frank}{F.}{}{}{}{}}%
6959 {{uniquename=0,hash=...}{Samarin}{S.}{Alexander}{A.}{}{}{}{}}%
6960 }
6961 \name{author}{3}{}{%
6962 {{uniquename=0,hash=...}{Goossens}{G.}{Michel}{M.}{}{}{}{}}%
6963 {{uniquename=0,hash=...}{Mittelbach}{M.}{Frank}{F.}{}{}{}{}}%
6964 {{uniquename=0,hash=...}{Samarin}{S.}{Alexander}{A.}{}{}{}{}}%
6965 }
6966 \list{publisher}{1}{%
6967 {Addison-Wesley}%
6968 }
6969 \list{location}{1}{%
6970 {Reading, Mass.}%
6971 }
6972 \field{title}{The LaTeX Companion}
6973 \field{year}{1994}
6974 \endentry
6975 \end{ltxexample}
6976 %
6977 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.
6978
6979 \subsection{Bibliography Styles}
6980 \label{aut:bbx}
6981
6982 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.
6983
6984 \subsubsection{Bibliography Style Files}
6985 \label{aut:bbx:bbx}
6986
6987 Before we go over the individual components of a bibliography style, consider this example of the overall structure of a typical \file{bbx} file:
6988
6989 \begin{ltxexample}
6990 \ProvidesFile{example.bbx}[2006/03/15 v1.0 biblatex bibliography style]
6991
6992 \defbibenvironment{bibliography}
6993 {...}
6994 {...}
6995 {...}
6996 \defbibenvironment{shorthand}
6997 {...}
6998 {...}
6999 {...}
7000 \InitializeBibliographyStyle{...}
7001 \DeclareBibliographyDriver{article}{...}
7002 \DeclareBibliographyDriver{book}{...}
7003 \DeclareBibliographyDriver{inbook}{...}
7004 ...
7005 \DeclareBibliographyDriver{shorthand}{...}
7006 \endinput
7007 \end{ltxexample}
7008 %
7009 The main structure of a bibliography style file consists of the following commands:
7010
7011 \begin{ltxsyntax}
7012
7013 \cmditem{RequireBibliographyStyle}{style}
7014
7015 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}.
7016
7017 \cmditem{InitializeBibliographyStyle}{code}
7018
7019 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.
7020
7021 \cmditem{DeclareBibliographyDriver}{entrytype}{code}
7022
7023 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.
7024
7025 \cmditem{DeclareBibliographyAlias}{alias}{entrytype}
7026
7027 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.
7028
7029 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).
7030
7031 \cmditem{DeclareBibliographyOption}[datatype]{key}[value]{code}
7032
7033 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.
7034 The \prm{datatype} is a the datatype for the option. If omitted, it defaults to <boolean>. For example, with a definition like the following:
7035
7036 \begin{ltxexample}
7037 \DeclareBibliographyOption[boolean]{somekey}[true]{...}
7038 \end{ltxexample}
7039 %
7040 giving <\texttt{somekey}> without a value is equivalent to <\kvopt{somekey}{true}>. Valid \prm{datatype} values are defined in the default \biber Datamodel as:
7041
7042 \begin{ltxexample}
7043 \DeclareDatamodelConstant[type=list]{optiondatatypes}{boolean,integer,string,xml}
7044 \end{ltxexample}
7045
7046 \cmditem{DeclareTypeOption}[datatype]{key}[value]{code}
7047
7048 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.
7049
7050 \cmditem{DeclareEntryOption}[datatype]{key}[value]{code}
7051
7052 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.
7053
7054 \cmditem{DeclareBiblatexOption}{scope,\dots}[datatype]{key}[value]{code}
7055
7056 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.
7057
7058 \end{ltxsyntax}
7059
7060 \subsubsection{Bibliography Environments}
7061 \label{aut:bbx:env}
7062
7063 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:
7064
7065 \begin{ltxexample}
7066 \defbibenvironment{bibliography}
7067 {\list
7068 {}
7069 {\setlength{\leftmargin}{\bibhang}%
7070 \setlength{\itemindent}{-\leftmargin}%
7071 \setlength{\itemsep}{\bibitemsep}%
7072 \setlength{\parsep}{\bibparsep}}}
7073 {\endlist}
7074 {\item}
7075 \end{ltxexample}
7076 %
7077 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.
7078
7079 \begin{ltxexample}
7080 \defbibenvironment{bibliography}
7081 {\list
7082 {\printfield[labelnumberwidth]{labelnumber}}
7083 {\setlength{\labelwidth}{\labelnumberwidth}%
7084 \setlength{\leftmargin}{\labelwidth}%
7085 \setlength{\labelsep}{\biblabelsep}%
7086 \addtolength{\leftmargin}{\labelsep}%
7087 \setlength{\itemsep}{\bibitemsep}%
7088 \setlength{\parsep}{\bibparsep}}%
7089 \renewcommand*{\makelabel}[1]{\hss##1}}
7090 {\endlist}
7091 {\item}
7092 \end{ltxexample}
7093 %
7094 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}.
7095
7096 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.
7097
7098 \begin{ltxexample}
7099 \defbibenvironment{shorthand}
7100 {\list
7101 {\printfield[shorthandwidth]{shorthand}}
7102 {\setlength{\labelwidth}{\shorthandwidth}%
7103 \setlength{\leftmargin}{\labelwidth}%
7104 \setlength{\labelsep}{\biblabelsep}%
7105 \addtolength{\leftmargin}{\labelsep}%
7106 \setlength{\itemsep}{\bibitemsep}%
7107 \setlength{\parsep}{\bibparsep}%
7108 \renewcommand*{\makelabel}[1]{##1\hss}}}
7109 {\endlist}
7110 {\item}
7111 \end{ltxexample}
7112
7113 \subsubsection{Bibliography Drivers}
7114 \label{aut:bbx:drv}
7115
7116 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}.
7117
7118 \begin{ltxexample}
7119 \DeclareBibliographyDriver{book}{%
7120 \printnames{author}%
7121 \newunit\newblock
7122 \printfield{title}%
7123 \newunit\newblock
7124 \printlist{publisher}%
7125 \newunit
7126 \printlist{location}%
7127 \newunit
7128 \printfield{year}%
7129 \finentry}
7130 \end{ltxexample}
7131 %
7132 The standard bibliography styles employ two bibliography macros \texttt{begentry} and \texttt{finentry}:
7133
7134 \begin{ltxexample}
7135 \DeclareBibliographyDriver{<<entrytype>>}{%
7136 \usebibmacro{begentry}
7137 ...
7138 \usebibmacro{finentry}}
7139 \end{ltxexample}
7140 %
7141 with the default definitions
7142 \begin{ltxexample}
7143 \newbibmacro*{begentry}{}
7144 \newbibmacro*{finentry}{\finentry}
7145 \end{ltxexample}
7146 %
7147 Use of these macros is recommended for easy hooks into the beginning and end of the driver.
7148
7149 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:
7150
7151 \begin{ltxexample}
7152 \DeclareFieldFormat{title}{\emph{#1}}
7153 \end{ltxexample}
7154 %
7155 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.
7156
7157 \begin{ltxexample}
7158 \DeclareListFormat{location}{%
7159 #1%
7160 \ifthenelse{\value{listcount}<\value{liststop}}
7161 {\addcomma\space}
7162 {}}
7163 \end{ltxexample}
7164 %
7165 Formatting directives for names are similar to those for literal lists.
7166
7167 Names depend on the datamodel constant <nameparts> which has the default definition:
7168
7169 \begin{ltxexample}
7170 \DeclareDatamodelConstant[type=list]{nameparts}
7171 {prefix,family,suffix,given}
7172 \end{ltxexample}
7173 %
7174 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}).
7175
7176 Inside name formats, the <nameparts> constant declaration makes available two or three macros for each name part defined in the datamodel:
7177
7178 \begin{ltxexample}
7179 \namepart<namepart> \% The full <namepart>
7180 \namepart<namepart>i \% The initials of the <namepart>
7181 \namepart<namepart>un \% Numeric value indicating uniqueness level for <namepart>
7182 \end{ltxexample}
7183 %
7184 \cmd{namepart<namepart>un} only exists if the package option \opt{uniquename} is not set to <false> and can take the following values.
7185
7186 \begin{argumentlist}{00}
7187 \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>
7188 \item[1] Initials only should be printed for <namepart> to ensure uniqueness according to the \opt{uniquename} package option setting
7189 \item[2] The full <namepart> should be printed to ensure uniqueness according to the \opt{uniquename} package option setting
7190 \end{argumentlist}
7191
7192 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.
7193
7194 For multiscript name lists, these macros refer to the particular name list multiscript alternate being printed. It is also useful to be able to access alternates of the particular name list item being printed and so all available alternates of the current name list item are available in name formats via macros:
7195
7196 \begin{ltxexample}
7197 \namepart<namepart><msform><mslang>
7198 \end{ltxexample}
7199 %
7200 Note that <mslang> is a BCP47 tag which may contain hyphens and so raw macro use will not work. It is therefore safer to refer to these macros with \cmd{csuse} e.g.:
7201
7202 \begin{ltxexample}
7203 \csuse{namepartfamilydefaulten-us}
7204 \end{ltxexample}
7205 %
7206 Also note that any \sty{babel} shorthands in the value of these macros will not work as they are automatically defined in the preamble.
7207 %
7208 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:
7209
7210 \begin{ltxexample}
7211 \DeclareNameFormat{author}{%
7212 \ifthenelse{\value{listcount}=1}
7213 {\namepartfamily%
7214 \ifdefvoid{\namepartgiven}{}{\addcomma\space\namepartgiven}}
7215 {\ifdefvoid{\namepartgiven}{}{\namepartgiven\space}%
7216 \namepartfamily}%
7217 \ifthenelse{\value{listcount}<\value{liststop}}
7218 {\addcomma\space}
7219 {}}
7220 \end{ltxexample}
7221 %
7222 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}.
7223
7224 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
7225 \begin{ltxexample}
7226 \DeclareNameAlias{author}{family-given/given-family}
7227 \end{ltxexample}
7228
7229 \subsubsection{Special Fields}
7230 \label{aut:bbx:fld}
7231
7232 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.
7233
7234 \paragraph{Generic Fields}
7235 \label{aut:bbx:fld:gen}
7236
7237 \begin{fieldlist}
7238
7239 \fielditem{$<$datetype$>$dateunspecified}{string}
7240
7241 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:
7242
7243 \begin{lstlisting}[style=bibtex]{}
7244 @book{key,
7245 date = {19uu},
7246 origdate = {199u}
7247 }
7248 \end{lstlisting}
7249 %
7250 would result in the same information in the \file{.bbl} as:
7251 \begin{lstlisting}[style=bibtex]{}
7252 @book{key,
7253 date = {1900/1999},
7254 origdate = {1990/1999}
7255 }
7256 \end{lstlisting}
7257 %
7258 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}.
7259
7260 \fielditem{entrykey}{string}
7261
7262 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.
7263
7264 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).
7265 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.
7266 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{=}).
7267 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}).
7268 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{.:-}.
7269
7270 \fielditem{childentrykey}{string}
7271
7272 This field is no longer necessary or recommended.\DeprecatedMark For backwards
7273 compatibility, it is merely a copy of the \bibfield{entrykey} field in any
7274 set children.
7275
7276 \fielditem{labelnamesource}{literal}
7277
7278 Holds the name of the field used to populate \bibfield{labelname},
7279 determined by \cmd{DeclareLabelname}.
7280
7281 \fielditem{labeltitlesource}{literal}
7282
7283 Holds the name of the field used to populate \bibfield{labeltitle},
7284 determined by \cmd{DeclareLabeltitle}.
7285
7286 \fielditem{labeldatesource}{literal}
7287
7288 Holds one of:
7289
7290 \begin{itemize}
7291 \item The prefix coming before <date> of the date field name chosen by
7292 \cmd{DeclareLabeldate}
7293 \item The name of a field
7294 \item A literal or localisation string
7295 \end{itemize}
7296 %
7297 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
7298
7299 \begin{ltxexample}
7300 \iffieldundef{labeldatesource}
7301 {}% labeldate package option is not set
7302 {\iffieldundef{\thefield{labeldatesource}year}
7303 % \DeclareLabeldate resolved to either a literal/localisation
7304 % string or a non-date field since
7305 % if a date is defined by a date field, there is
7306 % at least a year
7307 {\iffieldundef{\thefield{labeldatesource}}
7308 {}% \DeclareLabeldate resolved to a literal/localisation string
7309 {}% \DeclareLabeldate resolved to a non-date field
7310 }
7311 {} % \DeclareLabeldate resolved a date field name prefix like "" or "orig"
7312 }
7313 \end{ltxexample}
7314
7315 \fielditem{entrytype}{string}
7316
7317 The entry type (\bibtype{book}, \bibtype{inbook}, etc.), given in lowercase letters.
7318
7319 \fielditem{childentrytype}{string}
7320
7321 This field is no longer necessary or recommended.\DeprecatedMark For backwards
7322 compatibility, it is merely a copy of the \bibfield{entrytype} field in any
7323 set children.
7324
7325 \fielditem{entrysetcount}{integer}
7326
7327 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.
7328
7329 \fielditem{hash}{string}
7330
7331 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}.
7332
7333 \fielditem{namehash}{string}
7334
7335 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}.
7336
7337 \fielditem{bibnamehash}{string}
7338
7339 As \bibfield{namehash} but responsive to \opt{maxbibnames} and
7340 \opt{minbibnames}. This is not used in standard styles but may be used to
7341 make tests in bibliography lists (such as those used to determine whether
7342 dashes should replace repeated authors) behave differently.
7343
7344 \fielditem{$<$namelist$><$msform$><$mslang$>$namehash}{string}
7345
7346 As \bibfield{namehash} for the name list <namelist> with multiscript form
7347 <msform> and multiscript language <mslang>. For example <\texttt{authortranslationdenamehash}>.
7348
7349 \fielditem{$<$namelist$><$msform$><$mslang$>$bibnamehash}{string}
7350
7351 As \bibfield{bibnamehash} for the name list <namelist> with multiscript form
7352 <msform> and multiscript language <mslang>. For example <\texttt{authortransliterationru-cyrlbibnamehash}>.
7353
7354 \fielditem{fullhash}{string}
7355
7356 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}.
7357
7358 \fielditem{$<$namelist$><$msform$><$mslang$>$fullhash}{string}
7359
7360 As \bibfield{fullhash} for the name list <namelist> with multiscript form
7361 <msform> and multiscript language <mslang>. For example <\texttt{authortranslationdefullhash}>.
7362
7363 \listitem{pageref}{literal}
7364
7365 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.
7366
7367 \fielditem{sortinit}{literal}
7368
7369 This field holds the initial character of the information used during sorting.
7370
7371 \fielditem{sortinithash}{string}
7372
7373 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}).
7374
7375 \fielditem{clonesourcekey}{string}
7376
7377 This field holds the entry key of the entry from which an entry was cloned. Clones are created for
7378 entries which are mentioned in \bibfield{related} fields as part of related entry processing, for example.
7379
7380 \fielditem{urlraw}{verbatim}
7381
7382 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}.
7383 \end{fieldlist}
7384
7385 \paragraph{Fields for Use in Citation Labels}
7386 \label{aut:bbx:fld:lab}
7387
7388 \begin{fieldlist}
7389
7390 \fielditem{labelalpha}{literal}
7391
7392 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}.
7393
7394 \fielditem{extraalpha}{integer}
7395
7396 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.
7397
7398 \listitem{labelname}{name}
7399
7400 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.
7401 This field may be customized. See \secref{aut:ctm:fld} for details.
7402
7403 \fielditem{extraname}{integer}
7404
7405 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}).
7406
7407 \fielditem{labelnumber}{literal}
7408
7409 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}.
7410
7411 \fielditem{labelprefix}{literal}
7412
7413 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.
7414
7415 \fielditem{labeltitle}{literal}
7416
7417 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}.
7418
7419 \fielditem{extratitle}{integer}
7420
7421 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.
7422
7423 \fielditem{extratitleyear}{integer}
7424
7425 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.
7426
7427 \fielditem{labelyear}{literal}
7428
7429 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}.
7430
7431 \fielditem{labelendyear}{literal}
7432
7433 The end year of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7434
7435 \fielditem{labelmonth}{datepart}
7436
7437 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.
7438
7439 \fielditem{labelendmonth}{datepart}
7440
7441 The end month of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7442
7443 \fielditem{labelday}{datepart}
7444
7445 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.
7446
7447 \fielditem{labelendday}{datepart}
7448
7449 The end day of the date field selected by \cmd{DeclareLabeldate} (\secref{aut:ctm:fld}) if the selected date is a range.
7450
7451 \fielditem{extradate}{integer}
7452
7453 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.
7454
7455 \fielditem{extradatescope}{literal}
7456
7457 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.
7458
7459 \end{fieldlist}
7460
7461 \paragraph{Date Component Fields}
7462 \label{aut:bbx:fld:dat}
7463
7464 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.
7465
7466 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:
7467
7468 \begin{ltxcode}
7469 <<\iffieldundef>>{orig<<year>>}{...}{...}
7470 \end{ltxcode}
7471 %
7472 This will tell you if the corresponding date is defined at all. This test:
7473
7474 \begin{ltxcode}
7475 <<\iffieldundef>>{orig<<endyear>>}{...}{...}
7476 \end{ltxcode}
7477 %
7478 will tell you if the corresponding date is defined and a (fully specified) range. This test:
7479
7480 \begin{ltxcode}
7481 <<\iffieldequalstr>>{orig<<endyear>>}{}{...}{...}
7482 \end{ltxcode}
7483 %
7484 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.
7485
7486 \begingroup
7487 \tablesetup
7488 \begin{longtable}[l]{%
7489 @{}V{0.15\textwidth}%
7490 @{}V{0.4\textwidth}%
7491 @{}V{0.3\textwidth}%
7492 @{}V{0.2\textwidth}@{}}
7493 \caption{Date Interface}
7494 \label{aut:bbx:fld:tab1}
7495 \endfirsthead
7496 \caption[]{Date Interface (cont'd)}
7497 \endhead
7498 \toprule
7499 \multicolumn{2}{@{}H}{\file{bib} File} &
7500 \multicolumn{2}{H}{Data Interface} \\
7501 \cmidrule(r){1-2}\cmidrule(l){3-4}
7502 \multicolumn{1}{@{}H}{Field} &
7503 \multicolumn{1}{H}{Value (Example)} &
7504 \multicolumn{1}{H}{Field} &
7505 \multicolumn{1}{H}{Value (Example)} \\
7506 \cmidrule{1-1}\cmidrule(lr){2-2}\cmidrule(l){3-3}\cmidrule(l){4-4}
7507 date & 1988 & day & undefined \\
7508 & & month & undefined \\
7509 & & year & 1988 \\
7510 & & yeardivision & undefined \\
7511 & & endday & undefined \\
7512 & & endmonth & undefined \\
7513 & & endyear & undefined \\
7514 & & endyeardivision & undefined \\
7515 & & hour & undefined \\
7516 & & minute & undefined \\
7517 & & second & undefined \\
7518 & & timezone & undefined \\
7519 & & endhour & undefined \\
7520 & & endminute & undefined \\
7521 & & endsecond & undefined \\
7522 & & endtimezone & undefined \\
7523 date & 1997/ & day & undefined \\
7524 & & month & undefined \\
7525 & & year & 1997 \\
7526 & & yeardivision & undefined \\
7527 & & endday & undefined \\
7528 & & endmonth & undefined \\
7529 & & endyear & empty \\
7530 & & endyeardivision & undefined \\
7531 & & hour & undefined \\
7532 & & minute & undefined \\
7533 & & second & undefined \\
7534 & & timezone & undefined \\
7535 & & endhour & undefined \\
7536 & & endminute & undefined \\
7537 & & endsecond & undefined \\
7538 & & endtimezone & undefined \\
7539 urldate & 2009-01-31 & urlday & 31 \\
7540 & & urlmonth & 01 \\
7541 & & urlyear & 2009 \\
7542 & & urlyeardivision & undefined \\
7543 & & urlendday & undefined \\
7544 & & urlendmonth & undefined \\
7545 & & urlendyear & undefined \\
7546 & & urlendyeardivision & undefined \\
7547 & & urlhour & undefined \\
7548 & & urlminute & undefined \\
7549 & & urlsecond & undefined \\
7550 & & urltimezone & undefined \\
7551 & & urlendhour & undefined \\
7552 & & urlendminute & undefined \\
7553 & & urlendsecond & undefined \\
7554 & & urlendtimezone & undefined \\
7555 urldate & 2009-01-31T15:34:04Z & urlday & 31 \\
7556 & & urlmonth & 01 \\
7557 & & urlyear & 2009 \\
7558 & & urlyeardivision & undefined \\
7559 & & urlendday & undefined \\
7560 & & urlendmonth & undefined \\
7561 & & urlendyear & undefined \\
7562 & & urlendyeardivision & undefined \\
7563 & & urlhour & 15 \\
7564 & & urlminute & 34 \\
7565 & & urlsecond & 04 \\
7566 & & urltimezone & Z \\
7567 & & urlendhour & undefined \\
7568 & & urlendminute & undefined \\
7569 & & urlendsecond & undefined \\
7570 & & urlendtimezone & undefined \\
7571 urldate & 2009-01-31T15:34:04+05:00 & urlday & 31 \\
7572 & & urlmonth & 01 \\
7573 & & urlyear & 2009 \\
7574 & & urlyeardivision & undefined \\
7575 & & urlendday & undefined \\
7576 & & urlendmonth & undefined \\
7577 & & urlendyear & undefined \\
7578 & & urlendyeardivision & undefined \\
7579 & & urlhour & 15 \\
7580 & & urlminute & 34 \\
7581 & & urlsecond & 04 \\
7582 & & urltimezone & +0500 \\
7583 & & urlendhour & undefined \\
7584 & & urlendminute & undefined \\
7585 & & urlendsecond & undefined \\
7586 & & urlendtimezone & undefined \\
7587 urldate & \parbox[t]{0.4\textwidth}{2009-01-31T15:34:04/\\2009-01-31T16:04:34}& urlday & 31 \\
7588 & & urlmonth & 1 \\
7589 & & urlyear & 2009 \\
7590 & & urlyeardivision & undefined \\
7591 & & urlendday & 31 \\
7592 & & urlendmonth & 1 \\
7593 & & urlendyear & 2009 \\
7594 & & urlendyeardivision & undefined \\
7595 & & urlhour & 15 \\
7596 & & urlminute & 34 \\
7597 & & urlsecond & 4 \\
7598 & & urltimezone & floating \\
7599 & & urlendhour & 16 \\
7600 & & urlendminute & 4 \\
7601 & & urlendsecond & 34 \\
7602 & & urlendtimezone & floating \\
7603 origdate & 2002-21/2002-23 & origday & undefined \\
7604 & & origmonth & 01 \\
7605 & & origyear & 2002 \\
7606 & & origyeardivision & spring \\
7607 & & origendday & undefined \\
7608 & & origendmonth & 02 \\
7609 & & origendyear & 2002 \\
7610 & & origendyeardivision & autumn \\
7611 & & orighour & undefined \\
7612 & & origminute & undefined \\
7613 & & origsecond & undefined \\
7614 & & origtimezone & undefined \\
7615 & & origendhour & undefined \\
7616 & & origendminute & undefined \\
7617 & & origendsecond & undefined \\
7618 & & origendtimezone & undefined \\
7619 eventdate & 1995-01-31/1995-02-05 & eventday & 31 \\
7620 & & eventmonth & 01 \\
7621 & & eventyear & 1995 \\
7622 & & eventyeardivision & undefined \\
7623 & & eventendday & 05 \\
7624 & & eventendmonth & 02 \\
7625 & & eventendyear & 1995 \\
7626 & & eventendyeardivision & undefined \\
7627 & & eventhour & undefined \\
7628 & & eventminute & undefined \\
7629 & & eventsecond & undefined \\
7630 & & eventtimezone & undefined \\
7631 & & eventendhour & undefined \\
7632 & & eventendminute & undefined \\
7633 & & eventendsecond & undefined \\
7634 & & eventendtimezone & undefined \\
7635 \bottomrule
7636 %\end{tabularx}
7637 \end{longtable}
7638 \endgroup
7639 \begin{fieldlist}
7640
7641 \fielditem{hour}{datepart}
7642
7643 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.
7644
7645 \fielditem{minute}{datepart}
7646
7647 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.
7648
7649 \fielditem{second}{datepart}
7650
7651 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.
7652
7653 \fielditem{timezone}{datepart}
7654
7655 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.
7656
7657 \fielditem{day}{datepart}
7658
7659 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.
7660
7661 \fielditem{month}{datepart}
7662
7663 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.
7664
7665 \fielditem{year}{datepart}
7666
7667 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.
7668
7669 \fielditem{yeardivision}{datepart}
7670
7671 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.
7672
7673 \fielditem{season}{datepart}\DeprecatedMark
7674
7675 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.
7676
7677 \fielditem{endhour}{datepart}
7678
7679 If the date specification in the \bibfield{date} field is a range, this field holds the hour component of the end date.
7680
7681 \fielditem{endminute}{datepart}
7682
7683 If the date specification in the \bibfield{date} field is a range, this field holds the minute component of the end date.
7684
7685 \fielditem{endsecond}{datepart}
7686
7687 If the date specification in the \bibfield{date} field is a range, this field holds the second component of the end date.
7688
7689 \fielditem{endtimezone}{datepart}
7690
7691 If the date specification in the \bibfield{date} field is a range, this field holds the timezone component of the end date.
7692
7693 \fielditem{endday}{datepart}
7694
7695 If the date specification in the \bibfield{date} field is a range, this field holds the day component of the end date.
7696
7697 \fielditem{endmonth}{datepart}
7698
7699 If the date specification in the \bibfield{date} field is a range, this field holds the month component of the end date.
7700
7701 \fielditem{endyear}{datepart}
7702
7703 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.
7704
7705 \fielditem{endyeardivision}{datepart}
7706
7707 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.
7708
7709 \fielditem{endseason}{datepart}\DeprecatedMark
7710
7711 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.
7712
7713 \fielditem{orighour}{datepart}
7714
7715 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.
7716
7717 \fielditem{origminute}{datepart}
7718
7719 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.
7720
7721 \fielditem{origsecond}{datepart}
7722
7723 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.
7724
7725 \fielditem{origtimezone}{datepart}
7726
7727 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.
7728
7729 \fielditem{origday}{datepart}
7730
7731 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.
7732
7733 \fielditem{origmonth}{datepart}
7734
7735 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.
7736
7737 \fielditem{origyear}{datepart}
7738
7739 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.
7740
7741 \fielditem{origyeardivision}{datepart}
7742
7743 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.
7744
7745 \fielditem{origseason}{datepart}\DeprecatedMark
7746
7747 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.
7748
7749 \fielditem{origendhour}{datepart}
7750
7751 If the date specification in the \bibfield{origdate} field is a range, this field holds the hour component of the end date.
7752
7753 \fielditem{origendminute}{datepart}
7754
7755 If the date specification in the \bibfield{origdate} field is a range, this field holds the minute component of the end date.
7756
7757 \fielditem{origendsecond}{datepart}
7758
7759 If the date specification in the \bibfield{origdate} field is a range, this field holds the second component of the end date.
7760
7761 \fielditem{origendtimezone}{datepart}
7762
7763 If the date specification in the \bibfield{origdate} field is a range, this field holds the timezone component of the end date.
7764
7765 \fielditem{origendday}{datepart}
7766
7767 If the date specification in the \bibfield{origdate} field is a range, this field holds the day component of the end date.
7768
7769 \fielditem{origendmonth}{datepart}
7770
7771 If the date specification in the \bibfield{origdate} field is a range, this field holds the month component of the end date.
7772
7773 \fielditem{origendyear}{datepart}
7774
7775 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.
7776
7777 \fielditem{origendyeardivision}{datepart}
7778
7779 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.
7780
7781 \fielditem{origendseason}{datepart}\DeprecatedMark
7782
7783 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.
7784
7785 \fielditem{eventhour}{datepart}
7786
7787 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.
7788
7789 \fielditem{eventminute}{datepart}
7790
7791 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.
7792
7793 \fielditem{eventsecond}{datepart}
7794
7795 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.
7796
7797 \fielditem{eventtimezone}{datepart}
7798
7799 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.
7800
7801 \fielditem{eventday}{datepart}
7802
7803 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.
7804
7805 \fielditem{eventmonth}{datepart}
7806
7807 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.
7808
7809 \fielditem{eventyear}{datepart}
7810
7811 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.
7812
7813 \fielditem{eventyeardivision}{datepart}
7814
7815 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.
7816
7817 \fielditem{eventseason}{datepart}\DeprecatedMark
7818
7819 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.
7820
7821 \fielditem{eventendhour}{datepart}
7822
7823 If the date specification in the \bibfield{eventdate} field is a range, this field holds the hour component of the end date.
7824
7825 \fielditem{eventendminute}{datepart}
7826
7827 If the date specification in the \bibfield{eventdate} field is a range, this field holds the minute component of the end date.
7828
7829 \fielditem{eventendsecond}{datepart}
7830
7831 If the date specification in the \bibfield{eventdate} field is a range, this field holds the second component of the end date.
7832
7833 \fielditem{eventendtimezone}{datepart}
7834
7835 If the date specification in the \bibfield{eventdate} field is a range, this field holds the timezone component of the end date.
7836
7837 \fielditem{eventendday}{datepart}
7838
7839 If the date specification in the \bibfield{eventdate} field is a range, this field holds the day component of the end date.
7840
7841 \fielditem{eventendmonth}{datepart}
7842
7843 If the date specification in the \bibfield{eventdate} field is a range, this field holds the month component of the end date.
7844
7845 \fielditem{eventendyear}{datepart}
7846
7847 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.
7848
7849 \fielditem{eventendyeardivision}{datepart}
7850
7851 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.
7852
7853 \fielditem{eventendseason}{datepart}\DeprecatedMark
7854
7855 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.
7856
7857 \fielditem{urlhour}{datepart}
7858
7859 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.
7860
7861 \fielditem{urlminute}{datepart}
7862
7863 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.
7864
7865 \fielditem{urlsecond}{datepart}
7866
7867 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.
7868
7869 \fielditem{timezone}{urldatepart}
7870
7871 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.
7872
7873 \fielditem{urlday}{datepart}
7874
7875 This field holds the day component of the \bibfield{urldate} field.
7876
7877 \fielditem{urlmonth}{datepart}
7878
7879 This field holds the month component of the \bibfield{urldate} field.
7880
7881 \fielditem{urlyear}{datepart}
7882
7883 This field holds the year component of the \bibfield{urldate} field.
7884
7885 \fielditem{urlyeardivision}{datepart}
7886
7887 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.
7888
7889 \fielditem{urlseason}{datepart}\DeprecatedMark
7890
7891 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.
7892
7893 \fielditem{urlendhour}{datepart}
7894
7895 If the date specification in the \bibfield{urldate} field is a range, this field holds the hour component of the end date.
7896
7897 \fielditem{urlendminute}{datepart}
7898
7899 If the date specification in the \bibfield{urldate} field is a range, this field holds the minute component of the end date.
7900
7901 \fielditem{urlendsecond}{datepart}
7902
7903 If the date specification in the \bibfield{urldate} field is a range, this field holds the second component of the end date.
7904
7905 \fielditem{urlendtimezone}{datepart}
7906
7907 If the date specification in the \bibfield{urldate} field is a range, this field holds the timezone component of the end date.
7908
7909 \fielditem{urlendday}{datepart}
7910
7911 If the date specification in the \bibfield{urldate} field is a range, this field holds the day component of the end date.
7912
7913 \fielditem{urlendmonth}{datepart}
7914
7915 If the date specification in the \bibfield{urldate} field is a range, this field holds the month component of the end date.
7916
7917 \fielditem{urlendyear}{datepart}
7918
7919 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.
7920
7921 \fielditem{urlendyeardivision}{datepart}
7922
7923 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.
7924
7925 \fielditem{urlendseason}{datepart}\DeprecatedMark
7926
7927 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.
7928
7929 \end{fieldlist}
7930
7931 \subsection{Citation Styles}
7932 \label{aut:cbx}
7933
7934 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}.
7935
7936 \subsubsection{Citation Style Files}
7937 \label{aut:cbx:cbx}
7938
7939 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:
7940
7941 \begin{ltxexample}
7942 \ProvidesFile{example.cbx}[2006/03/15 v1.0 biblatex citation style]
7943
7944 \DeclareCiteCommand{\cite}{...}{...}{...}{...}
7945 \DeclareCiteCommand{\parencite}[\mkbibparens]{...}{...}{...}{...}
7946 \DeclareCiteCommand{\footcite}[\mkbibfootnote]{...}{...}{...}{...}
7947 \DeclareCiteCommand{\textcite}{...}{...}{...}{...}
7948 \endinput
7949 \end{ltxexample}
7950
7951 \begin{ltxsyntax}
7952
7953 \cmditem{RequireCitationStyle}{style}
7954
7955 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}.
7956
7957 \cmditem{InitializeCitationStyle}{code}
7958
7959 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.
7960
7961 \cmditem{OnManualCitation}{code}
7962
7963 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}.
7964
7965 \cmditem{DeclareCiteCommand}{command}[wrapper]{precode}{loopcode}{sepcode}{postcode} \cmditem*{DeclareCiteCommand*}{command}[wrapper]{precode}{loopcode}{sepcode}{postcode}
7966
7967 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.}
7968
7969 \cmditem{DeclareMultiCiteCommand}{command}[wrapper]{cite}{delimiter}
7970
7971 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}:
7972
7973 \begin{ltxexample}
7974 \DeclareMultiCiteCommand{\cites}%
7975 {\cite}{\multicitedelim}
7976 \DeclareMultiCiteCommand{\parencites}[\mkbibparens]%
7977 {\parencite}{\multicitedelim}
7978 \DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]%
7979 {\footcite}{\multicitedelim}
7980 \end{ltxexample}
7981
7982 \cmditem{DeclareAutoCiteCommand}{name}[position]{cite}{multicite}
7983
7984 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}:
7985
7986 \begin{ltxexample}
7987 \DeclareAutoCiteCommand{plain}{\cite}{\cites}
7988 \DeclareAutoCiteCommand{inline}{\parencite}{\parencites}
7989 \DeclareAutoCiteCommand{footnote}[l]{\footcite}{\footcites}
7990 \DeclareAutoCiteCommand{footnote}[f]{\smartcite}{\smartcites}
7991 \end{ltxexample}
7992 %
7993 A definition provided in the document preamble can be subsequently adopted with the following: (see \secref{use:cfg:opt}).
7994
7995 \begin{ltxexample}
7996 \ExecuteBibliographyOptions{autocite=<<name>>}
7997 \end{ltxexample}
7998
7999 \cmditem{DeclareCitePunctuationPosition}{command}{position}
8000
8001 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}.
8002 If an unknown \prm{position} identifier is used, it defaults to \opt{o}.
8003 \begin{valuelist}
8004 \item[r] The punctuation mark is not moved and remains to the right of the citation.
8005 \item[l] The punctuation mark is moved to the left of the citation and thus appears before it.
8006 \item[f] Like \opt{r} in footnotes and like \opt{l} otherwise.
8007 \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.
8008 \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.
8009 \item[d] Drop the explicit punctuation mark. It will only be available as the field \bibfield{postpunct}.
8010 \end{valuelist}
8011 %
8012 This command can not be used for \cmd{autocite}, to configure \cmd{autocite} use the optional \prm{position} argument for \cmd{DeclareAutoCiteCommand}.
8013 \end{ltxsyntax}
8014
8015 \subsubsection{Special Fields}
8016 \label{aut:cbx:fld}
8017
8018 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}.
8019
8020 \begin{fieldlist}
8021
8022 \fielditem{prenote}{literal}
8023
8024 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.
8025
8026 \fielditem{postnote}{literal}
8027
8028 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.
8029
8030 \fielditem{multiprenote}{literal}
8031
8032 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.
8033
8034 \fielditem{multipostnote}{literal}
8035
8036 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.
8037
8038 \fielditem{volcitevolume}{literal}
8039
8040 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.
8041
8042 \fielditem{volcitepages}{literal}
8043
8044 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.
8045
8046 \fielditem{postpunct}{punctuation command}
8047
8048 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.
8049
8050 \end{fieldlist}
8051
8052 \subsection{Data Interface}
8053 \label{aut:bib}
8054
8055 The data interface are the facilities used to format and print all bibliographic data. These facilities are available in both bibliography and citation styles.
8056
8057 \subsubsection{Data Commands}
8058 \label{aut:bib:dat}
8059
8060 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.
8061
8062 \begin{ltxsyntax}
8063
8064 \cmditem{DeprecateField}{field}{message}
8065 \cmditem{DeprecateList}{list}{message}
8066 \cmditem{DeprecateName}{name}{message}
8067
8068 When an attempt is made to print \prm{field}, \prm{list}, \prm{name}, a
8069 deprecation warning is issued with the additional \prm{message}. This aids
8070 style authors who are changing field names in their style. Note that the
8071 deprecated item must no longer be defined in the datamodel for this to work;
8072 \prm{field}, \prm{list} or \prm{name} cannot be listed anywhere as an
8073 argument to \cmd{DeclareDatamodelFields}.
8074
8075 \cmditem{DeprecateFieldWithReplacement}{field}{replacement}
8076 \cmditem{DeprecateListWithReplacement}{list}{replacement}
8077 \cmditem{DeprecateNameWithReplacement}{name}{replacement}
8078
8079 Similar to \cmd{DeprecateField}, \cmd{DeprecateList} and
8080 \cmd{DeprecateName}. The commands do not only issue a deprecation warning,
8081 they try to define a replacement for the deprecated field that is printed
8082 in its stead. The \cmd{replacement} must be of the same type as the
8083 deprecated \prm{field}, \prm{list} or \prm{name}. If the \prm{field},
8084 \prm{list} or \prm{name} is multiscript enabled, \prm{replacement} must
8085 also be. If the formatting of \prm{replacement} should be applied when
8086 printing the deprecated field, that needs to be requested with
8087 \cmd{DeclareFieldAlias} (see \secref{aut:bib:fmt}). Note that the
8088 deprecated item must no longer be defined in the datamodel for this work;
8089 \prm{field}, \prm{list} or \prm{name} cannot be listed anywhere as an
8090 argument to \cmd{DeclareDatamodelFields}.
8091
8092 \cmditem{printfield}[format][msform][mslang]{field}
8093
8094 This command prints a \prm{field} (for a multiscript field, \prm{msform}/\prm{mslang} may be specified, otherwise, see \secref{use:multiscript:select} for the rules which select the form/lang alternate to print) 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.
8095
8096 \cmditem{printlist}[format][start\ensuremath\rangle--\ensuremath\langle stop][msform][mslang]{literal list}
8097
8098 This command loops over all items in a \prm{literal list} (for a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, see \secref{use:multiscript:select} for the rules which select the form/lang alternate to print), 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.
8099
8100 In multiscript lists, macros of the format:
8101
8102 \begin{ltxexample}
8103 \listitem<msform><mslang>
8104 \end{ltxexample}
8105 %
8106 Are available for all valid combinations of <msform> and <mslang>. They refer to alternates of the current list item. Note that <mslang> is a BCP47 tag which may contain hyphens and so raw macro use will not work. It is therefore safer to refer to these macros with \cmd{csuse} e.g.:
8107
8108 \begin{ltxexample}
8109 \csuse{listitemdefaulten-us}
8110 \end{ltxexample}
8111 %
8112 Note that any \sty{babel} shorthands in the value of these macros will not work as they are automatically defined in the preamble.
8113
8114 \cmditem{printnames}[format][start\ensuremath\rangle--\ensuremath\langle stop][msform][mslang]{name list}
8115
8116 This command loops over all items in a \prm{name list} (for a multiscript name, \prm{msform}/\prm{mslang} may be specified, otherwise, see \secref{use:multiscript:select} for the rules which select the form/lang alternate to print), 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:
8117
8118 \begin{ltxexample}
8119 \printnames[][1-3]{...}
8120 \end{ltxexample}
8121
8122 One of \prm{start} and \prm{stop} may be omitted, hence the following arguments are all valid:
8123
8124 \begin{ltxexample}
8125 \printnames[...][-1]{...}
8126 \printnames[...][2-]{...}
8127 \printnames[...][1-3]{...}
8128 \end{ltxexample}
8129
8130 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:
8131
8132 \begin{ltxexample}
8133 \printnames[...][-\value{listtotal}]{...}
8134 \end{ltxexample}
8135
8136 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.
8137
8138 \cmditem{printtext}[format]{text}
8139
8140 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.
8141
8142 \cmditem{printfile}[format]{file}
8143
8144 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.
8145
8146 \csitem{printdate}
8147
8148 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.
8149
8150 \csitem{printdateextra}
8151
8152 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.
8153
8154 \csitem{printlabeldate}
8155
8156 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}).
8157
8158 \csitem{printlabeldateextra}
8159
8160 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.
8161
8162 \csitem{print$<$datetype$>$date}
8163
8164 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>.
8165
8166 \csitem{printtime}
8167
8168 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 time 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.
8169
8170 \csitem{print$<$datetype$>$time}
8171
8172 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>.
8173
8174 \cmditem{indexfield}[format][msform][mslang]{field}
8175
8176 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}. For a multiscript field, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used. 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.
8177
8178 \cmditem{indexlist}[format][start\ensuremath\rangle--\ensuremath\langle stop][msform][mslang]{literal list}
8179
8180 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}. For a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used. 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.
8181
8182 \cmditem{indexnames}[format][start\ensuremath\rangle--\ensuremath\langle stop][msform][mslang]{name list}
8183
8184 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}. For a multiscript name, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used. 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.
8185
8186 \cmditem{entrydata}{key}{code}
8187 \cmditem*{entrydata*}{key}{code}
8188
8189 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.
8190
8191 \cmditem{entryset}{precode}{postcode}
8192
8193 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.
8194
8195 \cmditem{DeclareFieldInputHandler}{field}{code}
8196
8197 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
8198
8199 \begin{ltxexample}
8200 \DeclareFieldInputHandler{volumes}{\def\NewValue{}}
8201 \end{ltxexample}
8202 %
8203 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 arbitraty \tex.
8204
8205 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.
8206
8207 \begin{ltxexample}
8208 \DeclareFieldInputHandler{volumes}{\def\NewValue{\textbf{#1}}}
8209 \end{ltxexample}
8210
8211 \cmditem{DeclareListInputHandler}{list}{code}
8212
8213 As \cmd{DeclareFieldInputHandler} but for lists. Within the \prm{code}, the macro \cmd{NewValue}
8214 contains the value of the list and \cmd{NewCount} contains the number of items in the list.
8215 Note that \cmd{NewValue} as well as the single argument to \prm{code} contain the internal representation of the list.
8216
8217 \cmditem{DeclareNameInputHandler}{name}{code}
8218
8219 As \cmd{DeclareFieldInputHandler} but for names. Within the \prm{code}, the macro \cmd{NewValue}
8220 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}.
8221 Note that \cmd{NewValue} as well as the single argument to \prm{code} contain the internal representation of the name list.
8222
8223 \end{ltxsyntax}
8224
8225 \subsubsection{Formatting Directives}
8226 \label{aut:bib:fmt}
8227
8228 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}.
8229
8230 \begin{ltxsyntax}
8231
8232 \cmditem{DeclareFieldFormat}[entrytype, \dots]{format}{code}
8233 \cmditem*{DeclareFieldFormat}*{format}{code}
8234
8235 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}. For multiscript fields, the defined forms/langs of all alternates are provided as \sty{etoolbox} lists \cmd{currentmsforms} and \cmd{currentmslangs}. 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. \emph{Do not put any whitespace between the arguments to this macro as the definitions are quite complex and you will get unexpected results}.
8236
8237 \cmditem{DeclareListFormat}[entrytype, \dots]{format}{code}
8238 \cmditem*{DeclareListFormat}*{format}{code}
8239
8240 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}. For multiscript fields, the defined forms/langs of all alternates are provided as \sty{etoolbox} lists \cmd{currentmsforms} and \cmd{currentmslangs}. 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. \emph{Do not put any whitespace between the arguments to this macro as the definitions are quite complex and you will get unexpected results}.
8241
8242
8243 \cmditem{DeclareNameFormat}[entrytype, \dots]{format}{code}
8244 \cmditem*{DeclareNameFormat}*{format}{code}
8245
8246 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:
8247
8248 \begin{argumentlist}{00}
8249 \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.
8250 \item[given] The given name(s). Note that given names are referred to as the <first> names in the \bibtex file format documentation.
8251 \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.
8252 \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.
8253 \end{argumentlist}
8254 %
8255 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:
8256
8257 \begin{ltxexample}
8258 \namepartprefix
8259 \namepartprefixi
8260 \namepartfamily
8261 \namepartfamilyi
8262 \namepartsuffix
8263 \namepartsuffixi
8264 \namepartgiven
8265 \namepartgiveni
8266 \end{ltxexample}
8267 %
8268 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}. For multiscript fields, the defined forms/langs of all alternates are provided as \sty{etoolbox} lists \cmd{currentmsforms} and \cmd{currentmslangs}.
8269
8270 For multiscript name lists, all available alternates of the current name list item are available in name formats via macros:
8271
8272 \begin{ltxexample}
8273 \namepart<namepart><msform><mslang>
8274 \end{ltxexample}
8275 %
8276 Note that <mslang> is a BCP47 tag which may contain hyphens and so raw macro use will not work. It is therefore safer to refer to these macros with \cmd{csuse} e.g.:
8277
8278 \begin{ltxexample}
8279 \csuse{namepartfamilydefaulten-us}
8280 \end{ltxexample}
8281 %
8282 Also note that any \sty{babel} shorthands in the value of these macros will not work as they are automatically defined in the preamble.
8283
8284 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. \emph{Do not put any whitespace between the arguments to this macro as the definitions are quite complex and you will get unexpected results}.
8285
8286 \cmditem{DeclareListWrapperFormat}[entrytype, \dots]{format}{code}
8287 \cmditem*{DeclareListWrapperFormat}*{format}{code}
8288
8289 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.
8290
8291 \cmditem{DeclareNameWrapperFormat}[entrytype, \dots]{format}{code}
8292 \cmditem*{DeclareNameWrapperFormat}*{format}{code}
8293
8294 Defines the name 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 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 starred variant of this command is similar to the regular version, except that all type-specific formats are cleared.
8295
8296 \cmditem{DeclareIndexFieldFormat}[entrytype, \dots]{format}{code}
8297 \cmditem*{DeclareIndexFieldFormat}*{format}{code}
8298
8299 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.
8300
8301 \cmditem{DeclareIndexListFormat}[entrytype, \dots]{format}{code}
8302 \cmditem*{DeclareIndexListFormat}*{format}{code}
8303
8304 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.
8305
8306 \cmditem{DeclareIndexNameFormat}[entrytype, \dots]{format}{code}
8307 \cmditem*{DeclareIndexNameFormat}*{format}{code}
8308
8309 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.
8310
8311 \cmditem{DeclareFieldAlias}[entry type]{alias}[format entry type]{format}
8312
8313 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.
8314
8315 \cmditem{DeclareListAlias}[entry type]{alias}[format entry type]{format}
8316
8317 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.
8318
8319 \cmditem{DeclareNameAlias}[entry type]{alias}[format entry type]{format}
8320
8321 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.
8322
8323 \cmditem{DeclareListWrapperAlias}[entry type]{alias}[format entry type]{format}
8324
8325 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.
8326
8327 \cmditem{DeclareNameWrapperAlias}[entry type]{alias}[format entry type]{format}
8328
8329 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.
8330
8331 \cmditem{DeclareIndexFieldAlias}[entry type]{alias}[format entry type]{format}
8332
8333 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.
8334
8335 \cmditem{DeclareIndexListAlias}[entry type]{alias}[format entry type]{format}
8336
8337 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.
8338
8339 \cmditem{DeclareIndexNameAlias}[entry type]{alias}[format entry type]{format}
8340
8341 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.
8342
8343 \cmditem{DeprecateFieldFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8344
8345 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.
8346
8347 \cmditem{DeprecateListFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8348
8349 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for list formats.
8350
8351 \cmditem{DeprecateNameFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8352
8353 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for name formats.
8354
8355 \cmditem{DeprecateListWrapperFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8356
8357 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for outer list formats.
8358
8359 \cmditem{DeprecateNameWrapperFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8360
8361 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for outer name formats.
8362
8363 \cmditem{DeprecateIndexFieldFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8364
8365 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index field formats.
8366
8367 \cmditem{DeprecateIndexListFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8368
8369 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index list formats.
8370
8371 \cmditem{DeprecateIndexNameFormatWithReplacement}[entry type]{alias}[format entry type]{format}
8372
8373 Similar to \cmd{DeprecateFieldFormatWithReplacement} but for index name formats.
8374
8375 \end{ltxsyntax}
8376
8377 \subsection{Customization}
8378 \label{aut:ctm}
8379
8380 \subsubsection{Related Entries}
8381 \label{aut:ctm:rel}
8382 The related entries feature comprises the following components:
8383 \begin{itemize}
8384 \item Special fields in an entry to set up and describe relationships
8385 \item Optionally, localisation strings to prefix the related data
8386 \item Macros to extract and print the related data
8387 \item Formats to format the localisation string and related data
8388 \end{itemize}
8389 %
8390 The special fields are \bibfield{related}, \bibfield{relatedtype}, \bibfield{relatedstring} and \bibfield{relatedoptions}:
8391 \begin{keymarglist}
8392 \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.
8393 \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.
8394 \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).
8395 \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).
8396 \end{keymarglist}
8397
8398 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{translatedas}. 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}.
8399
8400 \subsubsection{Datasource Sets}
8401 \label{aut:ctm:dsets}
8402
8403 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}.
8404
8405
8406 \begin{ltxsyntax}
8407
8408 \cmditem{DeclareDatafieldSet}{name}{specification}
8409
8410 Declare a set of datasource fields with name \prm{name}.
8411
8412 \begin{optionlist*}
8413
8414 \valitem{name}{set name}
8415
8416 The name of the set.
8417
8418 \end{optionlist*}
8419
8420 The \prm{specification} is one or more \cmd{member} items:
8421
8422 \cmditem{member}
8423
8424 \begin{optionlist*}
8425
8426 \valitem{fieldtype}{fieldtype}
8427 \valitem{datatype}{datatype}
8428 \valitem{field}{fieldname}
8429
8430 \end{optionlist*}
8431
8432 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.
8433
8434 For example, here are the default sets defined by \biblatex for name fields and title fields:
8435
8436 \end{ltxsyntax}
8437
8438 \begin{ltxexample}[style=latex]
8439 \DeclareDatafieldSet{setnames}{
8440 \member[datatype=name, fieldtype=list]
8441 }
8442
8443 \DeclareDatafieldSet{settitles}{
8444 \member[field=title]
8445 \member[field=booktitle]
8446 \member[field=eventtitle]
8447 \member[field=issuetitle]
8448 \member[field=journaltitle]
8449 \member[field=maintitle]
8450 \member[field=origtitle]
8451 }
8452 \end{ltxexample}
8453 %
8454 This defines the macros \cmd{datafieldsetsetnames} and \cmd{datafieldsetsettitles} as \sty{etoolbox} lists containing the names of the member datasource fields specified.
8455
8456 \subsubsection{Dynamic Modification of Data}
8457 \label{aut:ctm:map}
8458
8459 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.
8460
8461 Source mapping happens during data parsing and therefore before any other operation such as inheritance and sorting.
8462
8463 Source mappings can be defined at different «levels» which are applied
8464 in a defined order. See the \biblatex\ manual regarding these macros:\\[2ex]
8465
8466 \noindent \texttt{user}-level maps defined with \cmd{DeclareSourcemap}$\rightarrow$\\
8467 \hspace*{1em}\texttt{user}-level maps defined in the \biber config file (see \biber docs)$\rightarrow$\\
8468 \hspace*{2em}\texttt{style}-level maps defined with \cmd{DeclareStyleSourcemap}$\rightarrow$\\
8469 \hspace*{3em}\texttt{driver}-level maps defined with \cmd{DeclareDriverSourcemap}\\[2ex]
8470
8471 \begin{ltxsyntax}
8472
8473 \cmditem{DeclareSourcemap}{specification}
8474
8475 Defines source data modification (mapping) rules which can be used to perform any combination of the following tasks:
8476
8477 \begin{itemize}
8478 \item Map data source entrytypes to different entrytypes
8479 \item Map datasource fields to different fields
8480 \item Add new fields to an entry
8481 \item Remove fields from an entry
8482 \item Modify the contents of a field using standard Perl regular expression
8483 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.}
8484 \item Restrict any of the above operations to entries coming from
8485 particular datasources which you defined in \cmd{addresource} macros
8486 \item Restrict any of the above operations to entries only of a certain
8487 entrytype
8488 \item Restrict any of the above operations to entries in a particular
8489 reference section
8490 \end{itemize}
8491
8492 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.
8493
8494 \cmditem{maps}[options]{elements}
8495
8496 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:
8497
8498 \begin{optionlist*}
8499
8500 \choitem[bibtex]{datatype}{bibtex, biblatexml}
8501
8502 Data source type to which the contained \cmd{map} directives apply (\secref{use:bib:res}).
8503
8504 \boolitem[false]{overwrite}
8505
8506 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}.
8507
8508 \end{optionlist*}
8509
8510 \cmditem{map}[options]{restrictions,steps}
8511
8512 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:
8513
8514 \begin{optionlist*}
8515
8516 \boolitem{overwrite}
8517
8518 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}.
8519
8520 \valitem{foreach}{loopval}
8521
8522 Loop over all \cmd{step}s in this \cmd{map}, setting the special variable |$MAPLOOP| %$
8523 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| %$
8524 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:
8525
8526 \begin{ltxexample}[style=latex]
8527 \DeclareSourcemap{
8528 \maps[datatype=bibtex]{
8529 \map[overwrite, foreach={author,editor, translator}]{
8530 \step[fieldsource=\regexp{$MAPLOOP}, match={Smith}, replace={Jones}]
8531 }
8532 }
8533 }
8534 \end{ltxexample}
8535 %$<- to stop emacs highlighting breaking
8536
8537 \intitem{refsection}
8538
8539 Only apply the contained \cmd{step} commands to entries in the reference section with number \prm{refsection}.
8540
8541 \end{optionlist*}
8542
8543 \cmditem{perdatasource}{datasource}
8544
8545 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.
8546
8547 \cmditem{pertype}{entrytype}
8548
8549 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.
8550
8551 \cmditem{pernottype}{entrytype}
8552
8553 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.
8554
8555 \cmditem{step}[options]
8556
8557 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:
8558
8559 \begin{optionlist*}
8560
8561 \valitem{typesource}{entrytype}
8562 \valitem{typetarget}{entrytype}
8563 \valitem{fieldsource}{entryfield}
8564 \valitem{fieldsourcemsform}{msform}
8565 \valitem{fieldsourcemslang}{mslang}
8566 \valitem{notfield}{entryfield}
8567 \valitem{fieldtarget}{entryfield}
8568 \valitem{fieldtargetmsform}{msform}
8569 \valitem{fieldtargetmslang}{mslang}
8570 \valitem{match}{regexp}
8571 \valitem{matchi}{regexp}
8572 \valitem{notmatch}{regexp}
8573 \valitem{notmatchi}{regexp}
8574 \valitem{matches}{regexp}
8575 \valitem{matchesi}{regexp}
8576 \valitem{replace}{regexp}
8577 \valitem{fieldset}{entryfield}
8578 \valitem{fieldvalue}{string}
8579 \valitem{entryclone}{clonekey}
8580 \valitem{entrynew}{entrynewkey}
8581 \valitem{entrynewtype}{string}
8582 \valitem{entrytarget}{string}
8583 \boolitem[false]{cited}
8584 \boolitem[false]{nocited}
8585 \boolitem[false]{citedornocited}
8586 \boolitem[false]{allnocited}
8587 \boolitem[false]{starnocited}
8588 \boolitem[false]{entrynocite}
8589 \boolitem[false]{entrynull}
8590 \boolitem[false]{append}
8591 \boolitem[false]{appendstrict}
8592 \boolitem[false]{final}
8593 \boolitem[false]{null}
8594 \boolitem[false]{origfield}
8595 \boolitem[false]{origfieldval}
8596 \boolitem[false]{origentrytype}
8597 %
8598 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:
8599
8600 \renewcommand{\labelitemii}{$\circ$}
8601
8602 Note that the options \opt{cited}, \opt{nocited}, \opt{citedornocited},
8603 \opt{allnocited} and \opt{starnocited} are unique in that they can make the
8604 results of a sourcemap differ depending on the refsection. This is because
8605 a datasource to which source mapping applies may be used in several
8606 refsections and source mappings are applied when fetching the data from the
8607 datasources for a refsection. Citation commands are local to a refsection
8608 and therefore may differ for the same entry from refsection to refsection.
8609 For example, the same entry may be \cmd{cite}d in one refsection but
8610 \cmd{nocite}d in another, resulting in different source map results and
8611 therefore data between the refsections. This can be avoided if desired, by
8612 limiting source maps to specific refsections only (see \opt{refsection}
8613 option to the \cmd{map} command above).
8614
8615 \begin{itemize}
8616 \item If \texttt{final} is \texttt{true} for a step then no more steps
8617 after this one are run within the current map for the current entry if
8618 the conditions for the step so far are not satisfied. Examples are given in
8619 the descriptions for specific steps as to what this means for their
8620 particular semantics.
8621 \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
8622 entry is only in-scope during the processing of the current entry and can be referenced by
8623 \texttt{entrytarget}. In \texttt{entrynewkey}, you may use standard Perl regular expression
8624 backreferences to captures from a previous \texttt{match} step.
8625 \item When a \texttt{fieldset} step has \texttt{entrytarget} set to the entrykey of an entry
8626 created by \texttt{entrynew}, the target for the field set will be the \texttt{entrytarget} entry
8627 rather than the entry being currently processed. This allows users to create new entries and set
8628 fields in them.
8629 \item If \texttt{entrynocite} is used in a \texttt{entrynew} or
8630 \texttt{entryclone} step, the new/clone entry will be included in the
8631 \file{.bbl} as if the entry/clone had been \cmd{nocite}ed in the document.
8632 \item If \texttt{entrynull} is set, processing of the \cmd{map}
8633 immediately terminates and the current entry is not created. It is
8634 as if it did not exist in the datasource. Obviously, you should
8635 select the entries which you want to apply this to using prior
8636 mapping steps.
8637 \item If \texttt{entryclone} is set, a clone of the entry is created with an entry key
8638 \texttt{clonekey}. Obviously this may cause labelling problems in author/year styles etc.
8639 and should be used with care. The cloned entry is in-scope during the processing of the
8640 current entry and can be modified by passing its key as the value to \texttt{entrytarget}.
8641 In \texttt{clonekey}, you may use standard Perl regular expression backreferences to
8642 captures from a previous \texttt{match} step.
8643 \item If \texttt{cited} is used then only apply the step if the entry key
8644 of an entry was specifically cited via \cmd{cite}.
8645 \item If \texttt{nocited} is used then only apply the step if the entry key
8646 of an entry was specifically nocited via \cmd{nocite} or was included via \cmd{nocite\{*\}}.
8647 \item If \texttt{citedornocited} is used then only apply the step if the entry key
8648 of an entry was specifically cited via \cmd{cite} or specifically nocited via \cmd{nocite}.
8649 \item If \texttt{allnocited} is used then only apply the step if the entry key
8650 of an entry was included via \cmd{nocite\{*\}}.
8651 \item If \texttt{starnocited} is used then only apply the step if the entry key
8652 of an entry was included solely because of \cmd{nocite\{*\}}. This
8653 implies that the entry was neither explicitly \cmd{cite}ed nor explicitly \cmd{nocite}ed.
8654 \item Change the \texttt{typesource} \prm{entrytype} to the
8655 \texttt{typetarget} \prm{entrytype}, if defined. If
8656 \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.
8657 \item Change the \texttt{fieldsource} \prm{entryfield} (optionally a
8658 particular alternate of the \texttt{fieldsource} as specified by
8659 \texttt{fieldsourcemsform} and \texttt{fieldsourcemslang}) to
8660 \texttt{fieldtarget} (optionally a particular alternate of the
8661 \texttt{fieldtarget} as specified by \texttt{fieldtargetmsform} and
8662 \texttt{fieldtargetmslang}), if defined. Any data annotations of a renamed field are automatically renamed appropriately. If \texttt{final} is
8663 \texttt{true} then if there is no \texttt{fieldsource} \prm{entryfield}
8664 in the entry, processing of the parent \cmd{map} immediately terminates.
8665 \item If \texttt{notfield} is true only if the \prm{entryfield} does not
8666 exist. Usually used with \texttt{final} so that if an entry does contain
8667 \prm{entryfield}, the map terminates.
8668 \item If \texttt{match} is defined but
8669 \texttt{replace} is not, only apply the step if the \texttt{fieldsource} \prm{entryfield} matches the
8670 \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.
8671 \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.
8672 \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.
8673 \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. If \texttt{final} is also true when \texttt{overwrite} is false for this step, 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:
8674 \begin{itemize}
8675 \item\ \texttt{fieldvalue} --- The \texttt{fieldset} \prm{entryfield} is set to the \texttt{fieldvalue} \prm{string}
8676 \item\ \texttt{null} --- The \texttt{fieldset} \prm{entryfield} is ignored, as if it did not exist in the datasource
8677 \item\ \texttt{origentrytype} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{typesource} \prm{entrytype} name
8678 \item\ \texttt{origfield} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{fieldsource} \prm{entryfield} name
8679 \item\ \texttt{origfieldval} --- The \texttt{fieldset} \prm{entryfield} is set to the most recently mentioned \texttt{fieldsource} value
8680 \end{itemize}
8681 \end{itemize}
8682
8683 \end{optionlist*}
8684
8685 \end{ltxsyntax}
8686
8687 \noindent With \bibtex\ datasources, you may specify the
8688 pseudo-field \bibfield{entrykey} for \texttt{fieldsource}
8689 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
8690 be changed (used as \texttt{fieldset}, \texttt{fieldtarget} or changed using \texttt{replace}).
8691
8692 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).
8693
8694 \begin{ltxsyntax}
8695
8696 \cmditem{DeclareStyleSourcemap}{specification}
8697
8698 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.
8699
8700 \end{ltxsyntax}
8701
8702 \begin{ltxsyntax}
8703
8704 \cmditem{DeclareDriverSourcemap}[datatype=driver]{specification}
8705
8706 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.
8707
8708 \end{ltxsyntax}
8709
8710 \begin{ltxsyntax}
8711
8712 \cmditem{regexp}{PCRE}
8713
8714 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\%.
8715
8716 \end{ltxsyntax}
8717
8718 Here are some data source mapping examples:
8719
8720 \begin{ltxexample}
8721 \DeclareSourcemap{
8722 \maps[datatype=bibtex]{
8723 \map{
8724 \perdatasource{<<example1.bib>>}
8725 \perdatasource{<<example2.bib>>}
8726 \step[fieldset=<<keywords>>, fieldvalue={<<keyw1, keyw2>>}]
8727 \step[fieldsource=<<entrykey>>]
8728 \step[fieldset=<<note>>, origfieldval]
8729 }
8730 }
8731 }
8732 \end{ltxexample}
8733 %
8734 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
8735 \texttt{examples1.bib} or \texttt{examples2.bib} files.
8736 %
8737 \begin{ltxexample}
8738 \DeclareSourcemap{
8739 \maps[datatype=bibtex]{
8740 \map{
8741 \step[fieldsource=<<title>>]
8742 \step[fieldset=<<note>>, origfieldval]
8743 }
8744 }
8745 }
8746 \end{ltxexample}
8747 %
8748 Copy the \bibfield{title} field to the \bibfield{note} field unless the
8749 \bibfield{note} field already exists.
8750 %
8751 \begin{ltxexample}
8752 \DeclareSourcemap{
8753 \maps[datatype=bibtex]{
8754 \map{
8755 \step[typesource=<<chat>>, typetarget=<<customa>>, final]
8756 \step[fieldset=<<type>>, origentrytype]
8757 }
8758 }
8759 }
8760 \end{ltxexample}
8761 %
8762 Any \bibfield{chat} entrytypes would become \bibfield{customa} entrytypes and
8763 would automatically have a \bibfield{type} field set to
8764 <chat> unless the \bibfield{type} field already exists in the entry (because
8765 \texttt{overwrite} is false by default). This mapping applies only to entries of type
8766 \bibtype{chat} since the first step has \texttt{final} set and so if the
8767 \texttt{typesource} does not match the entry entrytype, processing of this
8768 \cmd{map} immediately terminates.
8769 %
8770 \begin{ltxexample}
8771 \DeclareSourcemap{
8772 \maps[datatype=bibtex]{
8773 \map{
8774 \perdatasource{<<examples.bib>>}
8775 \pertype{<<article>>}
8776 \pertype{<<book>>}
8777 \step[fieldset=<<abstract>>, null]
8778 \step[fieldset=<<note>>, fieldvalue={<<Auto-created this field>>}]
8779 }
8780 }
8781 }
8782 \end{ltxexample}
8783 %
8784 Any entries of entrytype \bibtype{article} or \bibtype{book} from the
8785 \texttt{examples.bib} datasource would have their \bibfield{abstract}
8786 fields removed and a \bibfield{note} field added with value <Auto-created this field>.
8787 %
8788 \begin{ltxexample}
8789 \DeclareSourcemap{
8790 \maps[datatype=bibtex]{
8791 \map{
8792 \step[fieldset=<<abstract>>, null]
8793 \step[fieldsource=<<conductor>>, fieldtarget=<<namea>>]
8794 \step[fieldsource=<<gps>>, fieldtarget=<<usera>>]
8795 }
8796 }
8797 }
8798 \end{ltxexample}
8799 %
8800 This removes \bibfield{abstract} fields from any entry, changes
8801 \bibfield{conductor} fields to \bibfield{namea} fields and changes \bibfield{gps}
8802 fields to \bibfield{usera} fields.
8803 %
8804 \begin{ltxexample}
8805 \DeclareSourcemap{
8806 \maps[datatype=bibtex]{
8807 \map{
8808 \step[fieldsource=<<pubmedid>>, fieldtarget=<<eprint>>, final]
8809 \step[fieldset=<<eprinttype>>, origfield]
8810 \step[fieldset=<<userd>>, fieldvalue={<<Some string of things>>}]
8811 }
8812 }
8813 }
8814 \end{ltxexample}
8815 %
8816 Applies only to entries with \bibfield{pubmed} fields and maps
8817 \bibfield{pubmedid} fields to \bibfield{eprint} fields, sets the \bibfield{eprinttype}
8818 field to <pubmedid> and also sets the \bibfield{userd} field to the string
8819 <Some string of things>.
8820 %
8821 \begin{ltxexample}
8822 \DeclareSourcemap{
8823 \maps[datatype=bibtex]{
8824 \map{
8825 \step[fieldsource=<<series>>,
8826 match=\regexp{<<\A\d*(.+)>>},
8827 replace=\regexp{<<\L$1>>}]
8828 }
8829 }
8830 }
8831 \end{ltxexample}
8832 %$<- to stop emacs highlighting breaking
8833 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.
8834 %
8835 \begin{ltxexample}
8836 \DeclareSourcemap{
8837 \maps[datatype=bibtex]{
8838 \map{
8839 \step[fieldsource=<<maintitle>>,
8840 match=\regexp{<<Collected\s+Works.+Freud>>},
8841 final]
8842 \step[fieldset=<<keywords>>, fieldvalue=<<freud>>]
8843 }
8844 }
8845 }
8846 \end{ltxexample}
8847 %$<- to stop emacs highlighting breaking
8848 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.
8849 %
8850 \begin{ltxexample}
8851 \DeclareSourcemap{
8852 \maps[datatype=bibtex]{
8853 \map{
8854 \step[fieldsource=<<lista>>, match=\regexp{<<regexp>>}, final]
8855 \step[fieldset=<<lista>>, null]
8856 }
8857 }
8858 }
8859 \end{ltxexample}
8860 %
8861 If an entry has a \bibfield{lista} field which matches regular expression <regexp>, then it is removed.
8862 %
8863 \begin{ltxexample}
8864 \DeclareSourcemap{
8865 \maps[datatype=bibtex]{
8866 \map[overwrite=false]{
8867 \step[fieldsource=<<author>>]
8868 \step[fieldset=<<editor>>, origfieldval, final]
8869 \step[fieldsource=<<editor>>, match=\regexp{<<\A(.+?)\s+and.*>>}, replace={<<$1>>}]
8870 }
8871 }
8872 }
8873 \end{ltxexample}
8874 %$<- to stop emacs highlighting breaking
8875 For any entry with an \bibfield{author} field, try to set
8876 \bibfield{editor} to the same as \bibfield{author}. If this fails because
8877 \bibfield{editor} already exists, stop, otherwise truncate
8878 \bibfield{editor} to just the first name in the name list.
8879 %
8880 \begin{ltxexample}
8881 \DeclareSourcemap{
8882 \maps[datatype=bibtex]{
8883 \map{
8884 \step[fieldsource=<<author>>,
8885 match={<<Smith, Bill>>},
8886 replace={<<Smith, William>>}]
8887 \step[fieldsource=<<author>>,
8888 match={<<Jones, Baz>>},
8889 replace={<<Jones, Barry>>}]
8890 }
8891 }
8892 }
8893 \end{ltxexample}
8894 %
8895 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:
8896 %
8897 \begin{ltxexample}
8898 \DeclareSourcemap{
8899 \maps[datatype=bibtex]{
8900 \map{
8901 \step[fieldsource=<<author>>,
8902 match=\regexp{<<Smith,\s+Bill>>},
8903 replace=\regexp{<<Smith,\x20William>>}]
8904 \step[fieldsource=<<author>>,
8905 match=\regexp{<<Jones,\s+Baz>>},
8906 replace=\regexp{<<Jones,\x20Barry>>}]
8907 }
8908 }
8909 }
8910 \end{ltxexample}
8911 %
8912 Here, we have used the hexadecimal escape sequence <|\x20|> in place of literal spaces in the replacement strings.
8913 %
8914 \begin{ltxexample}
8915 \DeclareSourcemap{
8916 \maps[datatype=bibtex]{
8917 \map[overwrite]{
8918 \step[fieldsource=<<author>>, match={<<Doe,>>}, final]
8919 \step[fieldset=<<shortauthor>>, origfieldval]
8920 \step[fieldset=<<sortname>>, origfieldval]
8921 \step[fieldsource=<<shortauthor>>,
8922 match=\regexp{<<Doe,\s*(?:\.|ohn)(?:[-]*)(?:P\.|Paul)*>>},
8923 replace={<<Doe, John Paul>>}]
8924 \step[fieldsource=<<sortname>>,
8925 match=\regexp{<<Doe,\s*(?:\.|ohn)(?:[-]*)(?:P\.|Paul)*>>},
8926 replace={<<Doe, John Paul>>}]
8927 }
8928 }
8929 }
8930 \end{ltxexample}
8931 %
8932 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.
8933 %
8934 \begin{ltxexample}
8935 \DeclareSourcemap{
8936 \maps[datatype=bibtex]{
8937 \map[overwrite]{
8938 \step[fieldsource=<<verba>>, final]
8939 \step[fieldset=<<verbb>>, fieldvalue=<</>>, append]
8940 \step[fieldset=<<verbb>>, origfieldval, append]
8941 \step[fieldsource=<<verbb>>, final]
8942 \step[fieldset=<<verbc>>, fieldvalue=<</>>, append]
8943 \step[fieldset=<<verbc>>, origfieldval, append]
8944 }
8945 }
8946 }
8947 \end{ltxexample}
8948 %
8949 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.
8950 %
8951 \begin{ltxexample}
8952 \DeclareSourcemap{
8953 \maps[datatype=bibtex]{
8954 \map[overwrite]{
8955 \step[fieldset=<<autourl>>, fieldvalue={<<http://scholar.google.com/scholar?q=">>}]
8956 \step[fieldsource=<<title>>]
8957 \step[fieldset=<<autourl>>, origfieldval, append]
8958 \step[fieldset=<<autourl>>, fieldvalue={<<"+author:>>}, append]
8959 \step[fieldsource=<<author>>, match=\regexp{<<\A([^,]+)\s*,>>}]
8960 \step[fieldset=<<autourl>>, fieldvalue={<<$1>>}, append]
8961 \step[fieldset=<<autourl>>, fieldvalue={<<&as_ylo=>>}, append]
8962 \step[fieldsource=<<year>>]
8963 \step[fieldset=<<autourl>>, origfieldval, append]
8964 \step[fieldset=<<autourl>>, fieldvalue={<<&as_yhi=>>}, append]
8965 \step[fieldset=<<autourl>>, origfieldval, append]
8966 }
8967 }
8968 }
8969 \end{ltxexample}%$ <- keep AucTeX highlighting happy
8970 %
8971 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.
8972 %
8973 \begin{ltxexample}
8974 \DeclareSourcemap{
8975 \maps[datatype=bibtex]{
8976 \map{
8977 \step[fieldsource=<<title>>, match={A Title}, final]
8978 \step[entrynull]
8979 }
8980 }
8981 }
8982 \end{ltxexample}
8983 %
8984 Any entry with a \bibfield{title} field matching <A Title> will be completely ignored.
8985 %
8986 \begin{ltxexample}
8987 \DeclareSourcemap{
8988 \maps[datatype=bibtex]{
8989 \map{
8990 \pernottype{book}
8991 \pernottype{article}
8992 \step[entrynull]
8993 }
8994 }
8995 }
8996 \end{ltxexample}
8997 %
8998 Any entry which is not a \bibtype{book} or \bibtype{article} will be ignored.
8999 %
9000 \begin{ltxexample}
9001 \DeclareSourcemap{
9002 \maps[datatype=bibtex]{
9003 \map{
9004 \perdatasource{<<biblatex-examples.bib>>}
9005 \step[entryclone={rel-}]
9006 }
9007 }
9008 }
9009 \end{ltxexample}
9010 %
9011 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 labeld 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.
9012
9013 \begin{ltxexample}
9014 \DeclareSourcemap{
9015 \maps[datatype=bibtex]{
9016 \map{
9017 \step[fieldsource=<<note>>]
9018 \step[fieldset=<<usera>>, origfieldval]
9019 \step[fieldsource=<<usera>>, matchesi={string1,string2,StriNg3}, replace={1,2,3}]
9020 }
9021 }
9022 }
9023 \end{ltxexample}
9024 %
9025 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.
9026
9027 \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:
9028
9029 \begin{ltxexample}
9030 \DeclareSourcemap{
9031 \maps[datatype=biblatexml]{
9032 \map{
9033 \step[fieldsource=\regexp{./bltx:names[@type='author']/bltx:name[2]/bltx:namepart[@type='family']},
9034 match=\regexp{\ASmith},
9035 replace={Jones}]
9036 }
9037 \map{
9038 \step[fieldsource=editor, fieldtarget=translator]
9039 }
9040 \map{
9041 \step[fieldsource=\regexp{./bltx:names[@type='editor']},
9042 fieldtarget=\regexp{./bltx:names[@type='translator']}]
9043 }
9044 \map{
9045 \step[fieldset=\regexp{./bltx:names[@type='author']/bltx:name[2]/@useprefix},
9046 fieldvalue={false}]
9047 }
9048 }
9049 }
9050 \end{ltxexample}
9051 %
9052 These maps, respectively,
9053
9054 \begin{itemize}
9055 \item Replace the family name <Smith> of the second \bibfield{author} name with <Jones>
9056 \item Move the \bibfield{editor} to \bibfield{translator}
9057 \item Move the \bibfield{editor} to \bibfield{translator} but with explicit XPaths
9058 \item Set the per-namelist \opt{useprefix} option on the \bibfield{author} name list to <false>
9059 \end{itemize}
9060
9061 \subsubsection{Data Model Specification}
9062 \label{aut:ctm:dm}
9063
9064 The data model which \biblatex uses consists of four main elements:
9065
9066 \begin{itemize}
9067 \item Specification of constant strings and lists of strings
9068 \item Specification of valid Entrytypes
9069 \item Specification of valid Fields along with their type, datatype and any special flags
9070 \item Specification of which Fields are valid in which Entrytypes
9071 \item Specification of constraints which can be used to validate data against the data model
9072 \end{itemize}
9073
9074 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}).
9075
9076 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.
9077
9078 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:
9079
9080 \begin{itemize}
9081 \item Whether all entrytypes are valid entrytypes
9082 \item Whether all fields are valid fields for their entrytype
9083 \item Whether the fields obey various constraints on their format which you specify
9084 \end{itemize}
9085 %
9086 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}.
9087 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:\\
9088
9089 \noindent\file{blx-dm.def}$\rightarrow$\\
9090 \hspace*{1em}\file{$<$datamodel option$>$.dbx} $\rightarrow$\\
9091 \hspace*{2em}\file{$<$style option$>$.dbx} $\rightarrow$\\
9092 \hspace*{3em}\file{$<$citestyle option$>$.dbx} and \file{$<$bibstyle option$>$.dbx} $\rightarrow$\\
9093 \hspace*{4em}\file{biblatex-dm.cfg}\\
9094
9095 \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:
9096
9097 \begin{ltxsyntax}
9098
9099 \cmditem{DeclareDatamodelConstant}[options]{name}{constantdef}
9100
9101 Declares the \prm{name} as a datamodel constant with definition \prm{constantdef}. Such constants are typically used internally by \biber.
9102
9103 \begin{optionlist*}
9104
9105 \choitem[string]{type}{string, list}
9106
9107 A constant can be a simple string (default if the \prm{type} option is omitted) or a comma"=separated list of strings.
9108
9109 \end{optionlist*}
9110
9111 \cmditem{DeclareDatamodelEntrytypes}[options]{entrytypes}
9112
9113 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.
9114
9115 \begin{optionlist*}
9116
9117 \boolitem[false]{skipout}
9118
9119 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}.
9120
9121 \end{optionlist*}
9122
9123 \cmditem{DeclareDatamodelFields}[options]{fields}
9124
9125 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:
9126
9127 \begin{optionlist*}
9128
9129 \valitem{type}{field type}
9130
9131 Set the type of the field as described in \secref{bib:fld:typ}, typically <field> or <list>.
9132
9133 \valitem{format}{field format}
9134
9135 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.
9136
9137 \valitem{datatype}{field datatype}
9138
9139 Set the datatype of the field as described in \secref{bib:fld:typ}. For example, <name> or <literal>.
9140
9141 \boolitem[false]{nullok}
9142
9143 The field is allowed to be defined but empty.
9144
9145 \boolitem[false]{skipout}
9146
9147 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.
9148
9149 \boolitem[false]{label}
9150
9151 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.
9152
9153 \end{optionlist*}
9154
9155 \cmditem{DeclareDatamodelEntryfields}[entrytypes]{fields}
9156
9157 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.
9158
9159 \cmditem{DeclareDatamodelMultiscriptEntryfields}{fields}
9160
9161 Declares that the comma"=separated list of \prm{fields} are valid multiscript enabled fields. See \ref{use:multiscript}. As usual in \tex csv lists, make sure each element is immediately followed by a comma or the closing brace---no extraneous whitespace.
9162
9163 \cmditem{DeclareDatamodelConstraints}[entrytypes]{specification}
9164
9165 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.
9166
9167 \cmditem{constraint}[type=constrainttype]{elements}
9168
9169 Specifies a constraint of type \prm{constrainttype}. Valid constraint types are:
9170
9171 \begin{optionlist*}
9172
9173 \choitem{type}{data, mandatory, conditional}
9174
9175 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.
9176
9177 \choitem{datatype}{integer, isbn, issn, ismn, datepart, pattern}
9178
9179 For constraints of type \prm{data}, constrain field values to be the given datatype.
9180
9181 \valitem{rangemin}{num}
9182
9183 For constraints of \prm{type} <data> and \prm{datatype} <integer>, constrain field values to be at least \prm{num}.
9184
9185 \valitem{rangemax}{num}
9186
9187 For constraints of \prm{type} <data> and \prm{datatype} <integer>, constrain field values to be at most \prm{num}.
9188
9189 \valitem{pattern}{patt}
9190
9191 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}.
9192
9193 \end{optionlist*}
9194
9195 A \cmd{constraint} macro may contain any of the following:
9196
9197 \cmditem{constraintfieldsor}{fields}
9198
9199 For constraints of \prm{type} <mandatory>, specifies that an entry must contain a boolean OR of the \cmd{constraintfield}s.
9200
9201 \cmditem{constraintfieldsxor}{fields}
9202
9203 For constraints of \prm{type} <mandatory>, specifies that an entry must contain a boolean XOR of the \cmd{constraintfield}s.
9204
9205 \cmditem{antecedent}[quantifier=quantspec]{fields}
9206
9207 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:
9208
9209 \begin{optionlist*}
9210
9211 \choitem{quantifier}{all, one, none}
9212
9213 Specifies how many of the \cmd{constrainfield}'s inside the \cmd{antecedent} have to be present to satisfy the antecedent of the conditional constraint.
9214
9215 \end{optionlist*}
9216
9217 \cmditem{consequent}[quantifier=quantspec]{fields}
9218
9219 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:
9220
9221 \begin{optionlist*}
9222
9223 \choitem{quantifier}{all, one, none}
9224
9225 Specifies how many of the \cmd{constraintfield}'s inside the \cmd{consequent} have to be present to satisfy the consequent of the conditional constraint.
9226
9227 \end{optionlist*}
9228
9229 \cmditem{constraintfield}{field}
9230
9231 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}.
9232
9233 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:
9234
9235 \cmditem{ResetDatamodelEntrytypes}
9236
9237 Clear all data model entrytype information.
9238
9239 \cmditem{ResetDatamodelFields}
9240
9241 Clear all data model field information.
9242
9243 \cmditem{ResetDatamodelEntryfields}
9244
9245 Clear all data model fields for entrytypes information.
9246
9247 \cmditem{ResetDatamodelMultiscriptEntryfields}
9248
9249 Clear all data model multiscript fields information.
9250
9251 \cmditem{ResetDatamodelConstraints}
9252
9253 Clear all data model fields Constraints information.
9254
9255 \end{ltxsyntax}
9256
9257 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.
9258
9259 \begin{ltxexample}
9260 \ResetDatamodelEntrytypes
9261 \ResetDatamodelFields
9262 \ResetDatamodelEntryfields
9263 \ResetDatamodelConstraints
9264
9265 \DeclareDatamodelEntrytypes{<<entrytype1, entrytype2>>}
9266
9267 \DeclareDatamodelFields[type=field, datatype=literal]{<<field1,field2,field3,field4>>}
9268
9269 \DeclareDatamodelEntryfields{<<field1>>}
9270 \DeclareDatamodelEntryfields[entrytype1]{<<field2,field3>>}
9271 \DeclareDatamodelEntryfields[entrytype2]{<<field2,field3,field4>>}
9272
9273 \DeclareDatamodelConstraints[<<entrytype1>>]{
9274 \constraint[type=data, datatype=integer, rangemin=3, rangemax=10]{
9275 \constraintfield{<<field1>>}
9276 }
9277 \constraint[type=mandatory]{
9278 \constraintfield{<<field1>>}
9279 \constraintfieldsxor{
9280 \constraintfield{<<field2>>}
9281 \constraintfield{<<field3>>}
9282 }
9283 }
9284 }
9285 \DeclareDatamodelConstraints{
9286 \constraint[type=conditional]{
9287 \antecedent[quantifier=none]{
9288 \constraintfield{<<field2>>}
9289 }
9290 \consequent[quantifier=all]{
9291 \constraintfield{<<field3>>}
9292 \constraintfield{<<field4>>}
9293 }
9294 }
9295 }
9296 \end{ltxexample}
9297 %
9298 This model specifies:
9299
9300 \begin{itemize}
9301 \item Clear the default data model completely
9302 \item Two valid entry types \bibtype{entrytype1} and \bibtype{entrytype2}
9303 \item Four valid literal field fields
9304 \item \bibfield{field1} is valid for all entrytypes
9305 \item \bibfield{field2} and \bibfield{field3} are valid for \bibfield{entrytype1}
9306 \item \bibfield{field2}, \bibfield{field3} and \bibfield{field4} are valid for \bibtype{entrytype2}
9307 \item For \bibtype{entrytype1}:
9308 \begin{itemize}
9309 \item \bibfield{field1} must be an integer between 3 and 10
9310 \item \bibfield{field1} must be present
9311 \item One and only one of \bibfield{field2} or \bibfield{field3} must be present
9312 \end{itemize}
9313 \item For any entrytype, if \bibfield{field2} is not present, \bibfield{field3} and \bibfield{field4} must be present
9314 \end{itemize}
9315
9316 \subsubsection{Labels}
9317 \label{aut:ctm:lab}
9318
9319 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.
9320
9321 \begin{ltxsyntax}
9322
9323 \cmditem{DeclareLabelalphaTemplate}[]{specification}
9324
9325 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.
9326
9327 \cmditem{labelelement}{elements}
9328
9329 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.
9330
9331 \cmditem{field}[key=value, \dots]{field}
9332
9333 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. Non-name list fields are treated specially in that the result of the labelpart for the field is the concatenation of applying the template to each item in the list.
9334
9335 \begin{optionlist*}
9336
9337 \valitem{form}{string}
9338
9339 The multiscript form of the \prm{field}. Must be one of the <multiscriptforms> constants declared with \cmd{DeclareDatamodelConstant}. See \ref{use:multiscript}. Defaults to the global \opt{msform} option.
9340
9341 \valitem{lang}{bcp47tag}
9342
9343 The multiscript BCP47 language tag of the \prm{field}. Defaults to the global \opt{mslang} option.
9344
9345 \boolitem[false]{final}
9346
9347 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}.
9348
9349 \boolitem[false]{lowercase}
9350
9351 Forces the label part derived from the field to lowercase. By default, the case is taken from the field source and not modified.
9352
9353 \intitem[1]{strwidth}
9354
9355 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.
9356
9357 \choitem[left]{strside}{left, right}
9358
9359 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.
9360
9361 \choitem[right]{padside}{left, right}
9362
9363 Side to pad the label part when using the \texttt{padchar} option. Only for use with fixed-width label strings (\texttt{strwidth}).
9364
9365 \valitem{padchar}{character}
9366
9367 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}).
9368
9369 \boolitem[false]{uppercase}
9370
9371 Forces the label part derived from the field to uppercase. By default, the case is taken from the field source and not modified.
9372
9373 \boolitem[false]{varwidth}
9374
9375 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.
9376
9377 \boolitem[false]{varwidthnorm}
9378
9379 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}.
9380
9381 \boolitem[false]{varwidthlist}
9382
9383 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.
9384
9385 \intitem{strwidthmax}
9386
9387 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.
9388
9389 \intitem[1]{strfixedcount}
9390
9391 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.
9392
9393 \valitem{ifnames}{range}
9394
9395 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:
9396
9397 \begin{lstlisting}[language=xml]
9398 ifnames=3 -> Only apply to name lists containing exactly 3 names
9399 ifnames={2-4} -> Only apply to name lists containing minimum 2 and maximum 4 names
9400 ifnames={-3} -> Only apply to name lists containing at most 3 names
9401 ifnames={2-} -> Only apply to name lists containing at least 2 names
9402 \end{lstlisting}
9403
9404 \valitem{names}{range}
9405
9406 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:
9407
9408 \begin{lstlisting}[language=xml]
9409 names=3 -> Use first 3 names in the name list
9410 names={2-3} -> Use second and thirds names only
9411 names={-3} -> Same as 1-3
9412 names={2-} -> Use all names starting with the second name (ignoring max/minalphanames truncation)
9413 names={2-+} -> Use all names starting with the second name (respecting max/minalphanames truncation)
9414 \end{lstlisting}
9415
9416 \valitem[empty]{namessep}{string}
9417
9418 An arbitrary string separator to put between names in a namelist.
9419
9420 \boolitem[false]{noalphaothers}
9421
9422 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.
9423
9424 \end{optionlist*}
9425
9426 \cmditem{literal}{characters}
9427
9428 Insert the literal \prm{characters} into the label at this point.
9429
9430 \end{ltxsyntax}
9431 %
9432 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:
9433
9434 \begin{ltxsyntax}
9435
9436 \cmditem{DeclareLabelalphaNameTemplate}[name]{specification}
9437
9438 Defines the \opt{labelalphaname} template \prm{name}. The \prm{name} is optional and defaults to \prm{<global>}.
9439
9440 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.
9441
9442 \cmditem{namepart}[options]{namepart}
9443
9444 \prm{namepart} is one of the datamodel nameparts defined with the \cmd{DeclareDatamodelConstant} command (see \secref{aut:bbx:drv}). The \prm{options} are:
9445
9446 \begin{optionlist*}
9447
9448 \boolitem[false]{use}
9449
9450 Only use the \prm{namepart} in constructing the label information if there is a corresponding option \opt{use<namepart>} and that option is true.
9451
9452 \boolitem[false]{pre}
9453
9454 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}.
9455
9456 \boolitem[false]{compound}
9457
9458 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}.
9459
9460 \intitem[1]{strwidth}
9461
9462 The number of characters of the \prm{namepart} to use.
9463
9464 \choitem[left]{strside}{left, right}
9465
9466 The side of the string from which to take the \texttt{strwidth} number of characters.
9467
9468 \end{optionlist*}
9469
9470 \end{ltxsyntax}
9471
9472 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.
9473
9474 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.
9475
9476 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.
9477
9478 \begin{ltxexample}
9479 \DeclareLabelalphaTemplate{
9480 \labelelement{
9481 \field[final]{<<shorthand>>}
9482 \field{<<label>>}
9483 \field[strwidth=3,strside=left,ifnames=1]{<<labelname>>}
9484 \field[strwidth=1,strside=left]{<<labelname>>}
9485 }
9486 \labelelement{
9487 \field[strwidth=2,strside=right]{<<year>>}
9488 }
9489 }
9490
9491 \DeclareLabelalphaNameTemplate{
9492 \namepart[use=true, pre=true, strwidth=1, compound=true]{prefix}
9493 \namepart{family}
9494 }
9495
9496 \end{ltxexample}
9497 %
9498 To get an idea of how the label automatic disambiguation works, consider the following author lists:
9499
9500 \begin{lstlisting}{}
9501 Agassi, Chang, Laver (2000)
9502 Agassi, Connors, Lendl (2001)
9503 Agassi, Courier, Laver (2002)
9504 Borg, Connors, Edberg (2003)
9505 Borg, Connors, Emerson (2004)
9506 \end{lstlisting}
9507 %
9508 Assuming a template declaration such as:
9509
9510 \begin{ltxexample}
9511 \DeclareLabelalphaTemplate{
9512 \labelelement{
9513 \field[varwidth]{<<labelname>>}
9514 }
9515 }
9516 \end{ltxexample}
9517 %
9518 Then the labels would be:
9519
9520 \begin{lstlisting}{}
9521 Agassi, Chang, Laver [AChLa]
9522 Agassi, Connors, Lendl [AConLe]
9523 Agassi, Courier, Laver [ACouLa]
9524 Borg, Connors, Edberg [BConEd]
9525 Borg, Connors, Emerson [BConEm]
9526 \end{lstlisting}
9527 %
9528 With normalised variable width labels defined:
9529
9530 \begin{ltxexample}
9531 \DeclareLabelalphaTemplate{
9532 \labelelement{
9533 \field[varwidthnorm]{<<labelname>>}
9534 }
9535 }
9536 \end{ltxexample}
9537 %
9538 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:
9539
9540 \begin{lstlisting}{}
9541 Agassi, Chang, Laver [AChaLa]
9542 Agassi, Connors, Lendl [AConLe]
9543 Agassi, Courier, Laver [ACouLa]
9544 Borg, Connors, Edberg [BConEd]
9545 Borg, Connors, Emerson [BConEm]
9546 \end{lstlisting}
9547 %
9548 With a restriction to two characters for the name components of the label element defined like this:
9549
9550 \begin{ltxexample}
9551 \DeclareLabelalphaTemplate{
9552 \labelelement{
9553 \field[varwidthnorm,strwidthmax=2]{<<labelname>>}
9554 }
9555 }
9556 \end{ltxexample}
9557 %
9558 This would be the result (note that the individual family name label parts are no longer unambiguous):
9559
9560 \begin{lstlisting}{}
9561 Agassi, Chang, Laver [AChLa]
9562 Agassi, Connors, Lendl [ACoLe]
9563 Agassi, Courier, Laver [ACoLa]
9564 Borg, Connors, Edberg [BCoEd]
9565 Borg, Connors, Emerson [BCoEm]
9566 \end{lstlisting}
9567 %
9568 Alternatively, you could choose to disambiguate the name lists as a whole with:
9569
9570 \begin{ltxexample}
9571 \DeclareLabelalphaTemplate{
9572 \labelelement{
9573 \field[varwidthlist]{<<labelname>>}
9574 }
9575 }
9576 \end{ltxexample}
9577 %
9578 Which would result in:
9579
9580 \begin{lstlisting}{}
9581 Agassi, Chang, Laver [AChL]
9582 Agassi, Connors, Lendl [ACoL]
9583 Agassi, Courier, Laver [ACL]
9584 Borg, Connors, Edberg [BCEd]
9585 Borg, Connors, Emerson [BCE]
9586 \end{lstlisting}
9587 %
9588 Perhaps you only want to consider at most two names for label generation but disambiguate at the whole name list level:
9589 \begin{ltxexample}
9590 \DeclareLabelalphaTemplate{
9591 \labelelement{
9592 \field[varwidthlist,names=2]{<<labelname>>}
9593 }
9594 }
9595 \end{ltxexample}
9596 %
9597 Which would result in:
9598 \begin{lstlisting}{}
9599 Agassi, Chang, Laver [ACh+]
9600 Agassi, Connors, Lendl [ACo+]
9601 Agassi, Courier, Laver [AC+]
9602 Borg, Connors, Edberg [BC+a]
9603 Borg, Connors, Emerson [BC+b]
9604 \end{lstlisting}
9605 %
9606 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.
9607
9608 Finally, here is an example using multiple label elements:
9609
9610 \begin{ltxexample}
9611 \DeclareLabelalphaTemplate{
9612 \labelelement{
9613 \field[varwidthlist]{<<labelname>>}
9614 }
9615 \labelelement{
9616 \literal{-}
9617 }
9618 \labelelement{
9619 \field[strwidth=3,strside=right]{<<labelyear>>}
9620 }
9621 }
9622 \end{ltxexample}
9623 %
9624 Which would result in:
9625 \begin{lstlisting}{}
9626 Agassi, Chang, Laver [AChL-000]
9627 Agassi, Connors, Lendl [AConL-001]
9628 Agassi, Courier, Laver [ACouL-002]
9629 Borg, Connors, Edberg [BCEd-003]
9630 Borg, Connors, Emerson [BCEm-004]
9631 \end{lstlisting}
9632 %
9633 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:
9634
9635 \begin{ltxexample}
9636 \DeclareLabelalphaTemplate{
9637 \labelelement{
9638 \literal{>}
9639 }
9640 \labelelement{
9641 \literal{\%}
9642 }
9643 \labelelement{
9644 \field[namessep={/}, strwidth=4, padchar=_]{<<labelname>>}
9645 }
9646 \labelelement{
9647 \field[strwidth=3, padchar=&, padside=left]{title}
9648 }
9649 \labelelement{
9650 \field[strwidth=2,strside=right]{<<year>>}
9651 }
9652 }
9653 \end{ltxexample}
9654 %
9655 which given:
9656 \begin{lstlisting}[style=bibtex]{}
9657 @Book{test,
9658 author = {XXX YY and WWW ZZ},
9659 title = {T},
9660 year = {2007},
9661 }
9662 \end{lstlisting}
9663 would resulting a label looking like this:
9664 \begin{verbatim}
9665 [>%YY/ZZ__&&T07]
9666 \end{verbatim}
9667
9668 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.
9669
9670 \begin{ltxsyntax}
9671
9672 \cmditem{DeclareNolabel}{specification}
9673
9674 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.
9675
9676 \cmditem{nolabel}{regexp}
9677
9678 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.
9679
9680 \end{ltxsyntax}
9681
9682 If there is no \cmd{DeclareNolabel} specification, \biber will default to:
9683
9684 \begin{ltxexample}
9685 \DeclareNolabel{
9686 % strip punctuation, symbols, separator and control characters
9687 \nolabel{\regexp{<<[\p{P}\p{S}\p{C}]+>>}}
9688 }
9689 \end{ltxexample}
9690 %
9691 This \biber default strips punctuation, symbol, separator and control characters from fields before passing the field string to the label generation system.
9692
9693 \begin{ltxsyntax}
9694
9695 \cmditem{DeclareNolabelwidthcount}{specification}
9696
9697 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.
9698
9699 \cmditem{nolabelwidthcount}{regexp}
9700
9701 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.
9702
9703 \end{ltxsyntax}
9704
9705 There is no default \cmd{DeclareNolabelwidthcount} specification. Note that
9706 this setting is only taken into account when using fixed-width substrings
9707 (non-varwidth) during label part generation. See \secref{aut:ctm:lab}.
9708
9709 \subsubsection{Sorting}
9710 \label{aut:ctm:srt}
9711
9712 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.
9713
9714 \begin{ltxsyntax}
9715
9716 \cmditem{DeclareSortingTemplate}[options]{name}{specification}
9717
9718 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:
9719
9720 \begin{optionlist*}
9721
9722 \choitem{locale}{\prm{locale}}
9723
9724 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}.
9725
9726 \end{optionlist*}
9727
9728 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.
9729
9730 \cmditem{sort}{elements}
9731
9732 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:
9733
9734 \begin{optionlist*}
9735
9736 \choitem{locale}{\prm{locale}}
9737
9738 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}.
9739
9740 \choitem[ascending]{direction}{ascending, descending}
9741
9742 The sort direction, which may be either \texttt{ascending} or \texttt{descending}. The default is ascending order.
9743
9744 \boolitem[false]{final}
9745
9746 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}.
9747
9748 \boolitem{sortcase}
9749
9750 Whether or not to sort case"=sensitively. The default setting depends on the global \opt{sortcase} option.
9751
9752 \boolitem{sortupper}
9753
9754 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.
9755
9756 \end{optionlist*}
9757
9758 \cmditem{field}[key=value, \dots]{field}
9759
9760 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:
9761
9762 \begin{optionlist*}
9763
9764 \valitem{form}{string}
9765
9766 The multiscript form of the \prm{field}. Must be one of the <multiscriptforms> constants declared with \cmd{DeclareDatamodelConstant}. See \ref{use:multiscript}. Defaults to the global \opt{msform} option.
9767
9768 \valitem{lang}{bcp47tag}
9769
9770 The multiscript BCP47 language tag of the \prm{field}. Defaults to the global \opt{mslang} option.
9771
9772 \choitem[left]{padside}{left, right}
9773
9774 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.
9775
9776 \intitem[4]{padwidth}
9777
9778 The target width in characters.
9779
9780 \valitem[0]{padchar}{character}
9781
9782 The character to be used when padding the field.
9783
9784 \choitem[left]{strside}{left, right}
9785
9786 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.
9787
9788 \intitem[4]{strwidth}
9789
9790 The number of characters to match.
9791
9792 \end{optionlist*}
9793
9794 \cmditem{literal}{string}
9795
9796 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.
9797
9798 \csitem{citecount}
9799
9800 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}.
9801
9802 \csitem{citeorder}
9803
9804 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:
9805
9806 \begin{ltxexample}
9807 \cite{one,two}
9808 \end{ltxexample}
9809 %
9810 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:
9811
9812 \begin{ltxexample}
9813 \DeclareSortingTemplate{lexical}{
9814 \sort{\citeorder}
9815 }
9816 \end{ltxexample}
9817 %
9818 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»:
9819
9820 \begin{ltxexample}
9821 \DeclareSortingTemplate{lexicalyear}{
9822 \sort{\citeorder}
9823 \sort{<<year>>}
9824 }
9825 \end{ltxexample}
9826 %
9827 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).
9828
9829 See also \cmd{intciteorder} below.
9830
9831 \csitem{intciteorder}
9832
9833 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:
9834
9835 \begin{ltxexample}
9836 \cite{one,two}
9837 \end{ltxexample}
9838 %
9839 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>:
9840
9841 \begin{ltxexample}
9842 \DeclareSortingTemplate{fulllexical}{
9843 \sort{\citeorder}
9844 \sort{\intciteorder}
9845 }
9846 \end{ltxexample}
9847
9848 \cmditem{DeclareSortingNamekeyTemplate}[name]{specification}
9849
9850 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:
9851
9852 \begin{itemize}
9853 \item The default template defined without the optional name argument
9854 \item Given as the \opt{sortingnamekeytemplate} option to a reference context (see \secref{use:bib:context})
9855 \item Given as a per-entry option \opt{sortnamekeytemplate} in a bibliography data source entry
9856 \item Given as a per-namelist option \opt{sortnamekeytemplate}
9857 \item Given as a per-name option \opt{sortnamekeytemplate}
9858 \end{itemize}
9859
9860 By default there is only a global template which has the following \prm{specification}:
9861
9862 \begin{ltxexample}
9863 \DeclareSortingNamekeyTemplate{
9864 \keypart{
9865 \namepart[use=true]{<<prefix>>}
9866 \namepart{<<family>>}
9867 }
9868 \keypart{
9869 \namepart{<<given>>}
9870 }
9871 \keypart{
9872 \namepart{<<suffix>>}
9873 }
9874 \keypart{
9875 \namepart[use=false]{<<prefix>>}
9876 }
9877 }
9878 \end{ltxexample}
9879 %
9880 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.
9881
9882 \cmditem{visibility}{visibilityscope}
9883
9884 \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:
9885
9886 \begin{ltxexample}
9887 \DeclareSortingNamekeyTemplate[mycitesorttemplate]{
9888 \visibilty{cite}
9889 .
9890 .
9891 .
9892 \end{ltxexample}
9893 %
9894 and then force this to be used with e.g.:
9895
9896 \begin{ltxexample}
9897 \newrefcontext[sortingnamekeytemplate=mycitesorttemplate]
9898 \cite{a,b,c}
9899 \end{ltxexample}
9900 %
9901 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}):
9902
9903 \begin{ltxexample}
9904 % make sure sorting data using this template is
9905 % generated since no \printbibliography/\printbiblist
9906 % occurs in the refcontext with
9907 % sortingnamekeytemplatename=mycitesorttemplate,
9908 % this won't happen by default
9909 \GenRefcontextData{sortingnamekeytemplatename=mycitesorttemplate}
9910 % Switch to this refcontext to use the correct
9911 % sorted data using the sorting name key template
9912 % which uses "cite" visibility for the name lists
9913 \newrefcontext[sortingnamekeytemplate=mycitesorttemplate]
9914 % citations are correctly sorted
9915 \cite{a,b,c}
9916 % Switch to the default sorting name key template
9917 % for the actual list of references which uses the
9918 % default sorting visibility for the name lists
9919 \newrefcontext[sortingnamekeytemplate=global]
9920 % references are correctly sorted
9921 \printbibliography
9922 \end{ltxexample}
9923
9924 \cmditem{keypart}{part}
9925
9926 \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.
9927
9928 \cmditem{literal}{string}
9929
9930 A literal string to insert into the name sorting key.
9931
9932 \cmditem{namepart}{name}
9933
9934 Specifies the \prm{name} of a namepart to use in constructing the name sorting key.
9935
9936 \begin{optionlist*}
9937
9938 \boolitem[true]{use}
9939
9940 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.
9941
9942 \boolitem[true]{inits}
9943
9944 Indicates that only the initials of namepart \prm{name} are to be used in
9945 constructing the sorting specification.
9946
9947 \end{optionlist*}
9948
9949 \end{ltxsyntax}
9950
9951 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:
9952
9953 \begin{ltxexample}
9954 \DeclareNamekeyTemplate[givenfirst]{
9955 \keypart{
9956 \namepart{<<given>>}
9957 }
9958 \keypart{
9959 \namepart[use=true]{<<prefix>>}
9960 }
9961 \keypart{
9962 \namepart{<<family>>}
9963 }
9964 \keypart{
9965 \namepart[use=false]{<<prefix>>}
9966 }
9967 }
9968 \end{ltxexample}
9969 %
9970 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:
9971
9972 \begin{ltxexample}
9973 \begin{refcontext}[sortnamekeytemplate=givenfirst]
9974 \printbibliography
9975 \end{refcontext}
9976 \end{ltxexample}
9977 %
9978 or perhaps you only want to do this for a particular entry:
9979
9980 \begin{lstlisting}[style=bibtex]{}
9981 @BOOK{key,
9982 OPTIONS = {sortnamekeytemplate=givenfirst},
9983 AUTHOR = {Arnar Vigfusson}
9984 }
9985 \end{lstlisting}
9986 %
9987 or just a name list by using the option as a pseudo-name which will be ignored:
9988
9989 \begin{lstlisting}[style=bibtex]{}
9990 @BOOK{key,
9991 AUTHOR = {sortnamekeytemplate=givenfirst and Arnar Vigfusson}
9992 }
9993 \end{lstlisting}
9994 %
9995 or just a single name by passing the option as part of the extended name information
9996 format which \biber supports (see \secref{use:enf}):
9997
9998 \begin{lstlisting}[style=bibtex]{}
9999 @BOOK{key,
10000 AUTHOR = {given=Arnar, family=Vigfusson, sortnamekeytemplate=givenfirst}
10001 }
10002 \end{lstlisting}
10003 %
10004 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:
10005
10006 \begin{ltxexample}
10007 \DeclareSortingTemplate{sample}{
10008 \sort{
10009 \field{<<author>>}
10010 \field{<<editor>>}
10011 \field{<<translator>>}
10012 }
10013 \sort{
10014 \field{<<title>>}
10015 }
10016 \sort{
10017 \field{<<year>>}
10018 }
10019 }
10020 \end{ltxexample}
10021 %
10022 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:
10023
10024 \begin{ltxexample}
10025 \DeclareSortingTemplate{nty}{
10026 \sort{
10027 \field{<<presort>>}
10028 }
10029 \sort[final]{
10030 \field{<<sortkey>>}
10031 }
10032 \sort{
10033 \field{<<sortname>>}
10034 \field{<<author>>}
10035 \field{<<editor>>}
10036 \field{<<translator>>}
10037 \field{<<sorttitle>>}
10038 \field{<<title>>}
10039 }
10040 \sort{
10041 \field{<<sorttitle>>}
10042 \field{<<title>>}
10043 }
10044 \sort{
10045 \field{<<sortyear>>}
10046 \field{<<year>>}
10047 }
10048 }
10049 \end{ltxexample}
10050 %
10051 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}):
10052
10053 \begin{ltxexample}
10054 \DeclareSortingTemplate[locale=swedish]{custom}{
10055 \sort{
10056 \field{<<sortname>>}
10057 \field{<<author>>}
10058 \field{<<editor>>}
10059 \field{<<translator>>}
10060 \field{<<sorttitle>>}
10061 \field{<<title>>}
10062 }
10063 \sort[locale=de_DE_phonebook]{
10064 \field{<<origtitle>>}
10065 }
10066 }
10067 \end{ltxexample}
10068
10069 \begin{ltxsyntax}
10070
10071 \cmditem{DeclareSortExclusion}{entrytype, \dots}{field, \dots}
10072
10073 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.
10074
10075 \cmditem{DeclareSortInclusion}{entrytype, \dots}{field, \dots}
10076
10077 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:
10078
10079 \begin{ltxexample}
10080 \DeclareSortExclusion{*}{title}
10081 \DeclareSortInclusion{article}{title}
10082 \end{ltxexample}
10083
10084 \cmditem{DeclarePresort}[entrytype, \dots]{string}
10085
10086 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.
10087
10088 \cmditem{DeclareSortTranslit}[entrytype]{specification}
10089
10090 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
10091 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:
10092
10093 \cmditem{translit}[langids]{field or fieldset}{from}{to}
10094
10095 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.
10096
10097 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>.
10098
10099 \begin{ltxexample}
10100 \DeclareDatafieldSet{settitles}{
10101 \member[field=title]
10102 \member[field=booktitle]
10103 \member[field=eventtitle]
10104 \member[field=issuetitle]
10105 \member[field=journaltitle]
10106 \member[field=maintitle]
10107 \member[field=origtitle]
10108 }
10109
10110 \DeclareSortTranslit{
10111 \translit[sanskrit]{settitles}{iast}{devanagari}
10112 }
10113 \end{ltxexample}
10114
10115 \end{ltxsyntax}
10116
10117 \begin{table}
10118 \caption{Valid transliteration pairs}
10119 \label{tab:translit}
10120 \tablesetup\centering
10121 \begin{tabular}{lll}
10122 \toprule
10123 \sffamily\bfseries\spotcolor From
10124 & \sffamily\bfseries\spotcolor To
10125 & Description\\
10126 \midrule
10127 iast & devanagari & Sanskrit IAST to Devanāgarī\\
10128 russian & ala-lc & ALA-LC romanisation for Russian\\
10129 russian & bgn/pcgn-standard & BGN/PCGN:1947 (Standard Variant), Cyrillic to Latin, Russian\\
10130 \bottomrule
10131 \end{tabular}
10132 \end{table}
10133
10134 \subsubsection[Bibliography List Filters]{Bibliography List Filters}
10135 \label{aut:ctm:bibfilt}
10136
10137 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.
10138
10139 \begin{ltxsyntax}
10140 \cmditem{DeclareBiblistFilter}{name}{specification}
10141
10142 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:
10143
10144 \cmditem{filter}[filterspec]{filter}
10145
10146 Filter entries according to the \prm{filterspec} and \prm{filter}. \prm{filterspec} can be one of:
10147
10148 \end{ltxsyntax}
10149
10150 \begin{description}
10151 \item[type/nottype] Entry is/is not of \bibfield{entrytype} \prm{filter}
10152 \item[subtype/notsubtype] Entry is/is not of \bibfield{subtype} \prm{filter}
10153 \item[keyword/notkeyword] Entry has/does not have \bibfield{keyword} \prm{filter}
10154 \item[field/notfield] Entry has/does not have a field called \prm{filter}
10155 \end{description}
10156
10157 \begin{ltxsyntax}
10158 \cmditem{filteror}{type}{filters}
10159
10160 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.
10161
10162 \end{ltxsyntax}
10163
10164 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:
10165
10166 \begin{ltxexample}
10167 \DeclareBiblistFilter{<<shorthand>>}{
10168 \filter[type=field,filter=shorthand]
10169 }
10170 \end{ltxexample}
10171
10172 \subsubsection{Controlling Name Initials Generation}
10173 \label{aut:ctm:noinit}
10174
10175 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.
10176
10177 \begin{ltxsyntax}
10178
10179 \cmditem{DeclareNoinit}{specification}
10180
10181 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.
10182
10183 \cmditem{noinit}{regexp}
10184
10185 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.
10186
10187 \end{ltxsyntax}
10188
10189 If there is no \cmd{DeclareNoinit} specification, \biber will default to:
10190
10191 \begin{ltxexample}
10192 \DeclareNoinit{
10193 % strip lowercase prefixes like 'al-' when generating initials from names
10194 \noinit{\regexp{<<\b\p{Ll}{2}\p{Pd}>>}}
10195 % strip some common diacritics when generating initials from names
10196 \noinit{\regexp{<<[\x{2bf}\x{2018}]>>}}
10197 }
10198 \end{ltxexample}
10199 %
10200 This \biber default strips a couple of diacritics and also strips lowercase prefixes from names before generating initials.
10201
10202 \subsubsection{Fine Tuning Sorting}
10203 \label{aut:ctm:nosort}
10204
10205 It can be useful to fine tune sorting so that it ignores certain parts of particular fields.
10206
10207 \begin{ltxsyntax}
10208
10209 \cmditem{DeclareNosort}{specification}
10210
10211 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.
10212
10213 \cmditem{nosort}{field or datafield set}{regexp}
10214
10215 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.
10216
10217 \end{ltxsyntax}
10218
10219 The default is:
10220
10221 \begin{ltxexample}
10222 \DeclareNosort{
10223 % strip prefixes like 'al-' when sorting names
10224 \nosort{setnames}{\regexp{<<\A\p{L}{2}\p{Pd}>>}}
10225 % strip some diacritics when sorting names
10226 \nosort{setnames}{\regexp{<<[\x{2bf}\x{2018}]>>}}
10227 }
10228 \end{ltxexample}
10229 %
10230 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:
10231
10232 \begin{ltxexample}
10233 \DeclareNosort{
10234 \nosort{<<title>>}{\regexp{<<\AThe\s+>>}}
10235 }
10236 \end{ltxexample}
10237 %
10238 Or if you wanted to ignore «The» at the beginning of any title field:
10239
10240 \begin{ltxexample}
10241 \DeclareNosort{
10242 \nosort{<<settitles>>}{\regexp{<<\AThe\s+>>}}
10243 }
10244 \end{ltxexample}
10245
10246 \subsubsection{Fine Tuning hashing and uniquename}
10247 \label{aut:ctm:nonamestring}
10248
10249 \begin{ltxsyntax}
10250 \cmditem{DeclareNonamestring}{specification}
10251
10252 Defines regular expressions to strip from name fields when
10253 generating \bibfield{fullhash} 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.
10254
10255 \cmditem{nonamestring}{namefield or datafield name set}{regexp}
10256
10257 Any number of \cmd{nonamestring} commands can be given each of which
10258 specifies to remove the \prm{regexp} from the \prm{namefield} or
10259 \prm{datafield name set}. A \prm{datafield name set} is simply a
10260 convenience grouping of semantically similar fields from which you might
10261 want to remove a regexp. See \secref{aut:ctm:dsets} for the available sets,
10262 their members and customisation. Only set of name lists are relevant to
10263 this command. Since regular expressions usually contain special characters,
10264 it is best to enclose them in the provided \cmd{regexp} macro as
10265 shown---this will pass the expression through to \biber correctly.
10266
10267 \end{ltxsyntax}
10268
10269 Suppose you wanted to ignore square brackets in names in the
10270 \bibfield{author} name field and treat <D[onald] Knuth> the same as <Donald
10271 Knuth> for purposes \bibfield{uniquename} and hashing so that both variants
10272 appeared together in a dashed bibliography style and were also treated the
10273 same when calculating \bibfield{uniquename}:
10274
10275 \begin{ltxexample}
10276 \DeclareNonamestring{
10277 \nonamestring{<<author>>}{\regexp{<<[\[\]]>>}}
10278 }
10279 \end{ltxexample}
10280 %
10281 For consistency, it is often desirable to use the same regexp in \cmd{DeclareNosort}.
10282
10283
10284 \subsubsection{Special Fields}
10285 \label{aut:ctm:fld}
10286
10287 Some of the automatically generated fields from \secref{aut:bbx:fld:lab} may be customized.
10288
10289 \begin{ltxsyntax}
10290
10291 \cmditem{DeclareLabelname}[entrytype, \dots]{specification}
10292
10293 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:
10294
10295 \begin{ltxexample}
10296 \DeclareLabelname{%
10297 \field{shortauthor}
10298 \field{author}
10299 \field{shorteditor}
10300 \field{editor}
10301 \field{translator}
10302 }
10303 \end{ltxexample}
10304 %
10305 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.
10306
10307 \cmditem{field}[key=value, \dots]{field}
10308
10309 \begin{optionlist*}
10310
10311 \valitem{form}{string}
10312
10313 The multiscript form of the \prm{field}. Must be one of the <multiscriptforms> constants declared with \cmd{DeclareDatamodelConstant}. See \ref{use:multiscript}. Defaults to the global \opt{msform} option.
10314
10315 \valitem{lang}{bcp47tag}
10316
10317 The multiscript BCP47 language tag of the \prm{field}. Defaults to the global \opt{mslang} option.
10318
10319 \end{optionlist*}
10320
10321 \cmditem{DeclareLabeldate}[entrytype, \dots]{specification}
10322
10323 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:
10324
10325 \begin{ltxexample}
10326 \DeclareLabeldate{%
10327 \field{date}
10328 \field{year}
10329 \field{eventdate}
10330 \field{origdate}
10331 \field{urldate}
10332 \literal{nodate}
10333 }
10334 \end{ltxexample}
10335 %
10336 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.
10337 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}.
10338
10339 \cmditem{DeclareExtradate}{specification}
10340
10341 Defines which date information 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:
10342
10343 \begin{ltxexample}
10344 \DeclareExtradate{%
10345 \scope{
10346 \field{labelyear}
10347 \field{year}
10348 }
10349 }
10350 \end{ltxexample}
10351 %
10352 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:
10353
10354 \begin{lstlisting}[style=bibtex]{}
10355 @BOOK{extra1,
10356 AUTHOR = {John Doe},
10357 DATE = {2001-01}
10358 }
10359
10360 @BOOK{extra2,
10361 AUTHOR = {John Doe},
10362 DATE = {2001-02}
10363 }
10364 \end{lstlisting}
10365 %
10366 The default definition would result in:
10367
10368 \begin{lstlisting}{}
10369 Doe 2001a
10370 Doe 2001b
10371 \end{lstlisting}
10372 %
10373 Here, \bibfield{extradate} only considers the \bibfield((label)year) information and since this is identical, disambiguation is required. However, consider the following definition:
10374 \begin{ltxexample}
10375 \DeclareExtradate{%
10376 \scope{
10377 \field{labelyear}
10378 \field{year}
10379 }
10380 \scope{
10381 \field{labelmonth}
10382 }
10383 }
10384 \end{ltxexample}
10385 %
10386 The result would be:
10387 \begin{lstlisting}{}
10388 Doe 2001
10389 Doe 2001
10390 \end{lstlisting}
10391 %
10392 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:
10393 \begin{ltxexample}
10394 \DeclareExtradate{%
10395 \scope{
10396 \field{labelmonth}
10397 }
10398 }
10399 \end{ltxexample}
10400 %
10401 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:
10402 \begin{ltxexample}
10403 \DeclareExtradate{%
10404 \scope{
10405 \field{labelyear}
10406 \field{year}
10407 }
10408 \scope{
10409 \field{labelmonth}
10410 }
10411 \scope{
10412 \field{labelday}
10413 }
10414 \scope{
10415 \field{labelhour}
10416 }
10417 }
10418 \end{ltxexample}
10419 %
10420 Entries without the specified granularity of information will disambiguate at the lowest granularity they contain, so, for example, with:
10421 \begin{ltxexample}
10422 \DeclareExtradate{%
10423 \scope{
10424 \field{labelyear}
10425 \field{year}
10426 }
10427 \scope{
10428 \field{labelmonth}
10429 }
10430 }
10431 \end{ltxexample}
10432 %
10433 \begin{lstlisting}[style=bibtex]{}
10434 @BOOK{extra1,
10435 AUTHOR = {John Doe},
10436 DATE = {2001}
10437 }
10438
10439 @BOOK{extra2,
10440 AUTHOR = {John Doe},
10441 DATE = {2001}
10442 }
10443 \end{lstlisting}
10444 %
10445 The result would still be:
10446
10447 \begin{lstlisting}{}
10448 Doe 2001a
10449 Doe 2001b
10450 \end{lstlisting}
10451 %
10452 This command may only be used in the preamble.
10453
10454 \cmditem{DeclareExtradateContext}[entrytype, \dots]{specification}
10455
10456 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:
10457
10458 \begin{ltxexample}
10459 \DeclareExtradateContext{%
10460 \field{labelname}
10461 \field{labeltitle}
10462 }
10463 \end{ltxexample}
10464 %
10465 It is unlikely that this will need to be customised for normal use cases.
10466
10467 \cmditem{DeclareLabeltitle}[entrytype, \dots]{specification}
10468
10469 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:
10470
10471 \begin{ltxexample}
10472 \DeclareLabeltitle{%
10473 \field{shorttitle}
10474 \field{title}
10475 }
10476 \end{ltxexample}
10477 %
10478 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.
10479
10480 \cmditem{field}[key=value, \dots]{field}
10481
10482 \begin{optionlist*}
10483
10484 \valitem{form}{string}
10485
10486 The multiscript form of the \prm{field}. Must be one of the <multiscriptforms> constants declared with \cmd{DeclareDatamodelConstant}. See \ref{use:multiscript}. Defaults to the global \opt{msform} option.
10487
10488 \valitem{lang}{bcp47tag}
10489
10490 The multiscript BCP47 language tag of the \prm{field}. Defaults to the global \opt{mslang} option.
10491
10492 \end{optionlist*}
10493
10494 \end{ltxsyntax}
10495
10496 \subsubsection{Data Inheritance (\bibfield{crossref})}
10497 \label{aut:ctm:ref}
10498
10499 \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. For multiscript enabled fields (\ref{use:multiscript}), all alternates of the field are inherited.
10500
10501 \begin{ltxsyntax}
10502
10503 \cmditem{DefaultInheritance}[exceptions]{options}
10504
10505 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}:
10506
10507 \begin{optionlist*}
10508
10509 \boolitem[true]{all} Whether or not to inherit all fields from the parent by default.
10510
10511 \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}.
10512
10513 \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.
10514
10515 \valitem{ignore}{csv list of uniqueness options}
10516
10517 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:
10518
10519 \begin{ltxexample}
10520 \DefaultInheritance{ignore={singletitle,uniquetitle}, all=true, override=false}
10521 \end{ltxexample}
10522 %
10523 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.
10524
10525 \end{optionlist*}
10526
10527 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.
10528
10529 \cmditem{except}{source}{target}{options}
10530
10531 Defines an exception to the default inheritance rules.
10532
10533 \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.
10534
10535 \cmditem{DeclareDataInheritance}[options]{source, \dots}{target, \dots}{rules}
10536
10537 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:
10538
10539 \begin{optionlist*}
10540
10541 \valitem{ignore}{csv list of uniqueness options}
10542
10543 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}.
10544
10545 \begin{ltxexample}
10546 \DeclareDataInheritance[ignore={singletitle,uniquetitle}]{mvbook}{book}{<<...>>}
10547 \end{ltxexample}
10548
10549 \end{optionlist*}
10550
10551 \cmditem{inherit}[option]{source}{target}
10552
10553 Defines an inheritance rule by mapping a \prm{source} field to a \prm{target} field. \prm{option} can be one of
10554
10555 \begin{optionlist*}
10556
10557 \boolitem[false]{override}
10558
10559 As the \opt{override} option for \cmd{DefaultInheritance} explained above. When set here, it takes precedence over any global options set with \cmd{DefaultInheritance}.
10560
10561 \end{optionlist*}
10562
10563 \cmditem{noinherit}{source}
10564
10565 Unconditionally prevents inheritance of the \prm{source} field.
10566
10567 \csitem{ResetDataInheritance}
10568
10569 Clears all inheritance rules defined with \cmd{DeclareDataInheritance}. This command may only be used in the preamble.
10570
10571 \end{ltxsyntax}
10572
10573 Here are some practical examples:
10574
10575 \begin{ltxexample}
10576 \DefaultInheritance{<<all=true>>,<<override=false>>}
10577 \end{ltxexample}
10578 %
10579 This example shows how to configure the default inheritance behavior. The above settings are the package defaults.
10580
10581 \begin{ltxexample}
10582 \DefaultInheritance[
10583 \except{<<*>>}{<<online>>}{<<all=false>>}
10584 ]{all=true,override=false}
10585 \end{ltxexample}
10586 %
10587 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.
10588
10589 \begin{ltxexample}
10590 \DeclareDataInheritance{<<collection>>}{<<incollection>>}{
10591 \inherit{<<title>>}{<<booktitle>>}
10592 \inherit{<<subtitle>>}{<<booksubtitle>>}
10593 \inherit{<<titleaddon>>}{<<booktitleaddon>>}
10594 }
10595 \end{ltxexample}
10596 %
10597 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.
10598
10599 \begin{ltxexample}
10600 \DeclareDataInheritance{<<mvbook,book>>}{<<inbook,bookinbook>>}{
10601 \inherit{<<author>>}{<<author>>}
10602 \inherit{<<author>>}{<<bookauthor>>}
10603 }
10604 \end{ltxexample}
10605 %
10606 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.
10607
10608 \begin{ltxexample}
10609 \DeclareDataInheritance{<<*>>}{<<inbook,incollection>>}{
10610 \noinherit{<<introduction>>}
10611 }
10612 \end{ltxexample}
10613 %
10614 This rule prevents inheritance of the \bibfield{introduction} field. It applies to all targets of type
10615 \bibtype{inbook} or \bibtype{incollection}, regardless of the source entry type.
10616
10617 \begin{ltxexample}
10618 \DeclareDataInheritance{<<*>>}{<<*>>}{
10619 \noinherit{<<abstract>>}
10620 }
10621 \end{ltxexample}
10622 %
10623 This rule, which applies to all entries, regardless of the source and target entry types, prevents inheritance of the \bibfield{abstract} field.
10624
10625 \begin{ltxexample}
10626 \DefaultInheritance{all=true,override=false}
10627 \ResetDataInheritance
10628 \end{ltxexample}
10629 %
10630 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.
10631
10632 In a bibliography entry, you can give an option <noinherit> where the value
10633 is a datafield set defined with \cmd{DeclareDatafieldSet}
10634 (\secref{aut:ctm:dsets}). This will block inheritance of the fields in the
10635 set on a per-entry basis. For example:
10636
10637 \begin{ltxexample}
10638 \DeclareDatafieldSet{nobtitle}{
10639 \member[field=booktitle]
10640 }
10641 \end{ltxexample}
10642
10643 \begin{lstlisting}[style=bibtex]{}
10644 @INBOOK{s1,
10645 OPTIONS = {noinherit=nobtitle},
10646 TITLE = {Subtitle},
10647 CROSSREF = {s2}
10648 }
10649
10650 @BOOK{s2,
10651 TITLE = {Title}
10652 }
10653 \end{lstlisting}
10654 %
10655 Here, \bibfield{s1} will not inherit the \bibfield{TITLE} of \bibfield{s2}
10656 as \bibfield{BOOKTITLE} as this is blocked by the datafield set given as
10657 the value to the \opt{noinherit} option.
10658 %
10659 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:
10660
10661 \begin{lstlisting}[style=bibtex]{}
10662 @INBOOK{b1,
10663 DATE = {2004-03-03},
10664 ORIGDATE = {2004-03},
10665 CROSSREF = {b2}
10666 }
10667
10668 @BOOK{b2,
10669 DATE = {2004-03-03/2005-08-09},
10670 ORIGDATE = {2004-03/2005-08},
10671 EVENTDATE = {2004-03/2005-08},
10672 }
10673 \end{lstlisting}
10674 %
10675 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.
10676
10677 \subsection{Auxiliary Commands}
10678 \label{aut:aux}
10679
10680 The facilities in this section are intended for analyzing and saving bibliographic data rather than formatting and printing it.
10681
10682 \subsubsection{Data Commands}
10683 \label{aut:aux:dat}
10684
10685 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.
10686
10687 \begin{ltxsyntax}
10688
10689 \cmditem{thefield}[msform][mslang]{field}
10690
10691 Expands to the unformatted \prm{field} (for a multiscript field, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used). If the \prm{field} is undefined, this command expands to an empty string.
10692
10693 \cmditem{strfield}[msform][mslang]{field}
10694
10695 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.
10696
10697 \cmditem{csfield}[msform][mslang]{field}
10698
10699 Similar to \cmd{thefield}, but prevents expansion.
10700
10701 \cmditem{usefield}{command}[msform][mslang]{field}
10702
10703 Executes \prm{command} using the unformatted \prm{field} as its argument (for a multiscript field, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used).
10704
10705 \cmditem{thelist}[msform][mslang]{literal list}
10706
10707 Expands to the unformatted \prm{literal list} (for a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used). 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.
10708
10709 \cmditem{strlist}[msform][mslang]{literal list}
10710
10711 Similar to \cmd{thelist} (for a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used), 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.
10712
10713 \cmditem{thefirstlistitem}[msform][mslang]{literal list}
10714
10715 Expands to the unformatted first item in \prm{literal list} (for a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used). If the \prm{literal list} is undefined, this command expands to an empty string.
10716
10717 \cmditem{strfirstlistitem}[msform][mslang]{literal list}
10718
10719 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.
10720
10721 \cmditem{usefirstlistitem}{command}[msform][mslang]{literal list}
10722
10723 Executes \prm{command} using the unformatted first item of \prm{literal list} as its argument (for a multiscript list, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used).
10724
10725 \cmditem{thename}[msform][mslang]{name list}
10726
10727 Expands to the unformatted \prm{name list} (for a multiscript name, \prm{msform}/\prm{mslang} may be specified, otherwise, the global or refcontext override values of \opt{msform}/\opt{mslang} are used). 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.
10728
10729 \cmditem{strname}[msform][mslang]{name list}
10730
10731 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.
10732
10733 \cmditem{savefield}[msform][mslang]{field}{macro}
10734 \cmditem*{savefield*}{field}{macro}
10735
10736 Copies an unformatted \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10737
10738 \cmditem{savelist}[msform][mslang]{literal list}{macro}
10739 \cmditem*{savelist*}{literal list}{macro}
10740
10741 Copies an unformatted \prm{literal list} (optionally a multiscript list of \prm{msform}/\prm{mslang}) to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10742
10743 \cmditem{savename}[msform][mslang]{name list}{macro}
10744 \cmditem*{savename*}{name list}{macro}
10745
10746 Copies an unformatted \prm{name list} (optionally a multiscript name of \prm{msform}/\prm{mslang}) to a \prm{macro}. The regular variant of this command defines the \prm{macro} globally, the starred one works locally.
10747
10748 \cmditem{savefieldcs}[msform][mslang]{field}{csname}
10749 \cmditem*{savefieldcs*}{field}{csname}
10750
10751 Similar to \cmd{savefield}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10752
10753 \cmditem{savelistcs}[msform][mslang]{literal list}{csname}
10754 \cmditem*{savelistcs*}{literal list}{csname}
10755
10756 Similar to \cmd{savelist}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10757
10758 \cmditem{savenamecs}[msform][mslang]{name list}{csname}
10759 \cmditem*{savenamecs*}{name list}{csname}
10760
10761 Similar to \cmd{savename}, but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10762
10763 \cmditem{restorefield}[msform][mslang]{field}{macro}
10764
10765 Restores a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) from a \prm{macro} defined with \cmd{savefield} before. The field is restored within a local scope.
10766
10767 \cmditem{restorelist}[msform][mslang]{literal list}{macro}
10768
10769 Restores a \prm{literal list} (optionally a multiscript list of \prm{msform}/\prm{mslang}) from a \prm{macro} defined with \cmd{savelist} before. The list is restored within a local scope.
10770
10771 \cmditem{restorename}[msform][mslang]{name list}{macro}
10772
10773 Restores a \prm{name list} (optionally a multiscript name of \prm{msform}/\prm{mslang}) from a \prm{macro} defined with \cmd{savename} before. The list is restored within a local scope.
10774
10775 \cmditem{clearfield}[msform][mslang]{field}
10776
10777 Clears the \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang} of which both or neither optional arguments must be provided) within a local scope. A field cleared this way is treated as undefined by subsequent data commands. When no optional \prm{msform}/\prm{mslang} arguments are provided, clears all alternates of a multiscript field.
10778
10779 \cmditem{clearlist}[msform][mslang]{literal list}
10780
10781 Clears the \prm{literal list} (optionally a multiscript list of \prm{msform}/\prm{mslang} of which both or neither optional arguments must be provided) within a local scope. A list cleared this way is treated as undefined by subsequent data commands. When no optional \prm{msform}/\prm{mslang} arguments are provided, clears all alternates of a multiscript list. Clearing only one alternate of a multiscript list does not clear the associated counters for the list.
10782
10783 \cmditem{clearname}{name list}
10784
10785 Clears the \prm{name list} (optionally a multiscript name of \prm{msform}/\prm{mslang} of which both or neither optional arguments must be provided) within a local scope. A name cleared this way is treated as undefined by subsequent data commands. When no optional \prm{msform}/\prm{mslang} arguments are provided, clears all alternates of a multiscript name. Clearing only one alternate of a multiscript name does not clear the associated counters for the list.
10786
10787 \end{ltxsyntax}
10788
10789 \subsubsection{Stand-alone Tests}
10790 \label{aut:aux:tst}
10791
10792 The commands in this section are various kinds of stand"=alone tests for use in bibliography and citation styles.
10793
10794 \begin{ltxsyntax}
10795
10796 \cmditem{ifmsentryfield}{entryfield}{true}{false}
10797
10798 Returns true if the \prm{entryfield} (i.e. data source field name, regardless of \biblatex type of field) is a multiscript field and false otherwise. Only multiscript fields have alternate forms and languages which can be selected with the \prm{msform} and \prm{mslang} options to various macros.
10799
10800 \cmditem{if$<$datetype$>$julian}{true}{false}
10801
10802 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.
10803
10804 \cmditem{ifdatejulian}{true}{false}
10805
10806 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.
10807
10808 \cmditem{if$<$datetype$>$dateera}{era}{true}{false}
10809
10810 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:
10811
10812 \begin{description}
10813 \item[bce]~BCE/BC era
10814 \item[ce]~CE/AD era
10815 \end{description}
10816
10817 This command is useful for determining whether to print the location
10818 strings in \secref{aut:lng:key:dt}.
10819
10820 \cmditem{ifdateera}{era}{true}{false}
10821
10822 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.
10823
10824 \cmditem{if$<$datetype$>$datecirca}{true}{false}
10825
10826 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}.
10827
10828 \cmditem{ifdatecirca}{true}{false}
10829
10830 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.
10831
10832 \cmditem{if$<$datetype$>$dateuncertain}{true}{false}
10833
10834 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.
10835
10836 \cmditem{ifdateuncertain}{true}{false}
10837
10838 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.
10839
10840 \cmditem{ifenddateuncertain}{true}{false}
10841
10842 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.
10843
10844 \cmditem{if$<$datetype$>$dateunknown}{true}{false}
10845
10846 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}.
10847
10848 \cmditem{ifdateunknown}{true}{false}
10849
10850 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.
10851
10852 \cmditem{ifenddateunknown}{true}{false}
10853
10854 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.
10855
10856 \cmditem{iflabeldateisdate}{true}{false}
10857
10858 Expands to \prm{true} if labeldate is defined and was obtained from date, and to \prm{false} otherwise.
10859
10860 \cmditem{ifdatehasyearonlyprecision}{datetype}{true}{false}
10861
10862 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.
10863
10864 \cmditem{ifdatehastime}{datetype}{true}{false}
10865
10866 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.
10867
10868 \cmditem{ifdateshavedifferentprecision}{datetype1}{datetype2}{true}{false}
10869
10870 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.
10871
10872 \cmditem{ifdateyearsequal}{datetype1}{datetype2}{true}{false}
10873
10874 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
10875
10876 \cmditem{ifdatesequal}{datetype1}{datetype2}{true}{false}
10877
10878 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).
10879
10880 \cmditem{ifdaterangesequal}{datetype1}{datetype2}{true}{false}
10881
10882 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.
10883
10884
10885 \cmditem{ifcaselang}[language]{true}{false}
10886
10887 Expands to \prm{true} if the optional \prm{language} is one of those
10888 declared by \cmd{DeclareCaseLangs} (see \secref{aut:aux:msc}) and to
10889 \prm{false} otherwise. Without the optional argument, checks the current
10890 value of \cmd{currentlang}.
10891
10892 \cmditem{ifsortingnamekeytemplatename}{string}{true}{false}
10893
10894 Expands to \prm{true} if the \prm{string} is equal to the current in scope sorting name key template name (see \secref{aut:ctm:srt}), and to \prm{false} otherwise.
10895
10896 \cmditem{ifuniquenametemplatename}{string}{true}{false}
10897
10898 Expands to \prm{true} if the \prm{string} is equal to the current in scope uniqueness name key template name (see \secref{aut:ctm:srt}), and to \prm{false} otherwise.
10899
10900 \cmditem{iflabelalphanametemplatename}{string}{true}{false}
10901
10902 Expands to \prm{true} if the \prm{string} is equal to the current in scope alphabetic label name template name (see \secref{aut:ctm:srt}), and to \prm{false} otherwise.
10903
10904 \cmditem{ifentryfieldundef}{entryfield}{true}{false}
10905
10906 Expands to \prm{true} if the \prm{entryfield} is undefined, and to \prm{false} otherwise. \prm{entryfield} is the name of any entry field, regardless of type (field, list, name etc.). This allows testing to see if there are \emph{any} alternates of an entryfield defined.
10907
10908 \cmditem{iffieldundef}[msform][mslang]{field}{true}{false}
10909
10910 Expands to \prm{true} if the \prm{field} is undefined, and to \prm{false} otherwise. For a multiscript field, \prm{msform}/\prm{mslang} may be specified to test a specific field alternate. If \prm{msform} and \prm{mslang} are not specified, this macro tests to see if \emph{any} alternates for a field are defined.
10911
10912 \cmditem{iflistundef}{literal list}{true}{false}
10913
10914 Expands to \prm{true} if the \prm{literal list} is undefined, and to \prm{false} otherwise. For a multiscript list, \prm{msform}/\prm{mslang} may be specified to test a specific list alternate. If \prm{msform} and \prm{mslang} are not specified, this macro tests to see if \emph{any} alternates for a field are defined.
10915
10916 \cmditem{ifnameundef}[msform][mslang]{name list}{true}{false}
10917
10918 Expands to \prm{true} if the \prm{name list} is undefined, and to \prm{false} otherwise. For a multiscript name, \prm{msform}/\prm{mslang} may be specified to test a specific name alternate. If \prm{msform} and \prm{mslang} are not specified, this macro tests to see if \emph{any} alternates for a field are defined.
10919
10920 \cmditem{iffieldsequal}[msform1][mslang1]{field 1}[msform2][mslang2]{field 2}{true}{false}
10921
10922 Expands to \prm{true} if the values of \prm{field 1} (optionally a multiscript field of \prm{msform1}/\prm{mslang1}) and \prm{field 2} (optionally a multiscript field of \prm{msform2}/\prm{mslang2}) are equal, and to \prm{false} otherwise.
10923
10924 \cmditem{iflistsequal}[msform1][mslang1]{literal list 1}[msform2][mslang2]{literal list 2}{true}{false}
10925
10926 Expands to \prm{true} if the values of \prm{literal list 1} (optionally a multiscript list of \prm{msform1}/\prm{mslang1}) and \prm{literal list 2} (optionally a multiscript list of \prm{msform2}/\prm{mslang2}) are equal, and to \prm{false} otherwise.
10927
10928 \cmditem{ifnamesequal}[msform1][mslang1]{name list 1}[msform2][mslang2]{name list 2}{true}{false}
10929
10930 Expands to \prm{true} if the values of \prm{name list 1} (optionally a multiscript name of \prm{msform1}/\prm{mslang1}) and \prm{name list 2} (optionally a multiscript name of \prm{msform2}/\prm{mslang2}) are equal, and to \prm{false} otherwise.
10931
10932 \cmditem{iffieldequals}[msform][mslang]{field}{macro}{true}{false}
10933
10934 Expands to \prm{true} if the value of the \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10935
10936 \cmditem{iflistequals}[msform][mslang]{literal list}{macro}{true}{false}
10937
10938 Expands to \prm{true} if the value of the \prm{literal list} (optionally a multiscript list of \prm{msform}/\prm{mslang}) is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10939
10940 \cmditem{ifnameequals}[msform][mslang]{name list}{macro}{true}{false}
10941
10942 Expands to \prm{true} if the value of the \prm{name list} (optionally a multiscript name of \prm{msform}/\prm{mslang}) is equal to the definition of \prm{macro}, and to \prm{false} otherwise.
10943
10944 \cmditem{iffieldequalcs}[msform][mslang]{field}{csname}{true}{false}
10945
10946 Similar to \cmd{iffieldequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10947
10948 \cmditem{iflistequalcs}[msform][mslang]{literal list}{csname}{true}{false}
10949
10950 Similar to \cmd{iflistequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10951
10952 \cmditem{ifnameequalcs}[msform][mslang]{name list}{csname}{true}{false}
10953
10954 Similar to \cmd{ifnameequals} but takes the control sequence name \prm{csname} (without a leading backslash) as an argument, rather than a macro name.
10955
10956 \cmditem{iffieldequalstr}[msform][mslang]{field}{string}{true}{false}
10957
10958 Executes \prm{true} if the value of the \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) is equal to \prm{string}, and \prm{false} otherwise. This command is robust.
10959
10960 \cmditem{iffieldxref}[msform][mslang]{field}{true}{false}
10961
10962 If the \bibfield{crossref}\slash \bibfield{xref} field of an entry is defined, this command checks if the \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) 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.
10963
10964 \cmditem{iflistxref}[msform][mslang]{literal list}{true}{false}
10965
10966 Similar to \cmd{iffieldxref} but checks if a \prm{literal list} (optionally a multiscript list of \prm{msform}/\prm{mslang}) 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.
10967
10968 \cmditem{ifnamexref}[msform][mslang]{name list}{true}{false}
10969
10970 Similar to \cmd{iffieldxref} but checks if a \prm{name list} (optionally a multiscript name of \prm{msform}/\prm{mslang}) 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.
10971
10972 \cmditem{ifcurrentfield}{field}{true}{false}
10973
10974 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.
10975
10976 \cmditem{ifcurrentlist}{literal list}{true}{false}
10977
10978 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.
10979
10980 \cmditem{ifcurrentname}{name list}{true}{false}
10981
10982 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.
10983
10984 \cmditem{ifuseprefix}{true}{false}
10985
10986 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.
10987
10988 \cmditem{ifuseauthor}{true}{false}
10989
10990 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.
10991
10992 \cmditem{ifuseeditor}{true}{false}
10993
10994 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.
10995
10996 \cmditem{ifusetranslator}{true}{false}
10997
10998 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.
10999
11000 \cmditem{ifuse$<$name$>$}{true}{false}
11001
11002 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.
11003
11004 \cmditem{ifcrossrefsource}{true}{false}
11005
11006 Expands to \prm{true} if the entry was inclued 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.
11007
11008 \cmditem{ifxrefsource}{true}{false}
11009
11010 Expands to \prm{true} if the entry was inclued 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.
11011
11012 \cmditem{ifsingletitle}{true}{false}
11013
11014 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}.
11015
11016 \cmditem{ifnocite}{true}{false}
11017
11018 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.
11019
11020 \cmditem{ifuniquetitle}{true}{false}
11021
11022 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}.
11023
11024 \cmditem{ifuniquebaretitle}{true}{false}
11025
11026 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}.
11027
11028 \cmditem{ifuniquework}{true}{false}
11029
11030 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.
11031
11032 \cmditem{ifuniqueprimaryauthor}{true}{false}
11033
11034 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}.
11035
11036 \cmditem{ifandothers}{list}{true}{false}
11037
11038 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.
11039
11040 \cmditem{ifmorenames}{true}{false}
11041
11042 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.
11043
11044 \cmditem{ifmoreitems}{true}{false}
11045
11046 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.
11047
11048 \cmditem{if$<$namepart$>$inits}{true}{false}
11049
11050 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.
11051
11052 \cmditem{ifterseinits}{true}{false}
11053
11054 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.
11055
11056 \cmditem{ifentrytype}{type}{true}{false}
11057
11058 Executes \prm{true} if the entry type of the entry currently being processed is \prm{type}, and \prm{false} otherwise.
11059
11060 \cmditem{ifkeyword}{keyword}{true}{false}
11061
11062 Executes \prm{true} if the \prm{keyword} is found in the \bibfield{keywords} field of the entry currently being processed, and \prm{false} otherwise.
11063
11064 \cmditem{ifentrykeyword}{entrykey}{keyword}{true}{false}
11065
11066 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}.
11067
11068 \cmditem{ifcategory}{category}{true}{false}
11069
11070 Executes \prm{true} if the entry currently being processed has been assigned to a \prm{category} with \cmd{addtocategory}, and \prm{false} otherwise.
11071
11072 \cmditem{ifentrycategory}{entrykey}{category}{true}{false}
11073
11074 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}
11075
11076 \cmditem{ifciteseen}{true}{false}
11077
11078 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}.
11079
11080 \cmditem{ifentryseen}{entrykey}{true}{false}
11081
11082 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}:
11083
11084 \begin{ltxexample}
11085 \ifentryseen{<<\thefield{xref}>>}{true}{false}
11086 \end{ltxexample}
11087 %
11088 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}.
11089
11090 \cmditem{ifentryinbib}{entrykey}{true}{false}
11091
11092 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}.
11093
11094 \cmditem{iffirstcitekey}{true}{false}
11095
11096 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}.
11097
11098 \cmditem{iflastcitekey}{true}{false}
11099
11100 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.
11101
11102 \cmditem{ifciteibid}{true}{false}
11103
11104 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}.
11105
11106 \cmditem{ifciteidem}{true}{false}
11107
11108 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}.
11109
11110 \cmditem{ifopcit}{true}{false}
11111
11112 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}.
11113
11114 \cmditem{ifloccit}{true}{false}
11115
11116 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}.
11117
11118 \cmditem{iffirstonpage}{true}{false}
11119
11120 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}.
11121
11122 \cmditem{ifsamepage}{instance 1}{instance 2}{true}{false}
11123
11124 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:
11125
11126 \begin{ltxexample}
11127 \ifsamepage{<<\value>>{instcount}}{<<\value>>{instcount}<<-1>>}{true}{false}
11128 \end{ltxexample}
11129
11130 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}.
11131
11132 \cmditem{ifinteger}{string}{true}{false}
11133
11134 Executes \prm{true} if the \prm{string} is a positive integer, and \prm{false} otherwise. This command is robust.
11135
11136 \cmditem{hascomputableequivalent}{string}{true}{false}
11137
11138 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.
11139 The mapping from non-\acr{US-ASCII} to \acr{US-ASCII} numerals will usually be given in the \file{lbx} file.
11140
11141 \cmditem{ifiscomputable}{string}{true}{false}
11142
11143 Returns \prm{true} if \cmd{ifinteger} or \cmd{hascomputableequivalent} retrurns \prm{true} on \prm{string} and \prm{false} otherwise.
11144
11145 \cmditem{getcomputableequivalent}{string}{macro}
11146
11147 Saves the \acr{US-ASCII} representation of the number given as \prm{string} in \prm{macro}.
11148
11149 \cmditem{ifnumeral}{string}{true}{false}
11150
11151 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}.
11152
11153 \cmditem{ifnumerals}{string}{true}{false}
11154
11155 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}.
11156
11157 \cmditem{ifpages}{string}{true}{false}
11158
11159 Similar to \cmd{ifnumerals}, but also considers \cmd{DeclarePageCommands} and \cmd{PagesCheckSetup} from \secref{aut:aux:msc}.
11160
11161 \cmditem{iffieldint}[msform][mslang]{field}{true}{false}
11162
11163 Similar to \cmd{ifinteger}, but uses the value of a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
11164
11165 \cmditem{fieldhascomputableequivalent}[msform][mslang]{field}{true}{false}
11166
11167 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}.
11168
11169 \cmditem{iffieldiscomputable}[msform][mslang]{field}{true}{false}
11170
11171 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}.
11172
11173 \cmditem{iffieldnum}[msform][mslang]{field}{true}{false}
11174
11175 Similar to \cmd{ifnumeral}, but uses the value of a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
11176
11177 \cmditem{iffieldnums}[msform][mslang]{field}{true}{false}
11178
11179 Similar to \cmd{ifnumerals}, but uses the value of a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
11180
11181 \cmditem{iffieldpages}[msform][mslang]{field}{true}{false}
11182
11183 Similar to \cmd{ifpages}, but uses the value of a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) rather than a literal string in the test. If the \prm{field} is undefined, it executes \prm{false}.
11184
11185 \cmditem{ifbibstring}{string}{true}{false}
11186
11187 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}.
11188
11189 \cmditem{ifbibxstring}{string}{true}{false}
11190
11191 Similar to \cmd{ifbibstring}, but the \prm{string} is expanded.
11192
11193 \cmditem{iffieldbibstring}[msform][mslang]{field}{true}{false}
11194
11195 Similar to \cmd{ifbibstring}, but uses the value of a \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) rather than a literal string in the test. If the \prm{field} is undefined, it expands to \prm{false}.
11196
11197 \cmditem{iffieldplusstringbibstring}[msform][mslang]{field}{string}{true}{false}
11198
11199 Similar to \cmd{iffieldbibstring}, but appends \prm{string} to the value of \prm{field} (optionally a multiscript field of \prm{msform}/\prm{mslang}) and checks if the resulting string is a known localisation key. Expands to \prm{false} if \prm{field} is undefined.
11200
11201 \cmditem{ifdriver}{entrytype}{true}{false}
11202
11203 Expands to \prm{true} if a driver for the \prm{entrytype} is available, and to \prm{false} otherwise.
11204
11205 \cmditem{ifcapital}{true}{false}
11206
11207 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.
11208
11209 \cmditem{ifcitation}{true}{false}
11210
11211 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.
11212
11213 \cmditem{ifvolcite}{true}{false}
11214
11215 Expands to \prm{true} when located in \cmd{volcite} or a related citation command (\secref{use:cit:spc}), and to \prm{false} otherwise.
11216
11217 \cmditem{ifbibliography}{true}{false}
11218
11219 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.
11220
11221 \cmditem{ifnatbibmode}{true}{false}
11222
11223 Expands to \prm{true} or \prm{false} depending on the \opt{natbib} option from \secref{use:opt:ldt}.
11224
11225 \cmditem{ifciteindex}{true}{false}
11226
11227 Expands to \prm{true} or \prm{false} depending on the \opt{indexing} option from \secref{use:opt:pre:gen}.
11228
11229 \cmditem{ifbibindex}{true}{false}
11230
11231 Expands to \prm{true} or \prm{false} depending on the \opt{indexing} option from \secref{use:opt:pre:gen}.
11232
11233 \cmditem{iffootnote}{true}{false}
11234
11235 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.
11236
11237 \cntitem{citecounter}
11238
11239 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.
11240
11241 \cntitem{maxcitecounter}
11242
11243 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}.
11244
11245 \cntitem{uniquename}
11246 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}, 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}.
11247
11248 \cntitem{uniquelist}
11249 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.
11250
11251 \cmditem{uniquepart}{namepart}
11252
11253 A field containing one of the valid values for the <nameparts> constant defined with \cmd{DeclareDatamodelConstant}. This is defined on a per-name basis when the package \opt{uniquename} option is not false. It contains the name of the namepart component declared by \cmd{DeclareUniquenameTemplate} which determined the setting of the \opt{uniquename} counter.
11254
11255 \cmditem{mslang}{bcp47tag}
11256
11257 A field set on a per-name basis containing the BCP47 language tag for the name.
11258
11259 \cntitem{parenlevel}
11260
11261 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.
11262
11263 \end{ltxsyntax}
11264
11265 \subsubsection{Tests with \cmd{ifboolexpr} and \cmd{ifthenelse}}
11266 \label{aut:aux:ife}
11267
11268 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}.
11269
11270 \begin{ltxsyntax}
11271
11272 \cmditem{ifboolexpr}{expression}{true}{false}
11273
11274 \sty{etoolbox} command which allows for complex tests with boolean operators and grouping:
11275
11276 \begin{lstlisting}[style=ifthen]{}
11277 \ifboolexpr{ (
11278 test {\ifnameundef{editor}}
11279 and
11280 not test {\iflistundef{location}}
11281 )
11282 or test {\iffieldundef{year}}
11283 }
11284 {...}
11285 {...}
11286 \end{lstlisting}
11287
11288 \cmditem{ifthenelse}{tests}{true}{false}
11289
11290 \sty{ifthen} command which allows for complex tests with boolean operators and grouping:
11291
11292 \begin{lstlisting}[style=ifthen]{}
11293 \ifthenelse{ \(
11294 \ifnameundef{editor}
11295 \and
11296 \not \iflistundef{location}
11297 \)
11298 \or \iffieldundef{year}
11299 }
11300 {...}
11301 {...}
11302 \end{lstlisting}
11303 %
11304 The additional tests provided by \biblatex are only available when \cmd{ifboolexpr} or \cmd{ifthenelse} are used in citation commands and in the bibliography.
11305
11306 \end{ltxsyntax}
11307
11308 \subsubsection{Miscellaneous Commands}
11309 \label{aut:aux:msc}
11310
11311 The section introduces miscellaneous commands and little helpers for use in bibliography and citation styles.
11312
11313 \begin{ltxsyntax}
11314
11315 \cmditem{newbibmacro}{name}[arguments][optional]{definition}
11316 \cmditem*{newbibmacro*}{name}[arguments][optional]{definition}
11317
11318 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.
11319
11320 \cmditem{renewbibmacro}{name}[arguments][optional]{definition}
11321 \cmditem*{renewbibmacro*}{name}[arguments][optional]{definition}
11322
11323 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}.
11324
11325 \cmditem{providebibmacro}{name}[arguments][optional]{definition}
11326 \cmditem*{providebibmacro*}{name}[arguments][optional]{definition}
11327
11328 Similar to \cmd{newbibmacro} but only defines \prm{name} if it is undefined. This command is similar in concept to \cmd{providecommand}.
11329
11330 \cmditem{letbibmacro}{alias}{name}
11331 \cmditem*{letbibmacro*}{alias}{name}
11332
11333 This command defines the macro \prm{alias} to be an alias of the macro \prm{name}. The definition is perfomed by \cmd{csletcs}.
11334 An error is issued if \prm{name} is undefined.
11335 The regular variant of this command sanitizes \prm{name} while the starred variant does not.
11336
11337 \cmditem{usebibmacro}{name}
11338 \cmditem*{usebibmacro*}{name}
11339
11340 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
11341 \prm{name} while the starred variant does not.
11342
11343 \cmditem{savecommand}{command}
11344 \cmditem{restorecommand}{command}
11345
11346 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.
11347
11348 \cmditem{savebibmacro}{name}
11349 \cmditem{restorebibmacro}{name}
11350
11351 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.
11352
11353 \cmditem{savefieldformat}[entry type]{format}
11354 \cmditem{restorefieldformat}[entry type]{format}
11355
11356 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.
11357
11358 \cmditem{savelistformat}[entry type]{format}
11359 \cmditem{restorelistformat}[entry type]{format}
11360
11361 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.
11362
11363 \cmditem{savenameformat}[entry type]{format}
11364 \cmditem{restorenameformat}[entry type]{format}
11365
11366 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.
11367
11368 \cmditem{savelistwrapperformat}[entry type]{format}
11369 \cmditem{restorelistwrapperformat}[entry type]{format}
11370
11371 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.
11372
11373 \cmditem{savenamewrapperformat}[entry type]{format}
11374 \cmditem{restorenamewrapperformat}[entry type]{format}
11375
11376 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.
11377
11378 \cmditem{ifbibmacroundef}{name}{true}{false}
11379
11380 Expands to \prm{true} if the bibliography macro \prm{name} is undefined, and to \prm{false} otherwise.
11381
11382 This bibliography macro can be used in the following idiom to make a bibliography macro more type specific.
11383 %
11384 \begin{ltxexample}
11385 \letbibmacro{cite:*}{cite}
11386 \newbibmacro{cite:patent}{%
11387 \printtext{\color{red}%
11388 Some citation format specific to patents}}
11389
11390 \renewbibmacro*{cite}{%
11391 \ifbibmacroundef{cite:\thefield{entrytype}}
11392 {\usebibmacro{cite:*}}
11393 {\usebibmacro*{cite:\thefield{entrytype}}}%
11394 }
11395 \end{ltxexample}
11396
11397 \cmditem{iffieldformatundef}[entry type]{name}{true}{false}
11398 \cmditem{iflistformatundef}[entry type]{name}{true}{false}
11399 \cmditem{ifnameformatundef}[entry type]{name}{true}{false}
11400 \cmditem{iflistwrapperformatundef}[entry type]{name}{true}{false}
11401 \cmditem{ifnamewrapperformatundef}[entry type]{name}{true}{false}
11402
11403 Expands to \prm{true} if the formatting directive \prm{format} is undefined, and to \prm{false}
11404 otherwise.
11405
11406 \cmditem{usedriver}{code}{entrytype}
11407
11408 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.
11409
11410 \cmditem{bibhypertarget}{name}{text}
11411
11412 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}.
11413
11414 \cmditem{bibhyperlink}{name}{text}
11415
11416 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}.
11417
11418 \cmditem{bibhyperref}[entrykey]{text}
11419
11420 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}.
11421
11422 \cmditem{ifhyperref}{true}{false}
11423
11424 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.
11425
11426 \cmditem{docsvfield}[msform][mslang]{field}
11427
11428 Similar to the \cmd{docsvlist} command from the \sty{etoolbox} package, except that it takes a field name as its argument (optionally a multiscript field of \prm{msform}/\prm{mslang}). 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.
11429
11430 \cmditem{forcsvfield}{handler}[msform][mslang]{field}
11431
11432 Similar to the \cmd{forcsvlist} command from the \sty{etoolbox} package, except that it takes a field name as its argument (optionally a multiscript field of \prm{msform}/\prm{mslang}). 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.
11433
11434 \cmditem{MakeCapital}{text}
11435
11436 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.
11437
11438 \cmditem{MakeSentenceCase}{text}
11439 \cmditem*{MakeSentenceCase*}{text}
11440
11441 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.
11442
11443 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.
11444
11445 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:
11446
11447 \begin{ltxexample}
11448 \MakeSentenceCase{an Introduction to LaTeX}
11449 \MakeSentenceCase{an Introduction to {LaTeX}}
11450 \end{ltxexample}
11451 %
11452 would yield:
11453
11454 \begin{lstlisting}[style=plain]{}
11455 An introduction to latex
11456 An introduction to LaTeX
11457 \end{lstlisting}
11458 %
11459 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:
11460
11461 \begin{lstlisting}[style=bibtex]{}
11462 title = {An Introduction to {L}a{T}e{X}}
11463 \end{lstlisting}
11464 %
11465 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.
11466 Macros in titles must also be protected with braces
11467 \begin{lstlisting}[style=bibtex]{}
11468 title = {The {\TeX book}},
11469 \end{lstlisting}
11470
11471 %
11472 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.
11473 \begin{itemize}\setlength{\labelsep}{1em}
11474 \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.
11475
11476 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.
11477 \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.
11478
11479 \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.
11480 \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.
11481 \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.
11482 \end{itemize}
11483
11484 For most intents and purposes the following rules should give a sensible result.
11485 \begin{itemize}\setlength{\labelsep}{1em}
11486 \item Protect all words whose case should not be changed by wrapping them in one pair of braces.
11487 \item If words are already in the braced argument of a command such as \cmd{mkbibquote} or \cmd{emph}, they are automatically protected.
11488 \begin{itemize}
11489 \item To \emph{undo} this protection wrap the command in braces again.
11490 \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.
11491 \end{itemize}
11492 \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.
11493 \end{itemize}
11494 %
11495 \begin{lstlisting}[style=bibtex]{}
11496 title = {The Story of {HMS} \emph{Erebus}
11497 in {\emph{Really}} Strong Wind},
11498 \end{lstlisting}
11499 would be converted to sentence case by \cmd{MakeSentenceCase} as
11500 \begin{quote}
11501 The story of HMS \emph{Erebus} in {\emph{really}} strong wind
11502 \end{quote}
11503
11504 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
11505 \begin{lstlisting}[style=bibtex]{}
11506 title = {An Introduction to \NoCaseChange{LaTeX}},
11507 title = {The Story of \NoCaseChange{HMS \emph{Erebus}}
11508 in \emph{Really} Strong Wind},
11509 \end{lstlisting}
11510 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.
11511
11512 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:
11513 \begin{ltxexample}
11514 \DeclareFieldFormat{titlecase}{<<\MakeSentenceCase*{#1}>>}
11515 \end{ltxexample}
11516 %
11517 Sentence casing can then be disabled by resetting that field format to
11518 \begin{ltxexample}
11519 \DeclareFieldFormat{titlecase}{<<#1>>}
11520 \end{ltxexample}
11521 Custom styles may follow a different approach, but style authors are encouraged to apply the same general ideas to their styles.
11522
11523 \cmditem{mkpageprefix}[pagination][postpro]{text}
11524
11525 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:
11526
11527 \begin{ltxexample}
11528 \DeclareFieldFormat{postnote}{<<\mkpageprefix[pagination][\mknormrange]{#1}>>}
11529 \DeclareFieldFormat{pages}{<<\mkpageprefix[bookpagination]{#1}>>}
11530 \end{ltxexample}
11531 %
11532
11533 \cmditem{mkpagetotal}[pagination][postpro]{text}
11534
11535 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:
11536
11537 \begin{ltxexample}
11538 \DeclareFieldFormat{pagetotal}{<<\mkpagetotal[bookpagination]{#1}>>}
11539 \end{ltxexample}
11540 %
11541 The optional argument \bibfield{bookpagination} is omissible in this case.
11542 The pagination strings are taken from \texttt{$<$pagination$>$total} and \texttt{$<$pagination$>$totals}.
11543
11544 \begin{table}
11545 \caption{\cmd{mkcomprange} setup}
11546 \label{aut:aux:tab1}
11547 \tablesetup\lnstyle
11548 \begin{tabularx}{\textwidth}{@{}>{\ttfamily}X@{}p{0.25\textwidth}@{}p{0.25\textwidth}@{}p{0.25\textwidth}@{}}
11549 \toprule
11550 \multicolumn{1}{@{}H}{Input} &
11551 \multicolumn{3}{@{}H}{Output} \\
11552 \cmidrule(r){1-1}\cmidrule{2-4}
11553 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=10}
11554 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=100}
11555 & \multicolumn{1}{@{}H}{\ttfamily mincomprange=1000} \\
11556 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11557 11--15 & 11--5 & 11--15 & 11--15 \\
11558 111--115 & 111--5 & 111--5 & 111--115 \\
11559 1111--1115 & 1111--5 & 1111--5 & 1111--5 \\
11560 \cmidrule{2-4}
11561 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=1000}
11562 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=100}
11563 & \multicolumn{1}{@{}H}{\ttfamily maxcomprange=10} \\
11564 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11565 1111--1115 & 1111--5 & 1111--5 & 1111--5 \\
11566 1111--1155 & 1111--55 & 1111--55 & 1111--1155 \\
11567 1111--1555 & 1111--555 & 1111--1555 & 1111--1555 \\
11568 \cmidrule{2-4}
11569 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=1}
11570 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=10}
11571 & \multicolumn{1}{@{}H}{\ttfamily mincompwidth=100} \\
11572 \cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
11573 1111--1115 & 1111--5 & 1111--15 & 1111--115 \\
11574 1111--1155 & 1111--55 & 1111--55 & 1111--155 \\
11575 1111--1555 & 1111--555 & 1111--555 & 1111--555 \\
11576 \bottomrule
11577 \end{tabularx}
11578 \end{table}
11579
11580 \cmditem{mkcomprange}[postpro][itempostpro]{text}
11581 \cmditem*{mkcomprange*}[postpro][itempostpro]{text}
11582
11583 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:
11584
11585 \begin{ltxexample}
11586 \DeclareFieldFormat{postnote}{\mkcomprange[<<{>>\mkpageprefix[pagination]<<}>>]{#1}}
11587 \end{ltxexample}
11588 %
11589 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:
11590
11591 \begin{ltxexample}
11592 \mkcomprange[\mkpageprefix]{5, 123-129, 423-439}
11593 \mkcomprange*[\mkpageprefix]{5, 123-129, 423-439}
11594 \end{ltxexample}
11595 %
11596 will output:
11597
11598 \begin{ltxexample}
11599 pp. 5, 123-9, 423-39
11600 p. 5, pp. 123-9, pp. 423-39
11601 \end{ltxexample}
11602 %
11603 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}.
11604
11605 \cmditem{mknormrange}[postpro][itempostpro]{text}
11606 \cmditem*{mknormrange*}[postpro][itempostpro]{text}
11607
11608 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}.
11609
11610 \cmditem{mkfirstpage}[postpro][itempostpro]{text}
11611 \cmditem*{mkfirstpage*}[postpro][itempostpro]{text}
11612
11613 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:
11614
11615 \begin{ltxexample}
11616 \mkfirstpage[\mkpageprefix]{5, 123-129, 423-439}
11617 \mkfirstpage*[\mkpageprefix]{5, 123-129, 423-439}
11618 \end{ltxexample}
11619 %
11620 will output:
11621
11622 \begin{ltxexample}
11623 pp. 5, 123, 423
11624 p. 5, p. 123, p. 423
11625 \end{ltxexample}
11626
11627 \cmditem{rangelen}{rangefield}
11628
11629 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:
11630
11631 \begin{itemize}
11632 \item Calculate the total of multiple ranges in the same field such as <1-10, 20-30>
11633 \item Handle implicit ranges such as <22-4> and <130-33>
11634 \item Handle roman numeral ranges in upper and lower case and consisting of both \acr{US-ASCII} and Unicode roman numeral representations.
11635 \end{itemize}
11636 %
11637 Here are some examples:
11638
11639 \begin{tabular}{ll}
11640 pages = <10> & |\rangelen{pages}| returns '1'\\
11641 pages = <10-15> & |\rangelen{pages}| returns '6'\\
11642 pages = <10-15,47-53> & |\rangelen{pages}| returns '13'\\
11643 pages = <10-> & |\rangelen{pages}| returns '-1'\\
11644 pages = <-10> & |\rangelen{pages}| returns '-1'\\
11645 pages = <48-9> & |\rangelen{pages}| returns '2'\\
11646 pages = <172-77> & |\rangelen{pages}| returns '6'\\
11647 pages = <i-vi> & |\rangelen{pages}| returns '6'\\
11648 pages = <X-XX> & |\rangelen{pages}| returns '11'\\
11649 pages = <ⅥⅠ-ⅻ> & |\rangelen{pages}| returns '6'\\
11650 pages = <ⅥⅠ-ⅻ, 145-7, 135-39> & |\rangelen{pages}| returns '14'
11651 \end{tabular}
11652
11653 The \cmd{rangelen} command can be used in tests:
11654
11655 \begin{ltxexample}
11656 \ifnumcomp{\rangelen{pages}}{=}{1}{add 'f'}{do nothing}
11657 \end{ltxexample}
11658
11659 \cmditem{DeclareNumChars}{characters}
11660 \cmditem*{DeclareNumChars*}{characters}
11661
11662 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:
11663
11664 \begin{ltxexample}
11665 \DeclareNumChars{.}
11666 \end{ltxexample}
11667 %
11668 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.
11669
11670 \cmditem{DeclareRangeChars}{characters}
11671 \cmditem*{DeclareRangeChars*}{characters}
11672
11673 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:
11674
11675 \begin{ltxexample}
11676 \DeclareRangeChars{~,;-+/}
11677 \end{ltxexample}
11678
11679 For engines that fully support Unicode these defaults are extended with
11680 \begin{ltxexample}[escapeinside={(*@}{@*)}]
11681 \DeclareRangeChars*{(*@–—@*)}
11682 \end{ltxexample}
11683 %
11684 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.
11685
11686 \cmditem{DeclareRangeCommands}{commands}
11687 \cmditem*{DeclareRangeCommands*}{commands}
11688
11689 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:
11690
11691 \begin{ltxexample}
11692 \DeclareRangeCommands{\&\bibrangedash\textendash\textemdash\psq\psqq}
11693 \end{ltxexample}
11694 %
11695 See also \secref{bib:use:pag, use:cav:pag} for further details.
11696
11697 \cmditem{DeclarePageCommands}{commands}
11698 \cmditem*{DeclarePageCommands*}{commands}
11699
11700 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:
11701
11702 \begin{ltxexample}
11703 \DeclarePageCommands{\pno\ppno}
11704 \end{ltxexample}
11705
11706 \cmditem{NumCheckSetup}{code}
11707
11708 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.
11709
11710 \cmditem{NumsCheckSetup}{code}
11711
11712 Like \cmd{NumCheckSetup} but only applies to \cmd{ifnumerals} and \cmd{ifpages} from \secref{aut:aux:tst} and their derivative tests.
11713
11714 \cmditem{PagesCheckSetup}{code}
11715
11716 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:
11717
11718 \begin{ltxexample}
11719 \PagesCheckSetup{\let\pnfmt\@firstofone}
11720 \end{ltxexample}
11721
11722 \cmditem{DeclareBabelToExplLanguageMapping}{babel language}{expl language}
11723
11724 This command is only available if the \sty{expl3} case changing code is used.
11725
11726 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
11727 \begin{ltxexample}
11728 \DeclareBabelToExplLanguageMapping{dutch}{nl}
11729 \DeclareBabelToExplLanguageMapping{greek}{el}
11730 \DeclareBabelToExplLanguageMapping{turkish}{tr}
11731 \end{ltxexample}
11732
11733 \cmditem{UndeclareBabelToExplLanguageMapping}{babel language}
11734
11735 This command is only available if the \sty{expl3} case changing code is used.
11736
11737 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.
11738
11739 \cmditem{DeclareCaseLangs}{languages}
11740 \cmditem*{DeclareCaseLangs*}{languages}
11741
11742 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:
11743
11744 \begin{ltxexample}
11745 \DeclareCaseLangs{%
11746 american,british,canadian,english,australian,newzealand,USenglish,UKenglish}
11747 \end{ltxexample}
11748 %
11749 See the \sty{babel}/\sty{polyglossia} manuals and \tabref{bib:fld:tab1} for a list of languages identifiers.
11750
11751 \cmditem{BibliographyWarning}{message}
11752
11753 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.
11754
11755 \boolitem{pagetracker}
11756 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11757
11758 These commands activate or deactivate the citation 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.
11759
11760 \boolitem{citetracker}
11761 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11762
11763 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.
11764
11765 \boolitem{backtracker}
11766 \leavevmode\vspace{\numexpr2\baselineskip}% fix margin spilling into the text
11767
11768 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.
11769
11770 \end{ltxsyntax}
11771
11772 \subsection[Punctuation]{Punctuation and Spacing}
11773 \label{aut:pct}
11774
11775 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.
11776
11777 \subsubsection{Block and Unit Punctuation}
11778 \label{aut:pct:new}
11779
11780 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.
11781
11782 \begin{ltxsyntax}
11783
11784 \csitem{newblock}
11785
11786 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.
11787
11788 \csitem{newunit}
11789
11790 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.
11791
11792 \csitem{finentry}
11793
11794 Inserts \cmd{finentrypunct}. This command should be used at the very end of every bibliography entry.
11795
11796 \cmditem{setunit}{punctuation}
11797 \cmditem*{setunit*}{punctuation}
11798
11799 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.
11800
11801 \cmditem{printunit}{punctuation}
11802 \cmditem*{printunit*}{punctuation}
11803
11804 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}.
11805
11806 \cmditem{setpunctfont}{command}
11807
11808 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.
11809
11810 \csitem{resetpunctfont}
11811
11812 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.
11813
11814 \end{ltxsyntax}
11815
11816 \subsubsection{Punctuation Tests}
11817 \label{aut:pct:chk}
11818
11819 The following commands may be used to test for preceding punctuation marks at any point in citations and the bibliography.
11820
11821 \begin{ltxsyntax}
11822
11823 \cmditem{ifpunct}{true}{false}
11824
11825 Executes \prm{true} if preceded by any punctuation mark except for an abbreviation dot, and \prm{false} otherwise.
11826
11827 \cmditem{ifterm}{true}{false}
11828
11829 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.
11830
11831 \cmditem{ifpunctmark}{character}{true}{false}
11832
11833 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.
11834
11835 \cmditem{ifprefchar}{true}{false}
11836
11837 Executes \prm{true} if preceded by any prefix character declared by \cmd{DeclarePrefChars}.
11838
11839 \end{ltxsyntax}
11840
11841 \subsubsection{Adding Punctuation}
11842 \label{aut:pct:pct}
11843
11844 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}.
11845
11846 \begin{ltxsyntax}
11847
11848 \csitem{adddot}
11849
11850 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.
11851
11852 \csitem{addcomma}
11853
11854 Adds a comma unless it is preceded by another comma, a semicolon, a colon, or a period.
11855
11856 \csitem{addsemicolon}
11857
11858 Adds a semicolon unless it is preceded by a comma, another semicolon, a colon, or a period.
11859
11860 \csitem{addcolon}
11861
11862 Adds a colon unless it is preceded by a comma, a semicolon, another colon, or a period.
11863
11864 \csitem{addperiod}
11865
11866 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.
11867
11868 \csitem{addexclam}
11869 Adds an exclamation mark unless it is preceded by any punctuation mark except for an abbreviation dot.
11870
11871 \csitem{addquestion}
11872
11873 Adds a question mark unless it is preceded by any punctuation mark except for an abbreviation dot.
11874
11875 \csitem{isdot}
11876
11877 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.
11878
11879 \csitem{nopunct}
11880
11881 Adds an internal marker which will cause the next punctuation command to print nothing.
11882
11883 \end{ltxsyntax}
11884
11885 \subsubsection{Adding Whitespace}
11886 \label{aut:pct:spc}
11887
11888 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.
11889
11890 \begin{ltxsyntax}
11891
11892 \csitem{unspace}
11893
11894 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.
11895
11896 \csitem{addspace}
11897
11898 Adds a breakable interword space.
11899
11900 \csitem{addnbspace}
11901
11902 Adds a non"=breakable interword space.
11903
11904 \csitem{addthinspace}
11905
11906 Adds a \emph{breakable} thin space.
11907
11908 \csitem{addnbthinspace}
11909
11910 Adds a non"=breakable thin space. This is similar to \cmd{,} and \cmd{thinspace}.
11911
11912 \csitem{addlowpenspace}
11913
11914 Adds a space penalized by the value of the \cnt{lownamepenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11915
11916 \csitem{addhighpenspace}
11917
11918 Adds a space penalized by the value of the \cnt{highnamepenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11919
11920 \csitem{addlpthinspace}
11921
11922 Similar to \cmd{addlowpenspace} but adds a breakable thin space.
11923
11924 \csitem{addhpthinspace}
11925
11926 Similar to \cmd{addhighpenspace} but adds a breakable thin space.
11927
11928 \csitem{addabbrvspace}
11929
11930 Adds a space penalized by the value of the \cnt{abbrvpenalty} counter, see \secref{use:fmt:len, aut:fmt:len} for details.
11931
11932 \csitem{addabthinspace}
11933
11934 Similar to \cmd{addabbrvspace} but using a thin space.
11935
11936 \csitem{adddotspace}
11937
11938 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.
11939
11940 \csitem{addslash}
11941
11942 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.
11943
11944 \end{ltxsyntax}
11945
11946 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.
11947
11948 \subsubsection{Configuring Punctuation and Capitalization}
11949 \label{aut:pct:cfg}
11950
11951 The following commands configure various features related to punctuation and automatic capitalization.
11952
11953 \begin{ltxsyntax}
11954
11955 \cmditem{DeclarePrefChars}{characters}
11956 \cmditem*{DeclarePrefChars*}{characters}
11957
11958 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:
11959
11960 \begin{ltxexample}
11961 \DeclarePrefChars{'-}
11962 \end{ltxexample}
11963
11964 For engines that fully support Unicode these defaults are extended with
11965 \begin{ltxexample}[escapeinside={(*@}{@*)}]
11966 \DeclarePrefChars*{(*@’@*)}
11967 \end{ltxexample}
11968
11969 \cmditem{DeclareAutoPunctuation}{characters}
11970
11971 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:
11972
11973 \begin{ltxexample}
11974 \DeclareAutoPunctuation{.,;:!?}
11975 \end{ltxexample}
11976 %
11977 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.
11978
11979 \cmditem{DeclareCapitalPunctuation}{characters}
11980
11981 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:
11982
11983 \begin{ltxexample}
11984 \DeclareCapitalPunctuation{.!?}
11985 \end{ltxexample}
11986 %
11987 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).
11988
11989 \cmditem{DeclarePunctuationPairs}{identifier}{characters}
11990
11991 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:
11992
11993 \begin{ltxexample}
11994 \DeclarePunctuationPairs{comma}{*!?}
11995 \end{ltxexample}
11996 %
11997 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}:
11998
11999 \begin{ltxexample}
12000 \DeclarePunctuationPairs{dot}{}
12001 \DeclarePunctuationPairs{comma}{*!?}
12002 \DeclarePunctuationPairs{semicolon}{*!?}
12003 \DeclarePunctuationPairs{colon}{*!?}
12004 \DeclarePunctuationPairs{period}{}
12005 \DeclarePunctuationPairs{exclam}{*}
12006 \DeclarePunctuationPairs{question}{*}
12007 \end{ltxexample}
12008 %
12009 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.}
12010
12011 \cmditem{DeclareQuotePunctuation}{characters}
12012
12013 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:
12014
12015 \begin{ltxexample}
12016 \DeclareQuotePunctuation{.,}
12017 \end{ltxexample}
12018 %
12019 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}.
12020
12021 \csitem{uspunctuation}
12022
12023 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.
12024
12025 \csitem{stdpunctuation}
12026
12027 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.
12028
12029 \end{ltxsyntax}
12030
12031 \subsubsection{Correcting Punctuation Tracking}
12032 \label{aut:pct:ctr}
12033
12034 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:
12035
12036 \begin{ltxsyntax}
12037
12038 \csitem{bibsentence}
12039
12040 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.
12041
12042 \csitem{midsentence}
12043
12044 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.
12045
12046 \csitem*{midsentence*}
12047
12048 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.
12049
12050 \end{ltxsyntax}
12051
12052 \subsection{Localization Strings}
12053 \label{aut:str}
12054
12055 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.
12056
12057 \begin{ltxsyntax}
12058
12059 \cmditem{bibstring}[wrapper]{key}
12060
12061 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.
12062 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}.
12063 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}.
12064
12065 \cmditem{biblstring}[wrapper]{key}
12066
12067 Similar to \cmd{bibstring} but always prints the long string, ignoring the \opt{abbreviate} option.
12068
12069 \cmditem{bibsstring}[wrapper]{key}
12070
12071 Similar to \cmd{bibstring} but always prints the short string, ignoring the \opt{abbreviate} option.
12072
12073 \cmditem{bibncpstring}[wrapper]{key}
12074
12075 Similar to \cmd{bibstring} but the term is never capitalized.
12076
12077 \cmditem{bibncplstring}[wrapper]{key}
12078
12079 Similar to \cmd{biblstring} but the term is never capitalized.
12080
12081 \cmditem{bibncpsstring}[wrapper]{key}
12082
12083 Similar to \cmd{bibsstring} but the term is never capitalized.
12084
12085 \cmditem{bibcpstring}[wrapper]{key}
12086
12087 Similar to \cmd{bibstring} but the term is always capitalized.
12088
12089 \cmditem{bibcplstring}[wrapper]{key}
12090
12091 Similar to \cmd{biblstring} but the term is always capitalized.
12092
12093 \cmditem{bibcpsstring}[wrapper]{key}
12094
12095 Similar to \cmd{bibsstring} but the term is always capitalized.
12096
12097 \cmditem{bibucstring}[wrapper]{key}
12098
12099 Similar to \cmd{bibstring} but the whole term is uppercased.
12100
12101 \cmditem{bibuclstring}[wrapper]{key}
12102
12103 Similar to \cmd{biblstring} but the whole term is uppercased.
12104
12105 \cmditem{bibucsstring}[wrapper]{key}
12106
12107 Similar to \cmd{bibsstring} but the whole term is uppercased.
12108
12109 \cmditem{biblcstring}[wrapper]{key}
12110
12111 Similar to \cmd{bibstring} but the whole term is lowercased.
12112
12113 \cmditem{biblclstring}[wrapper]{key}
12114
12115 Similar to \cmd{biblstring} but the whole term is lowercased.
12116
12117 \cmditem{biblcsstring}[wrapper]{key}
12118
12119 Similar to \cmd{bibsstring} but the whole term is lowercased.
12120
12121 \cmditem{bibxstring}{key}
12122
12123 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.
12124
12125 \cmditem{bibxlstring}[wrapper]{key}
12126
12127 Similar to \cmd{bibxstring} but always uses the long string, ignoring the \opt{abbreviate} option.
12128
12129 \cmditem{bibxsstring}[wrapper]{key}
12130
12131 Similar to \cmd{bibxstring} but always uses the short string, ignoring the \opt{abbreviate} option.
12132
12133 \cmditem{mainlang}\DeprecatedMark
12134
12135 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.
12136
12137 \cmditem{textmainlang}{text}
12138
12139 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.
12140
12141 \cmditem{texouterlang}{text}
12142
12143 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.
12144
12145 \end{ltxsyntax}
12146
12147 It is possible to add bibliography strings to a bibliography string set to apply additional formatting.
12148
12149 \begin{ltxsyntax}
12150
12151 \cmditem{DeclareBibstringSet}{setname}{key, \dots}
12152
12153 This commands assigns all \prm{key}s to the bibliography string set \prm{setname}.
12154
12155 \cmditem{UndeclareBibstringSet}{setname}
12156
12157 Remove the bibliography string set \prm{setname}. Any formatting definitions will also be cleared.
12158
12159 \cmditem{UndeclareBibstringSets}
12160
12161 Remove all existing bibliography string sets with \cmd{UndeclareBibstringSet}.
12162
12163 \cmditem{DeclareBibstringSetFormat}{setname}{code}
12164
12165 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.
12166
12167 \cmditem{UneclareBibstringSetFormat}{setname}
12168
12169 Remove any bibliography string set format defined for \prm{setname}.
12170
12171 \end{ltxsyntax}
12172
12173 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 dierctly 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{andothers}, the \texttt{.lbx} file would contain.
12174
12175 \begin{ltxexample}[escapeinside={(*@}{@*)}]
12176 \DeclareBibliographyExtras{%
12177 (*@\dots@*)
12178 \DeclareBibstringSet{latin}{andothers,ibidem}%
12179 \DeclareBibstringSetFormat{latin}{\mkbibemph{#1}}%
12180 (*@\dots@*)
12181 }
12182
12183 \UndeclareBibliographyExtras{%
12184 (*@\dots@*)
12185 \UndeclareBibstringSet{latin}%
12186 (*@\dots@*)
12187 }
12188 \end{ltxexample}
12189 Note that the defined sets should be undeclared after use to avoid side effects for other languages.
12190
12191
12192 \subsection{Localization Modules}
12193 \label{aut:lng}
12194
12195 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>.
12196
12197 \subsubsection{Localization Commands}
12198 \label{aut:lng:cmd}
12199
12200 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.
12201
12202 \begin{ltxsyntax}
12203
12204 \cmditem{DeclareBibliographyStrings}{definitions}
12205
12206 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:
12207
12208 \begin{ltxexample}
12209 \DeclareBibliographyStrings{%
12210 bibliography = {{Bibliography}{Bibliography}},
12211 shorthands = {{List of Abbreviations}{Abbreviations}},
12212 editor = {{editor}{ed.}},
12213 editors = {{editors}{eds.}},
12214 }
12215 \end{ltxexample}
12216 %
12217 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:
12218
12219 \begin{ltxexample}
12220 \DeclareBibliographyStrings{%
12221 inherit = {german},
12222 january = {{J\"anner}{J\"an.}},
12223 }
12224 \end{ltxexample}
12225
12226 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:
12227
12228 \begin{ltxexample}
12229 bibliography = {{Bibliography}{Bibliography}},
12230 shorthands = {{List of Abbreviations}{Abbreviations}},
12231 editor = {{editor}{ed\adddot}},
12232 editors = {{editors}{eds\adddot}},
12233 byeditor = {{edited by}{ed\adddotspace by}},
12234 mathesis = {{Master's thesis}{MA\addabbrvspace thesis}},
12235 \end{ltxexample}
12236 %
12237 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).
12238
12239 \cmditem{InheritBibliographyStrings}{language}
12240
12241 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.
12242
12243 \cmditem{DeclareBibliographyExtras}{code}
12244
12245 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}.
12246
12247 \cmditem{UndeclareBibliographyExtras}{code}
12248
12249 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.
12250
12251 \cmditem{InheritBibliographyExtras}{language}
12252
12253 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.
12254
12255 \cmditem{DeclareHyphenationExceptions}{text}
12256
12257 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.
12258
12259 \cmditem{DeclareRedundantLanguages}{language, language, ...}{langid, langid, ...}
12260
12261 This command provides the language mappings required by the \opt{clearlang} option from \secref{use:opt:pre:gen}.
12262 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:
12263
12264 \begin{ltxexample}
12265 \DeclareRedundantLanguages{french}{french}
12266 \DeclareRedundantLanguages{german}{german,ngerman,austrian,naustrian,
12267 nswissgerman,swissgerman}
12268 \DeclareRedundantLanguages{english,american}{english,american,british,
12269 canadian,australian,newzealand,USenglish,UKenglish}
12270 \end{ltxexample}
12271 %
12272 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.
12273
12274 \cmditem{DeclareLanguageMapping}{language}{file}
12275
12276 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.
12277
12278 \cmditem{DeclareLanguageMappingSuffix}{suffix}
12279
12280 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:
12281
12282 \begin{ltxexample}
12283 \DeclareLanguageMappingSuffix{-apa}
12284 \end{ltxexample}
12285 %
12286 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}.
12287
12288 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.
12289
12290 \cmditem{NewBibliographyString}{key}
12291
12292 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.
12293
12294 \end{ltxsyntax}
12295
12296 \subsubsection{Localization Keys}
12297 \label{aut:lng:key}
12298
12299 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.
12300
12301 \paragraph{Headings}
12302 \label{aut:lng:key:bhd}
12303
12304 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.
12305
12306 \begin{keymarglist}
12307 \item[bibliography] The term <bibliography>, also available as \cmd{bibname}.
12308 \item[references] The term <references>, also available as \cmd{refname}.
12309 \item[shorthands] The term <list of shorthands> or <list of abbreviations>, also available as \cmd{biblistname}.
12310 \end{keymarglist}
12311
12312 \paragraph{Roles, Expressed as Functions}
12313 \label{aut:lng:key:efn}
12314
12315 The following keys refer to roles which are expressed as a function (<editor>, <translator>) rather than as an action (<edited by>, <translated by>).
12316
12317 \begin{keymarglist}
12318 \item[editor] The term <editor>, referring to the main editor. This is the most generic editorial role.
12319 \item[editors] The plural form of \texttt{editor}.
12320 \item[compiler] The term <compiler>, referring to an editor whose task is to compile a work.
12321 \item[compilers] The plural form of \texttt{compiler}.
12322 \item[founder] The term <founder>, referring to a founding editor.
12323 \item[founders] The plural form of \texttt{founder}.
12324 \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.
12325 \item[continuators] The plural form of \texttt{continuator}.
12326 \item[redactor] The term <redactor>, referring to a secondary editor.
12327 \item[redactors] The plural form of \texttt{redactor}.
12328 \item[reviser] The term <reviser>, referring to a secondary editor.
12329 \item[revisers] The plural form of \texttt{reviser}.
12330 \item[collaborator] A term like <collaborator>, <collaboration>, <cooperator>, or <cooperation>, referring to a secondary editor.
12331 \item[collaborators] The plural form of \texttt{collaborator}.
12332 \item[translator] The term <translator>.
12333 \item[translators] The plural form of \texttt{translator}.
12334 \item[commentator] The term <commentator>, referring to the author of a commentary to a work.
12335 \item[commentators] The plural form of \texttt{commentators}.
12336 \item[annotator] The term <annotator>, referring to the author of annotations to a work.
12337 \item[annotators] The plural form of \texttt{annotators}.
12338 \item[organizer] The term <organizer>, referring to the organizer of an
12339 event or work.
12340 \item[organizers] The plural form of \texttt{organizer}.
12341 \end{keymarglist}
12342
12343 \paragraph{Concatenated Editor Roles, Expressed as Functions}
12344 \label{aut:lng:key:cef}
12345
12346 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>.
12347
12348 \begin{keymarglist}
12349 \item[editortr] Used if \bibfield{editor}\slash \bibfield{translator} are identical.
12350 \item[editorstr] The plural form of \texttt{editortr}.
12351 \item[editorco] Used if \bibfield{editor}\slash \bibfield{commentator} are identical.
12352 \item[editorsco] The plural form of \texttt{editorco}.
12353 \item[editoran] Used if \bibfield{editor}\slash \bibfield{annotator} are identical.
12354 \item[editorsan] The plural form of \texttt{editoran}.
12355 \item[editorin] Used if \bibfield{editor}\slash \bibfield{introduction} are identical.
12356 \item[editorsin] The plural form of \texttt{editorin}.
12357 \item[editorfo] Used if \bibfield{editor}\slash \bibfield{foreword} are identical.
12358 \item[editorsfo] The plural form of \texttt{editorfo}.
12359 \item[editoraf] Used if \bibfield{editor}\slash \bibfield{aftword} are identical.
12360 \item[editorsaf] The plural form of \texttt{editoraf}.
12361 \end{keymarglist}
12362 %
12363 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \prm{role} combinations:
12364
12365 \begin{keymarglist}
12366 \item[editortrco] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator} are identical.
12367 \item[editorstrco] The plural form of \texttt{editortrco}.
12368 \item[editortran] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator} are identical.
12369 \item[editorstran] The plural form of \texttt{editortran}.
12370 \item[editortrin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{introduction} are identical.
12371 \item[editorstrin] The plural form of \texttt{editortrin}.
12372 \item[editortrfo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{foreword} are identical.
12373 \item[editorstrfo] The plural form of \texttt{editortrfo}.
12374 \item[editortraf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{aftword} are identical.
12375 \item[editorstraf] The plural form of \texttt{editortraf}.
12376 \end{keymarglist}
12377 %
12378 Keys for \bibfield{editor}\slash \bibfield{commentator}\slash \prm{role} combinations:
12379
12380 \begin{keymarglist}
12381 \item[editorcoin] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12382 \item[editorscoin] The plural form of \texttt{editorcoin}.
12383 \item[editorcofo] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12384 \item[editorscofo] The plural form of \texttt{editorcofo}.
12385 \item[editorcoaf] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12386 \item[editorscoaf] The plural form of \texttt{editorcoaf}.
12387 \end{keymarglist}
12388 %
12389 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \prm{role} combinations:
12390
12391 \begin{keymarglist}
12392 \item[editoranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12393 \item[editorsanin] The plural form of \texttt{editoranin}.
12394 \item[editoranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12395 \item[editorsanfo] The plural form of \texttt{editoranfo}.
12396 \item[editoranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12397 \item[editorsanaf] The plural form of \texttt{editoranaf}.
12398 \end{keymarglist}
12399 %
12400 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12401
12402 \begin{keymarglist}
12403 \item[editortrcoin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12404 \item[editorstrcoin] The plural form of \texttt{editortrcoin}.
12405 \item[editortrcofo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12406 \item[editorstrcofo] The plural form of \texttt{editortrcofo}.
12407 \item[editortrcoaf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12408 \item[editorstrcoaf] The plural form of \texttt{editortrcoaf}.
12409 \end{keymarglist}
12410 %
12411 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12412
12413 \begin{keymarglist}
12414 \item[editortranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12415 \item[editorstranin] The plural form of \texttt{editortranin}.
12416 \item[editortranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12417 \item[editorstranfo] The plural form of \texttt{editortranfo}.
12418 \item[editortranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12419 \item[editorstranaf] The plural form of \texttt{editortranaf}.
12420 \end{keymarglist}
12421
12422 \paragraph{Concatenated Translator Roles, Expressed as Functions}
12423 \label{aut:lng:key:ctf}
12424
12425 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>.
12426
12427 \begin{keymarglist}
12428 \item[translatorco] Used if \bibfield{translator}\slash \bibfield{commentator} are identical.
12429 \item[translatorsco] The plural form of \texttt{translatorco}.
12430 \item[translatoran] Used if \bibfield{translator}\slash \bibfield{annotator} are identical.
12431 \item[translatorsan] The plural form of \texttt{translatoran}.
12432 \item[translatorin] Used if \bibfield{translator}\slash \bibfield{introduction} are identical.
12433 \item[translatorsin] The plural form of \texttt{translatorin}.
12434 \item[translatorfo] Used if \bibfield{translator}\slash \bibfield{foreword} are identical.
12435 \item[translatorsfo] The plural form of \texttt{translatorfo}.
12436 \item[translatoraf] Used if \bibfield{translator}\slash \bibfield{aftword} are identical.
12437 \item[translatorsaf] The plural form of \texttt{translatoraf}.
12438 \end{keymarglist}
12439 %
12440 Keys for \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12441
12442 \begin{keymarglist}
12443 \item[translatorcoin] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12444 \item[translatorscoin] The plural form of \texttt{translatorcoin}.
12445 \item[translatorcofo] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12446 \item[translatorscofo] The plural form of \texttt{translatorcofo}.
12447 \item[translatorcoaf] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12448 \item[translatorscoaf] The plural form of \texttt{translatorcoaf}.
12449 \end{keymarglist}
12450 %
12451 Keys for \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12452
12453 \begin{keymarglist}
12454 \item[translatoranin] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12455 \item[translatorsanin] The plural form of \texttt{translatoranin}.
12456 \item[translatoranfo] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12457 \item[translatorsanfo] The plural form of \texttt{translatoranfo}.
12458 \item[translatoranaf] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12459 \item[translatorsanaf] The plural form of \texttt{translatoranaf}.
12460 \end{keymarglist}
12461
12462 \paragraph{Roles, Expressed as Actions}
12463 \label{aut:lng:key:eac}
12464
12465 The following keys refer to roles which are expressed as an action (<edited by>, <translated by>) rather than as a function (<editor>, <translator>).
12466
12467 \begin{keymarglist}
12468 \item[byauthor] The expression <[created] by \prm{name}>.
12469 \item[byeditor] The expression <edited by \prm{name}>.
12470 \item[bycompiler] The expression <compiled by \prm{name}>.
12471 \item[byfounder] The expression <founded by \prm{name}>.
12472 \item[bycontinuator] The expression <continued by \prm{name}>.
12473 \item[byredactor] The expression <redacted by \prm{name}>.
12474 \item[byreviser] The expression <revised by \prm{name}>.
12475 \item[byreviewer] The expression <reviewed by \prm{name}>.
12476 \item[bycollaborator] An expression like <in collaboration with \prm{name}> or <in cooperation with \prm{name}>.
12477 \item[bytranslator] The expression <translated by \prm{name}> or <translated from \prm{language} by \prm{name}>.
12478 \item[bycommentator] The expression <commented by \prm{name}>.
12479 \item[byannotator] The expression <annotated by \prm{name}>.
12480 \item[byorganizer] The expression <[organized] by \prm{name}>.
12481 \end{keymarglist}
12482
12483 \paragraph{Concatenated Editor Roles, Expressed as Actions}
12484 \label{aut:lng:key:cea}
12485
12486 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>.
12487
12488 \begin{keymarglist}
12489 \item[byeditortr] Used if \bibfield{editor}\slash \bibfield{translator} are identical.
12490 \item[byeditorco] Used if \bibfield{editor}\slash \bibfield{commentator} are identical.
12491 \item[byeditoran] Used if \bibfield{editor}\slash \bibfield{annotator} are identical.
12492 \item[byeditorin] Used if \bibfield{editor}\slash \bibfield{introduction} are identical.
12493 \item[byeditorfo] Used if \bibfield{editor}\slash \bibfield{foreword} are identical.
12494 \item[byeditoraf] Used if \bibfield{editor}\slash \bibfield{aftword} are identical.
12495 \end{keymarglist}
12496 %
12497 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \prm{role} combinations:
12498
12499 \begin{keymarglist}
12500 \item[byeditortrco] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator} are identical.
12501 \item[byeditortran] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator} are identical.
12502 \item[byeditortrin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{introduction} are identical.
12503 \item[byeditortrfo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{foreword} are identical.
12504 \item[byeditortraf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{aftword} are identical.
12505 \end{keymarglist}
12506 %
12507 Keys for \bibfield{editor}\slash \bibfield{commentator}\slash \prm{role} combinations:
12508
12509 \begin{keymarglist}
12510 \item[byeditorcoin] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12511 \item[byeditorcofo] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12512 \item[byeditorcoaf] Used if \bibfield{editor}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12513 \end{keymarglist}
12514 %
12515 Keys for \bibfield{editor}\slash \bibfield{annotator}\slash \prm{role} combinations:
12516
12517 \begin{keymarglist}
12518 \item[byeditoranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12519 \item[byeditoranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12520 \item[byeditoranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12521 \end{keymarglist}
12522 %
12523 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12524
12525 \begin{keymarglist}
12526 \item[byeditortrcoin] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12527 \item[byeditortrcofo] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12528 \item[byeditortrcoaf] Used if \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12529 \end{keymarglist}
12530 %
12531 Keys for \bibfield{editor}\slash \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12532
12533 \begin{keymarglist}
12534 \item[byeditortranin] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12535 \item[byeditortranfo] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12536 \item[byeditortranaf] Used if \bibfield{editor}\slash \bibfield{annotator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12537 \end{keymarglist}
12538
12539 \paragraph{Concatenated Translator Roles, Expressed as Actions}
12540 \label{aut:lng:key:cta}
12541
12542 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>.
12543
12544 \begin{keymarglist}
12545 \item[bytranslatorco] Used if \bibfield{translator}\slash \bibfield{commentator} are identical.
12546 \item[bytranslatoran] Used if \bibfield{translator}\slash \bibfield{annotator} are identical.
12547 \item[bytranslatorin] Used if \bibfield{translator}\slash \bibfield{introduction} are identical.
12548 \item[bytranslatorfo] Used if \bibfield{translator}\slash \bibfield{foreword} are identical.
12549 \item[bytranslatoraf] Used if \bibfield{translator}\slash \bibfield{aftword} are identical.
12550 \end{keymarglist}
12551 %
12552 Keys for \bibfield{translator}\slash \bibfield{commentator}\slash \prm{role} combinations:
12553
12554 \begin{keymarglist}
12555 \item[bytranslatorcoin] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{introduction} are identical.
12556 \item[bytranslatorcofo] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{foreword} are identical.
12557 \item[bytranslatorcoaf] Used if \bibfield{translator}\slash \bibfield{commentator}\slash \bibfield{aftword} are identical.
12558 \end{keymarglist}
12559 %
12560 Keys for \bibfield{translator}\slash \bibfield{annotator}\slash \prm{role} combinations:
12561
12562 \begin{keymarglist}
12563 \item[bytranslatoranin] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{introduction} are identical.
12564 \item[bytranslatoranfo] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{foreword} are identical.
12565 \item[bytranslatoranaf] Used if \bibfield{translator}\slash \bibfield{annotator}\slash \bibfield{aftword} are identical.
12566 \end{keymarglist}
12567
12568 \paragraph{Roles, Expressed as Objects}
12569 \label{aut:lng:key:rob}
12570
12571 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>).
12572
12573 \begin{keymarglist}
12574 \item[withcommentator] The expression <with a commentary by \prm{name}>.
12575 \item[withannotator] The expression <with annotations by \prm{name}>.
12576 \item[withintroduction] The expression <with an introduction by \prm{name}>.
12577 \item[withforeword] The expression <with a foreword by \prm{name}>.
12578 \item[withafterword] The expression <with an afterword by \prm{name}>.
12579 \end{keymarglist}
12580
12581 \paragraph{Supplementary Material}
12582 \label{aut:lng:key:mat}
12583
12584 \begin{keymarglist}
12585 \item[commentary] The term <commentary>.
12586 \item[annotations] The term <annotations>.
12587 \item[introduction] The term <introduction>.
12588 \item[foreword] The term <foreword>.
12589 \item[afterword] The term <afterword>.
12590 \end{keymarglist}
12591
12592 \paragraph{Publication Details}
12593 \label{aut:lng:key:pdt}
12594
12595 \begin{keymarglist}
12596 \item[volume] The term <volume>, referring to a book.
12597 \item[volumes] The plural form of \texttt{volume}.
12598 \item[involumes] The term <in>, as used in expressions like <in \prm{number of volumes} volumes>.
12599 \item[jourvol] The term <volume>, referring to a journal.
12600 \item[jourser] The term <series>, referring to a journal.
12601 \item[book] The term <book>, referring to a document division.
12602 \item[part] The term <part>, referring to a part of a book or a periodical.
12603 \item[issue] The term <issue>, referring to a periodical.
12604 \item[newseries] The expression <new series>, referring to a journal.
12605 \item[oldseries] The expression <old series>, referring to a journal.
12606 \item[edition] The term <edition>.
12607 \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}>.
12608 \item[inseries] The term <in>, as used in expressions like <volume \prm{number} in \prm{name of series}>.
12609 \item[ofseries] The term <of>, as used in expressions like <volume \prm{number} of \prm{name of series}>.
12610 \item[number] The term <number>, referring to an issue of a journal.
12611 \item[chapter] The term <chapter>, referring to a chapter in a book.
12612 \item[version] The term <version>, referring to a revision number.
12613 \item[reprint] The term <reprint>.
12614 \item[reprintof] The expression <reprint of \prm{title}>.
12615 \item[reprintas] The expression <reprinted as \prm{title}>.
12616 \item[reprintfrom] The expression <reprinted from \prm{title}>.
12617 \item[translationof] The expression <translation of \prm{title}>.
12618 \item[translationas] The expression <translated as \prm{title}>.
12619 \item[translationfrom] The expression <translated from [the] \prm{language}>.
12620 \item[reviewof] The expression <review of \prm{title}>.
12621 \item[origpubas] The expression <originally published as \prm{title}>.
12622 \item[origpubin] The expression <originally published in \prm{year}>.
12623 \item[astitle] The term <as>, as used in expressions like <published by \prm{publisher} as \prm{title}>.
12624 \item[bypublisher] The term <by>, as used in expressions like <published by \prm{publisher}>.
12625 \end{keymarglist}
12626
12627 \paragraph{Publication State}
12628 \label{aut:lng:key:pst}
12629
12630 \begin{keymarglist}
12631 \item[inpreparation] The expression <in preparation> (the manuscript is being prepared for publication).
12632 \item[submitted] The expression <submitted> (the manuscript has been submitted to a journal or conference).
12633 \item[forthcoming] The expression <forthcoming> (the manuscript has been accepted by a press or journal).
12634 \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).
12635 \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).
12636 \end{keymarglist}
12637
12638 \paragraph{Pagination}
12639 \label{aut:lng:key:pag}
12640
12641 \begin{keymarglist}
12642 \item[page] The term <page>.
12643 \item[pages] The plural form of \texttt{page}.
12644 \item[column] The term <column>, referring to a column on a page.
12645 \item[columns] The plural form of \texttt{column}.
12646 \item[section] The term <section>, referring to a document division (usually abbreviated as \S).
12647 \item[sections] The plural form of \texttt{section} (usually abbreviated as \S\S).
12648 \item[paragraph] The term <paragraph> (\ie a block of text, not to be confused with \texttt{section}).
12649 \item[paragraphs] The plural form of \texttt{paragraph}.
12650 \item[verse] The term <verse> as used when referring to a work which is cited by verse numbers.
12651 \item[verses] The plural form of \texttt{verse}.
12652 \item[line] The term <line> as used when referring to a work which is cited by line numbers.
12653 \item[lines] The plural form of \texttt{line}.
12654 \item[pagetotal] The term <page> as used in \cmd{mkpageprefix}.
12655 \item[pagetotals] The plural form of \texttt{pagetotal}.
12656 \item[columntotal] The term <column>, referring to a column on a page, as used in \cmd{mkpageprefix}.
12657 \item[columntotals] The plural form of \texttt{columntotal}.
12658 \item[sectiontotal] The term <section>, referring to a document division (usually abbreviated as \S), as used in \cmd{mkpageprefix}.
12659 \item[sectiontotals] The plural form of \texttt{sectiontotal} (usually abbreviated as \S\S).
12660 \item[paragraphtotal] The term <paragraph> (\ie a block of text, not to be confused with \texttt{section}) as used in \cmd{mkpageprefix}.
12661 \item[paragraphtotals] The plural form of \texttt{paragraphtotal}.
12662 \item[versetotal] The term <verse> as used when referring to a work which is cited by verse numbers when used in \cmd{mkpageprefix}.
12663 \item[versetotals] The plural form of \texttt{versetotal}.
12664 \item[linetotal] The term <line> as used when referring to a work which is cited by line numbers when used in \cmd{mkpageprefix}.
12665 \item[linetotals] The plural form of \texttt{linetotal}.
12666 \end{keymarglist}
12667
12668 \paragraph{Types}
12669 \label{aut:lng:key:typ}
12670
12671 The following keys are typically used in the \bibfield{type} field of \bibtype{thesis}, \bibtype{report}, \bibtype{misc}, and other entries:
12672
12673 \begin{keymarglist}
12674 \item[bathesis] An expression equivalent to the term <Bachelor's thesis>.
12675 \item[mathesis] An expression equivalent to the term <Master's thesis>.
12676 \item[phdthesis] The term <PhD thesis>, <PhD dissertation>, <doctoral thesis>, etc.
12677 \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.
12678 \item[techreport] The term <technical report>.
12679 \item[resreport] The term <research report>.
12680 \item[software] The term <computer software>.
12681 \item[datacd] The term <data \textsc{cd}> or <\textsc{cd-rom}>.
12682 \item[audiocd] The term <audio \textsc{cd}>.
12683 \end{keymarglist}
12684
12685 \paragraph{Miscellaneous}
12686 \label{aut:lng:key:msc}
12687
12688 \begin{keymarglist}
12689 \item[nodate] The term to use in place of a date when there is no date for an entry \eg\ <n.d.>
12690 \item[and] The term <and>, as used in a list of authors or editors, for example.
12691 \item[andothers] The expression <and others> or <et alii>, used to mark the truncation of a name list.
12692 \item[andmore] Like \texttt{andothers} but used to mark the truncation of a literal list.
12693 \end{keymarglist}
12694
12695 \paragraph{Labels}
12696 \label{aut:lng:key:lab}
12697
12698 The following strings are intended for use as labels, \eg\ <Address: \prm{url}> or <Abstract: \prm{abstract}>.
12699
12700 \begin{keymarglist}
12701 \item[url] The term <address> in the sense of an internet address.
12702 \item[urlfrom] An expression like <available from \prm{url}> or <available at \prm{url}>.
12703 \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.
12704 \item[file] The term <file>.
12705 \item[library] The term <library>.
12706 \item[abstract] The term <abstract>.
12707 \item[annotation] The term <annotations>.
12708 \end{keymarglist}
12709
12710 \paragraph{Citations}
12711 \label{aut:lng:key:cit}
12712
12713 Traditional scholarly expressions used in citations:
12714
12715 \begin{keymarglist}
12716 \item[idem] The term equivalent to the Latin <idem> (<the same [person]>).
12717 \item[idemsf] The feminine singular form of \texttt{idem}.
12718 \item[idemsm] The masculine singular form of \texttt{idem}.
12719 \item[idemsn] The neuter singular form of \texttt{idem}.
12720 \item[idempf] The feminine plural form of \texttt{idem}.
12721 \item[idempm] The masculine plural form of \texttt{idem}.
12722 \item[idempn] The neuter plural form of \texttt{idem}.
12723 \item[idempp] The plural form of \texttt{idem} suitable for a mixed gender list of names.
12724 \item[ibidem] The term equivalent to the Latin <ibidem> (<in the same place>).
12725 \item[opcit] The term equivalent to the Latin term <opere citato> (<[in] the work [already] cited>).
12726 \item[loccit] The term equivalent to the Latin term <loco citato> (<[at] the place [already] cited>).
12727 \item[confer] The term equivalent to the Latin <confer> (<compare>).
12728 \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>).
12729 \item[sequentes] The term equivalent to the Latin <sequentes> (<[and] the following [pages]>), as used to indicate an open"=ended range of pages when only the starting page is provided (\eg\ <25\,sqq.> or <25\,ff.>).
12730 \item[passim] The term equivalent to the Latin <passim> (<throughout>, <here and there>, <scatteredly>).
12731 \end{keymarglist}
12732 %
12733 Other expressions frequently used in citations:
12734
12735 \begin{keymarglist}
12736 \item[see] The term <see>.
12737 \item[seealso] The expression <see also>.
12738 \item[seenote] An expression like <see note \prm{footnote}> or <as in \prm{footnote}>, used to refer to a previous footnote in a citation.
12739 \item[backrefpage] An expression like <see page \prm{page}> or <cited on page \prm{page}>, used to introduce back references in the bibliography.
12740 \item[backrefpages] The plural form of \texttt{backrefpage}, \eg\ <see pages \prm{pages}> or <cited on pages \prm{pages}>.
12741 \item[quotedin] An expression like <quoted in \prm{citation}>, used when quoting a passage which was already a quotation in the cited work.
12742 \item[citedas] An expression like <henceforth cited as \prm{shorthand}>, used to introduce a shorthand in a citation.
12743 \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.}
12744 \end{keymarglist}
12745
12746 \paragraph{Month Names}
12747 \label{aut:lng:key:mon}
12748
12749 \begin{keymarglist}
12750 \item[january] The name <January>.
12751 \item[february] The name <February>.
12752 \item[march] The name <March>.
12753 \item[april] The name <April>.
12754 \item[may] The name <May>.
12755 \item[june] The name <June>.
12756 \item[july] The name <July>.
12757 \item[august] The name <August>.
12758 \item[september] The name <September>.
12759 \item[october] The name <October>.
12760 \item[november] The name <November>.
12761 \item[december] The name <December>.
12762 \end{keymarglist}
12763
12764 \paragraph{Language Names}
12765 \label{aut:lng:key:lng}
12766
12767 \begin{keymarglist}
12768 \item[langamerican] The language <American> or <American English>.
12769 \item[langbasque] The language <Basque>.
12770 \item[langbrazilian] The language <Brazilian> or <Brazilian Portuguese>.
12771 \item[langbulgarian] The language <Bulgarian>.
12772 \item[langcatalan] The language <Catalan>.
12773 \item[langcroatian] The language <Croatian>.
12774 \item[langczech] The language <Czech>.
12775 \item[langdanish] The language <Danish>.
12776 \item[langdutch] The language <Dutch>.
12777 \item[langenglish] The language <English>.
12778 \item[langestonian] The language <Estonian>.
12779 \item[langfinnish] The language <Finnish>.
12780 \item[langfrench] The language <French>.
12781 \item[langgerman] The language <German>.
12782 \item[langgreek] The language <Greek>.
12783 \item[langhungarian] The language <Hungarian>.
12784 \item[langitalian] The language <Italian>.
12785 \item[langjapanese] The language <Japanese>.
12786 \item[langlatin] The language <Latin>.
12787 \item[langlatvian] The language <Latvian>.
12788 \item[langlithuanian] The language <Lithuanian>.
12789 \item[langmarathi] The language <Marathi>.
12790 \item[langnorwegian] The language <Norwegian>.
12791 \item[langpolish] The language <Polish>.
12792 \item[langportuguese] The language <Portuguese>.
12793 \item[langromanian] The language <Romanian>.
12794 \item[langrussian] The language <Russian>.
12795 \item[langserbian] The language <Serbian>.
12796 \item[langslovak] The language <Slovak>.
12797 \item[langslovene] The language <Slovene>.
12798 \item[langspanish] The language <Spanish>.
12799 \item[langswedish] The language <Swedish>.
12800 \item[langturkish] The language <Turkish>.
12801 \item[langukrainian] The language <Ukrainian>.
12802 \end{keymarglist}
12803 %
12804 The following strings are intended for use in phrases like <translated from [the] English by \prm{translator}>:
12805
12806 \begin{keymarglist}
12807 \item[fromamerican] The expression <from [the] American> or <from [the] American English>.
12808 \item[frombasque] The expression <from [the] Basque>.
12809 \item[frombrazilian] The expression <from [the] Brazilian> or <from [the] Brazilian Portuguese>.
12810 \item[frombulgarian] The expression <from [the] Bulgarian>.
12811 \item[fromcatalan] The expression <from [the] Catalan>.
12812 \item[fromcroatian] The expression <from [the] Croatian>.
12813 \item[fromczech] The expression <from [the] Czech>.
12814 \item[fromdanish] The expression <from [the] Danish>.
12815 \item[fromdutch] The expression <from [the] Dutch>.
12816 \item[fromenglish] The expression <from [the] English>.
12817 \item[fromestonian] The expression <from [the] Estonian>.
12818 \item[fromfinnish] The expression <from [the] Finnish>.
12819 \item[fromfrench] The expression <from [the] French>.
12820 \item[fromgerman] The expression <from [the] German>.
12821 \item[fromgreek] The expression <from [the] Greek>.
12822 \item[fromhungarian] The language <from [the] Hungarian>.
12823 \item[fromitalian] The expression <from [the] Italian>.
12824 \item[fromjapanese] The expression <from [the] Japanese>.
12825 \item[fromlatin] The expression <from [the] Latin>.
12826 \item[fromlatvian] The expression <from [the] Latvian>.
12827 \item[fromlithuanian] The language <from [the] Lithuanian>.
12828 \item[frommarathi] The expression <from [the] Marathi>.
12829 \item[fromnorwegian] The expression <from [the] Norwegian>.
12830 \item[frompolish] The expression <from [the] Polish>.
12831 \item[fromportuguese] The expression <from [the] Portuguese>.
12832 \item[fromromanian] The expression <from [the] Romanian>.
12833 \item[fromrussian] The expression <from [the] Russian>.
12834 \item[fromserbian] The expression <from [the] Serbian>.
12835 \item[fromslovak] The expression <from [the] Slovak>.
12836 \item[fromslovene] The expression <from [the] Slovene>.
12837 \item[fromspanish] The expression <from [the] Spanish>.
12838 \item[fromswedish] The expression <from [the] Swedish>.
12839 \item[fromturkish] The expression <from [the] Turkish>.
12840 \item[fromukrainian] The expression <from [the] Ukrainian>.
12841 \end{keymarglist}
12842
12843 \paragraph{Country Names}
12844 \label{aut:lng:key:cnt}
12845
12846 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.
12847
12848 \begin{keymarglist}
12849 \item[countryde] The name <Germany>, abbreviated as \texttt{DE}.
12850 \item[countryeu] The name <European Union>, abbreviated as \texttt{EU}.
12851 \item[countryep] Similar to \opt{countryeu} but abbreviated as \texttt{EP}. This is intended for \bibfield{patent} entries.
12852 \item[countryfr] The name <France>, abbreviated as \texttt{FR}.
12853 \item[countryuk] The name <United Kingdom>, abbreviated (according to \acr{ISO}-3166) as \texttt{GB}.
12854 \item[countryus] The name <United States of America>, abbreviated as \texttt{US}.
12855 \end{keymarglist}
12856
12857 \paragraph{Patents and Patent Requests}
12858 \label{aut:lng:key:pat}
12859
12860 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.
12861
12862 \begin{keymarglist}
12863 \item[patent] The generic term <patent>.
12864 \item[patentde] The expression <German patent>.
12865 \item[patenteu] The expression <European patent>.
12866 \item[patentfr] The expression <French patent>.
12867 \item[patentuk] The expression <British patent>.
12868 \item[patentus] The expression <U.S. patent>.
12869 \end{keymarglist}
12870 %
12871 Patent requests are handled in a similar way, using the string \texttt{patreq} as the base name of the key:
12872
12873 \begin{keymarglist}
12874 \item[patreq] The generic term <patent request>.
12875 \item[patreqde] The expression <German patent request>.
12876 \item[patreqeu] The expression <European patent request>.
12877 \item[patreqfr] The expression <French patent request>.
12878 \item[patrequk] The expression <British patent request>.
12879 \item[patrequs] The expression <U.S. patent request>.
12880 \end{keymarglist}
12881
12882 \paragraph{Dates and Times}
12883 \label{aut:lng:key:dt}
12884
12885 Abbreviation strings for standard eras. Both secular and Christian variants
12886 are supported.
12887
12888 \begin{keymarglist}
12889 \item[commonera] The era <CE>
12890 \item[beforecommonera] The era <BCE>
12891 \item[annodomini] The era <AD>
12892 \item[beforechrist] The era <BC>
12893 \end{keymarglist}
12894
12895 Abbreviation strings for <circa> dates:
12896
12897 \begin{keymarglist}
12898 \item[circa] The string <circa>
12899 \end{keymarglist}
12900
12901 Abbreviation strings for year divisions parsed from \acr{ISO8601-2} Extended Format dates:
12902
12903 \begin{keymarglist}
12904 \item[spring] The string <spring>
12905 \item[summer] The string <summer>
12906 \item[autumn] The string <autumn>
12907 \item[winter] The string <winter>
12908 \item[springN] The string <spring (Northern Hemisphere)>
12909 \item[summerN] The string <summer (Northern Hemisphere)>
12910 \item[autumnN] The string <autumn (Northern Hemisphere)>
12911 \item[winterN] The string <winter (Northern Hemisphere)>
12912 \item[springS] The string <spring (Southern Hemisphere)>
12913 \item[summerS] The string <summer (Southern Hemisphere)>
12914 \item[autumnS] The string <autumn (Southern Hemisphere)>
12915 \item[winterS] The string <winter (Southern Hemisphere)>
12916 \item[Q1] The string <Quarter 1>
12917 \item[Q2] The string <Quarter 2>
12918 \item[Q3] The string <Quarter 3>
12919 \item[Q4] The string <Quarter 3>
12920 \item[QD1] The string <Quadrimester 1>
12921 \item[QD2] The string <Quadrimester 2>
12922 \item[QD3] The string <Quadrimester 3>
12923 \item[S1] The string <Semestral 1>
12924 \item[S2] The string <Semestral 2>
12925 \end{keymarglist}
12926
12927 Abbreviation strings for AM/PM:
12928
12929 \begin{keymarglist}
12930 \item[am] The string <AM>
12931 \item[pm] The string <PM>
12932 \end{keymarglist}
12933
12934 \subsection{Formatting Commands}
12935 \label{aut:fmt}
12936
12937 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.
12938
12939 \subsubsection{User-definable Commands and Hooks}
12940 \label{aut:fmt:fmt}
12941
12942 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.
12943
12944 \begin{ltxsyntax}
12945 \csitem{bibsetup}
12946 Arbitrary code to be executed at the beginning of the bibliography, intended for commands which affect the layout of the bibliography.
12947
12948 \csitem{bibfont}
12949 Arbitrary code setting the font used in the bibliography. This is very similar to \cmd{bibsetup} but intended for switching fonts.
12950
12951 \csitem{citesetup}
12952 Arbitrary code to be executed at the beginning of each citation command.
12953
12954 \csitem{newblockpunct}
12955 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}).
12956
12957 \csitem{newunitpunct}
12958 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.
12959
12960 \csitem{finentrypunct}
12961 The punctuation printed at the very end of every bibliography entry, usually a period. The default definition is a period.
12962
12963 \csitem{entrysetpunct}
12964 The punctuation printed between bibliography subentries of an entry set. The default definition is a semicolon and a space.
12965
12966 \csitem{bibnamedelima}
12967 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.
12968
12969 \csitem{bibnamedelimb}
12970 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.
12971
12972 \csitem{bibnamedelimc}
12973 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.
12974
12975 \csitem{bibnamedelimd}
12976 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.
12977
12978 \csitem{bibnamedelimi}
12979 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.
12980
12981 \csitem{bibinitperiod}
12982 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.
12983
12984 \csitem{bibinitdelim}
12985 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.
12986
12987 \csitem{bibinithyphendelim}
12988 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.
12989
12990 \csitem{bibindexnamedelima}
12991 Replaces \cmd{bibnamedelima} in the index.
12992
12993 \csitem{bibindexnamedelimb}
12994 Replaces \cmd{bibnamedelimb} in the index.
12995
12996 \csitem{bibindexnamedelimc}
12997 Replaces \cmd{bibnamedelimc} in the index.
12998
12999 \csitem{bibindexnamedelimd}
13000 Replaces \cmd{bibnamedelimd} in the index.
13001
13002 \csitem{bibindexnamedelimi}
13003 Replaces \cmd{bibnamedelimi} in the index.
13004
13005 \csitem{bibindexinitperiod}
13006 Replaces \cmd{bibinitperiod} in the index.
13007
13008 \csitem{bibindexinitdelim}
13009 Replaces \cmd{bibinitdelim} in the index.
13010
13011 \csitem{bibindexinithyphendelim}
13012 Replaces \cmd{bibinithyphendelim} in the index.
13013
13014 \csitem{revsdnamepunct}
13015 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.
13016
13017 \csitem{bibnamedash}
13018 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.
13019
13020 \csitem{labelnamepunct}\DeprecatedMark
13021 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
13022 \begin{ltxexample}
13023 \DeclareDelimFormat[bib]{nametitledelim}{%
13024 \addcolon\space}
13025 \end{ltxexample}
13026
13027
13028 \csitem{subtitlepunct}
13029 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.
13030
13031 \csitem{intitlepunct}
13032 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.
13033
13034 \csitem{bibpagespunct}
13035 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.
13036
13037 \csitem{bibpagerefpunct}
13038 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.
13039
13040 \csitem{bibeidpunct}
13041 The separator printed before the \bibfield{eid} field (similar to \cmd{bibpagespunct}). The default is a comma plus an interword space.
13042
13043 \csitem{multinamedelim}\CSdelimMark
13044 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.
13045
13046 \csitem{finalnamedelim}\CSdelimMark
13047 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.
13048
13049 \csitem{revsdnamedelim}\CSdelimMark
13050 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.
13051
13052 \csitem{andothersdelim}\CSdelimMark
13053 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.
13054
13055 \csitem{multilistdelim}\CSdelimMark
13056 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.
13057
13058 \csitem{finallistdelim}\CSdelimMark
13059 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.
13060
13061 \csitem{andmoredelim}\CSdelimMark
13062 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.
13063
13064 \csitem{multicitedelim}
13065 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.
13066
13067 \csitem{multiciterangedelim}
13068 The delimiter printed between two citations if they are compressed to a range. The default is \cmd{bibrangedash}.
13069
13070 \csitem{multicitesubentrydelim}
13071 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.
13072
13073 \csitem{multicitesubentryrangedelim}
13074 The delimiter printed between two citations of the same set if they are compressed to a range. The default is \cmd{multiciterangedelim}.
13075
13076 \csitem{supercitedelim}
13077 Similar to \cmd{multinamedelim}, but intended for the \cmd{supercite} command only. The default is a comma.
13078
13079 \csitem{superciterangedelim}
13080 Analogue of \cmd{multiciterangedelim} for \cmd{supercite}. The default is \cmd{bibrangedash}.
13081
13082 \csitem{supercitesubentrydelim}
13083 Analogue of \cmd{multicitesubentrydelim} for \cmd{supercite}. The default is \cmd{supercitedelim}.
13084
13085 \csitem{supercitesubentryrangedelim}
13086 Analogue of \cmd{multicitesubentryrangedelim} for \cmd{supercite}. The default is \cmd{superciterangedelim}.
13087
13088 \csitem{compcitedelim}
13089 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.
13090
13091 \csitem{textcitedelim}
13092 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.
13093
13094 \csitem{nametitledelim}\CSdelimMark
13095 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.
13096
13097 \csitem{nameyeardelim}\CSdelimMark
13098 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.
13099
13100 \csitem{namelabeldelim}\CSdelimMark
13101 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.
13102
13103 \csitem{nonameyeardelim}\CSdelimMark
13104 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.
13105
13106 \csitem{authortypedelim}\CSdelimMark
13107 The delimiter printed between the author and the \texttt{authortype}. The default is a comma followed by a space.
13108
13109 \csitem{editortypedelim}\CSdelimMark
13110 The delimiter printed between the editor and the \texttt{editor} or \texttt{editortype} string. The default is a comma followed by a space.
13111
13112 \csitem{translatortypedelim}\CSdelimMark
13113 The delimiter printed between the translator and the \texttt{translator} string. The default is a comma followed by a space.
13114
13115 \csitem{labelalphaothers}
13116 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.
13117
13118 \csitem{sortalphaothers}
13119 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}.
13120
13121 \csitem{volcitedelim}
13122 The delimiter to be printed between the volume portion and the page/text portion of \cmd{volcite} and related commands (\secref{use:cit:spc}).
13123
13124 \csitem{prenotedelim}\CSdelimMark
13125 The delimiter to be printed after the \prm{prenote} argument of a citation command. The default is an interword space.
13126
13127 \csitem{postnotedelim}\CSdelimMark
13128 The delimiter to be printed before the \prm{postnote} argument of a citation command. The default is a comma plus an interword space.
13129
13130 \csitem{extpostnotedelim}\CSdelimMark
13131 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.
13132
13133 \csitem{multiprenotedelim}\CSdelimMark
13134 The delimiter to be printed after the \prm{multiprenote} argument of a citation command.
13135
13136 \csitem{multipostnotedelim}\CSdelimMark
13137 The delimiter to be printed before the \prm{multipostnote} argument of a citation command.
13138
13139 \cmditem{mkbibname<namepart>}{text}
13140 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:
13141
13142 \begin{ltxexample}
13143 \mkbibnamefamily
13144 \mkbibnamegiven
13145 \mkbibnameprefix
13146 \mkbibnamesuffix
13147 \end{ltxexample}
13148
13149 \cmditem{mkbibcompletename<formatorder>}{text}
13150 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:
13151
13152 \begin{ltxexample}
13153 \mkbibcompletenamefamily
13154 \mkbibcompletenamefamilygiven
13155 \mkbibcompletenamegivenfamily
13156 \end{ltxexample}
13157 %
13158 These formatting hooks should enclose the complete name in the bibliography macro \cmd{name:<formatorder>}. Initially all hooks expand to \cmd{mkbibcompletename}.
13159
13160 \cmditem{mkbibcompletename}{text}
13161 The initial value of all default formatting hooks \cmd{mkbibcompletename<formatorder>}.
13162
13163 \csitem{datecircadelim}\CSdelimMark
13164 When formatting dates with the global option \opt{datecirca} enabled, the delimiter printed after any localised <circa> term. Defaults to interword space.
13165
13166 \csitem{dateeradelim}\CSdelimMark
13167 When formatting dates with the global option \opt{dateera} set, the delimiter printed before the localisation era term. Defaults to interword space.
13168
13169 \csitem{dateuncertainprint}
13170 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}).
13171
13172 \csitem{enddateuncertainprint}
13173 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}).
13174
13175 \csitem{datecircaprint}
13176 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.
13177
13178 \csitem{enddatecircaprint}
13179 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.
13180
13181 \csitem{datecircaprintiso}
13182 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}.
13183
13184 \csitem{enddatecircaprintiso}
13185 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}.
13186
13187 \csitem{dateeraprint}{yearfield}
13188 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.
13189
13190 \csitem{dateeraprintpre}
13191 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.
13192
13193 \csitem{relatedpunct}
13194 The separator between the \bibfield{relatedtype} bibliography localisation string and the data from the first related entry.
13195
13196 \csitem{relateddelim}
13197 The generic separator between the data of multiple related entries. The default definition is an optional dot plus linebreak.
13198
13199 \csitem{relateddelim$<$relatedtype$>$}
13200 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.
13201
13202 \csitem{begrelateddelim}
13203 The generic separator before the block of related entries. The default definition is \cmd{newunitpunct}.
13204
13205 \csitem{begrelateddelim$<$relatedtype$>$}
13206 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.
13207
13208 \end{ltxsyntax}
13209
13210 \subsubsection{Language-specific Commands}
13211 \label{aut:fmt:lng}
13212
13213 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.
13214
13215 \begin{ltxsyntax}
13216
13217 \csitem{bibrangedash}
13218
13219 The language specific dash to be used for ranges of numbers. Defaults to \cmd{textendash}.
13220
13221 \csitem{bibrangessep}
13222
13223 The language specific separator to be used between multiple ranges. Defaults to a comma followed by a space.
13224
13225 \csitem{bibdatesep}
13226
13227 The language specific separator used between date components in terse date formats. Defaults to \cmd{hyphen}.
13228
13229 \csitem{bibdaterangesep}
13230
13231 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.
13232
13233 \csitem{mkbibdatelong}
13234
13235 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.
13236
13237 \csitem{mkbibdateshort}
13238
13239 Similar to \cmd{mkbibdatelong} but using the language specific short date format.
13240
13241 \csitem{mkbibtimezone}
13242
13243 Modifies a timezone string passed in as the only argument. By default this changes <Z> to the value of \cmd{bibtimezone}.
13244
13245 \csitem{bibdateuncertain}
13246
13247 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.
13248
13249
13250 \csitem{bibdateeraprefix}
13251
13252 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.
13253
13254 \csitem{bibdateeraendprefix}
13255
13256 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.
13257
13258 \csitem{bibtimesep}
13259
13260 The language specific marker which separates time components. Default to a colon.
13261
13262 \csitem{bibutctimezone}
13263
13264 The language specific string printed for the UTC timezone. Defaults to <Z>.
13265
13266 \csitem{bibtimezonesep}
13267
13268 The language specific marker which separates an optional time zone component from a time. Empty by default.
13269
13270 \csitem{bibtzminsep}
13271
13272 The language specific marker which separates hour and minute component of offset timezones. Defaults to a \cmd{bibtimesep}.
13273
13274 \csitem{bibdatetimesep}
13275
13276 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.
13277
13278 \csitem{finalandcomma}
13279
13280 Prints the comma to be inserted before the final <and> in an enumeration, if applicable in the respective language.
13281
13282 \csitem{finalandsemicolon}
13283
13284 Prints the semicolon to be inserted before the final <and> in an enumeration, if applicable in the respective language.
13285
13286 \cmditem{mkbibordinal}{integer}
13287
13288 Takes an integer argument and prints it as an ordinal number.
13289
13290 \cmditem{mkbibmascord}{integer}
13291
13292 Similar to \cmd{mkbibordinal}, but prints a masculine ordinal, if applicable in the respective language.
13293
13294 \cmditem{mkbibfemord}{integer}
13295
13296 Similar to \cmd{mkbibordinal}, but prints a feminine ordinal, if applicable in the respective language.
13297
13298 \cmditem{mkbibneutord}{integer}
13299
13300 Similar to \cmd{mkbibordinal}, but prints a neuter ordinal, if applicable in the respective language.
13301
13302 \cmditem{mkbibordedition}{integer}
13303
13304 Similar to \cmd{mkbibordinal}, but intended for use with the term <edition>.
13305
13306 \cmditem{mkbibordseries}{integer}
13307
13308 Similar to \cmd{mkbibordinal}, but intended for use with the term <series>.
13309
13310 \end{ltxsyntax}
13311
13312 \subsubsection{User-definable Lengths and Counters}
13313 \label{aut:fmt:len}
13314
13315 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.
13316
13317 \begin{ltxsyntax}
13318
13319 \lenitem{bibhang}
13320
13321 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}.
13322
13323 \lenitem{biblabelsep}
13324
13325 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.
13326
13327 \lenitem{bibitemsep}
13328
13329 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.
13330
13331 \lenitem{bibnamesep}
13332
13333 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.
13334
13335 \lenitem{bibinitsep}
13336
13337 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.
13338
13339 \lenitem{bibparsep}
13340
13341 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.
13342
13343 \cntitem{abbrvpenalty}
13344
13345 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.
13346
13347 \cntitem{highnamepenalty}
13348
13349 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.
13350
13351 \cntitem{lownamepenalty}
13352
13353 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.
13354
13355 \cntitem{biburlbigbreakpenalty}
13356
13357 The \sty{biblatex} version of \sty{url}'s \len{UrlBigBreakPenalty}. The default value is \texttt{100}.
13358
13359 \cntitem{biburlbreakpenalty}
13360
13361 The \sty{biblatex} version of \sty{url}'s \len{UrlBreakPenalty}. The default value is \texttt{200}.
13362
13363 \cntitem{biburlnumpenalty}
13364
13365 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.
13366
13367 \cntitem{biburlucpenalty}
13368
13369 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all uppercase letters.
13370
13371 \cntitem{biburllcpenalty}
13372
13373 Similar to \cnt{biburlnumpenalty}, except that it will add a breakpoint after all lowercase letters.
13374
13375 \lenitem{biburlbigskip}
13376
13377 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}.
13378
13379 \lenitem{biburlnumskip}
13380
13381 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.
13382
13383 \lenitem{biburlucskip}
13384
13385 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
13386
13387 \lenitem{biburllcskip}
13388
13389 Similar to \cnt{biburlnumskip}, except that it will add space after all uppercase letters.
13390
13391 \end{ltxsyntax}
13392
13393 \subsubsection{Auxiliary Commands and Hooks}
13394 \label{aut:fmt:ich}
13395
13396 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.
13397
13398 \begin{ltxsyntax}
13399
13400 \cmditem{mkbibemph}{text}
13401
13402 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}.
13403
13404 \cmditem{mkbibitalic}{text}
13405
13406 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}.
13407
13408 \cmditem{mkbibbold}{text}
13409
13410 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}.
13411
13412 \cmditem{mkbibquote}{text}
13413
13414 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.
13415
13416 \cmditem{mkbibparens}{text}
13417
13418 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.
13419
13420 \cmditem{mkbibbrackets}{text}
13421
13422 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.
13423
13424 \cmditem{bibopenparen}<text>|{\ltxsyntaxlabelfont\cmd{bibcloseparen}}|
13425
13426 Alternative syntax for \cmd{mkbibparens}. This will also work across groups. Note that \cmd{bibopenparen} and \cmd{bibcloseparen} must always be balanced.
13427
13428 \cmditem{bibopenbracket}<text>|{\ltxsyntaxlabelfont\cmd{bibclosebracket}}|
13429
13430 Alternative syntax for \cmd{mkbibbrackets}. This will also work across groups. Note that \cmd{bibopenbracket} and \cmd{bibclosebracket} must always be balanced.
13431
13432 \cmditem{mkbibfootnote}{text}
13433
13434 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.
13435
13436 \cmditem{mkbibfootnotetext}{text}
13437
13438 Similar to \cmd{mkbibfootnote} but uses the \cmd{footnotetext} command.
13439
13440 \cmditem{mkbibendnote}{text}
13441
13442 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.
13443
13444 \cmditem{mkbibendnotetext}{text}
13445
13446 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}.
13447
13448 \cmditem{bibfootnotewrapper}{text}
13449
13450 An inner wrapper which encloses the \prm{text} argument of \cmd{mkbibfootnote} and \cmd{mkbibfootnotetext}. For example, \cmd{mkbibfootnote} eventually boils down to this:
13451
13452 \begin{ltxexample}
13453 \footnote{<<\bibfootnotewrapper{>>text<<}>>}
13454 \end{ltxexample}
13455 %
13456 The wrapper ensures capitalization at the beginning of the note and adds a period at the end. The default definition is:
13457
13458 \begin{ltxexample}
13459 \newcommand{\bibfootnotewrapper}[1]{<<\bibsentence>> #1<<\addperiod>>}
13460 \end{ltxexample}
13461 %
13462 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.
13463
13464 \cmditem{bibendnotewrapper}{text}
13465
13466 Similar in concept to \cmd{bibfootnotewrapper} but related to the \cmd{mkbibendnote} and \cmd{mkbibendnotetext} commands.
13467
13468 \cmditem{mkbibsuperscript}{text}
13469
13470 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.
13471
13472 \cmditem{mkbibmonth}{integer}
13473
13474 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.
13475
13476 \cmditem{mkbibyeardivision}{string}\DeprecatedMark
13477
13478 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.
13479
13480 \cmditem{mkbibseason}{string}\DeprecatedMark
13481
13482 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.
13483
13484 \cmditem{mkyearzeros}{integer}
13485
13486 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}.
13487
13488 \cmditem{mkmonthzeros}{integer}
13489
13490 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}.
13491
13492 \cmditem{mkdayzeros}{integer}
13493
13494 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}.
13495
13496 \cmditem{mktimezeros}{integer}
13497
13498 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}.
13499
13500 \cmditem{forcezerosy}{integer}
13501
13502 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.
13503
13504 \cmditem{forcezerosmdt}{integer}
13505
13506 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.
13507
13508 \cmditem{stripzeros}{integer}
13509
13510 This command strips leading zeros from a number. It is intended for date formatting and ordinals.
13511
13512 \optitem{$<$labelfield$>$width}
13513
13514 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}.
13515
13516 \optitem{labelnumberwidth}
13517
13518 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.
13519
13520 \optitem{labelalphawidth}
13521
13522 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.
13523
13524 \optitem{bibhyperref}
13525
13526 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.
13527
13528 \optitem{bibhyperlink}
13529
13530 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.
13531
13532 \optitem{bibhypertarget}
13533
13534 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.
13535
13536 \optitem{volcitepages}
13537
13538 A special formatting directive which controls the format of the page\slash text portion in the argument of citation commands like \cmd{volcite}.
13539
13540 \optitem{volcitevolume}
13541
13542 A special formatting directive which controls the format of the volume portion in the argument of citation commands like \cmd{volcite}.
13543
13544 \optitem{date}
13545
13546 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.
13547
13548 \optitem{labeldate}
13549
13550 As \texttt{date} but controls the format of \cmd{printlabeldate}.
13551
13552 \optitem{$<$datetype$>$date}
13553
13554 As \texttt{date} but controls the format of \cmd{print$<$datetype$>$date}.
13555
13556 \optitem{time}
13557
13558 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.
13559
13560 \optitem{labeltime}
13561
13562 As \texttt{time} but controls the format of \cmd{printlabeltime}.
13563
13564 \optitem{$<$datetype$>$time}
13565
13566 As \texttt{time} but controls the format of \cmd{print$<$datetype$>$time}.
13567
13568 \end{ltxsyntax}
13569
13570 \subsubsection{Auxiliary Lengths, Counters, and Other Features}
13571 \label{aut:fmt:ilc}
13572
13573 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.
13574
13575 \begin{ltxsyntax}
13576
13577 \lenitem{$<$labelfield$>$width}
13578
13579 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}.
13580
13581 \lenitem{labelnumberwidth}
13582
13583 This length register indicates the width of the widest \bibfield{labelnumber}. Numeric bibliography styles
13584 should incorporate this length in the definition of the bibliography environment.
13585
13586 \lenitem{labelalphawidth}
13587
13588 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.
13589
13590 \cntitem{maxextraalpha}
13591
13592 This counter holds the highest number found in any \bibfield{extraalpha} field.
13593
13594 \cntitem{maxextradate}
13595
13596 This counter holds the highest number found in any \bibfield{extradate} field.
13597
13598 \cntitem{maxextraname}
13599
13600 This counter holds the highest number found in any \bibfield{extraname} field.
13601
13602 \cntitem{maxextratitle}
13603
13604 This counter holds the highest number found in any \bibfield{extratitle} field.
13605
13606 \cntitem{maxextratitleyear}
13607
13608 This counter holds the highest number found in any \bibfield{extratitleyear} field.
13609
13610 \cntitem{refsection}
13611
13612 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}.
13613
13614 \cntitem{refsegment}
13615
13616 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}.
13617
13618 \cntitem{maxnames}
13619
13620 This counter holds the setting of the \opt{maxnames} package option.
13621
13622 \cntitem{minnames}
13623
13624 This counter holds the setting of the \opt{minnames} package option.
13625
13626 \cntitem{maxitems}
13627
13628 This counter holds the setting of the \opt{maxitems} package option.
13629
13630 \cntitem{minitems}
13631
13632 This counter holds the setting of the \opt{minitems} package option.
13633
13634 \cntitem{instcount}
13635
13636 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.
13637
13638 \cntitem{citetotal}
13639
13640 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.
13641
13642 \cntitem{citecount}
13643
13644 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}.
13645
13646 \cntitem{multicitetotal}
13647
13648 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.
13649
13650 \cntitem{multicitecount}
13651
13652 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.
13653
13654 \cntitem{listtotal}
13655
13656 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.
13657
13658 \cntitem{listcount}
13659
13660 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.
13661
13662 \cntitem{liststart}
13663
13664 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.
13665
13666 \cntitem{liststop}
13667
13668 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.
13669
13670 \csitem{currentlang}
13671
13672 The name of the currently active language for \biblatex. Can be used anywhere and
13673 defaults to the main document language. This is automatically switched
13674 inside entries which define \bibfield{langid}, given suitable settings of the
13675 \opt{autolang} and \opt{language} options. Note that this does not track
13676 all document language changes, only the current \biblatex\ setting.
13677
13678 \csitem{currentfield}
13679
13680 The name of the field currently being processed by \cmd{printfield}. This information is only available locally in field formatting directives.
13681
13682 \csitem{currentlist}
13683
13684 The name of the literal list currently being processed by \cmd{printlist}. This information is only available locally in list formatting directives.
13685
13686 \csitem{currentname}
13687
13688 The name of the name list currently being processed by \cmd{printnames}. This information is only available locally in name formatting directives.
13689
13690 \csitem{currentmsform}
13691
13692 Contains the multiscript form of the entry field. This information is only available locally in name formatting directives. It is empty for non-multiscript fields.
13693
13694 \csitem{currentmslang}
13695
13696 Contains the multiscript BCPP47 language tag of the entry field. This information is only available locally in name formatting directives. It is empty for non-multiscript fields.
13697
13698 \csitem{currentmsforms}
13699
13700 An \sty{etoolbox} list of all defined multiscript forms of the current entryfield. This information is only available locally in name formatting directives. It is empty for non-multiscript fields.
13701
13702 \csitem{currentmslangs}
13703
13704 An \sty{etoolbox} list of all defined multiscript BCP47 language tags of the current entryfield. This information is only available locally in name formatting directives. It is empty for non-multiscript fields.
13705
13706 \cmditem{fieldmsforms}{entryfield}
13707
13708 As \cmd{currentmsforms} but for entryfield \prm{entryfield}. It is intended for use in formatting directives and does not hold meaningful data when used anywhere else.
13709
13710 \cmditem{fieldmslangs}{entryfield}
13711
13712 As \cmd{currentmslangs} but for entryfield \prm{entryfield}. It is intended for use in formatting directives and does not hold meaningful data when used anywhere else.
13713
13714 \end{ltxsyntax}
13715
13716 \subsubsection{General Purpose Hooks}
13717 \label{aut:fmt:hok}
13718
13719 \begin{ltxsyntax}
13720
13721 \cmditem{AtBeginRefsection}{code}
13722
13723 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.
13724
13725 \cmditem{AtNextRefsection}{code}
13726
13727 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.
13728
13729 \cmditem{AtBeginBibliography}{code}
13730
13731 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.
13732
13733 \cmditem{AtBeginShorthands}{code}
13734
13735 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.
13736
13737 This is just an alias for:
13738
13739 \begin{ltxexample}
13740 \AtBeginBiblist{shorthand}{code}
13741 \end{ltxexample}
13742
13743 \cmditem{AtBeginBiblist}{biblistname}{code}
13744
13745 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.
13746
13747 \cmditem{AtEveryBibitem}{code}
13748
13749 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.
13750
13751 \cmditem{AtEveryLositem}{code}
13752
13753 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.
13754
13755 This is just an alias for:
13756
13757 \begin{ltxexample}
13758 \AtEveryBiblistitem{shorthand}{code}
13759 \end{ltxexample}
13760
13761 \cmditem{AtEveryBiblistitem}{biblistname}{code}
13762
13763 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.
13764
13765 \cmditem{AtNextBibliography}{code}
13766
13767 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.
13768
13769 \cmditem{AtUsedriver}{code}
13770 \cmditem*{AtUsedriver}*{code}
13771
13772 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.
13773 The default setting is:
13774
13775 \begin{ltxexample}
13776 \AtUsedriver{%
13777 \delimcontext{bib}%
13778 \let\finentry\blx@finentry@usedrv
13779 \let\newblock\relax
13780 \let\abx@macro@bibindex\@empty
13781 \let\abx@macro@pageref\@empty}
13782 \end{ltxexample}
13783
13784 \cmditem{AtEveryCite}{code}
13785
13786 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.
13787
13788 \cmditem{AtEveryCitekey}{code}
13789
13790 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.
13791
13792 \cmditem{AtEveryMultiCite}{code}
13793
13794 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.
13795
13796 \cmditem{AtNextCite}{code}
13797
13798 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.
13799
13800 \cmditem{AtEachCitekey}{code}
13801
13802 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}.
13803
13804 \cmditem{AtNextCitekey}{code}
13805
13806 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.
13807
13808 \cmditem{AtNextMultiCite}{code}
13809
13810 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.
13811
13812 \cmditem{AtVolcite}{code}
13813 \cmditem*{AtVolcite}*{code}
13814
13815 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.
13816 The default setting is:
13817
13818 \begin{ltxexample}
13819 \AtVolcite{%
13820 \DeclareFieldAlias{postnote}{volcitenote}}
13821 \end{ltxexample}
13822
13823 \cmditem{AtDataInput}[entrytype]{code}
13824
13825 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.
13826
13827 \cmditem{UseBibitemHook}
13828
13829 Executes the internal hook corresponding to \cmd{AtEveryBibitem}.
13830
13831 \cmditem{UseUsedriverHook}
13832
13833 Executes the internal hook corresponding to \cmd{AtUsedriver}.
13834
13835 \cmditem{UseEveryCiteHook}
13836
13837 Executes the internal hook corresponding to \cmd{AtEveryCite}.
13838
13839 \cmditem{UseEveryCitekeyHook}
13840
13841 Executes the internal hook corresponding to \cmd{AtEveryCitekey}.
13842
13843 \cmditem{UseEveryMultiCiteHook}
13844
13845 Executes the internal hook corresponding to \cmd{AtMultiEveryCite}.
13846
13847 \cmditem{UseNextCiteHook}
13848
13849 Executes and clears the internal hook corresponding to \cmd{AtNextCite}.
13850
13851 \cmditem{UseNextCitekeyHook}
13852
13853 Executes and clears the internal hook corresponding to \cmd{AtNextCitekey}.
13854
13855 \cmditem{UseNextMultiCiteHook}
13856
13857 Executes and clears the internal hook corresponding to \cmd{AtNextMultiCite}.
13858
13859 \cmditem{UseVolciteHook}
13860
13861 Executes the internal hook corresponding to \cmd{AtVolcite}.
13862
13863 \cmditem{DeferNextCitekeyHook}
13864
13865 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}).
13866
13867 \cmditem{AtEveryEntrykey}{code}{success}{failure}
13868
13869 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.
13870
13871 \end{ltxsyntax}
13872
13873 \subsubsection{File hooks}
13874 \label{aut:fmt:hok:fil}
13875 \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
13876
13877 \begin{ltxsyntax}
13878 \cmditem{blx@filehook@preload@$<$filename with extension$>$}
13879
13880 If \file{$<$filename with extension$>$} is found, this hook is exected before it is loaded.
13881
13882 \cmditem{blx@filehook@postload@$<$filename with extension$>$}
13883
13884 If \file{$<$filename with extension$>$} is found, this hook is exected after it is loaded.
13885
13886 \cmditem{blx@filehook@failure@$<$filename with extension$>$}
13887
13888 This hook is executed if \file{$<$filename with extension$>$} can not be found.
13889 \end{ltxsyntax}
13890
13891 \biblatex generally only loads files once even if they were requested multiple times,
13892 so the hooks will only be executed once.
13893 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.
13894 It is advisable to only append code to avoid overwriting previous hook contents.
13895 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}.
13896
13897 The \file{.lbx} files are special and may have to be loaded several times in some situations.
13898 Their file hooks are
13899
13900 \begin{ltxsyntax}
13901 \cmditem{blx@lbxfilehook@once@preload@$<$filename with extension$>$}
13902
13903 If \file{$<$filename with extension$>$} is found, this hook is exected before it is loaded in a situation where the \file{.lbx} files are loaded only once.
13904
13905 \cmditem{blx@lbxfilehook@once@postload@$<$filename with extension$>$}
13906
13907 If \file{$<$filename with extension$>$} is found, this hook is exected after it is loaded in a situation where the \file{.lbx} files are loaded only once.
13908
13909 \cmditem{blx@lbxfilehook@once@failure@$<$filename with extension$>$}
13910
13911 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.
13912
13913 \cmditem{blx@lbxfilehook@simple@preload@$<$filename with extension$>$}
13914
13915 If \file{$<$filename with extension$>$} is found, this hook is exected before it is loaded in a situation where the \file{.lbx} files may be loaded multiple times.
13916
13917 \cmditem{blx@lbxfilehook@simple@postload@$<$filename with extension$>$}
13918
13919 If \file{$<$filename with extension$>$} is found, this hook is exected after it is loaded in a situation where the \file{.lbx} files may be loaded multiple times.
13920
13921 \cmditem{blx@lbxfilehook@simple@failure@$<$filename with extension$>$}
13922
13923 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.
13924 \end{ltxsyntax}
13925
13926 The following code sets up \sty{beamer} to print the bibliography labels instead of its bibliography icons when \file{numeric.bbx} after is loaded
13927 \begin{ltxexample}
13928 \csappto{blx@filehook@[email protected]}{%
13929 \mode<presentation>{%
13930 \setbeamertemplate{bibliography item}{%
13931 \insertbiblabel}}}
13932 \end{ltxexample}
13933
13934
13935 \subsection{Hints and Caveats}
13936 \label{aut:cav}
13937
13938 This section provides some additional hints concerning the author interface of this package. It also addresses common problems and potential misconceptions.
13939
13940 \subsubsection{Entry Sets}
13941 \label{aut:cav:set}
13942
13943 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:
13944
13945 \begin{ltxexample}
13946 \DeclareBibliographyDriver{set}{%
13947 <<\entryset>>{}{}%
13948 \finentry}
13949 \end{ltxexample}
13950 %
13951 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:
13952
13953 \begin{ltxexample}
13954 \DeclareBibliographyDriver{set}{%
13955 \entryset
13956 {<<\printfield{entrysetcount}>>%
13957 <<\setunit*{\addnbspace}>>}
13958 {}%
13959 \finentry}
13960 \end{ltxexample}
13961 %
13962 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:
13963
13964 \begin{ltxexample}
13965 \printfield{labelnumber}<<\printfield{entrysetcount}>>
13966 \end{ltxexample}
13967 %
13968 Since this field is only defined when processing citations referring to a set member, there is no need to add any additional tests.
13969
13970 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.
13971
13972 \subsubsection{Electronic Publishing Information}
13973 \label{aut:cav:epr}
13974
13975 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:
13976
13977 \begin{ltxexample}
13978 \iffieldundef{eprinttype}
13979 {\printfield{eprint}}
13980 {\printfield[<<eprint:\strfield{eprinttype}>>]{eprint}}
13981 \end{ltxexample}
13982 %
13983 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}:
13984
13985 \begin{ltxexample}
13986 \DeclareFieldFormat{<<eprint>>}{...}
13987 \DeclareFieldFormat{<<eprint:arxiv>>}{...}
13988 \end{ltxexample}
13989 %
13990 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.
13991
13992 \subsubsection{External Abstracts and Annotations}
13993 \label{aut:cav:prf}
13994
13995 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:
13996
13997 \begin{ltxexample}
13998 \newbibmacro*{annotation}{%
13999 \iffieldundef{annotation}
14000 {\printfile[annotation]{<<\bibannotationprefix\thefield{entrykey}.tex>>}}%
14001 {\printfield{annotation}}}
14002 \newcommand*{<<\bibannotationprefix>>}{bibannotation-}
14003
14004 \newbibmacro*{abstract}{%
14005 \iffieldundef{abstract}
14006 {\printfile[abstract]{<<\bibabstractprefix\thefield{entrykey}.tex>>}}%
14007 {\printfield{abstract}}}
14008 \newcommand*{<<\bibabstractprefix>>}{bibabstract-}
14009 \end{ltxexample}
14010 %
14011 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.
14012
14013 \subsubsection[Name Disambiguation]{Name Disambiguation}
14014 \label{aut:cav:amb}
14015
14016 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.
14017
14018 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:
14019
14020 \begin{ltxsyntax}
14021
14022 \cmditem{DeclareUniquenameTemplate}[name]{specification}
14023
14024 Defines the \opt{uniquename} template \prm{name}. The \prm{name} is optional and defaults to \prm{<global>}.
14025
14026 The \prm{specification} is an ordered list of \cmd{namepart} commands which define the nameparts to use in determining the uniquename information.
14027
14028 \cmditem{namepart}[options]{namepart}
14029
14030 \prm{namepart} is one of the datamodel nameparts defined with the \cmd{DeclareDatamodelConstant} command (see \secref{aut:bbx:drv}). The \prm{options} are:
14031
14032 \begin{optionlist*}
14033
14034 \boolitem[false]{use}
14035
14036 Only use the \prm{namepart} in constructing the uniquename information if there is a corresponding option \opt{use<namepart>} and that option is true.
14037
14038 \boolitem[false]{base}
14039
14040 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.
14041
14042 \choitem{disambiguation}{none, init, initorfull, full}
14043
14044 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.
14045
14046 \begin{description}
14047 \item[none]~Do not use the \prm{namepart} to perform any name disambiguation
14048 \item[init]~Use only the initials of the \prm{namepart} to perform name disambiguation
14049 \item[initorfull]~Use initials and if necessary the full \prm{namepart} to perform name disambiguation
14050 \item[full]~Use only the full \prm{namepart} to perform name
14051 disambiguation even if initials would suffice
14052 \end{description}
14053
14054 \end{optionlist*}
14055
14056 \end{ltxsyntax}
14057 %
14058 The default uniquename template is:
14059
14060 \begin{ltxexample}
14061 \DeclareUniquenameTemplate{
14062 \namepart[use=true, base=true]{prefix}
14063 \namepart[base=true]{family}
14064 \namepart{given}
14065 }
14066 \end{ltxexample}
14067 %
14068 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.
14069
14070 \paragraph{Individual Names (\opt{uniquename})}
14071
14072 Let's start off with some \opt{uniquename} examples. Consider the following data:
14073
14074 \begin{lstlisting}{}
14075 John Doe 2008
14076 Edward Doe 2008
14077 John Smith 2008
14078 Jane Smith 2008
14079 \end{lstlisting}
14080 %
14081 Let's assume we're using an author-year style and set \kvopt{uniquename}{false}. In this case, we would get the following citations:
14082
14083 \begin{lstlisting}{}
14084 Doe 2008a
14085 Doe 2008b
14086 Smith 2008a
14087 Smith 2008b
14088 \end{lstlisting}
14089 %
14090 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}:
14091
14092 \begin{lstlisting}{}
14093 J. Doe 2008
14094 E. Doe 2008
14095 Smith 2008a
14096 Smith 2008b
14097 \end{lstlisting}
14098 %
14099 \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:
14100
14101 \begin{lstlisting}{}
14102 J. Doe 2008
14103 E. Doe 2008
14104 John Smith 2008
14105 Jane Smith 2008
14106 \end{lstlisting}
14107 %
14108 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:
14109
14110 \begin{lstlisting}{}
14111 William Jones/Edward Doe/Jane Smith
14112 John Doe
14113 John Smith
14114 \end{lstlisting}
14115 %
14116 and \kvopt{maxnames}{1}, \kvopt{minnames}{1}, \kvopt{uniquename}{init/full}, we would get the following names in citations:
14117
14118 \begin{lstlisting}{}
14119 Jones et al.
14120 Doe
14121 Smith
14122 \end{lstlisting}
14123 %
14124 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}:
14125
14126 \begin{lstlisting}{}
14127 Jones et al.
14128 J. Doe
14129 Smith
14130 \end{lstlisting}
14131 %
14132 \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>:
14133
14134 \begin{lstlisting}{}
14135 Jones et al.
14136 J. Doe
14137 John Smith
14138 \end{lstlisting}
14139 %
14140 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:
14141
14142 \begin{lstlisting}{}
14143 John Doe/William Jones
14144 Edward Doe/William Jones
14145 John Smith/William Edwards
14146 Edward Smith/Allan Johnson
14147 \end{lstlisting}
14148 %
14149 With \kvopt{uniquename}{init/full}, we would get:
14150
14151 \begin{lstlisting}{}
14152 J. Doe and Jones
14153 E. Doe and Jones
14154 J. Smith and Edwards
14155 E. Smith and Johnson
14156 \end{lstlisting}
14157 %
14158 With \kvopt{uniquename}{mininit/minfull}:
14159
14160 \begin{lstlisting}{}
14161 J. Doe and Jones
14162 E. Doe and Jones
14163 Smith and Edwards
14164 Smith and Johnson
14165 \end{lstlisting}
14166 %
14167 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:
14168
14169 \begin{lstlisting}{}
14170 John Doe/William Jones
14171 Edward Doe
14172 \end{lstlisting}
14173 %
14174 With \kvopt{maxnames}{1}, \kvopt{uniquename}{init/full}, we would get:
14175
14176 \begin{lstlisting}{}
14177 J. Doe et al.
14178 E. Doe
14179 \end{lstlisting}
14180 %
14181 With \kvopt{uniquename}{mininit/minfull}:
14182
14183 \begin{lstlisting}{}
14184 Doe et al.
14185 Doe
14186 \end{lstlisting}
14187 %
14188 Because the lists differ in the <et al.>, the names are not disambiguated.
14189
14190 \paragraph{Lists of Names (\opt{uniquelist})}
14191
14192 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:
14193
14194 \begin{lstlisting}{}
14195 Doe/Jones/Smith 2005
14196 Smith/Johnson/Doe 2005
14197 Smith/Doe/Edwards 2005
14198 Smith/Doe/Jones 2005
14199 \end{lstlisting}
14200 %
14201 Many author-year styles truncate long author/editor lists in citations. For example, with \kvopt{maxnames}{1} we would get:
14202
14203 \begin{lstlisting}{}
14204 Doe et al. 2005
14205 Smith et al. 2005a
14206 Smith et al. 2005b
14207 Smith et al. 2005c
14208 \end{lstlisting}
14209 %
14210 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:
14211
14212 \begin{lstlisting}{}
14213 Doe et al. 2005
14214 Smith, Johnson et al. 2005
14215 Smith, Doe and Edwards 2005
14216 Smith, Doe and Jones 2005
14217 \end{lstlisting}
14218 %
14219 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:
14220
14221 \begin{lstlisting}{}
14222 John Doe/Allan Johnson/William Jones 2009
14223 John Doe/Edward Johnson/William Jones 2009
14224 John Doe/Jane Smith/William Jones 2009
14225 John Doe/John Smith/William Jones 2009
14226 John Doe/John Edwards/William Jones 2009
14227 John Doe/John Edwards/Jack Johnson 2009
14228 \end{lstlisting}
14229 %
14230 With \kvopt{maxnames}{1}:
14231
14232 \begin{lstlisting}{}
14233 Doe et al. 2009a
14234 Doe et al. 2009b
14235 Doe et al. 2009c
14236 Doe et al. 2009d
14237 Doe et al. 2009e
14238 Doe et al. 2009f
14239 \end{lstlisting}
14240 %
14241 With \kvopt{maxnames}{1}, \kvopt{uniquename}{full}, \kvopt{uniquelist}{true}:
14242
14243 \begin{lstlisting}{}
14244 Doe, A. Johnson et al. 2009
14245 Doe, E. Johnson et al. 2009
14246 Doe, Jane Smith et al. 2009
14247 Doe, John Smith et al. 2009
14248 Doe, Edwards and Jones 2009
14249 Doe, Edwards and Johnson 2009
14250 \end{lstlisting}
14251 %
14252 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:
14253
14254 \begin{lstlisting}{}
14255 Smith/Jones 2000
14256 Smith/Johnson 2001
14257 \end{lstlisting}
14258 %
14259 With \kvopt{maxnames}{1} and \kvopt{uniquelist}{true}, we would get:
14260
14261 \begin{lstlisting}{}
14262 Smith and Jones 2000
14263 Smith and Johnson 2001
14264 \end{lstlisting}
14265 %
14266 With \kvopt{uniquelist}{minyear}:
14267
14268 \begin{lstlisting}{}
14269 Smith et al. 2000
14270 Smith et al. 2001
14271 \end{lstlisting}
14272 %
14273 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:
14274
14275 \begin{lstlisting}{}
14276 Vogel/Beast/Garble/Rook 2000
14277 Vogel/Beast/Tremble/Bite 2000
14278 Vogel/Beast/Acid/Squeeze 2001
14279 \end{lstlisting}
14280 %
14281 With \kvopt{maxnames}{3}, \kvopt{minnames}{1}, \kvopt{uniquelist}{true}, we would get:
14282
14283 \begin{lstlisting}{}
14284 Vogel, Beast, Garble et al. 2000
14285 Vogel, Beast, Tremble et al. 2000
14286 Vogel, Beast, Acid et al. 2001
14287 \end{lstlisting}
14288 %
14289 With \kvopt{uniquelist}{minyear}:
14290
14291 \begin{lstlisting}{}
14292 Vogel, Beast, Garble et al. 2000
14293 Vogel, Beast, Tremble et al. 2000
14294 Vogel et al. 2001
14295 \end{lstlisting}
14296 %
14297 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.
14298
14299 \subsubsection{Trackers in Floats and \acr{TOC}/\acr{LOT}/\acr{LOF}}
14300 \label{aut:cav:flt}
14301
14302 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.
14303
14304 \subsubsection{Mixing Programming Interfaces}
14305 \label{aut:cav:mif}
14306
14307 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:
14308
14309 \begin{ltxexample}
14310 \DeclareCiteCommand{\fullcite}
14311 {...}
14312 {<<\usedriver>>{...}{<<\thefield{entrytype}>>}}
14313 {...}
14314 {...}
14315 \end{ltxexample}
14316 %
14317 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:
14318
14319 \begin{ltxexample}
14320 \ProvidesFile{example.cbx}[2007/06/09 v1.0 biblatex citation style]
14321
14322 \DeclareCiteCommand{\cite}
14323 {...}
14324 {<<\usedriver>>{...}{<<cite:\thefield{entrytype}>>}}
14325 {...}
14326 {...}
14327
14328 \DeclareBibliographyDriver{<<cite:article>>}{...}
14329 \DeclareBibliographyDriver{<<cite:book>>}{...}
14330 \DeclareBibliographyDriver{<<cite:inbook>>}{...}
14331 ...
14332 \end{ltxexample}
14333 %
14334 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:
14335
14336 \begin{enumerate}
14337 \renewcommand*\labelenumi{[\theenumi]}
14338 \setlength{\leftskip}{0.5em}
14339 \item Audrey Author: \emph{Title of article}. In: [\textln{2}], pp.~134--165.
14340 \item Edward Editor, ed.: \emph{Title of collection}. Publisher: Location, 1995.
14341 \end{enumerate}
14342
14343 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:
14344
14345 \begin{ltxexample}
14346 \ProvidesFile{example.bbx}[2007/06/09 v1.0 biblatex bibliography style]
14347
14348 \DeclareCiteCommand{<<\bbx@xref>>}
14349 {}
14350 {...}% code for cross-references
14351 {}
14352 {}
14353
14354 \DeclareBibliographyDriver{incollection}{%
14355 ...
14356 \iffieldundef{xref}
14357 {...}% code if no cross-reference
14358 {<<\bbx@xref>>{<<\thefield{xref}>>}}%
14359 ...
14360 }
14361 \end{ltxexample}
14362 %
14363 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}:
14364
14365 \begin{ltxexample}
14366 \ProvidesFile{example.bbx}[2007/06/09 v1.0 biblatex bibliography style]
14367
14368 \DeclareBibliographyDriver{incollection}{%
14369 ...
14370 \iffieldundef{xref}
14371 {...}% code if no cross-reference
14372 {<<\entrydata>>{<<\thefield{xref}>>}{%
14373 % code for cross-references
14374 ...
14375 }}%
14376 ...
14377 }
14378 \end{ltxexample}
14379
14380 \subsubsection{Using the Punctuation Tracker}
14381 \label{aut:cav:pct}
14382
14383 \paragraph{The Basics}
14384
14385 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:
14386
14387 \begin{ltxexample}
14388 \printfield{title}%
14389 \newunit
14390 \printfield{edition}%
14391 \newunit
14392 \printfield{note}%
14393 \end{ltxexample}
14394 %
14395 If there is no \bibfield{edition} field, this piece of code will not print:
14396
14397 \begin{lstlisting}[style=highlight]{}
14398 Title. . Note
14399 \end{lstlisting}
14400 %
14401 but rather:
14402
14403 \begin{lstlisting}[style=highlight]{}
14404 Title. Note
14405 \end{lstlisting}
14406 %
14407 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:
14408
14409 \begin{itemize}
14410 \item Has a new unit/block been requested at all?\par
14411 = Is there any preceding \cmd{newunit} or \cmd{newblock} command?
14412 \item Did the preceding commands print anything?\par
14413 = Is there any preceding \cmd{printfield} or similar command?\par
14414 = Did this command actually print anything?\par
14415 \item Are we about to print anything now?\par
14416 = Is the field/list to be processed now defined?
14417 \end{itemize}
14418 %
14419 Block and unit punctuation will only be inserted if \emph{all} of these conditions apply. Let's reconsider the above example:
14420
14421 \begin{ltxexample}
14422 \printfield{title}%
14423 \newunit
14424 \printfield{edition}%
14425 \newunit
14426 \printfield{note}%
14427 \end{ltxexample}
14428 %
14429 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.
14430
14431 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):
14432
14433 \begin{ltxexample}
14434 \iffieldundef{title}%
14435 {\iffieldundef{edition}
14436 {\printfield{note}}
14437 {\printfield{edition}%
14438 \iffieldundef{note}%
14439 {}
14440 {. \printfield{note}}}}
14441 {\printfield{title}%
14442 \iffieldundef{edition}
14443 {}
14444 {. \printfield{edition}}%
14445 \iffieldundef{note}
14446 {}
14447 {. \printfield{note}}}%
14448 \end{ltxexample}
14449
14450 \paragraph{Common Mistakes}
14451
14452 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:
14453
14454 \begin{ltxexample}
14455 \printfield{title}%
14456 \newunit
14457 <<(>>\printfield{series} \printfield{number}<<)>>%
14458 \end{ltxexample}
14459 %
14460 This code will yield the following result:
14461
14462 \begin{lstlisting}[style=highlight]{}
14463 Title <<(.>> Series Number<<)>>
14464 \end{lstlisting}
14465 %
14466 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.
14467
14468 \begin{ltxexample}
14469 \printfield{title}%
14470 \newunit
14471 <<\printtext{(}>>%
14472 \printfield{series}%
14473 <<\setunit*{\addspace}>>%
14474 \printfield{number}%
14475 <<\printtext{)}>>%
14476 \end{ltxexample}
14477 %
14478 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:
14479
14480 \begin{ltxexample}
14481 \DeclareFieldFormat{<<parens>>}{<<\mkbibparens{#1}>>}
14482 \end{ltxexample}
14483 %
14484 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:
14485
14486 \begin{ltxexample}
14487 <<\printtext[parens]{>>%
14488 \printfield{series}%
14489 \setunit*{\addspace}%
14490 \printfield{number}%
14491 <<}>>%
14492 \end{ltxexample}
14493 %
14494 We still need to handle cases in which there is no series information at all, so let's improve the code some more:
14495
14496 \begin{ltxexample}
14497 <<\iffieldundef{series}>>
14498 {}
14499 {\printtext[parens]{%
14500 \printfield{series}%
14501 \setunit*{\addspace}%
14502 \printfield{number}}}%
14503 \end{ltxexample}
14504 %
14505 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.
14506
14507 \paragraph{Advanced Usage}
14508
14509 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:
14510
14511 \begin{ltxexample}
14512 ...text<<. Location: Publisher, Year.>> Text...
14513 ...text<<. Location: Publisher.>> Text...
14514 ...text<<. Location: Year.>> Text...
14515 ...text<<. Publisher, Year.>> Text...
14516 ...text<<. Location.>> Text...
14517 ...text<<. Publisher.>> Text...
14518 ...text<<. Year.>> Text...
14519 \end{ltxexample}
14520 %
14521 This problem can be solved with a rather convoluted set of \cmd{iflistundef} and \cmd{iffieldundef} tests which check for all possible field combinations:
14522
14523 \begin{ltxexample}
14524 \iflistundef{location}
14525 {\iflistundef{publisher}
14526 {\printfield{year}}
14527 {\printlist{publisher}%
14528 \iffieldundef{year}
14529 {}
14530 {, \printfield{year}}}}
14531 {\printlist{location}%
14532 \iflistundef{publisher}%
14533 {\iffieldundef{year}
14534 {}
14535 {: \printfield{year}}}
14536 {: \printlist{publisher}%
14537 \iffieldundef{year}
14538 {}
14539 {, \printfield{year}}}}%
14540 \end{ltxexample}
14541 %
14542 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:
14543
14544 \begin{ltxexample}
14545 \newunit
14546 \printlist{location}%
14547 \setunit*{\addcolon\space}%
14548 \printlist{publisher}%
14549 \setunit*{\addcomma\space}%
14550 \printfield{year}%
14551 \newunit
14552 \end{ltxexample}
14553 %
14554 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):
14555
14556 \begin{ltxexample}
14557 ...text. Location: Publisher, Year. Text...
14558 ...text. Location: Publisher. Text...
14559 ...text<<. Location, Year.>> Text...
14560 ...text. Publisher, Year. Text...
14561 ...text. Location. Text...
14562 ...text. Publisher. Text...
14563 ...text. Year. Text...
14564 \end{ltxexample}
14565 %
14566 This can be handled by the following code:
14567
14568 \begin{ltxexample}
14569 \newunit
14570 \printlist{location}%
14571 \iflistundef{publisher}
14572 {\setunit*{\addcomma\space}}
14573 {\setunit*{\addcolon\space}}%
14574 \printlist{publisher}%
14575 \setunit*{\addcomma\space}%
14576 \printfield{year}%
14577 \newunit
14578 \end{ltxexample}
14579 %
14580 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.
14581
14582 \subsubsection{Custom Localization Modules}
14583 \label{aut:cav:lng}
14584
14585 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:
14586
14587 \begin{ltxexample}
14588 \DeclareLanguageMapping{french}{french-humanities}
14589 \end{ltxexample}
14590 %
14591 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:
14592
14593 \begin{ltxexample}
14594 \DeclareLanguageMapping{american}{american-mla}
14595 \end{ltxexample}
14596 %
14597 Use \cmd{DeclareLanguageMappingSuffix} (see \secref{aut:lng:cmd}) to define such a mapping for all languages.
14598
14599 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:
14600
14601 \begin{ltxexample}
14602 \ProvidesFile{american-mla.lbx}[2008/10/01 v1.0 biblatex localization]
14603 <<\InheritBibliographyExtras>>{<<american>>}
14604 \DeclareBibliographyStrings{%
14605 <<inherit>> = {<<american>>},
14606 bibliography = {{Works Cited}{Works Cited}},
14607 references = {{Works Cited}{Works Cited}},
14608 }
14609 \endinput
14610 \end{ltxexample}
14611 %
14612 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}.
14613
14614 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.
14615
14616 \subsubsection{Grouping}
14617 \label{aut:cav:grp}
14618
14619 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:
14620
14621 \begin{itemize}
14622
14623 \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.
14624
14625 \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.
14626
14627 \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.
14628
14629 \item In addition to the grouping imposed by all backend commands defined with \cmd{DeclareCiteCommand}, all <autocite> and <multicite> definitions imply an additional group.
14630
14631 \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.
14632
14633 \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.
14634
14635 \end{itemize}
14636
14637 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.
14638
14639 \subsubsection{Namespaces}
14640 \label{aut:cav:nam}
14641
14642 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:
14643
14644 \begin{marglist}
14645
14646 \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.
14647
14648 \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.
14649
14650 \item[\texttt{bbx}] This is the recommended prefix for internal macros defined in bibliography styles.
14651
14652 \item[\texttt{cbx}] This is the recommended prefix for internal macros defined in citation styles.
14653
14654 \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}.
14655
14656 \end{marglist}
14657
14658 \appendix
14659 \section*{Appendix}
14660 \addcontentsline{toc}{section}{Appendix}
14661
14662 \section{Default Driver Source Mappings}
14663 \label{apx:maps}
14664
14665 These are the driver default source mappings.
14666
14667 \subsection{\opt{bibtex}}\label{apx:maps:bibtex}
14668 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.
14669
14670 \begin{ltxexample}
14671 \DeclareDriverSourcemap[datatype=bibtex]{
14672 \map{
14673 \step[typesource=conference, typetarget=inproceedings]
14674 \step[typesource=electronic, typetarget=online]
14675 \step[typesource=www, typetarget=online]
14676 }
14677 \map{
14678 \step[typesource=mastersthesis, typetarget=thesis, final]
14679 \step[fieldset=type, fieldvalue=mathesis]
14680 }
14681 \map{
14682 \step[typesource=phdthesis, typetarget=thesis, final]
14683 \step[fieldset=type, fieldvalue=phdthesis]
14684 }
14685 \map{
14686 \step[typesource=techreport, typetarget=report, final]
14687 \step[fieldset=type, fieldvalue=techreport]
14688 }
14689 \map{
14690 \step[fieldsource=address, fieldtarget=location]
14691 \step[fieldsource=school, fieldtarget=institution]
14692 \step[fieldsource=annote, fieldtarget=annotation]
14693 \step[fieldsource=archiveprefix, fieldtarget=eprinttype]
14694 \step[fieldsource=journal, fieldtarget=journaltitle]
14695 \step[fieldsource=primaryclass, fieldtarget=eprintclass]
14696 \step[fieldsource=key, fieldtarget=sortkey]
14697 \step[fieldsource=pdf, fieldtarget=file]
14698 }
14699 }
14700 \end{ltxexample}
14701
14702 \section{Default Inheritance Setup}
14703 \label{apx:ref}
14704
14705 The following table shows the \biber cross-referencing rules defined by default.
14706 Please refer to \secref{bib:cav:ref, aut:ctm:ref} for explanation.
14707
14708 \begingroup
14709 \tablesetup
14710 \def\sep{\textrm{, }}
14711 \def\skip{\textrm{--}}
14712 \def\note#1{\textrm{#1}}
14713 \begin{longtable}[l]{%
14714 @{}V{0.2\textwidth}%
14715 @{}V{0.4\textwidth}%
14716 @{}V{0.3\textwidth}%
14717 @{}V{0.3\textwidth}@{}}
14718 \toprule
14719 \multicolumn{2}{@{}H}{Types} & \multicolumn{2}{@{}H}{Fields} \\
14720 \cmidrule(r){1-2}\cmidrule{3-4}
14721 \multicolumn{1}{@{}H}{Source} & \multicolumn{1}{@{}H}{Target} &
14722 \multicolumn{1}{@{}H}{Source} & \multicolumn{1}{@{}H}{Target} \\
14723 \cmidrule(r){1-1}\cmidrule(r){2-2}\cmidrule(r){3-3}\cmidrule{4-4}
14724 \endhead
14725 \bottomrule
14726 \endfoot
14727 {\normalsize*} & {\normalsize*} &
14728 ids\par
14729 crossref\par
14730 xref\par
14731 entryset\par
14732 entrysubtype\par
14733 execute\par
14734 label\par
14735 options\par
14736 presort\par
14737 related\par
14738 relatedoptions\par
14739 relatedstring\par
14740 relatedtype\par
14741 shorthand\par
14742 shorthandintro\par
14743 sortkey &
14744 \skip\par \skip\par \skip\par \skip\par
14745 \skip\par \skip\par \skip\par \skip\par
14746 \skip\par \skip\par \skip\par \skip\par
14747 \skip\par \skip\par \skip\par \skip \\\addlinespace
14748 mvbook\sep book &
14749 inbook\sep bookinbook\sep suppbook &
14750 author\par author &
14751 author\par bookauthor \\\addlinespace
14752 mvbook &
14753 book\sep inbook\sep bookinbook\sep suppbook &
14754 title\par subtitle\par titleaddon\par
14755 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14756 maintitle\par mainsubtitle\par maintitleaddon\par
14757 \skip\par \skip\par \skip\par \skip \\\addlinespace
14758 mvcollection\sep mvreference &
14759 collection\sep reference\sep incollection\sep inreference\sep suppcollection &
14760 title\par subtitle\par titleaddon\par
14761 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14762 maintitle\par mainsubtitle\par maintitleaddon\par
14763 \skip\par \skip\par \skip\par \skip \\\addlinespace
14764 mvproceedings &
14765 proceedings\sep inproceedings &
14766 title\par subtitle\par titleaddon\par
14767 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14768 maintitle\par mainsubtitle\par maintitleaddon\par
14769 \skip\par \skip\par \skip\par \skip \\\addlinespace
14770 book &
14771 inbook\sep bookinbook\sep suppbook &
14772 title\par subtitle\par titleaddon\par
14773 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14774 booktitle\par booksubtitle\par booktitleaddon\par
14775 \skip\par \skip\par \skip\par \skip \\\addlinespace
14776 collection\sep reference &
14777 incollection\sep inreference\sep suppcollection &
14778 title\par subtitle\par titleaddon\par
14779 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14780 booktitle\par booksubtitle\par booktitleaddon\par
14781 \skip\par \skip\par \skip\par \skip \\\addlinespace
14782 proceedings &
14783 inproceedings &
14784 title\par subtitle\par titleaddon\par
14785 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14786 booktitle\par booksubtitle\par booktitleaddon\par
14787 \skip\par \skip\par \skip\par \skip \\\addlinespace
14788 periodical &
14789 article\sep suppperiodical &
14790 title\par subtitle\par
14791 shorttitle\par sorttitle\par indextitle\par indexsorttitle &
14792 journaltitle\par journalsubtitle\par
14793 \skip\par \skip\par \skip\par \skip \\\addlinespace
14794 {\normalsize*} & {\normalsize*} & {\normalsize*} & {\normalsize*}\\
14795 \end{longtable}
14796 \endgroup
14797
14798 \section{Default Sorting Templates}
14799 \label{apx:srt}
14800
14801 \subsection[Alphabetic 1]{Alphabetic Templates 1}
14802 \label{apx:srt:a1}
14803
14804 The following table shows the standard alphabetic sorting templates defined by default. Please refer to \secref{use:srt} for explanation.
14805
14806 \begingroup
14807 \sorttablesetup
14808 \begin{longtable}[l]{@{}%
14809 V{0.100\textwidth}@{}%
14810 L{0.100\textwidth}@{}%
14811 L{0.175\textwidth}@{}%
14812 L{0.175\textwidth}@{}%
14813 L{0.150\textwidth}@{}%
14814 L{0.300\textwidth}@{}}
14815 \toprule
14816 \multicolumn{1}{@{}H}{Option} & \multicolumn{5}{@{}H}{Template name} \\
14817 \cmidrule(r){1-1}\cmidrule{2-6}
14818 \endhead
14819 \bottomrule
14820 \endfoot
14821 nty & presort\alt mm &
14822 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14823 \new sorttitle\alt title &
14824 \new sortyear\alt year &
14825 \new volume\\
14826 nyt & presort\alt mm &
14827 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14828 \new sortyear\alt year &
14829 \new sorttitle\alt title &
14830 \new volume\\
14831 nyvt & presort\alt mm &
14832 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14833 \new sortyear\alt year &
14834 \new volume &
14835 \new sorttitle\alt title \\
14836 \textrm{all} & presort\alt mm &
14837 \new sortkey \\
14838 \end{longtable}
14839 \endgroup
14840
14841 \subsection[Alphabetic 2]{Alphabetic Templates 2}
14842 \label{apx:srt:a2}
14843
14844 The following table shows the alphabetic sorting templates for \texttt{alphabetic} styles defined by default. Please refer to \secref{use:srt} for explanation.
14845
14846 \begingroup
14847 \sorttablesetup
14848 \begin{longtable}[l]{@{}%
14849 V{0.100\textwidth}@{}%
14850 L{0.100\textwidth}@{}%
14851 L{0.175\textwidth}@{}%
14852 L{0.175\textwidth}@{}%
14853 L{0.150\textwidth}@{}%
14854 L{0.150\textwidth}@{}%
14855 L{0.150\textwidth}@{}}
14856 \toprule
14857 \multicolumn{1}{@{}H}{Option} & \multicolumn{6}{@{}H}{Template name} \\
14858 \cmidrule(r){1-1}\cmidrule{2-7}
14859 \endhead
14860 \bottomrule
14861 \endfoot
14862 anyt & presort\alt mm &
14863 \new labelalpha &
14864 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14865 \new sortyear\alt year &
14866 \new sorttitle\alt title &
14867 \new volume\\
14868 anyvt & presort\alt mm &
14869 \new labelalpha &
14870 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14871 \new sortyear\alt year &
14872 \new volume &
14873 \new sorttitle\alt title \\
14874 \textrm{all} & presort\alt mm &
14875 \new labelalpha &
14876 \new sortkey \\
14877 \end{longtable}
14878 \endgroup
14879
14880 \subsection[Chronological]{Chronological Templates}
14881 \label{apx:srt:chr}
14882
14883 The following table shows the chronological sorting templates defined by default. Please refer to \secref{use:srt} for explanation.
14884
14885 \begingroup
14886 \sorttablesetup
14887 \begin{longtable}[l]{@{}%
14888 V{0.100\textwidth}@{}%
14889 L{0.100\textwidth}@{}%
14890 L{0.225\textwidth}@{}%
14891 L{0.175\textwidth}@{}%
14892 L{0.400\textwidth}@{}}
14893 \toprule
14894 \multicolumn{1}{@{}H}{Option} & \multicolumn{4}{@{}H}{Template name} \\
14895 \cmidrule(r){1-1}\cmidrule{2-5}
14896 \endhead
14897 \bottomrule
14898 \endfoot
14899 ynt & presort\alt mm &
14900 \new sortyear\alt year \alt 9999 &
14901 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14902 \new sorttitle\alt title \\
14903 ydnt & presort\alt mm &
14904 \new sortyear\note{ (desc.)}\alt year\note{ (desc.)} \alt 9999 &
14905 \new sortname\alt author\alt editor\alt translator\alt sorttitle\alt title &
14906 \new sorttitle\alt title \\
14907 \textrm{all} & presort\alt mm &
14908 \new sortkey \\
14909 \end{longtable}
14910 \endgroup
14911
14912 \section{\biblatexml}
14913 \label{apx:biblatexml}
14914 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.
14915
14916 \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.
14917
14918 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.
14919
14920 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.
14921
14922 \subsection{Header}
14923 \biblatexml\ files begin with the standard XML header:
14924
14925 \begin{lstlisting}[language=xml]
14926 <?xml version="1.0" encoding="UTF-8"?>
14927 \end{lstlisting}
14928 %
14929 The schema model, type and schema type namespace are given in the following line:
14930
14931 \begin{lstlisting}[language=xml]
14932 <?xml-model href="biblatexml.rng"
14933 type="application/xml"
14934 schematypens="http://relaxng.org/ns/structure/1.0"?>
14935 \end{lstlisting}
14936 %
14937 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.
14938
14939 \subsection{Body}
14940
14941 The body of a \biblatexml\ data source looks like:
14942
14943 \begin{lstlisting}[language=xml]
14944 <bltx:entries
14945 xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
14946
14947 <bltx:entry id="" entrytype="">
14948 </bltx:entry>
14949 .
14950 .
14951 .
14952 <bltx:entry id="" entrytype="">
14953 </bltx:entry>
14954
14955 </bltx:entries>
14956 \end{lstlisting}
14957 %
14958 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\
14959
14960 \begin{lstlisting}[language=xml]
14961 <?xml version="1.0" encoding="UTF-8"?>
14962 <?xml-model href="biblatexml.rng"
14963 type="application/xml"
14964 schematypens="http://relaxng.org/ns/structure/1.0"?>
14965 <bltx:entries
14966 xmlns:bltx="http://biblatex-biber.sourceforge.net/biblatexml">
14967 <bltx:entry id="key1" entrytype="book">
14968 </bltx:entry>
14969 </bltx:entries>
14970 \end{lstlisting}
14971 %
14972 Corresponds to the \bibtex\ \file{.bib}
14973
14974 \begin{lstlisting}[style=bibtex]{}
14975 @book{key1,
14976 }
14977 \end{lstlisting}
14978 %
14979 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
14980
14981 \begin{lstlisting}[style=bibtex]{}
14982 @book{key1,
14983 TITLE = {...},
14984 ISSUE = {...},
14985 NOTE = {...}
14986 }
14987 \end{lstlisting}
14988 %
14989 would be, in \biblatexml
14990
14991 \begin{lstlisting}[language=xml]
14992 <bltx:entry id="key1" entrytype="book">
14993 <bltx:title>...</bltx:title>
14994 <bltx:issue>...</bltx:issue>
14995 <bltx:note>...</bltx:note>
14996 </bltx:entry>
14997 \end{lstlisting}
14998 %
14999 The following exceptions to this simple mapping are to be noted
15000
15001 \subsubsection{Key aliases}
15002 Citation key aliases are specified like this:
15003
15004 \begin{lstlisting}[language=xml]
15005 <bltx:ids>
15006 <bltx:key>alias1</bltx:key>
15007 <bltx:key>alias2</bltx:key>
15008 </bltx:ids>
15009 \end{lstlisting}
15010 %
15011 this corresponds to the \bibtex\ format
15012
15013 \begin{lstlisting}[style=bibtex]{}
15014 @book{key1,
15015 IDS = {alias1,alias2}
15016 }
15017 \end{lstlisting}
15018
15019 \subsubsection{Names}
15020
15021 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
15022
15023 \begin{lstlisting}[language=xml]
15024 <bltx:names type="author" morenames="1" useprefix="true">
15025 <bltx:name gender="sm">
15026 <bltx:namepart type="given">
15027 <bltx:namepart initial="J">John</bltx:namepart>
15028 <bltx:namepart initial="A">Arthur</bltx:namepart>
15029 </bltx:namepart>
15030 <bltx:namepart type="family">Smith</bltx:namepart>
15031 <bltx:namepart type="prefix" initial="v">von</bltx:namepart>
15032 </bltx:name>
15033 <bltx:name useprefix="false">
15034 <bltx:namepart type="given">
15035 <bltx:namepart>Raymond</bltx:namepart>
15036 </bltx:namepart>
15037 <bltx:namepart type="family">Brown</bltx:namepart>
15038 </bltx:name>
15039 </bltx:names>
15040 \end{lstlisting}
15041 %
15042 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:
15043
15044 \begin{itemize}
15045 \item The optional \bibfield{morenames} attribute performs the same task as the \bibtex\ datasource format <and others> string at the end of a name.
15046 \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.
15047 \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.
15048 \item A name list is composed of one or more \bibfield{name} elements.
15049 \item Each name is composed of name parts of a \bibfield{type} defined by the data model <nameparts> constant.
15050 \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.
15051 \item Name parts may have name parts so that compound names can be handled.
15052 \end{itemize}
15053 %
15054 Ignoring the \biblatexml-only features, a corresponding \bibtex\ format datasource would look like this:
15055
15056 \begin{lstlisting}[style=bibtex]{}
15057 AUTHOR = {von Smith, John Arthur and Brown, Raymond and others}
15058 \end{lstlisting}
15059
15060 \subsubsection{Lists}
15061 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:
15062
15063 \begin{lstlisting}[language=xml]
15064 <bltx:publisher>London</bltx:publisher>
15065 <bltx:location>
15066 <bltx:item>London</bltx:item>
15067 <bltx:item>Moscow</bltx:item>
15068 </bltx:location>
15069 \end{lstlisting}
15070
15071 \subsubsection{Ranges}
15072 Datasource range fields (see \secref{bib:fld:typ}) are represented like this:
15073
15074 \begin{lstlisting}[language=xml]
15075 <bltx:pages>
15076 <bltx:item>
15077 <bltx:start>1</bltx:start>
15078 <bltx:end>10</bltx:end>
15079 </bltx:item>
15080 <bltx:item>
15081 <bltx:start>30</bltx:start>
15082 <bltx:end>34</bltx:end>
15083 </bltx:item>
15084 </bltx:pages>
15085 \end{lstlisting}
15086 %
15087 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.
15088
15089 \subsubsection{Dates}
15090 Datasource date fields (see \secref{bib:fld:typ}) can be represented in two ways, depending on whether they constitute a date range:
15091
15092 \begin{lstlisting}[language=xml]
15093 <bltx:date>1985-04-02</bltx:date>
15094 <bltx:date type="event">
15095 <bltx:start>1990-05-16</bltx:start>
15096 <bltx:end>1990-05-17</bltx:end>
15097 </bltx:date>
15098 \end{lstlisting}
15099 %
15100 The \bibfield{type} attribute on a date element corresponds to a particular type of date defined in the data model.
15101
15102 \subsubsection{Related Entries}
15103
15104 Related entries are specified as follows:
15105 \begin{lstlisting}[language=xml]
15106 <bltx:related>
15107 <bltx:item type="reprint"
15108 ids="rel1,rel2"
15109 string="Somestring"
15110 options="skipbiblist"/>
15111 </bltx:related>
15112 \end{lstlisting}
15113 %
15114 This corresponds to the \bibtex\ format:
15115
15116 \begin{lstlisting}[style=bibtex]{}
15117 @book{key1,
15118 RELATED = {rel2,rel2},
15119 RELATEDTYPE = {reprint},
15120 RELATEDSTRING = {Somestring},
15121 RELATEDOPTIONS = {skipbiblist}
15122 }
15123 \end{lstlisting}
15124 %
15125 As per \secref{aut:ctm:rel}, the \bibfield{string} and \bibfield{options} attributes are optional.
15126
15127 \section{Option Scope}
15128 \label{apx:opt}
15129
15130 The following table provides an overview of the scope of various options.
15131
15132 Per-entry, per-namelist and per-name options are set in the datasource, for
15133 example, in a \file{.bib}file. See the \biber documentation for details
15134 but here are a few examples. Per-entry:
15135
15136 \begin{lstlisting}[style=bibtex]{}
15137 @BOOK{key,
15138 OPTIONS = {sortingnamekeytemplatename=template1},
15139 }
15140 \end{lstlisting}
15141 %
15142 Per-namelist and per-name options require either the \biblatexml datasource
15143 format or the extend \bibtex name format supported by \biber (see the
15144 \biber documentation for details). Per-namelist:
15145
15146 \begin{lstlisting}[style=bibtex]{}
15147 @BOOK{key,
15148 AUTHOR = {sortingnamekeytemplatename=template1 and Arthur Smith and Bill Brown},
15149 }
15150 \end{lstlisting}
15151 %
15152 Per-name:
15153
15154 \begin{lstlisting}[style=bibtex]{}
15155 @BOOK{key,
15156 AUTHOR = {sortingnamekeytemplatename=template1, family=Smith, given=Arthur and Bill Brown},
15157 }
15158 \end{lstlisting}
15159
15160 \begingroup
15161 \tablesetup
15162 \let\+\tickmarkyes
15163 \let\_\tickmarkno
15164 \begin{longtable}[l]{@{}%
15165 V{0.3\textwidth}@{}%
15166 C{0.1\textwidth}@{}%
15167 C{0.1\textwidth}@{}%
15168 C{0.1\textwidth}@{}%
15169 C{0.1\textwidth}@{}%
15170 C{0.1\textwidth}@{}%
15171 C{0.1\textwidth}@{}%
15172 C{0.1\textwidth}@{}}
15173 \toprule
15174 \multicolumn{1}{@{}H}{Option} &
15175 \multicolumn{7}{@{}H}{Scope} \\
15176 \cmidrule{2-8}
15177 & \multicolumn{1}{@{}H}{Load-time} &
15178 \multicolumn{1}{@{}H}{Global} &
15179 \multicolumn{1}{@{}H}{Per-refcontext} &
15180 \multicolumn{1}{@{}H}{Per-type} &
15181 \multicolumn{1}{@{}H}{Per-entry} &
15182 \multicolumn{1}{@{}H}{Per-namelist} &
15183 \multicolumn{1}{@{}H}{Per-name} \\
15184 \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}
15185 \endhead
15186 \bottomrule
15187 \endfoot
15188 abbreviate &\+&\+&\_&\+&\+&\_&\_\\
15189 alldates &\+&\+&\_&\_&\_&\_&\_\\
15190 alldatesusetime &\+&\+&\_&\_&\_&\_&\_\\
15191 alltimes &\+&\+&\_&\_&\_&\_&\_\\
15192 arxiv &\+&\+&\_&\_&\_&\_&\_\\
15193 autocite &\+&\+&\_&\_&\_&\_&\_\\
15194 autopunct &\+&\+&\_&\_&\_&\_&\_\\
15195 autolang &\+&\+&\_&\_&\_&\_&\_\\
15196 autofieldlang &\+&\+&\_&\_&\_&\_&\_\\
15197 autofieldlangstrings &\+&\+&\_&\_&\_&\_&\_\\
15198 backend &\+&\_&\_&\_&\_&\_&\_\\
15199 backref &\+&\+&\_&\_&\_&\_&\_\\
15200 backrefsetstyle &\+&\+&\_&\_&\_&\_&\_\\
15201 backrefstyle &\+&\+&\_&\_&\_&\_&\_\\
15202 bibencoding &\+&\+&\_&\_&\_&\_&\_\\
15203 bibstyle &\+&\_&\_&\_&\_&\_&\_\\
15204 bibtexcaseprotection &\+&\+&\_&\+&\+&\_&\_\\
15205 bibwarn &\+&\+&\_&\_&\_&\_&\_\\
15206 block &\+&\+&\_&\_&\_&\_&\_\\
15207 casechanger &\+&\_&\_&\_&\_&\_&\_\\
15208 citecounter &\+&\+&\_&\_&\_&\_&\_\\
15209 citereset &\+&\+&\_&\_&\_&\_&\_\\
15210 citestyle &\+&\_&\_&\_&\_&\_&\_\\
15211 citetracker &\+&\+&\_&\+&\+&\_&\_\\
15212 clearlang &\+&\+&\_&\+&\+&\_&\_\\
15213 datamodel &\+&\_&\_&\_&\_&\_&\_\\
15214 dataonly &\+&\+&\_&\+&\+&\_&\_\\
15215 date &\+&\+&\_&\_&\_&\_&\_\\
15216 labeldate &\+&\+&\_&\_&\_&\_&\_\\
15217 $<$datetype$>$date &\+&\+&\_&\_&\_&\_&\_\\
15218 dateabbrev &\+&\+&\_&\+&\+&\_&\_\\
15219 datecirca &\+&\+&\_&\_&\_&\_&\_\\
15220 dateera &\+&\+&\_&\_&\_&\_&\_\\
15221 dateerauto &\+&\+&\_&\_&\_&\_&\_\\
15222 dateuncertain &\+&\+&\_&\_&\_&\_&\_\\
15223 datezeros &\+&\+&\_&\_&\_&\_&\_\\
15224 defernumbers &\+&\+&\_&\_&\_&\_&\_\\
15225 doi &\+&\+&\_&\+&\+&\_&\_\\ % style
15226 eprint &\+&\+&\_&\+&\+&\_&\_\\ % style
15227 $<$namepart$>$inits &\+&\+&\_&\+&\+&\+&\+\\
15228 gregorianstart &\+&\+&\_&\_&\_&\_&\_\\
15229 hyperref &\+&\+&\_&\_&\_&\_&\_\\
15230 ibidtracker &\+&\+&\_&\+&\+&\_&\_\\
15231 idemtracker &\+&\+&\_&\+&\+&\_&\_\\
15232 indexing &\+&\+&\_&\+&\+&\_&\_\\
15233 isbn &\+&\+&\_&\+&\+&\_&\_\\ % style
15234 julian &\+&\+&\_&\_&\_&\_&\_\\
15235 labelalpha &\+&\+&\_&\+&\+&\_&\_\\
15236 labelalphanametemplatename &\_&\_&\+&\_&\+&\+&\+\\
15237 labelnamefield &\_&\_&\_&\_&\+&\_&\_\\
15238 labelnumber &\+&\+&\_&\+&\+&\_&\_\\
15239 labeltitle &\+&\+&\_&\+&\+&\_&\_\\
15240 labeltitlefield &\_&\_&\_&\_&\+&\_&\_\\
15241 labeltitleyear &\+&\+&\_&\+&\+&\_&\_\\
15242 labeldateparts &\+&\+&\_&\+&\+&\_&\_\\
15243 labeltime &\+&\+&\_&\_&\_&\_&\_\\
15244 labeldateusetime &\+&\+&\_&\_&\_&\_&\_\\
15245 labelprefix &\_&\_&\+&\_&\_&\_&\_\\
15246 $<$datetype$>$time &\+&\+&\_&\_&\_&\_&\_\\
15247 $<$datetype$>$dateusetime &\+&\+&\_&\_&\_&\_&\_\\
15248 language &\+&\+&\_&\_&\_&\_&\_\\
15249 loadfiles &\+&\+&\_&\_&\_&\_&\_\\
15250 loccittracker &\+&\+&\_&\+&\+&\_&\_\\
15251 maxalphanames &\+&\+&\_&\+&\+&\_&\_\\
15252 maxbibnames &\+&\+&\_&\+&\+&\_&\_\\
15253 maxcitenames &\+&\+&\_&\+&\+&\_&\_\\
15254 maxsortnames &\+&\+&\_&\+&\+&\_&\_\\
15255 maxitems &\+&\+&\_&\+&\+&\_&\_\\
15256 maxnames &\+&\+&\_&\+&\+&\_&\_\\
15257 maxparens &\+&\+&\_&\_&\_&\_&\_\\
15258 mcite &\+&\_&\_&\_&\_&\_&\_\\
15259 minalphanames &\+&\+&\_&\+&\+&\_&\_\\
15260 minbibnames &\+&\+&\_&\+&\+&\_&\_\\
15261 mincitenames &\+&\+&\_&\+&\+&\_&\_\\
15262 minsortnames &\+&\+&\_&\+&\+&\_&\_\\
15263 mincrossrefs &\+&\+&\_&\_&\_&\_&\_\\
15264 minxrefs &\+&\+&\_&\_&\_&\_&\_\\
15265 minitems &\+&\+&\_&\+&\+&\_&\_\\
15266 minnames &\+&\+&\_&\+&\+&\_&\_\\
15267 nametemplates &\_&\_&\+&\_&\+&\+&\+\\
15268 natbib &\+&\_&\_&\_&\_&\_&\_\\
15269 nohashothers &\+&\+&\_&\+&\+&\+&\_\\
15270 nosortothers &\+&\+&\_&\+&\+&\+&\_\\
15271 noinherit &\_&\_&\_&\_&\+&\_&\_\\
15272 notetype &\+&\+&\_&\_&\_&\_&\_\\
15273 opcittracker &\+&\+&\_&\+&\+&\_&\_\\
15274 openbib &\+&\+&\_&\_&\_&\_&\_\\
15275 pagetracker &\+&\+&\_&\_&\_&\_&\_\\
15276 parentracker &\+&\+&\_&\_&\_&\_&\_\\
15277 punctfont &\+&\+&\_&\_&\_&\_&\_\\
15278 refsection &\+&\+&\_&\_&\_&\_&\_\\
15279 refsegment &\+&\+&\_&\_&\_&\_&\_\\
15280 related &\+&\+&\_&\+&\+&\_&\_\\ % style
15281 safeinputenc &\+&\+&\_&\_&\_&\_&\_\\
15282 seconds &\+&\+&\_&\_&\_&\_&\_\\
15283 singletitle &\+&\+&\_&\+&\+&\_&\_\\
15284 skipbib &\+&\+&\_&\+&\+&\_&\_\\
15285 skipbiblist &\+&\+&\_&\+&\+&\_&\_\\
15286 skiplab &\+&\+&\_&\+&\+&\_&\_\\
15287 sortcase &\+&\+&\_&\_&\_&\_&\_\\
15288 sortcites &\+&\+&\_&\_&\_&\_&\_\\
15289 sorting &\+&\+&\_&\_&\_&\_&\_\\
15290 sortingnamekeytemplatename &\_&\_&\+&\_&\+&\+&\+\\
15291
15292 sortlocale &\+&\+&\_&\_&\_&\_&\_\\
15293 sortlos &\+&\+&\_&\_&\_&\_&\_\\
15294 sortupper &\+&\+&\_&\_&\_&\_&\_\\
15295 style &\+&\_&\_&\_&\_&\_&\_\\
15296 terseinits &\+&\+&\_&\+&\+&\+&\+\\
15297 texencoding &\+&\+&\_&\_&\_&\_&\_\\
15298 timezeros &\+&\+&\_&\_&\_&\_&\_\\
15299 timezones &\+&\+&\_&\_&\_&\_&\_\\
15300 uniquelist &\+&\+&\_&\+&\+&\+&\_\\
15301 uniquename &\+&\+&\_&\+&\+&\+&\+\\
15302 uniquenametemplatename &\_&\_&\+&\_&\+&\+&\+\\
15303 uniquetitle &\+&\+&\_&\+&\+&\_&\_\\
15304 uniquebaretitle &\+&\+&\_&\+&\+&\_&\_\\
15305 uniquework &\+&\+&\_&\+&\+&\_&\_\\
15306 uniqueprimaryauthor &\+&\+&\_&\+&\+&\_&\_\\
15307 url &\+&\+&\_&\+&\+&\_&\_\\ % style
15308 useprefix &\+&\+&\_&\+&\+&\+&\+\\
15309 use$<$name$>$ &\+&\+&\_&\+&\+&\_&\_\\
15310 \end{longtable}
15311 \endgroup
15312
15313 \section{Default BCP47 to babel/polyglossia language identifiers}
15314 \label{apx:bcp}
15315
15316 \begin{tabular}{ll}
15317 af & afrikaans\\
15318 af-za & afrikaans\\
15319 am & ethiopia\\
15320 am-et & amharic\\
15321 ar & arabic\\
15322 ar-001 & arabic\\
15323 ast & asturian\\
15324 ast-es & asturian\\
15325 bg & bulgarian\\
15326 bg-bg & bulgarian\\
15327 bn & bengali\\
15328 bn-bd & bengali\\
15329 bo & tibetan\\
15330 bo-cn & tibetan\\
15331 br & breton\\
15332 br-fr & breton\\
15333 ca & catalan\\
15334 ca-ad & catalan\\
15335 ca-es & catalan\\
15336 cop & coptic\\
15337 cs & czech\\
15338 cs-cz & czech\\
15339 cy & welsh\\
15340 cy-gb & welsh\\
15341 da & danish\\
15342 da-dk & danish\\
15343 de-1996 & ngerman\\
15344 de-at & austrian\\
15345 de-at-1996 & naustrian\\
15346 de-ch & swissgerman\\
15347 de-ch-1996 & nswissgerman\\
15348 de & german\\
15349 de-de & german\\
15350 de-de-1996 & ngerman\\
15351 dsb & lowersorbian\\
15352 dsb-de & lowersorbian\\
15353 dv & divehi\\
15354 dv-mv & divehi\\
15355 el & greek\\
15356 el-cy & ibygreek\\
15357 el-gr & greek\\
15358 en & english\\
15359 en-au & australian\\
15360 en-ca & canadian\\
15361 en-uk & ukenglish\\
15362 en-gb & british\\
15363 en-nz & newzealand\\
15364 en-us & usenglish\\
15365 en-us & american\\
15366 en-us & english\\
15367 eo & esperanto\\
15368 eo-001 & esperanto\\
15369 es & spanish\\
15370 es-es & spanish\\
15371 et & estonian\\
15372 et-ee & estonian\\
15373 eu & basque\\
15374 eu-es & basque\\
15375 fa & farsi\\
15376 fa-ir & farsi\\
15377 fi & finnish\\
15378 fi-fi & finnish\\
15379 fr & french\\
15380 fr-ca & acadian\\
15381 fr-ca & canadien\\
15382 fr-fr & french\\
15383 fur & friulan\\
15384 fur-it & friulan\\
15385 ga & irish\\
15386 ga-ie & irish\\
15387 gd & scottish\\
15388 gd-gb & scottish\\
15389 gl & galician\\
15390 gl-es & galician\\
15391 ha & nko\\
15392 ha-ng & nko\\
15393 he & hebrew\\
15394 he-il & hebrew\\
15395 hi & hindi\\
15396 hi-in & hindi\\
15397 hr & croatian\\
15398 hr-hr & croatian\\
15399 hsb & uppersorbian\\
15400 hsb-de & uppersorbian\\
15401 hu & magyar\\
15402 hu-hu & magyar\\
15403 hy & armenian\\
15404 hy-am & armenian\\
15405 ia & interlingua\\
15406 ia-fr & interlingua\\
15407 id & indonesia\\
15408 is & icelandic\\
15409 is-is & icelandic\\
15410 it & italian\\
15411 it-it & italian\\
15412 ja & japanese\\
15413 ja-jp & japanese\\
15414 kn & kannada\\
15415 kn-in & kannada\\
15416 lo & lao\\
15417 lo-la & lao\\
15418 lt & lithuanian\\
15419 lt-lt & lithuanian\\
15420 lv & latvian\\
15421 lv-lv & latvian\\
15422 ml & malayalam\\
15423 ml-in & malayalam\\
15424 mn & mongolian\\
15425 mn-cyrl & mongolian\\
15426 mr & marathi\\
15427 mr-in & marathi\\
15428 nb & norsk\\
15429 nb-no & norsk\\
15430 nl & dutch\\
15431 nl-nl & dutch\\
15432 nn & nynorsk\\
15433 nn-no & nynorsk\\
15434 oc & occitan\\
15435 oc-fr & occitan\\
15436 pl & polish\\
15437 pl-pl & polish\\
15438 pms & piedmontese\\
15439 pms-it & piedmontese\\
15440 pny & pinyin\\
15441 pt & portuguese\\
15442 pt-br & brazilian\\
15443 pt-pt & portuguese\\
15444 rm & romansh\\
15445 rm-ch & romansh\\
15446 ro & romanian\\
15447 ro-ro & romanian\\
15448 ru & russian\\
15449 ru-ru & russian\\
15450 ru-grek & greek\\
15451 ru-latn & latin\\
15452 sa & sanskrit\\
15453 sa-in & sanskrit\\
15454 se & samin\\
15455 se-no & samin\\
15456 sk & slovak\\
15457 sk-sk & slovak\\
15458 sl & slovenian\\
15459 sl-si & slovenian\\
15460 sq & albanian\\
15461 sq-al & albanian\\
15462 sr & serbian\\
15463 sr-cyrl & serbian\\
15464 sr-latn & latin\\
15465 sv & swedish\\
15466 sv-se & swedish\\
15467 syc & syriac\\
15468 ta & tamil\\
15469 ta-in & tamil\\
15470 te & telugu\\
15471 te-in & telugu\\
15472 th & thai\\
15473 th-th & thai\\
15474 tk & turkmen\\
15475 tk-tm & turkmen\\
15476 tr & turkish\\
15477 tr-tr & turkish\\
15478 uk & ukrainian\\
15479 uk-ua & ukrainian\\
15480 ur & urdu\\
15481 ur-in & urdu\\
15482 vi & vietnamese\\
15483 vi-vn & vietnamese\\
15484 \end{tabular}
15485
15486 \section{Revision History}
15487 \label{apx:log}
15488
15489 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.
15490
15491 \begin{changelog}
15492 \begin{release}{4.0}{2022-}
15493 \item Multiscript support\see{use:multiscript}
15494 \end{release}
15495 \begin{release}{3.19}{2022}
15496 \begin{release}{3.19}{2023-03-05}
15497 \item Added \cmd{AtNextRefsection}\see{aut:fmt:hok}
15498 \item Added \cmd{DeclareExtradateContext} option\see{aut:ctm:fld}
15499 \item Modified warning for using bibtex backend
15500 \item Enhanced \bibfield{extradate} tracking to fallback on \bibfield{labeltitle} when there is no author
15501 \end{release}
15502 \begin{release}{3.18b}{2022-07-12}
15503 \item Reenable \cmd{MakeUppercase}/\cmd{MakeLowercase} <patches>
15504 based on \cmd{CaseSwitch}
15505 \end{release}
15506 \begin{release}{3.18a}{2022-07-02}
15507 \item Disable \cmd{MakeUppercase}/\cmd{MakeLowercase} patches as emergency
15508 fix for \latex 2022-06-01-PL4 compatibility.
15509 \end{release}
15510 \begin{release}{3.18}{2022-06-22}
15511 \item Added sorting option \cmd{intciteorder}\see{aut:ctm:srt}
15512 \item Added global option \opt{pluralothers}\see{use:opt:pre:gen}
15513 \item Added \cmd{localrefcontext}\see{use:bib:context}
15514 \item Added \cmd{visibility} option to \cmd{DeclareSortingNamekeyTemplate}\see{aut:ctm:srt}
15515 \item Added \cmd{GenRefcontextData}\see{use:bib:context}
15516 \item Added \cmd{AtBeginRefsection}\see{aut:fmt:hok}
15517 \end{release}
15518 \begin{release}{3.17}{2022-01-25}
15519 \item Changed behaviour of index-less granular XDATA references\see{use:use:xdat}
15520 \item Added \cmd{DeclareNonamestring} \see{aut:ctm:nonamestring}
15521 \item Added new \cmd{citecount} sort option and
15522 associated default sorting scheme\see{aut:ctm:srt} and \see{use:opt:pre:gen}
15523 \item Added new sourcemap verbs \texttt{matches} and \texttt{matchesi}\see{aut:ctm:map}
15524 \item Deprecated season fields and macros in favour of generalised year
15525 divisions\see{aut:bbx:fld:dat}
15526 \item Added \cmd{textouterlang}\see{aut:str}
15527 \item Added \cmd{UndeclareDelimcontextAlias}\see{use:fmt:csd}
15528 \item Added \cmd{DeclareBibstringSet}, \cmd{DeclareBibstringSetFormat} etc.\see{aut:str}
15529 \item Added Marathi localisation (\textdevanagari{निरंजन})
15530 \item Added Romanian localisation (Patrick Danilevici)
15531 \item Added some support for calculating with non-\acr{US-ASCII} numerals\see{aut:aux:tst}
15532 \item Removed list support for \prm{name} argument of \cmd{DeclareDelimFormat}\see{use:fmt:csd}
15533 \end{release}
15534 \begin{release}{3.16}{2020-12-31}
15535 \item Added named refcontext support to \cmd{assignrefcontext*}\see{use:bib:context}
15536 \item Fixed infinite loop with \bibfield{volcitepages} field format
15537 \item Added Extended Name Format documentation\see{use:enf}
15538 \item Added \opt{label} option to \cmd{printbibliography}\see{use:bib:bib}
15539 \item Deprecate \cmd{mainlang} in favour of \cmd{textmainlang}\see{aut:str}
15540 \item Added Basque localisation (Ander Zarketa-Astigarraga)
15541 \end{release}
15542 \begin{release}{3.15a}{2020-08-23}
15543 \item Fixed bug with long arguments in \cmd{DeclareFieldFormat} and friends
15544 \end{release}
15545 \begin{release}{3.15}{2020-08-16}
15546 \item Added \opt{starnocited} option to sourcemaps\see{aut:ctm:map}
15547 \item Added the \opt{glob} option to \cmd{addbibresource}\see{use:bib:res}
15548 \item Added \bibfield{eid} to more entry types\see{bib:typ:blx}
15549 \item Added \cmd{bibeidpunct}\see{use:fmt:fmt}
15550 \item Added \bibfield{issuetitleaddon} and \bibfield{journaltitleaddon}\see{bib:fld:dat}
15551 \item \texttt{numeric-comp} compresses \opt{subentry} set references now\see{use:opt:pre:bbx}
15552 \item Added \opt{subentrycomp} to \texttt{numeric-comp} style\see{use:opt:pre:bbx}
15553 \item Added \cmd{multiciterangedelim}, \cmd{multicitesubentrydelim},
15554 \cmd{multicitesubentryrangedelim}, \cmd{superciterangedelim},
15555 \cmd{supercitesubentrydelim}, \cmd{supercitesubentryrangedelim}%
15556 \see{use:fmt:fmt}
15557 \item Implemented \opt{expl3} case changing functions\see{aut:aux:msc}
15558 \item Added \opt{casechanger} option\see{use:opt:ldt}
15559 \item Added \opt{bibtexcaseprotection} option\see{use:opt:pre:gen}
15560 \item Added \cmd{mautocite} and \cmd{Mautocite}\see{use:cit:mct}
15561 \item Added \opt{trackfloats} and \opt{backreffloats}\see{use:opt:pre:gen}
15562 \item Added \opt{block} option to \cmd{printbibliography} and friends\see{use:bib:bib}
15563 \item Added \cmd{NumsCheckSetup} and \cmd{PagesCheckSetup}\see{aut:aux:msc}
15564 \item Added \cmd{AtEveryEntrykey}\see{aut:fmt:hok}
15565 \item Added \cmd{ifdatesequal} and \cmd{ifdaterangesequal}\see{aut:aux:tst}
15566 \item Clarified \cmd{ifuniqueprimaryauthor} semantics\see{aut:aux:tst}
15567 \item Added \cmd{bibncpstring}, \cmd{bibncplstring} and \cmd{bibncpsstring}\see{aut:str}
15568 \item Added Lithuanian localisation (Valdemaras Klumbys)
15569 \item Added Serbian localisation (Andrej Radović)
15570 \item Added Turkish localisation (Abdulkerim Gok)
15571 \item Added file hooks\see{aut:fmt:hok:fil}
15572 \item Deprecated \cmd{ifkomabibtotoc} and \cmd{ifkomabibtotocnumbered}\see{use:cav:scr}
15573 \end{release}
15574 \begin{release}{3.14}{2019-12-01}
15575 \item Added new mapping verbs for citation sources\see{aut:ctm:map}
15576 \item Added documentation for new \biber granular \bibtype{xdata} functionality\see{use:use:xdat}
15577 \item Enhanced \sty{polyglossia} support
15578 \end{release}
15579 \begin{release}{3.13a}{2019-08-31}
15580 \item Bugfix release
15581 \end{release}
15582 \begin{release}{3.13}{2019-08-17}
15583 \item Added new \bibtype{dataset} entry type\see{bib:typ:blx}
15584 \item Promoted \bibtype{software} to regular entry type\see{bib:typ:blx}
15585 \item Added \bibfield{entrykey} alias for entry keys in labels\see{aut:ctm:lab}
15586 \item Added \opt{appendstrict} sourcemapping option\see{aut:ctm:map}
15587 \item Added \opt{nohashothers} and \opt{nosortothers}\see{use:opt:pre:int}
15588 \item Enhanced \cmd{addbibresource} with globbing\see{use:bib:res}
15589 \item Added \cmd{DeclareBiblatexOption}\see{aut:bbx:bbx}
15590 \item Expanded scope possibilities for several options\see{apx:opt}
15591 \item Added \cmd{ifvolcite} test\see{aut:aux:tst}
15592 \item Added special fields \bibfield{volcitevolume} and \bibfield{volcitepages}%
15593 \see{aut:cbx:fld}
15594 \item Added \cmd{AtVolcite} hook\see{aut:fmt:hok}
15595 \item Added \cmd{pnfmt} \see{use:cit:msc}
15596 \item Added \cmd{mkbibcompletename} and \cmd{mkbibcompletename<formatorder>}\see{use:fmt:fmt}
15597 \item Made \cmd{postnotedelim} and friends context sensitive\see{use:fmt:fmt}
15598 \item Added \cmd{multipostnotedelim} and \cmd{multiprenotedelim}\see{use:fmt:fmt}
15599 \item Added \cmd{thefirstlistitem} and friends\see{aut:aux:dat}
15600 \item Added \prm{itempostpro} argument to \cmd{mkcomprange}, \cmd{mknormrange} and \cmd{mkfirstpage}\see{aut:aux:msc}
15601 \item Added \len{biburlbigskip} and friends\see{use:fmt:len}
15602 \item Added \cnt{biburlbigbreakpenalty} and \cnt{biburlbreakpenalty} and friends\see{use:fmt:len}
15603 \item Added \cmd{DeclarePrintbibliographyDefaults}\see{use:bib:bib}
15604 \item Added \bibfield{doi} to \bibtype{online}\see{bib:typ:blx}
15605 \end{release}
15606
15607 \begin{release}{3.12}{2018-10-30}
15608 \item Added literal and named annotation functionality\see{use:annote}
15609 \item Added \cmd{ifnocite}\see{aut:aux:tst}
15610 \item Added case-insensitive versions of matching operators\see{aut:ctm:map}
15611 \item Added \bibfield{langid}s optional argument to \cmd{DeclareSortTranslit}\see{aut:ctm:srt}
15612 \item Added \opt{noroman} option\see{use:opt:pre:int}
15613 \item Changed \bibfield{sortyear} to an integer field\see{bib:fld:spc}
15614 \item Added \bibfield{extraname}\see{aut:bbx:fld:lab}
15615 \item Added \opt{bibencoding} option to \cmd{addbibresource}\see{use:bib:res}
15616 \item Changed type of \bibfield{number} from integer to literal \see{bib:fld:dat}
15617 \item Removed \opt{noerroretextools} option\see{int:pre:inc}
15618 \item Added \opt{maxsortnames} and \opt{minsortnames}\see{use:opt:pre:gen}
15619 \item Added \cmd{DeprecateFieldFormatWithReplacement} and friends\see{aut:bib:fmt}
15620 \item Added list and name wrappers\see{aut:bib:fmt}
15621 \item Added \cs{ifdateyearsequal}\see{aut:aux:tst}
15622 \item Added <and higher> sectioning values for \opt{citereset}, \opt{refsection} and \opt{refsegment} options\see{use:opt:pre:gen}
15623 \item Added Hungarian localisation\see{use:loc:hun}
15624 \item Added \cmd{DeclareCitePunctuationPosition}\see{aut:cbx:cbx}
15625 \end{release}
15626
15627 \begin{release}{3.11}{2018-02-20}
15628 \item Added \opt{entrynocite} option to sourcemapping\see{aut:ctm:map}
15629 \item Added \opt{driver} and \opt{biblistfilter} options to \cmd{printbiblist}\see{use:bib:biblist}
15630 \item Added \cmd{mknormrange}\see{aut:aux:msc}
15631 \item Added \cmd{ifdateannotation}\see{use:annote}
15632 \item Extended \cmd{iffieldannotation} and friends\see{use:annote}
15633 \item Changed \cmd{DeclareSourcemap} so that it can be used multiple times\see{aut:ctm:map}
15634 \item Added Latvian localisation (Rihards Skuja)
15635 \item Added \opt{locallabelwidth} option\see{use:opt:pre:gen}
15636 \end{release}
15637
15638 \begin{release}{3.10}{2017-12-19}
15639 \item Changed \opt{edtf} to \opt{iso}\see{use:opt:pre:gen}
15640 \item Added \opt{noerroretextools} option\see{int:pre:inc}
15641 \end{release}
15642
15643 \begin{release}{3.9}{2017-11-21}
15644 \item Added \cmd{iffieldplusstringbibstring}\see{aut:aux:tst}
15645 \item Fixed \cmd{mkpagetotal}\see{aut:aux:msc}
15646 \end{release}
15647
15648 \begin{release}{3.8}{2017-11-04}
15649 \item Added \kvopt{hyperref}{manual} option\see{use:opt:pre:gen}
15650 \item Added field \bibfield{extradatescope}\see{aut:bbx:fld:lab}
15651 \item Added \cmd{DeclareExtradate}\see{aut:ctm:fld}
15652 \item Added \cmd{DeprecateFieldWithReplacement}, \cmd{DeprecateListWithReplacement} and \cmd{DeprecateNameWithReplacement}\see{aut:bib:dat}
15653 \item Added \cmd{letbibmacro}\see{aut:aux:msc}
15654 \item Renamed \opt{extrayear} to \opt{extradate}\see{aut:bbx:fld:lab}
15655 \item Added \opt{sortsets} global option\see{use:opt:pre:gen}
15656 \item Added \cmd{iflabelalphanametemplatename} and \cmd{uniquenametemplatename}\see{aut:aux:tst}
15657 \item Renamed \cmd{ifsortingnamescheme} to \cmd{ifsortingnamekeytemplatename}\see{aut:aux:tst}
15658 \item Renamed \opt{sortingnamekeyscheme} to \opt{sortingnamekeytemplate}\see{use:bib:context}
15659 \item Renamed \cmd{DeclareSortingNamekeyScheme} to \cmd{DeclareSortingNamekeyTemplate}\see{aut:ctm:srt}
15660 \item Renamed \cmd{DeclareSortingScheme} to \cmd{DeclareSortingTemplate}\see{aut:ctm:srt}
15661 \item Changes to \cmd{DeclareUniquenameTemplate} and \cmd{DeclareLabelalphaNameTemplate} scopes\see{aut:cav:amb} and \see{aut:ctm:lab}
15662 \item Added new \opt{disambiguation} option to \cmd{DeclareUniquenameTemplate}\see{aut:cav:amb}
15663 \item Added new user-facing versions of some entry-querying commands\see{use:eq}
15664 \item Changed \bibfield{origlanguage} to a list in line with \bibfield{language}\see{bib:fld:dat}
15665 \item Deprecated \bibfield{childentrykey} and \bibfield{childentrytype}\see{aut:bbx:fld:gen}
15666 \item Added \bibfield{bibnamehash} and name list specific variants\see{aut:bbx:fld:gen}
15667 \item Added ALA-LC Russian romanisation transliteration support\see{aut:ctm:srt}
15668 \item Added \bibfield{urlraw}\see{aut:bbx:fld:gen}
15669 \item Added \cmd{AtUsedriver}\see{aut:fmt:hok}
15670 \item Added Bulgarian localisation (Kaloyan Ganev)
15671 \item \bibfield{sortyear} is now a literal, not an integer\see{bib:fld:spc}
15672 \item Added \cmd{DeclareLanguageMappingSuffix}\see{aut:lng:cmd}
15673 \item Changed default for \cmd{DeclarePrefChars}\see{aut:pct:cfg}
15674 \item Added \cmd{authortypedelim}, \cmd{editortypedelim} and \cmd{translatortypedelim}\see{use:fmt:fmt}
15675 \item Added \cmd{DeclareDelimAlias}\see{use:fmt:csd}
15676 \item Added \opt{slovenian} as alias for \opt{slovene} due to Polyglossia
15677 name for the language\see{bib:fld:spc}
15678 \item Added Ukrainian localisation (Sergiy M. Ponomarenko)
15679 \end{release}
15680
15681 \begin{release}{3.7}{2016-12-08}
15682 \item Corrected default for \cmd{bibdateeraprefix}\see{aut:fmt:lng}
15683 \item Added \cmd{DeclareSortInclusion}\see{aut:ctm:srt}
15684 \item Added \cmd{relateddelim$<$relatedtype$>$}\see{use:fmt:fmt}
15685 \end{release}
15686
15687 \begin{release}{3.6}{2016-09-15}
15688 \item Corrected some documentation and fixed a bug with labeldate
15689 localisation strings.
15690 \end{release}
15691
15692 \begin{release}{3.5}{2016-09-10}
15693 \item Added \cmd{ifuniquebaretitle} test\see{aut:aux:tst}
15694 \item Documented \cmd{labelnamesource} and \cmd{labeltitlesource}\see{aut:bbx:fld:gen}
15695 \item Added \cmd{bibdaterangesep}\see{use:fmt:lng}
15696 \item Added \opt{refsection} option to \cmd{DeclareSourcemap}\see{aut:ctm:map}
15697 \item Added \opt{suppress} option to inheritance specifications\see{aut:ctm:ref}
15698 \item Added \cmd{ifuniquework}\see{aut:aux:tst}
15699 \item Changed \cmd{DeclareStyleSourcemap} so that it can be used multiple times\see{aut:ctm:map}
15700 \item Added \cmd{forcezerosy} and \cmd{forcezerosmdt}\see{aut:fmt:ich}
15701 \item Changed \cmd{mkdatezeros} to \cmd{mkyearzeros}, \cmd{mkmonthszeros}
15702 and \cmd{mkdayzeros}\see{aut:fmt:ich}
15703 \item Added \bibfield{namehash} and \bibfield{fullhash} for all name list fields\see{aut:bbx:fld:gen}
15704 \item Generalised \opt{giveninits} option to all nameparts\see{use:opt:pre:int}
15705 \item Added \opt{inits} option to \cmd{DeclareSortingNamekeyScheme}\see{aut:ctm:srt}
15706 \item Removed option \opt{sortgiveninits}. Use the option \opt{inits} to \cmd{DeclareSortingNamekeyScheme} instead
15707 \item Added \cmd{DeclareLabelalphaNameTemplate}\see{aut:ctm:lab}
15708 \item Added full \acr{EDTF} Levels 0 and 1 compliance for parsing and printing times\see{bib:use:dat}
15709 \item Changed dates to be fully \acr{EDTF} Levels 0 and 1 compliant. Associated tests and localisation strings\see{bib:use:dat}
15710 \item Added \opt{timezeros}\see{use:opt:pre:gen}
15711 \item Added \opt{mktimezeros}\see{aut:fmt:ich}
15712 \item Changed \opt{iso8601} to \opt{edtf}\see{use:opt:pre:gen}
15713 \item Added \cmd{DeclareUniquenameTemplate}\see{aut:cav:amb}
15714 \item Removed experimental RIS support
15715 \item \opt{sortnamekeyscheme} and \opt{useprefix} can be now be set per-namelist and per-name for
15716 \bibtex datasources\see{aut:ctm:srt}
15717 \item Added \cmd{DeclareDelimcontextAlias}\see{use:fmt:csd}
15718 \item Added Estonian localisation (Benson Muite)
15719 \item Reference contexts may now be named\see{use:bib:context}
15720 \item Added \opt{notfield} step in Sourcemaps\see{aut:ctm:map}
15721 \end{release}
15722
15723 \begin{release}{3.4}{2016-05-10}
15724 \item Added \cmd{ifcrossrefsource} and \cmd{ifxrefsource}\see{aut:aux:tst}
15725 \item Added data annotation feature\see{use:annote}
15726 \item Added package option \opt{minxrefs}\see{use:opt:pre:gen}
15727 \item Added \cmd{ifuniqueprimaryauthor} and associated global option\see{aut:aux:tst}
15728 \item Added \cmd{DeprecateField}, \cmd{DeprecateList} and \cmd{DeprecateName}\see{aut:bib:dat}
15729 \item Added \cmd{ifcaselang}\see{aut:aux:tst}
15730 \item Added \cmd{DeclareSortTranslit}\see{aut:ctm:srt}
15731 \item Added \opt{uniquetitle} test\see{aut:aux:tst}
15732 \item Added \cmd{namelabeldelim}\see{use:fmt:fmt}
15733 \item New starred variants of the \cmd{assignrefcontext*} macros\see{use:bib:context}
15734 \item New context-sensitive delimiter interface\see{use:fmt:csd}
15735 \item Moved \opt{prefixnumbers} option to \cmd{newrefcontext} and renamed to \opt{labelprefix}\see{use:bib:context}
15736 \item Added \cmd{DeclareDatafieldSet}\see{aut:ctm:dsets}
15737 \end{release}
15738
15739 \begin{release}{3.3}{2016-03-01}
15740 \item New macros for auto-assignment of refcontexts\see{use:bib:context}
15741 \item Schema documentation for \biblatexml\see{apx:biblatexml}
15742 \item Sourcemapping documentation and examples for \biblatexml\see{aut:ctm:map}
15743 \item Changes for name formats to generalise available name parts\see{aut:bib:fmt}
15744 \item \opt{useprefix} can now be specified per-namelist and per-name in \biblatexml datasources
15745 \item New sourcemapping options for creating new entries dynamically and looping over map steps\see{aut:ctm:map}
15746 \item Added \opt{noalphaothers} and enhanced name range selection in \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15747 \item Added \cmd{DeclareDatamodelConstant}\see{aut:ctm:dm}
15748 \item Renamed \opt{firstinits} to \opt{giveninits} and \opt{sortfirstinits} to \opt{sortgiveninits}\see{use:opt:pre:int}
15749 \item Added \cmd{DeclareSortingNamekeyScheme}\see{aut:ctm:srt}
15750 \item Removed messy experimental endnote and zoterordf support for \biber
15751 \item Added \cmd{nonameyeardelim}\see{use:fmt:fmt}
15752 \item Added \cmd{extpostnotedelim}\see{use:fmt:fmt}
15753 \end{release}
15754
15755 \begin{release}{3.2}{2015-12-28}
15756 \item Added \opt{pstrwidth} and \opt{pcompound} to \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15757 \item Added \cmd{AtEachCitekey}\see{aut:fmt:hok}
15758 \end{release}
15759
15760 \begin{release}{3.1}{2015-09}
15761 \item Added \cmd{DeclareNolabel}\see{aut:ctm:lab}
15762 \item Added \cmd{DeclareNolabelwidthcount}\see{aut:ctm:lab}
15763 \end{release}
15764
15765 \begin{release}{3.0}{2015-04-20}
15766 \item Improved Danish (Jonas Nyrup) and Spanish (ludenticus) translations
15767 \item \bibfield{labelname} and \bibfield{labeltitle} are now resolved by \biblatex instead of \biber for more flexibility and future extensibility
15768 \item New \cmd{entryclone} sourcemap verb for cloning entries during sourcemapping\see{aut:ctm:map}
15769 \item New \cmd{pernottype} negated per-type sourcemap verb\see{aut:ctm:map}
15770 \item New range calculation command \cmd{frangelen}\see{aut:aux:msc}
15771 \item New bibliography context functionality\see{use:bib:context}
15772 \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}
15773 \end{release}
15774
15775 \begin{release}{2.9a}{2014-06-25}
15776 \item \texttt{resetnumbers} now allows passing a number to reset to\see{use:bib:bib}
15777 \end{release}
15778
15779 \begin{release}{2.9}{2014-02-25}
15780 \item Generalised shorthands facility\see{use:bib:biblist}
15781 \item Sorting locales can now be defined as part of a sorting scheme\see{aut:ctm:srt}
15782 \item Added \bibfield{sortinithash}\see{aut:bbx:fld:gen}
15783 \item Added Slovene localisation (Tea Tušar and Bogdan Filipič)
15784 \item Added \cmd{mkbibitalic}\see{aut:fmt:ich}
15785 \item Recommend \texttt{begentry} and \texttt{finentry} bibliography macros\see{aut:bbx:drv}
15786 \end{release}
15787
15788 \begin{release}{2.8a}{2013-11-25}
15789 \item Split option \opt{language=auto} into \opt{language=autocite} and \opt{language=autobib}\see{use:opt:pre:gen}
15790 \end{release}
15791
15792 \begin{release}{2.8}{2013-10-21}
15793 \item New \bibfield{langidopts}\see{bib:fld:spc}
15794 \item \bibfield{hyphenation} field renamed to \bibfield{langid}\see{bib:fld:spc}
15795 \item \sty{polyglossia} support
15796 \item Renamed \opt{babel} option to \opt{autolang}\see{use:opt:pre:gen}
15797 \item Corrected Dutch localisation
15798 \item Added \opt{datelabel=year} option\see{use:opt:pre:gen}
15799 \item Added \bibfield{datelabelsource} field\see{aut:bbx:fld:gen}
15800 \end{release}
15801
15802 \begin{release}{2.7a}{2013-07-14}
15803 \item Bugfix - respect maxnames and uniquelist in \cmd{finalandsemicolon}
15804 \item Corrected French localisation
15805 \end{release}
15806
15807 \begin{release}{2.7}{2013-07-07}
15808 \item Added field \bibfield{eventtitleaddon} to default datamodel and styles\see{bib:fld:dat}
15809 \item Added \cmd{ifentryinbib}, \cmd{iffirstcitekey} and \cmd{iflastcitekey}\see{aut:aux:tst}
15810 \item Added \bibfield{postpunct} special field, documented \bibfield{multiprenote} and \bibfield{multipostnote} special fields\see{aut:cbx:fld}
15811 \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}
15812 \item Fixed \cmd{textcite} and related commands in the numeric and verbose styles\see{use:cit:cbx}
15813 \item Added multicite variants of \cmd{volcite} and related commands\see{use:cit:spc}
15814 \item Added \cmd{finalandsemicolon}\see{use:fmt:lng}
15815 \item Added citation delimiter \cmd{textcitedelim} for \cmd{textcite} and related commands to styles\see{aut:fmt:fmt}
15816 \item Updated Russian localisation (Oleg Domanov)
15817 \item Fixed Brazilian and Finnish localisation
15818 \end{release}
15819
15820 \begin{release}{2.6}{2013-04-30}
15821 \item Added \cmd{printunit}\see{aut:pct:new}
15822 \item Added field \bibfield{clonesourcekey}\see{aut:bbx:fld:gen}
15823 \item New options for \cmd{DeclareLabelalphaTemplate}\see{aut:ctm:lab}
15824 \item Added \cmd{DeclareLabeldate} and retired \cmd{DeclareLabelyear}\see{aut:ctm:fld}
15825 \item Added \texttt{nodate} localisation string\see{aut:lng:key:msc}
15826 \item Added \cmd{rangelen}\see{aut:aux:msc}
15827 \item Added starred variants of \cmd{citeauthor} and \cmd{Citeauthor}\see{use:cit:txt}
15828 \item Restored original \texttt{url} format. Added \texttt{urlfrom} localisation key\see{aut:lng:key:lab}
15829 \item Added \cmd{AtNextBibliography}\see{aut:fmt:hok}
15830 \item Fixed related entry processing to allow nested and cyclic related entries
15831 \item Added Croatian localisation (Ivo Pletikosić)
15832 \item Added Polish localisation (Anastasia Kandulina, Yuriy Chernyshov)
15833 \item Fixed Catalan localisation
15834 \item Added smart ``of'' for titles to Catalan and French localisation
15835 \item Misc bug fixes
15836 \end{release}
15837
15838 \begin{release}{2.5}{2013-01-10}
15839 \item Made \texttt{url} work as a localisation string, defaulting to previously hard-coded value <\textsc{URL}>.
15840 \item Changed some \biber\ option names to cohere with \biber\ 1.5.
15841 \item New sourcemap step for conditionally removing entire entries\see{aut:ctm:map}
15842 \item Updated Catalan localisation (Sebastià Vila-Marta)
15843 \end{release}
15844
15845 \begin{release}{2.4}{2012-11-28}
15846 \item Added \bibfield{relatedoptions} field\see{aut:ctm:rel}
15847 \item Added \cmd{DeclareStyleSourcemap}\see{aut:ctm:map}
15848 \item Renamed \cmd{DeclareDefaultSourcemap} to \cmd{DeclareDriverSourcemap}\see{aut:ctm:map}
15849 \item Documented \cmd{DeclareFieldInputHandler}, \cmd{DeclareListInputHandler} and \cmd{DeclareNameInputHandler}.
15850 \item Added Czech localisation (Michal Hoftich)
15851 \item Updated Catalan localisation (Sebastià Vila-Marta)
15852 \end{release}
15853
15854 \begin{release}{2.3}{2012-11-01}
15855 \item Better detection of situations which require a \biber\ or \LaTeX\ re-run
15856 \item New append mode for \cmd{DeclareSourcemap} so that fields can be combined\see{aut:ctm:map}
15857 \item Extended auxiliary indexing macros
15858 \item Added support for plural localisation strings with \bibfield{relatedtype}\see{aut:ctm:rel}
15859 \item Added \cmd{csfield} and \cmd{usefield}\see{aut:aux:dat}
15860 \item Added starred variant of \cmd{usebibmacro}\see{aut:aux:msc}
15861 \item Added \cmd{ifbibmacroundef}, \cmd{iffieldformatundef}, \cmd{iflistformatundef}
15862 and \cmd{ifnameformatundef}\see{aut:aux:msc}
15863 \item Added Catalan localisation (Sebastià Vila-Marta)
15864 \item Misc bug fixes
15865 \end{release}
15866
15867 \begin{release}{2.2}{2012-08-17}
15868 \item Misc bug fixes
15869 \item Added \cmd{revsdnamepunct}\see{use:fmt:fmt}
15870 \item Added \cmd{ifterseinits}\see{aut:aux:tst}
15871 \end{release}
15872
15873 \begin{release}{2.1}{2012-08-01}
15874 \item Misc bug fixes
15875 \item Updated Norwegian localisation (Håkon Malmedal)
15876 \item Increased data model auto-loading possibilities\see{aut:ctm:dm}
15877 \end{release}
15878
15879 \begin{release}{2.0}{2012-07-01}
15880 \item Misc bug fixes
15881 \item Generalised \opt{singletitle} test a little\see{aut:aux:tst}
15882 \item Added new special field \bibfield{extratitleyear}\see{aut:bbx:fld}
15883 \item Customisable data model\see{aut:ctm:dm}
15884 \item Added \cmd{DeclareDefaultSourcemap}\see{aut:ctm:map}
15885 \item Added \opt{labeltitle} option\see{use:opt:pre:int}
15886 \item Added new special field \bibfield{extratitle}\see{aut:bbx:fld}
15887 \item Made special field \bibfield{labeltitle} customisable\see{aut:bbx:fld}
15888 \item Removed field \bibfield{reprinttitle}\see{use:rel}
15889 \item Added related entry feature\see{use:rel}
15890 \item Added \cmd{DeclareNoinit}\see{aut:ctm:noinit}
15891 \item Added \cmd{DeclareNosort}\see{aut:ctm:nosort}
15892 \item Added \opt{sorting} option for \cmd{printbibliography} and \cmd{printshorthands}\see{use:bib:bib}
15893 \item Added \texttt{ids} field for citekey aliasing\see{bib:fld}
15894 \item Added \opt{sortfirstinits} option\see{use:opt:pre:int}
15895 \item Added data stream modification feature\see{aut:ctm:map}
15896 \item Added customisable labels feature\see{aut:ctm:lab}
15897 \item Added \cmd{citeyear*} and \cmd{citedate*}\see{use:cit:txt}
15898 \end{release}
15899
15900 % \begin{release}{1.7}{2011-11-13}
15901 % \item Added \texttt{xdata} containers\see{use:use:xdat}
15902 % \item Added special entry type \bibfield{xdata}\see{bib:typ:blx}
15903 % \item Added special field \bibfield{xdata}\see{bib:fld:spc}
15904 % \item Support \opt{maxnames}/\opt{minnames} globally/per-type/per-entry\see{use:opt:pre:gen}
15905 % \item Support \opt{maxbibnames}/\opt{minbibnames} globally/per-type/per-entry\see{use:opt:pre:gen}
15906 % \item Support \opt{maxcitenames}/\opt{mincitenames} globally/per-type/per-entry\see{use:opt:pre:gen}
15907 % \item Support \opt{maxitems}/\opt{minitems} globally/per-type/per-entry\see{use:opt:pre:gen}
15908 % \item Support \opt{maxalphanames}/\opt{minalphanames} globally/per-type/per-entry\see{use:opt:pre:int}
15909 % \item Support \opt{uniquelist} globally/per-type/per-entry\see{use:opt:pre:int}
15910 % \item Support \opt{uniquename} globally/per-type/per-entry\see{use:opt:pre:int}
15911 % \item Added \cmd{textcite} and \cmd{textcites} to all \texttt{verbose} citation styles\see{use:xbx:cbx}
15912 % \item Added special field formats \texttt{date}, \texttt{urldate}, \texttt{origdate}, \texttt{eventdate}\see{aut:fmt:ich}
15913 % \item Added \cmd{mkcomprange*}\see{aut:aux:msc}
15914 % \item Added \cmd{mkfirstpage*}\see{aut:aux:msc}
15915 % \item Added \cmd{volcitedelim}\see{aut:fmt:fmt}
15916 % \item Added missing documentation for \cmd{ifentrytype}\see{aut:aux:tst}
15917 % \item Added \cmd{mkbibneutord}\see{use:fmt:lng}
15918 % \item Added counter \cnt{biburlnumpenalty}\see{aut:fmt:len}
15919 % \item Added counter \cnt{biburlucpenalty}\see{aut:fmt:len}
15920 % \item Added counter \cnt{biburllcpenalty}\see{aut:fmt:len}
15921 % \item Added localisation keys \texttt{book}, \texttt{part}, \texttt{issue}, \texttt{forthcoming}\see{aut:lng:key}
15922 % \item Added some \texttt{lang...} and \texttt{from...} localisation keys\see{aut:lng:key}
15923 % \item Expanded documentation\see{apx:opt}
15924 % \item Added support for Russian (Oleg Domanov)
15925 % \item Updated support for Dutch (Pieter Belmans)
15926 % \item Fixed compatibility issue with \sty{textcase} package
15927 % \item Fixed some bugs
15928 % \end{release}
15929
15930 % \begin{release}{1.6}{2011-07-29}
15931 % \item Added special field \bibfield{sortshorthand}\see{bib:fld:spc}
15932 % \item Revised options \opt{maxnames}/\opt{minnames}\see{use:opt:pre:gen}
15933 % \item Options \opt{maxcitenames}/\opt{mincitenames} now supported by backend\see{use:opt:pre:gen}
15934 % \item Options \opt{maxbibnames}/\opt{minbibnames} now supported by backend\see{use:opt:pre:gen}
15935 % \item Added options \opt{maxalphanames}/\opt{minalphanames}\see{use:opt:pre:int}
15936 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{printbibliography}\see{use:bib:bib}
15937 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{printbibliography}\see{use:bib:bib}
15938 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbysection}\see{use:bib:bib}
15939 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbysection}\see{use:bib:bib}
15940 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbysegment}\see{use:bib:bib}
15941 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbysegment}\see{use:bib:bib}
15942 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{bibbycategory}\see{use:bib:bib}
15943 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{bibbycategory}\see{use:bib:bib}
15944 % \item Removed local options \opt{maxnames}/\opt{minnames} from \cmd{printshorthands}\see{use:bib:biblist}
15945 % \item Removed local options \opt{maxitems}/\opt{minitems} from \cmd{printshorthands}\see{use:bib:biblist}
15946 % \item Added special field format \bibfield{volcitevolume}\see{use:cit:spc}
15947 % \item Added special field format \bibfield{volcitepages}\see{use:cit:spc}
15948 % \item Added special field \bibfield{hash}\see{aut:bbx:fld:gen}
15949 % \item Added \cmd{mkcomprange}\see{aut:aux:msc}
15950 % \item Added \cmd{mkfirstpage}\see{aut:aux:msc}
15951 % \item Removed \cmd{mkpagefirst}\see{aut:aux:msc}
15952 % \item Fixed some bugs
15953 % \end{release}
15954
15955 % \begin{release}{1.5a}{2011-06-17}
15956 % \item Fixed some bugs
15957 % \end{release}
15958
15959 % \begin{release}{1.5}{2011-06-08}
15960 % \item Added option \kvopt{uniquename}{mininit/minfull}\see{use:opt:pre:int}
15961 % \item Added option \kvopt{uniquelist}{minyear}\see{use:opt:pre:int}
15962 % \item Updated documentation of \cnt{uniquename} counter\see{aut:aux:tst}
15963 % \item Updated documentation of \cnt{uniquelist} counter\see{aut:aux:tst}
15964 % \item Expanded documentation for \opt{uniquename/uniquelist} options\see{aut:cav:amb}
15965 % \item Added editorial role \texttt{reviser}\see{bib:use:edr}
15966 % \item Added localisation keys \texttt{reviser}, \texttt{revisers}, \texttt{byreviser}\see{aut:lng:key}
15967 % \item Added bibliography heading \texttt{none}\see{use:bib:hdg}
15968 % \item Fixed some \sty{memoir} compatibility issues
15969 % \end{release}
15970
15971 % \begin{release}{1.4c}{2011-05-12}
15972 % \item Fixed some bugs
15973 % \end{release}
15974
15975 % \begin{release}{1.4b}{2011-04-12}
15976 % \item Fixed some bugs
15977 % \end{release}
15978
15979 % \begin{release}{1.4a}{2011-04-06}
15980 % \item Enable \opt{uniquename} and \opt{uniquelist} in all \texttt{authortitle} styles\see{use:xbx:cbx}
15981 % \item Enable \opt{uniquename} and \opt{uniquelist} in all \texttt{authoryear} styles\see{use:xbx:cbx}
15982 % \item Fixed some bugs
15983 % \end{release}
15984
15985 % \begin{release}{1.4}{2011-03-31}
15986 % \item Added package option \opt{uniquelist}\see{use:opt:pre:int}
15987 % \item Added special counter \cnt{uniquelist}\see{aut:aux:tst}
15988 % \item Revised and improved package option \opt{uniquename}\see{use:opt:pre:int}
15989 % \item Revised and improved special counter \cnt{uniquename}\see{aut:aux:tst}
15990 % \item Added \cmd{bibnamedelimi}\see{use:fmt:fmt}
15991 % \item Added \cmd{bibindexnamedelima}\see{use:fmt:fmt}
15992 % \item Added \cmd{bibindexnamedelimb}\see{use:fmt:fmt}
15993 % \item Added \cmd{bibindexnamedelimc}\see{use:fmt:fmt}
15994 % \item Added \cmd{bibindexnamedelimd}\see{use:fmt:fmt}
15995 % \item Added \cmd{bibindexnamedelimi}\see{use:fmt:fmt}
15996 % \item Added \cmd{bibindexinitperiod}\see{use:fmt:fmt}
15997 % \item Added \cmd{bibindexinitdelim}\see{use:fmt:fmt}
15998 % \item Added \cmd{bibindexinithyphendelim}\see{use:fmt:fmt}
15999 % \item Fixed conflict with some \acr{AMS} classes
16000 % \end{release}
16001
16002 % \begin{release}{1.3a}{2011-03-18}
16003 % \item Fixed some bugs
16004 % \end{release}
16005
16006 % \begin{release}{1.3}{2011-03-14}
16007 % \item Support \bibtype{thesis} with \bibfield{isbn}\see{bib:typ:blx}
16008 % \item Updated \opt{terseinits} option\see{use:opt:pre:gen}
16009 % \item Allow macros in argument to \cmd{addbibresource} and friends\see{use:bib:res}
16010 % \item Allow macros in argument to \cmd{bibliography}\see{use:bib:res}
16011 % \item Introducing experimental support for Zotero \acr{RDF}/\acr{XML}\see{use:bib:res}
16012 % \item Introducing experimental support for EndNote \acr{XML}\see{use:bib:res}
16013 % \item Added option \opt{citecounter}\see{use:opt:pre:int}
16014 % \item Added \cnt{citecounter}\see{aut:aux:tst}
16015 % \item Added \cmd{smartcite} and \cmd{Smartcite}\see{use:cit:cbx}
16016 % \item Added \cmd{smartcites} and \cmd{Smartcites}\see{use:cit:mlt}
16017 % \item Added \cmd{svolcite} and \cmd{Svolcite}\see{use:cit:spc}
16018 % \item Added \cmd{bibnamedelima}\see{use:fmt:fmt}
16019 % \item Added \cmd{bibnamedelimb}\see{use:fmt:fmt}
16020 % \item Added \cmd{bibnamedelimc}\see{use:fmt:fmt}
16021 % \item Added \cmd{bibnamedelimd}\see{use:fmt:fmt}
16022 % \item Added \cmd{bibinitperiod}\see{use:fmt:fmt}
16023 % \item Added \cmd{bibinitdelim}\see{use:fmt:fmt}
16024 % \item Added \cmd{bibinithyphendelim}\see{use:fmt:fmt}
16025 % \item Expanded documentation\see{use:cav:nam}
16026 % \item Added \prm{position} parameter \texttt{f} to \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
16027 % \end{release}
16028
16029 % \begin{release}{1.2a}{2011-02-13}
16030 % \item Fix in \cmd{mkbibmonth}\see{aut:fmt:ich}
16031 % \end{release}
16032
16033 % \begin{release}{1.2}{2011-02-12}
16034 % \item Added entry type \bibtype{mvbook}\see{bib:typ:blx}
16035 % \item Added entry type \bibtype{mvcollection}\see{bib:typ:blx}
16036 % \item Added entry type \bibtype{mvproceedings}\see{bib:typ:blx}
16037 % \item Added entry type \bibtype{mvreference}\see{bib:typ:blx}
16038 % \item Introducing remote resources\see{use:bib:res}
16039 % \item Introducing experimental \acr{RIS} support\see{use:bib:res}
16040 % \item Added \cmd{addbibresource}\see{use:bib:res}
16041 % \item \cmd{bibliography} now deprecated\see{use:bib:res}
16042 % \item \cmd{bibliography*} replaced by \cmd{addglobalbib}\see{use:bib:res}
16043 % \item Added \cmd{addsectionbib}\see{use:bib:res}
16044 % \item Updated and expanded documentation\see{bib:cav:ref}
16045 % \item Introducing smart \bibfield{crossref} data inheritance\see{bib:cav:ref:bbr}
16046 % \item Introducing \bibfield{crossref} configuration interface\see{aut:ctm:ref}
16047 % \item Added \cmd{DefaultInheritance}\see{aut:ctm:ref}
16048 % \item Added \cmd{DeclareDataInheritance}\see{aut:ctm:ref}
16049 % \item Added \cmd{ResetDataInheritance}\see{aut:ctm:ref}
16050 % \item Added \cmd{ifkeyword}\see{aut:aux:tst}
16051 % \item Added \cmd{ifentrykeyword}\see{aut:aux:tst}
16052 % \item Added \cmd{ifcategory}\see{aut:aux:tst}
16053 % \item Added \cmd{ifentrycategory}\see{aut:aux:tst}
16054 % \item Added \cmd{ifdriver}\see{aut:aux:tst}
16055 % \item Added \cmd{forcsvfield}\see{aut:aux:msc}
16056 % \item Extended \cmd{mkpageprefix}\see{aut:aux:msc}
16057 % \item Extended \cmd{mkpagetotal}\see{aut:aux:msc}
16058 % \item Extended \cmd{mkpagefirst}\see{aut:aux:msc}
16059 % \item Added localisation key \texttt{inpreparation}\see{aut:lng:key}
16060 % \item Rearranged manual slightly, moving some tables to the appendix
16061 % \end{release}
16062
16063 % \begin{release}{1.1b}{2011-02-04}
16064 % \item Added option \opt{texencoding}\see{use:opt:pre:gen}
16065 % \item Added option \opt{safeinputenc}\see{use:opt:pre:gen}
16066 % \item Expanded documentation\see{bib:cav:enc:enc}
16067 % \item Improved \opt{mergedate} option of bibliography style \texttt{authoryear}\see{use:xbx:bbx}
16068 % \item Removed \opt{pass} option of \cmd{DeclareSortingScheme}\see{aut:ctm:srt}
16069 % \item Fixed some bugs
16070 % \end{release}
16071
16072 % \begin{release}{1.1a}{2011-01-08}
16073 % \item Added unsupported entry type \bibtype{bibnote}\see{bib:typ:ctm}
16074 % \item Added \cmd{bibliography*}\see{use:bib:res}
16075 % \item Fixed some bugs
16076 % \end{release}
16077
16078 % \begin{release}{1.1}{2011-01-05}
16079 % \item Added option \opt{maxbibnames}\see{use:opt:pre:gen}
16080 % \item Added option \opt{minbibnames}\see{use:opt:pre:gen}
16081 % \item Added option \opt{maxcitenames}\see{use:opt:pre:gen}
16082 % \item Added option \opt{mincitenames}\see{use:opt:pre:gen}
16083 % \item Fixed \kvopt{idemtracker}{strict} and \kvopt{idemtracker}{constrict}\see{use:opt:pre:int}
16084 % \item Added option \opt{mergedate} to bibliography style \texttt{authoryear}\see{use:xbx:bbx}
16085 % \item Added support for \opt{prefixnumbers} to bibliography style \texttt{alphabetic}\see{use:xbx:bbx}
16086 % \item Made option \bibfield{useprefix} settable on a per-type basis\see{use:opt:bib}
16087 % \item Made option \bibfield{useauthor} settable on a per-type basis\see{use:opt:bib}
16088 % \item Made option \bibfield{useeditor} settable on a per-type basis\see{use:opt:bib}
16089 % \item Made option \opt{usetranslator} settable on a per-type basis\see{use:opt:bib}
16090 % \item Made option \opt{skipbib} settable on a per-type basis\see{use:opt:bib}
16091 % \item Made option \opt{skiplos} settable on a per-type basis\see{use:opt:bib}
16092 % \item Made option \opt{skiplab} settable on a per-type basis\see{use:opt:bib}
16093 % \item Made option \opt{dataonly} settable on a per-type basis\see{use:opt:bib}
16094 % \item Made option \opt{labelalpha} settable on a per-type basis\see{use:opt:pre:int}
16095 % \item Made option \opt{labelnumber} settable on a per-type basis\see{use:opt:pre:int}
16096 % \item Made option \opt{labelyear} settable on a per-type basis\see{use:opt:pre:int}
16097 % \item Made option \opt{singletitle} settable on a per-type basis\see{use:opt:pre:int}
16098 % \item Made option \opt{uniquename} settable on a per-type basis\see{use:opt:pre:int}
16099 % \item Made option \opt{indexing} settable on a per-type basis\see{use:opt:pre:gen}
16100 % \item Made option \opt{indexing} settable on a per-entry basis\see{use:opt:pre:gen}
16101 % \item Extended \cmd{ExecuteBibliographyOptions}\see{use:cfg:opt}
16102 % \item Added \cmd{citedate}\see{use:cit:txt}
16103 % \item Improved static entry sets\see{use:use:set}
16104 % \item Introducing dynamic entry sets\see{use:use:set}
16105 % \item Added \cmd{defbibentryset}\see{use:bib:set}
16106 % \item Added option \opt{mcite}\see{use:opt:ldt}
16107 % \item Added \sty{mcite}\slash\sty{mciteplus}-like commands\see{use:cit:mct}
16108 % \item Added \cmd{sortalphaothers}\see{use:fmt:fmt}
16109 % \item Extended \cmd{DeclareNameFormat}\see{aut:bib:fmt}
16110 % \item Extended \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
16111 % \item Extended \cmd{DeclareListFormat}\see{aut:bib:fmt}
16112 % \item Extended \cmd{DeclareIndexListFormat}\see{aut:bib:fmt}
16113 % \item Extended \cmd{DeclareFieldFormat}\see{aut:bib:fmt}
16114 % \item Extended \cmd{DeclareIndexFieldFormat}\see{aut:bib:fmt}
16115 % \item Added \cmd{DeclareNameFormat*}\see{aut:bib:fmt}
16116 % \item Added \cmd{DeclareIndexNameFormat*}\see{aut:bib:fmt}
16117 % \item Added \cmd{DeclareListFormat*}\see{aut:bib:fmt}
16118 % \item Added \cmd{DeclareIndexListFormat*}\see{aut:bib:fmt}
16119 % \item Added \cmd{DeclareFieldFormat*}\see{aut:bib:fmt}
16120 % \item Added \cmd{DeclareIndexFieldFormat*}\see{aut:bib:fmt}
16121 % \item Introducing configurable sorting schemes
16122 % \item Added \cmd{DeclareSortingScheme}\see{aut:ctm:srt}
16123 % \item Added \cmd{DeclarePresort}\see{aut:ctm:srt}
16124 % \item Added \cmd{DeclareSortExclusion}\see{aut:ctm:srt}
16125 % \item Added \cmd{DeclareLabelname}\see{aut:ctm:fld}
16126 % \item Added \cmd{DeclareLabelyear}\see{aut:ctm:fld}
16127 % \item Improved special field \bibfield{labelname}\see{aut:bbx:fld}
16128 % \item Improved special field \bibfield{labelyear}\see{aut:bbx:fld}
16129 % \item Added \cmd{entrydata*}\see{aut:bib:dat}
16130 % \item Added \cmd{RequireBiber}\see{aut:aux:msc}
16131 % \item Added option \opt{check} to \cmd{printbibliography}\see{use:bib:bib}
16132 % \item Added option \opt{check} to \cmd{printshorthands}\see{use:bib:biblist}
16133 % \item Added \cmd{defbibcheck}\see{use:bib:flt}
16134 % \item Updated support for Portuguese (José Carlos Santos)
16135 % \item Fixed conflict with \sty{titletoc}
16136 % \item Fixed some bugs
16137 % \end{release}
16138
16139 % \begin{release}{1.0}{2010-11-19}
16140 % \item First officially stable release
16141 % \item Renamed option \kvopt{bibencoding}{inputenc} to \kvopt{bibencoding}{auto}\see{use:opt:pre:gen}
16142 % \item Made \kvopt{bibencoding}{auto} the package default\see{use:opt:pre:gen}
16143 % \item Added option \kvopt{backend}{bibtexu}\see{use:opt:pre:gen}
16144 % \item Slightly updated documentation\see{bib:cav:enc}
16145 % \item Updated support for Dutch (Alexander van Loon)
16146 % \item Updated support for Italian (Andrea Marchitelli)
16147 % \end{release}
16148
16149 %\begin{release}{0.9e}{2010-10-09}
16150 %\item Updated and expanded manual\see{bib:cav:enc}
16151 %\item Added option \opt{sortupper}\see{use:opt:pre:gen}
16152 %\item Added option \opt{sortlocale}\see{use:opt:pre:gen}
16153 %\item Added option \opt{backrefsetstyle}\see{use:opt:pre:gen}
16154 %\item Added \cmd{bibpagerefpunct}\see{use:fmt:fmt}
16155 %\item Added \cmd{backtrackertrue} and \cmd{backtrackerfalse}\see{aut:aux:msc}
16156 %\item Disable back reference tracking in \acr{TOC}/\acr{LOT}/\acr{LOF}\see{aut:cav:flt}
16157 %\item Improved back reference tracking for \bibtype{set} entries
16158 %\item Fixed some bugs
16159 %\end{release}
16160 %
16161 %\begin{release}{0.9d}{2010-09-03}
16162 %\item Added workaround for \sty{hyperref} space factor issue
16163 %\item Added workaround for \sty{xkeyval}'s flawed class option inheritance
16164 %\item Added workaround for \sty{fancyvrb}'s flawed brute-force \cmd{VerbatimFootnotes}
16165 %\item Removed option \kvopt{date}{none}\see{use:opt:pre:gen}
16166 %\item Removed option \kvopt{urldate}{none}\see{use:opt:pre:gen}
16167 %\item Removed option \kvopt{origdate}{none}\see{use:opt:pre:gen}
16168 %\item Removed option \kvopt{eventdate}{none}\see{use:opt:pre:gen}
16169 %\item Removed option \kvopt{alldates}{none}\see{use:opt:pre:gen}
16170 %\item Added option \kvopt{date}{iso8601}\see{use:opt:pre:gen}
16171 %\item Added option \kvopt{urldate}{iso8601}\see{use:opt:pre:gen}
16172 %\item Added option \kvopt{origdate}{iso8601}\see{use:opt:pre:gen}
16173 %\item Added option \kvopt{eventdate}{iso8601}\see{use:opt:pre:gen}
16174 %\item Added option \kvopt{alldates}{iso8601}\see{use:opt:pre:gen}
16175 %\end{release}
16176 %
16177 %\begin{release}{0.9c}{2010-08-29}
16178 %\item Added field \bibfield{eprintclass}\see{bib:fld:dat}
16179 %\item Added field alias \bibfield{archiveprefix}\see{bib:fld:als}
16180 %\item Added field alias \bibfield{primaryclass}\see{bib:fld:als}
16181 %\item Updated documentation\see{use:use:epr}
16182 %\item Tweaked package option \kvopt{babel}{other*}\see{use:opt:pre:gen}
16183 %\item Updated support for Brazilian (Mateus Araújo)
16184 %\item Fixed some bugs
16185 %\end{release}
16186 %
16187 %\begin{release}{0.9b}{2010-08-04}
16188 %
16189 %\item New dependency on \sty{logreq} package\see{int:pre:req}
16190 %\item Improved separator masking in literal lists\see{bib:use:and}
16191 %\item Added citation style \texttt{authortitle-ticomp}\see{use:xbx:cbx}
16192 %\item Added option \opt{citepages} to all \texttt{verbose} citation styles\see{use:xbx:cbx}
16193 %\item Added support for prefixes to all \texttt{numeric} citation styles\see{use:xbx:cbx}
16194 %\item Added support for prefixes to all \texttt{numeric} bibliography styles\see{use:xbx:bbx}
16195 %\item Renamed package option \opt{defernums} to \opt{defernumbers}\see{use:opt:pre:gen}
16196 %\item Added option \opt{sortcase}\see{use:opt:pre:gen}
16197 %\item Added option \opt{dateabbrev}\see{use:opt:pre:gen}
16198 %\item Added option \kvopt{date}{none}\see{use:opt:pre:gen}
16199 %\item Added option \kvopt{urldate}{none}\see{use:opt:pre:gen}
16200 %\item Added option \kvopt{origdate}{none}\see{use:opt:pre:gen}
16201 %\item Added option \kvopt{eventdate}{none}\see{use:opt:pre:gen}
16202 %\item Added option \kvopt{alldates}{none}\see{use:opt:pre:gen}
16203 %\item Added option \opt{clearlang}\see{use:opt:pre:gen}
16204 %\item Added option \opt{prefixnumbers} to \cmd{printbibliography}\see{use:bib:bib}
16205 %\item Added option \opt{resetnumbers} to \cmd{printbibliography}\see{use:bib:bib}
16206 %\item Added option \opt{omitnumbers} to \cmd{printbibliography}\see{use:bib:bib}
16207 %\item Added special field \bibfield{prefixnumber}\see{aut:bbx:fld}
16208 %\item Added \cmd{DeclareRedundantLanguages}\see{aut:lng:cmd}
16209 %\item Added support for handles (\acr{HDL}s)\see{use:use:epr}
16210 %\item Extended \cmd{defbibfilter}\see{use:bib:flt}
16211 %\item Added \cmd{nametitledelim}\see{use:fmt:fmt}
16212 %\item Improved \cmd{newbibmacro}\see{aut:aux:msc}
16213 %\item Improved \cmd{renewbibmacro}\see{aut:aux:msc}
16214 %\item Added \cmd{biblstring}\see{aut:str}
16215 %\item Added \cmd{bibsstring}\see{aut:str}
16216 %\item Added \cmd{bibcplstring}\see{aut:str}
16217 %\item Added \cmd{bibcpsstring}\see{aut:str}
16218 %\item Added \cmd{bibuclstring}\see{aut:str}
16219 %\item Added \cmd{bibucsstring}\see{aut:str}
16220 %\item Added \cmd{biblclstring}\see{aut:str}
16221 %\item Added \cmd{biblcsstring}\see{aut:str}
16222 %\item Added \cmd{bibxlstring}\see{aut:str}
16223 %\item Added \cmd{bibxsstring}\see{aut:str}
16224 %\item Added \cmd{mkbibbold}\see{aut:fmt:ich}
16225 %\item Modified and extended log messages\see{bib:cav:ide}
16226 %\item Fixed some bugs
16227 %
16228 %\end{release}
16229 %
16230 %\begin{release}{0.9a}{2010-03-19}
16231 %
16232 %\item Modified citation style \texttt{numeric}\see{use:xbx:cbx}
16233 %\item Modified citation style \texttt{numeric-comp}\see{use:xbx:cbx}
16234 %\item Modified citation style \texttt{numeric-verb}\see{use:xbx:cbx}
16235 %\item Modified citation style \texttt{alphabetic}\see{use:xbx:cbx}
16236 %\item Modified citation style \texttt{alphabetic-verb}\see{use:xbx:cbx}
16237 %\item Modified citation style \texttt{authoryear}\see{use:xbx:cbx}
16238 %\item Modified citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
16239 %\item Modified citation style \texttt{authoryear-ibid}\see{use:xbx:cbx}
16240 %\item Modified citation style \texttt{authoryear-icomp}\see{use:xbx:cbx}
16241 %\item Modified citation style \texttt{authortitle}\see{use:xbx:cbx}
16242 %\item Modified citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
16243 %\item Modified citation style \texttt{authortitle-ibid}\see{use:xbx:cbx}
16244 %\item Modified citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
16245 %\item Modified citation style \texttt{authortitle-terse}\see{use:xbx:cbx}
16246 %\item Modified citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16247 %\item Modified citation style \texttt{draft}\see{use:xbx:cbx}
16248 %\item Modified citation style \texttt{debug}\see{use:xbx:cbx}
16249 %\item Added option \opt{bibwarn}\see{use:opt:pre:gen}
16250 %\item Added \cmd{printbibheading}\see{use:bib:bib}
16251 %\item Added option \opt{env} to \cmd{printbibliography}\see{use:bib:bib}
16252 %\item Added option \opt{env} to \cmd{printshorthands}\see{use:bib:biblist}
16253 %\item Added \cmd{defbibenvironment}\see{use:bib:hdg}
16254 %\item Removed \env{thebibliography}\see{aut:bbx:bbx}
16255 %\item Removed \env{theshorthands}\see{aut:bbx:bbx}
16256 %\item Removed \cmd{thebibitem}\see{aut:bbx:bbx}
16257 %\item Removed \cmd{thelositem}\see{aut:bbx:bbx}
16258 %\item Updated documentation\see{aut:bbx:bbx}
16259 %\item Updated documentation\see{aut:bbx:env}
16260 %\item Added \cmd{intitlepunct}\see{use:fmt:fmt}
16261 %\item Added option \opt{parentracker}\see{use:opt:pre:int}
16262 %\item Added option \opt{maxparens}\see{use:opt:pre:int}
16263 %\item Added counter \cnt{parenlevel}\see{aut:aux:tst}
16264 %\item Added \cmd{parentext}\see{use:cit:txt}
16265 %\item Added \cmd{brackettext}\see{use:cit:txt}
16266 %\item Improved \cmd{mkbibparens}\see{aut:fmt:ich}
16267 %\item Improved \cmd{mkbibbrackets}\see{aut:fmt:ich}
16268 %\item Added \cmd{bibopenparen} and \cmd{bibcloseparen}\see{aut:fmt:ich}
16269 %\item Added \cmd{bibopenbracket} and \cmd{bibclosebracket}\see{aut:fmt:ich}
16270 %\item Added special field \bibfield{childentrykey}\see{aut:bbx:fld}
16271 %\item Added special field \bibfield{childentrytype}\see{aut:bbx:fld}
16272 %\item Added \cmd{ifnatbibmode}\see{aut:aux:tst}
16273 %\item Added missing documentation of \cmd{ifbibxstring}\see{aut:aux:tst}
16274 %\item Added \cmd{providebibmacro}\see{aut:aux:msc}
16275 %\item Added localisation key \texttt{backrefpage}\see{aut:lng:key}
16276 %\item Added localisation key \texttt{backrefpages}\see{aut:lng:key}
16277 %\item Slightly expanded documentation\see{bib:use:dat}
16278 %\item Slightly expanded documentation\see{aut:bbx:fld:dat}
16279 %\item Added support for Finnish (translations by Hannu Väisänen)
16280 %\item Updated support for Greek (translations by Prokopis)
16281 %
16282 %\end{release}
16283 %
16284 %\begin{release}{0.9}{2010-02-14}
16285 %
16286 %\item Added entry type \bibtype{bookinbook}\see{bib:typ:blx}
16287 %\item Support \bibfield{eventtitle}/\bibfield{eventdate}/\bibfield{venue} in \bibtype{proceedings}\see{bib:typ:blx}
16288 %\item Support \bibfield{eventtitle}/\bibfield{eventdate}/\bibfield{venue} in \bibtype{inproceedings}\see{bib:typ:blx}
16289 %\item Added support for multiple editorial roles\see{bib:use:edr}
16290 %\item Added field \bibfield{editora}\see{bib:fld:dat}
16291 %\item Added field \bibfield{editorb}\see{bib:fld:dat}
16292 %\item Added field \bibfield{editorc}\see{bib:fld:dat}
16293 %\item Added field \bibfield{editoratype}\see{bib:fld:dat}
16294 %\item Added field \bibfield{editorbtype}\see{bib:fld:dat}
16295 %\item Added field \bibfield{editorctype}\see{bib:fld:dat}
16296 %\item Removed field \bibfield{redactor}\see{bib:fld:dat}
16297 %\item Added field \bibfield{pubstate}\see{bib:fld:dat}
16298 %\item Support \bibfield{pubstate} in all entry types\see{bib:typ:blx}
16299 %\item Support full dates in all entry types\see{bib:typ:blx}
16300 %\item Modified and extended date handling\see{bib:use:dat}
16301 %\item Updated documentation\see{bib:use:iss}
16302 %\item Removed field \bibfield{day}\see{bib:fld:dat}
16303 %\item Modified data type of field \bibfield{year}\see{bib:fld:dat}
16304 %\item Extended field \bibfield{date}\see{bib:fld:dat}
16305 %\item Removed field \bibfield{origyear}\see{bib:fld:dat}
16306 %\item Added field \bibfield{origdate}\see{bib:fld:dat}
16307 %\item Added field \bibfield{eventdate}\see{bib:fld:dat}
16308 %\item Removed fields \bibfield{urlday}/\bibfield{urlmonth}/\bibfield{urlyear}\see{bib:fld:dat}
16309 %\item Updated documentation\see{bib:use:dat}
16310 %\item Extended option \opt{date}\see{use:opt:pre:gen}
16311 %\item Extended option \opt{urldate}\see{use:opt:pre:gen}
16312 %\item Added option \opt{origdate}\see{use:opt:pre:gen}
16313 %\item Added option \opt{eventdate}\see{use:opt:pre:gen}
16314 %\item Added option \opt{alldates}\see{use:opt:pre:gen}
16315 %\item Added option \opt{datezeros}\see{use:opt:pre:gen}
16316 %\item Added option \opt{language}\see{use:opt:pre:gen}
16317 %\item Added option \cnt{notetype}\see{use:opt:pre:gen}
16318 %\item Added option \cnt{backrefstyle}\see{use:opt:pre:gen}
16319 %\item Modified option \opt{indexing}\see{use:opt:pre:gen}
16320 %\item Made option \kvopt{hyperref}{auto} the default\see{use:opt:pre:gen}
16321 %\item Added option \kvopt{backend}{biber}\see{use:opt:pre:gen}
16322 %\item Updated documentation\see{bib:cav:enc}
16323 %\item Added option \opt{isbn}\see{use:opt:pre:bbx}
16324 %\item Added option \opt{url}\see{use:opt:pre:bbx}
16325 %\item Added option \opt{doi}\see{use:opt:pre:bbx}
16326 %\item Added option \opt{eprint}\see{use:opt:pre:bbx}
16327 %\item Improved citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
16328 %\item Improved citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
16329 %\item Improved citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16330 %\item Improved citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
16331 %\item Added citation style \texttt{authoryear-icomp}\see{use:xbx:cbx}
16332 %\item Added citation style \texttt{verbose-trad3}\see{use:xbx:cbx}
16333 %\item Improved bibliography style \texttt{authortitle}\see{use:xbx:bbx}
16334 %\item Improved bibliography style \texttt{authoryear}\see{use:xbx:bbx}
16335 %\item Improved bibliography style \texttt{verbose}\see{use:xbx:bbx}
16336 %\item Added option \opt{title} to \cmd{printbibliography}\see{use:bib:bib}
16337 %\item Added option \opt{title} to \cmd{printshorthands}\see{use:bib:biblist}
16338 %\item Extended \cmd{defbibheading}\see{use:bib:hdg}
16339 %\item Added options \opt{subtype}/\opt{notsubtype} to \cmd{printbibliography}\see{use:bib:biblist}
16340 %\item Added options \opt{subtype}/\opt{notsubtype} to \cmd{printshorthands}\see{use:bib:biblist}
16341 %\item Added test \opt{subtype} to \cmd{defbibfilter}\see{use:bib:flt}
16342 %\item Added option \opt{segment} to \cmd{printshorthands}\see{use:bib:biblist}
16343 %\item Added options \opt{type}/\opt{nottype} to \cmd{printshorthands}\see{use:bib:biblist}
16344 %\item Added options \opt{keyword}/\opt{notkeyword} to \cmd{printshorthands}\see{use:bib:biblist}
16345 %\item Added options \opt{category}/\opt{notcategory} to \cmd{printshorthands}\see{use:bib:biblist}
16346 %\item Added option \opt{filter} to \cmd{printshorthands}\see{use:bib:biblist}
16347 %\item Added \cmd{footcitetext}\see{use:cit:std}
16348 %\item Added \cmd{footcitetexts}\see{use:cit:mlt}
16349 %\item Added \cmd{ftvolcite}\see{use:cit:spc}
16350 %\item Added \cmd{textcites} and \cmd{Textcites}\see{use:cit:mlt}
16351 %\item Added \cmd{nohyphenation}\see{use:fmt:aux}
16352 %\item Added \cmd{textnohyphenation}\see{use:fmt:aux}
16353 %\item Added \cmd{mkpagefirst}\see{aut:aux:msc}
16354 %\item Added \cmd{pagenote} support to \cmd{mkbibendnote}\see{aut:fmt:ich}
16355 %\item Added \cmd{mkbibfootnotetext}\see{aut:fmt:ich}
16356 %\item Added \cmd{mkbibendnotetext}\see{aut:fmt:ich}
16357 %\item Added \cmd{bibfootnotewrapper}\see{aut:fmt:ich}
16358 %\item Added \cmd{bibendnotewrapper}\see{aut:fmt:ich}
16359 %\item Added \cmd{mkdatezeros}\see{aut:fmt:ich}
16360 %\item Added \cmd{stripzeros}\see{aut:fmt:ich}
16361 %\item Added support for \acr{jstor} links\see{use:use:epr}
16362 %\item Added support for PubMed links\see{use:use:epr}
16363 %\item Added support for Google Books links\see{use:use:epr}
16364 %\item Improved \cmd{DeclareBibliographyDriver}\see{aut:bbx:bbx}
16365 %\item Improved \cmd{DeclareBibliographyAlias}\see{aut:bbx:bbx}
16366 %\item Added special fields \bibfield{day}/\bibfield{month}/\bibfield{year}\see{aut:bbx:fld}
16367 %\item Added special fields \bibfield{endday}/\bibfield{endmonth}/\bibfield{endyear}\see{aut:bbx:fld}
16368 %\item Added special fields \bibfield{origday}/\bibfield{origmonth}/\bibfield{origyear}\see{aut:bbx:fld}
16369 %\item Added special fields \bibfield{origendday}/\bibfield{origendmonth}/\bibfield{origendyear}\see{aut:bbx:fld}
16370 %\item Added special fields \bibfield{eventday}/\bibfield{eventmonth}/\bibfield{eventyear}\see{aut:bbx:fld}
16371 %\item Added special fields \bibfield{eventendday}/\bibfield{eventendmonth}/\bibfield{eventendyear}\see{aut:bbx:fld}
16372 %\item Added special fields \bibfield{urlday}/\bibfield{urlmonth}/\bibfield{urlyear}\see{aut:bbx:fld}
16373 %\item Added special fields \bibfield{urlendday}/\bibfield{urlendmonth}/\bibfield{urlendyear}\see{aut:bbx:fld}
16374 %\item Renamed special field \bibfield{labelyear} to \bibfield{extrayear}\see{aut:bbx:fld}
16375 %\item Added new special field \bibfield{labelyear}\see{aut:bbx:fld}
16376 %\item Renamed \cnt{maxlabelyear} to \cnt{maxextrayear}\see{aut:fmt:ilc}
16377 %\item Renamed \cmd{bibdate} to \cmd{printdate}, modified \cmd{printdate}\see{aut:bib:dat}
16378 %\item Added \cmd{printdateextra}\see{aut:bib:dat}
16379 %\item Renamed \cmd{biburldate} to \cmd{printurldate}, modified \cmd{printurldate}\see{aut:bib:dat}
16380 %\item Added \cmd{printorigdate}\see{aut:bib:dat}
16381 %\item Added \cmd{printeventdate}\see{aut:bib:dat}
16382 %\item Added \cmd{bibdatedash}\see{use:fmt:lng}
16383 %\item Added \cmd{mkbibdatelong} and \cmd{mkbibdateshort}\see{use:fmt:lng}
16384 %\item Removed \cmd{bibdatelong} and \cmd{bibdateshort}\see{use:fmt:lng}
16385 %\item Removed \cmd{biburldatelong} and \cmd{biburldateshort}\see{use:fmt:lng}
16386 %\item Added \cmd{ifciteindex}\see{aut:aux:tst}
16387 %\item Added \cmd{ifbibindex}\see{aut:aux:tst}
16388 %\item Added \cmd{iffieldint}\see{aut:aux:tst}
16389 %\item Added \cmd{iffieldnum}\see{aut:aux:tst}
16390 %\item Added \cmd{iffieldnums}\see{aut:aux:tst}
16391 %\item Added \cmd{ifpages}\see{aut:aux:tst}
16392 %\item Added \cmd{iffieldpages}\see{aut:aux:tst}
16393 %\item Added \cmd{DeclarePageCommands} and \cmd{DeclarePageCommands*}\see{aut:aux:msc}
16394 %\item Improved \cmd{NewBibliographyString}\see{aut:lng:cmd}
16395 %\item Removed localisation key \texttt{editor}\see{aut:lng:key}
16396 %\item Removed localisation key \texttt{editors}\see{aut:lng:key}
16397 %\item Renamed localisation key \texttt{typeeditor} to \texttt{editor}\see{aut:lng:key}
16398 %\item Renamed localisation key \texttt{typeeditors} to \texttt{editors}\see{aut:lng:key}
16399 %\item Renamed localisation key \texttt{typecompiler} to \texttt{compiler}\see{aut:lng:key}
16400 %\item Renamed localisation key \texttt{typecompilers} to \texttt{compilers}\see{aut:lng:key}
16401 %\item Added localisation key \texttt{founder}\see{aut:lng:key}
16402 %\item Added localisation key \texttt{founders}\see{aut:lng:key}
16403 %\item Added localisation key \texttt{continuator}\see{aut:lng:key}
16404 %\item Added localisation key \texttt{continuators}\see{aut:lng:key}
16405 %\item Added localisation key \texttt{collaborator}\see{aut:lng:key}
16406 %\item Added localisation key \texttt{collaborators}\see{aut:lng:key}
16407 %\item Removed localisation key \texttt{byauthor}\see{aut:lng:key}
16408 %\item Renamed localisation key \texttt{bytypeauthor} to \texttt{byauthor}\see{aut:lng:key}
16409 %\item Removed localisation key \texttt{byeditor}\see{aut:lng:key}
16410 %\item Renamed localisation key \texttt{bytypeeditor} to \texttt{byeditor}\see{aut:lng:key}
16411 %\item Renamed localisation key \texttt{bytypecompiler} to \texttt{bycompiler}\see{aut:lng:key}
16412 %\item Added localisation key \texttt{byfounder}\see{aut:lng:key}
16413 %\item Added localisation key \texttt{bycontinuator}\see{aut:lng:key}
16414 %\item Added localisation key \texttt{bycollaborator}\see{aut:lng:key}
16415 %\item Added localisation key \texttt{inpress}\see{aut:lng:key}
16416 %\item Added localisation key \texttt{submitted}\see{aut:lng:key}
16417 %\item Added support for Dutch (translations by Alexander van Loon)
16418 %\item Added support for Greek (translations by Apostolos Syropoulos)
16419 %\item Added notes on Greek\see{use:loc:grk}
16420 %
16421 %\end{release}
16422 %
16423 %\begin{release}{0.8i}{2009-09-20}
16424 %
16425 %\item Fixed some bugs
16426 %
16427 %\end{release}
16428 %
16429 %\begin{release}{0.8h}{2009-08-10}
16430 %
16431 %\item Fixed some bugs
16432 %
16433 %\end{release}
16434 %
16435 %\begin{release}{0.8g}{2009-08-06}
16436 %
16437 %\item Fixed some bugs
16438 %
16439 %\end{release}
16440 %
16441 %\begin{release}{0.8f}{2009-07-25}
16442 %
16443 %\item Fixed some bugs
16444 %
16445 %\end{release}
16446 %
16447 %\begin{release}{0.8e}{2009-07-04}
16448 %
16449 %\item Added \cmd{mkbibordedition}\see{use:fmt:lng}
16450 %\item Added \cmd{mkbibordseries}\see{use:fmt:lng}
16451 %\item Added \cmd{mkbibendnote}\see{aut:fmt:ich}
16452 %\item Added several localisation keys related to \texttt{editor}\see{aut:lng:key}
16453 %\item Added several localisation keys related to \texttt{translator}\see{aut:lng:key}
16454 %\item Added localisation key \texttt{thiscite}\see{aut:lng:key}
16455 %\item Removed several \texttt{country...} localisation keys\see{aut:lng:key}
16456 %\item Removed several \texttt{patent...} localisation keys\see{aut:lng:key}
16457 %\item Removed several \texttt{patreq...} localisation keys\see{aut:lng:key}
16458 %\item Updated and clarified documentation\see{aut:lng:key}
16459 %\item Added support for Brazilian Portuguese (by Augusto Ritter Stoffel)
16460 %\item Added preliminary support for Portuguese/Portugal\see{use:opt:pre:gen}
16461 %\item Added revised Swedish translations (by Per Starbäck)\see{use:opt:pre:gen}
16462 %\item Expanded documentation\see{aut:cav:nam}
16463 %\item Improved concatenation of editorial and other roles
16464 %\item Fixed some bugs
16465 %
16466 %\end{release}
16467 %
16468 %\begin{release}{0.8d}{2009-05-30}
16469 %
16470 %\item Removed package option \opt{bibtex8}\see{use:opt:pre:gen}
16471 %\item Added package option \opt{backend}\see{use:opt:pre:gen}
16472 %\item Slightly modified package option \bibfield{loccittracker}\see{use:opt:pre:int}
16473 %\item Added \cmd{volcite} and \cmd{Volcite}\see{use:cit:spc}
16474 %\item Added \cmd{pvolcite} and \cmd{Pvolcite}\see{use:cit:spc}
16475 %\item Added \cmd{fvolcite}\see{use:cit:spc}
16476 %\item Added \cmd{tvolcite} and \cmd{Tvolcite}\see{use:cit:spc}
16477 %\item Added \cmd{avolcite} and \cmd{Avolcite}\see{use:cit:spc}
16478 %\item Added \cmd{notecite} and \cmd{Notecite}\see{use:cit:spc}
16479 %\item Added \cmd{Pnotecite} and \cmd{Pnotecite}\see{use:cit:spc}
16480 %\item Added \cmd{fnotecite}\see{use:cit:spc}
16481 %\item Added \cmd{addabthinspace}\see{aut:pct:spc}
16482 %\item Disable citation and page trackers in \acr{TOC}/\acr{LOT}/\acr{LOF}\see{aut:cav:flt}
16483 %\item Disable citation and page trackers in floats\see{aut:cav:flt}
16484 %\item Improved on-demand loading of localisation modules
16485 %\item Fixed some bugs
16486 %
16487 %\end{release}
16488 %
16489 %\begin{release}{0.8c}{2009-01-10}
16490 %
16491 %\item Added <idem> tracker\see{use:opt:pre:int}
16492 %\item Added package option \opt{idemtracker}\see{use:opt:pre:int}
16493 %\item Added \cmd{ifciteidem}\see{aut:aux:tst}
16494 %\item Added \cmd{ifentryseen}\see{aut:aux:tst}
16495 %\item Improved citation style \texttt{verbose-trad1}\see{use:xbx:cbx}
16496 %\item Improved citation style \texttt{verbose-trad2}\see{use:xbx:cbx}
16497 %\item Renamed \len{bibitemextrasep} to \len{bibnamesep}\see{use:fmt:len}
16498 %\item Slightly modified \len{bibnamesep}\see{use:fmt:len}
16499 %\item Added \len{bibinitsep}\see{use:fmt:len}
16500 %\item Increased default value of \cnt{highnamepenalty}\see{use:fmt:len}
16501 %\item Increased default value of \cnt{lownamepenalty}\see{use:fmt:len}
16502 %\item Updated documentation\see{use:loc:us}
16503 %\item Added \cmd{uspunctuation}\see{aut:pct:cfg}
16504 %\item Added \cmd{stdpunctuation}\see{aut:pct:cfg}
16505 %\item Added \cmd{midsentence*}\see{aut:pct:ctr}
16506 %\item Fixed some bugs
16507 %
16508 %\end{release}
16509 %
16510 %\begin{release}{0.8b}{2008-12-13}
16511 %
16512 %\item Added package/entry option \opt{usetranslator}\see{use:opt:bib}
16513 %\item Added \cmd{ifusetranslator}\see{aut:aux:tst}
16514 %\item Consider \bibfield{translator} when sorting\see{use:srt}
16515 %\item Consider \bibfield{translator} when generating \bibfield{labelname}\see{aut:bbx:fld}
16516 %\item Added field \bibfield{eventtitle}\see{bib:fld:dat}
16517 %\item Support \bibfield{eventtitle} in \bibtype{proceedings} entries\see{bib:typ:blx}
16518 %\item Support \bibfield{eventtitle} in \bibtype{inproceedings} entries\see{bib:typ:blx}
16519 %\item Added unsupported entry type \bibtype{commentary}\see{bib:typ:ctm}
16520 %\item Permit \cmd{NewBibliographyString} in \file{lbx} files\see{aut:lng:cmd}
16521 %\item Improved behavior of \cmd{mkbibquote} in <American-punctuation> mode\see{aut:fmt:ich}
16522 %\item Fixed some bugs
16523 %
16524 %\end{release}
16525 %
16526 %\begin{release}{0.8a}{2008-11-29}
16527 %
16528 %\item Updated documentation (important, please read)\see{int:feb}
16529 %\item Added package option \kvopt{hyperref}{auto}\see{use:opt:pre:gen}
16530 %\item Improved bibliography style \texttt{reading}\see{use:xbx:bbx}
16531 %\item Updated \acr{KOMA}-Script support for version 3.x\see{use:cav:scr}
16532 %\item Slightly modified special field \bibfield{fullhash}\see{aut:bbx:fld}
16533 %\item Added documentation of \cmd{DeclareNumChars*}\see{aut:aux:msc}
16534 %\item Added documentation of \cmd{DeclareRangeChars*}\see{aut:aux:msc}
16535 %\item Added documentation of \cmd{DeclareRangeCommands*}\see{aut:aux:msc}
16536 %\item Added \cmd{MakeSentenceCase}\see{aut:aux:msc}
16537 %\item Added \cmd{DeclareCaseLangs}\see{aut:aux:msc}
16538 %\item Support nested \cmd{mkbibquote} with American punctuation\see{aut:fmt:ich}
16539 %\item Improved \cmd{ifpunctmark}\see{aut:pct:chk}
16540 %\item Improved punctuation tracker\see{aut:pct:pct}
16541 %\item Added \cmd{DeclarePunctuationPairs}\see{aut:pct:cfg}
16542 %\item Added \cmd{DeclareLanguageMapping}\see{aut:lng:cmd}
16543 %\item Added support for custom localisation modules\see{aut:cav:lng}
16544 %\item Added extended \pdf bookmarks to this manual
16545 %\item Fixed various bugs
16546 %
16547 %\end{release}
16548 %
16549 %\begin{release}{0.8}{2008-10-02}
16550 %
16551 %\item Added \cmd{DefineHyphenationExceptions}\see{use:lng}
16552 %\item Added \cmd{DeclareHyphenationExceptions}\see{aut:lng:cmd}
16553 %\item Added \cmd{mkpagetotal}\see{aut:aux:msc}
16554 %\item Improved \acr{KOMA}-Script support\see{use:cav:scr}
16555 %\item Added \cmd{ifkomabibtotoc}\see{use:cav:scr}
16556 %\item Added \cmd{ifkomabibtotocnumbered}\see{use:cav:scr}
16557 %\item Added \cmd{ifmemoirbibintoc}\see{use:cav:mem}
16558 %\item Updated documentation\see{use:bib:hdg}
16559 %\item Updated documentation of \cmd{iffootnote}\see{aut:aux:tst}
16560 %\item Added several new localisation keys\see{aut:lng:key}
16561 %\item Rearranged some localisation keys (\texttt{section} vs. \texttt{paragraph})\see{aut:lng:key}
16562 %\item Added unsupported entry type \bibtype{letter}\see{bib:typ:ctm}
16563 %\item Added entry type \bibtype{suppbook}\see{bib:typ:blx}
16564 %\item Added entry type \bibtype{suppcollection}\see{bib:typ:blx}
16565 %\item Added entry type \bibtype{suppperiodical}\see{bib:typ:blx}
16566 %\item Support \bibtype{reference} and \bibtype{inreference}\see{bib:typ:blx}
16567 %\item Support \bibtype{review} as an alias\see{bib:typ:ctm}
16568 %\item Added field \bibfield{origpublisher}\see{bib:fld:dat}
16569 %\item Added field alias \bibfield{annote}\see{bib:fld:als}
16570 %\item Expanded documentation\see{bib:cav:enc}
16571 %\item Added \cmd{DeclareCapitalPunctuation}\see{aut:pct:cfg}
16572 %\item Removed \cmd{EnableCapitalAfter} and \cmd{DisableCapitalAfter}\see{aut:pct:cfg}
16573 %\item Added support for <American-style> punctuation\see{aut:pct:cfg}
16574 %\item Added \cmd{DeclareQuotePunctuation}\see{aut:pct:cfg}
16575 %\item Improved \cmd{mkbibquote}\see{aut:fmt:ich}
16576 %\item Expanded documentation\see{use:loc:us}
16577 %\item Improved all \texttt{numeric} citation styles\see{use:xbx:cbx}
16578 %\item Improved \texttt{numeric} bibliography style\see{use:xbx:bbx}
16579 %\item Added citation style \texttt{authoryear-ibid}\see{use:xbx:cbx}
16580 %\item Improved all \texttt{authoryear} citation styles\see{use:xbx:cbx}
16581 %\item Improved \texttt{authoryear} bibliography style\see{use:xbx:bbx}
16582 %\item Added \opt{pageref} option to \texttt{verbose-note} style\see{use:xbx:cbx}
16583 %\item Added \opt{pageref} option to \texttt{verbose-inote} style\see{use:xbx:cbx}
16584 %\item Added citation style \texttt{reading}\see{use:xbx:cbx}
16585 %\item Added bibliography style \texttt{reading}\see{use:xbx:bbx}
16586 %\item Added citation style \texttt{draft}\see{use:xbx:cbx}
16587 %\item Added bibliography style \texttt{draft}\see{use:xbx:bbx}
16588 %\item Improved \sty{natbib} compatibility style\see{use:cit:nat}
16589 %\item Added \cmd{ifcitation}\see{aut:aux:tst}
16590 %\item Added \cmd{ifbibliography}\see{aut:aux:tst}
16591 %\item Added \cmd{printfile}\see{aut:bib:dat}
16592 %\item Added package option \opt{loadfiles}\see{use:opt:pre:gen}
16593 %\item Added support for bibliographic data in external files\see{use:use:prf}
16594 %\item Expanded documentation\see{aut:cav:prf}
16595 %\item Modified field \bibfield{edition}\see{bib:fld:dat}
16596 %\item Modified special field \bibfield{labelyear}\see{aut:bbx:fld}
16597 %\item Modified special field \bibfield{labelalpha}\see{aut:bbx:fld}
16598 %\item Added special field \bibfield{extraalpha}\see{aut:bbx:fld}
16599 %\item Added counter \cnt{maxlabelyear}\see{aut:fmt:ilc}
16600 %\item Added counter \cnt{maxextraalpha}\see{aut:fmt:ilc}
16601 %\item Added \cmd{mknumalph}\see{use:fmt:aux}
16602 %\item Added \cmd{mkbibacro}\see{use:fmt:aux}
16603 %\item Added \cmd{autocap}\see{use:fmt:aux}
16604 %\item Added package option \opt{firstinits}\see{use:opt:pre:gen}
16605 %\item Added \cmd{iffirstinits}\see{aut:aux:tst}
16606 %\item Added support for eprint data\see{use:use:epr}
16607 %\item Added support for arXiv\see{use:use:epr}
16608 %\item Expanded documentation \see{aut:cav:epr}
16609 %\item Added field \bibfield{eprint}\see{bib:fld:dat}
16610 %\item Added field \bibfield{eprinttype}\see{bib:fld:dat}
16611 %\item Added eprint support to all standard entry types\see{bib:typ:blx}
16612 %\item Added package option \opt{arxiv}\see{use:opt:pre:gen}
16613 %\item Introduced concept of an entry set\see{use:use:set}
16614 %\item Expanded documentation\see{aut:cav:set}
16615 %\item Added entry type \bibtype{set}\see{bib:typ:blx}
16616 %\item Added field \bibfield{entryset}\see{bib:fld:spc}
16617 %\item Added special field \bibfield{entrysetcount}\see{aut:bbx:fld}
16618 %\item Added \cmd{entrydata}\see{aut:bib:dat}
16619 %\item Expanded documentation\see{aut:cav:mif}
16620 %\item Added \cmd{entryset}\see{aut:bib:dat}
16621 %\item Added \cmd{strfield}\see{aut:aux:dat}
16622 %\item Improved \cmd{usedriver}\see{aut:aux:msc}
16623 %\item Added \cmd{bibpagespunct}\see{use:fmt:fmt}
16624 %\item Expanded documentation\see{aut:cav:pct}
16625 %\item Added entry option \opt{skipbib}\see{use:opt:bib}
16626 %\item Added entry option \opt{skiplos}\see{use:opt:bib}
16627 %\item Added entry option \opt{skiplab}\see{use:opt:bib}
16628 %\item Added entry option \opt{dataonly}\see{use:opt:bib}
16629 %\item Modified special field \bibfield{namehash}\see{aut:bbx:fld}
16630 %\item Added special field \bibfield{fullhash}\see{aut:bbx:fld}
16631 %\item Added \cmd{DeclareNumChars}\see{aut:aux:msc}
16632 %\item Added \cmd{DeclareRangeChars}\see{aut:aux:msc}
16633 %\item Added \cmd{DeclareRangeCommands}\see{aut:aux:msc}
16634 %\item Added support for Swedish (translations by Per Starbäck and others)
16635 %\item Updated various localisation files
16636 %\item Various minor improvements throughout
16637 %\item Fixed some bugs
16638 %
16639 %\end{release}
16640 %
16641 %\begin{release}{0.7}{2007-12-09}
16642 %
16643 %\item Expanded documentation\see{int:feb}
16644 %\item New dependency on \sty{etoolbox} package\see{int:pre:req}
16645 %\item Made \sty{url} a required package\see{int:pre:req}
16646 %\item Modified package option \opt{sorting}\see{use:opt:pre:gen}
16647 %\item Introduced concept of an entry option\see{use:opt:bib}
16648 %\item Added option \bibfield{useauthor}\see{use:opt:bib}
16649 %\item Added option \bibfield{useeditor}\see{use:opt:bib}
16650 %\item Modified option \bibfield{useprefix}\see{use:opt:bib}
16651 %\item Removed field \bibfield{useprefix}\see{bib:fld:spc}
16652 %\item Added field \bibfield{options}\see{bib:fld:spc}
16653 %\item Updated documentation\see{use:srt}
16654 %\item Added citation style \texttt{authortitle-ibid}\see{use:xbx:cbx}
16655 %\item Added citation style \texttt{authortitle-icomp}\see{use:xbx:cbx}
16656 %\item Renamed citation style \texttt{authortitle-cterse} to \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16657 %\item Renamed citation style \texttt{authortitle-verb} to \texttt{verbose}\see{use:xbx:cbx}
16658 %\item Renamed citation style \texttt{authortitle-cverb} to \texttt{verbose-ibid}\see{use:xbx:cbx}
16659 %\item Added citation style \texttt{verbose-note}\see{use:xbx:cbx}
16660 %\item Added citation style \texttt{verbose-inote}\see{use:xbx:cbx}
16661 %\item Renamed citation style \texttt{authortitle-trad} to \texttt{verbose-trad1}\see{use:xbx:cbx}
16662 %\item Removed citation style \texttt{authortitle-strad}\see{use:xbx:cbx}
16663 %\item Added citation style \texttt{verbose-trad2}\see{use:xbx:cbx}
16664 %\item Improved citation style \texttt{authoryear}\see{use:xbx:cbx}
16665 %\item Improved citation style \texttt{authoryear-comp}\see{use:xbx:cbx}
16666 %\item Improved citation style \texttt{authortitle-terse}\see{use:xbx:cbx}
16667 %\item Improved citation style \texttt{authortitle-tcomp}\see{use:xbx:cbx}
16668 %\item Improved all verbose citation styles\see{use:xbx:cbx}
16669 %\item Expanded documentation\see{bib:fld:typ}
16670 %\item Modified entry type \bibtype{article}\see{bib:typ:blx}
16671 %\item Added entry type \bibtype{periodical}\see{bib:typ:blx}
16672 %\item Added entry type \bibtype{patent}\see{bib:typ:blx}
16673 %\item Extended entry types \bibfield{proceedings} and \bibfield{inproceedings}\see{bib:typ:blx}
16674 %\item Extended entry type \bibfield{article}\see{bib:typ:blx}
16675 %\item Extended entry type \bibfield{booklet}\see{bib:typ:blx}
16676 %\item Extended entry type \bibfield{misc}\see{bib:typ:blx}
16677 %\item Added entry type alias \bibtype{electronic}\see{bib:typ:als}
16678 %\item Added new custom types\see{bib:typ:ctm}
16679 %\item Support \bibfield{pagetotal} field where applicable\see{bib:typ:blx}
16680 %\item Added field \bibfield{holder}\see{bib:fld:dat}
16681 %\item Added field \bibfield{venue}\see{bib:fld:dat}
16682 %\item Added field \bibfield{version}\see{bib:fld:dat}
16683 %\item Added field \bibfield{journaltitle}\see{bib:fld:dat}
16684 %\item Added field \bibfield{journalsubtitle}\see{bib:fld:dat}
16685 %\item Added field \bibfield{issuetitle}\see{bib:fld:dat}
16686 %\item Added field \bibfield{issuesubtitle}\see{bib:fld:dat}
16687 %\item Removed field \bibfield{journal}\see{bib:fld:dat}
16688 %\item Added field alias \bibfield{journal}\see{bib:fld:als}
16689 %\item Added field \bibfield{shortjournal}\see{bib:fld:dat}
16690 %\item Added field \bibfield{shortseries}\see{bib:fld:dat}
16691 %\item Added field \bibfield{shorthandintro}\see{bib:fld:dat}
16692 %\item Added field \bibfield{xref}\see{bib:fld:spc}
16693 %\item Added field \bibfield{authortype}\see{bib:fld:dat}
16694 %\item Added field \bibfield{editortype}\see{bib:fld:dat}
16695 %\item Added field \bibfield{reprinttitle}\see{bib:fld:dat}
16696 %\item Improved handling of field \bibfield{type}\see{bib:fld:dat}
16697 %\item Improved handling of field \bibfield{series}\see{bib:fld:dat}
16698 %\item Updated documentation\see{bib:use:ser}
16699 %\item Renamed field \bibfield{id} to \bibfield{eid}\see{bib:fld:dat}
16700 %\item Added field \bibfield{pagination}\see{bib:fld:dat}
16701 %\item Added field \bibfield{bookpagination}\see{bib:fld:dat}
16702 %\item Added special field \bibfield{sortinit}\see{aut:bbx:fld}
16703 %\item Introduced concept of a multicite command\see{use:cit:mlt}
16704 %\item Added \cmd{cites}\see{use:cit:mlt}
16705 %\item Added \cmd{Cites}\see{use:cit:mlt}
16706 %\item Added \cmd{parencites}\see{use:cit:mlt}
16707 %\item Added \cmd{Parencites}\see{use:cit:mlt}
16708 %\item Added \cmd{footcites}\see{use:cit:mlt}
16709 %\item Added \cmd{supercites}\see{use:cit:mlt}
16710 %\item Added \cmd{Autocite}\see{use:cit:aut}
16711 %\item Added \cmd{autocites}\see{use:cit:aut}
16712 %\item Added \cmd{Autocites}\see{use:cit:aut}
16713 %\item Added \cmd{DeclareMultiCiteCommand}\see{aut:cbx:cbx}
16714 %\item Added counter \cnt{multicitecount}\see{aut:fmt:ilc}
16715 %\item Added counter \cnt{multicitetotal}\see{aut:fmt:ilc}
16716 %\item Renamed \cmd{citefulltitle} to \cmd{citetitle*}\see{use:cit:txt}
16717 %\item Added \cmd{cite*}\see{use:cit:cbx}
16718 %\item Added \cmd{citeurl}\see{use:cit:txt}
16719 %\item Added documentation of field \bibfield{nameaddon}\see{bib:fld:dat}
16720 %\item Added field \bibfield{entrysubtype}\see{bib:fld:spc}
16721 %\item Added field \bibfield{execute}\see{bib:fld:spc}
16722 %\item Added custom fields \bibfield{verb{[a--c]}}\see{bib:fld:ctm}
16723 %\item Added custom fields \bibfield{name{[a--c]}type}\see{bib:fld:ctm}
16724 %\item Consider \bibfield{sorttitle} field when falling back to \bibfield{title}\see{use:srt}
16725 %\item Removed package option \opt{labelctitle}\see{use:opt:pre:int}
16726 %\item Removed field \opt{labelctitle}\see{aut:bbx:fld}
16727 %\item Added package option \opt{singletitle}\see{use:opt:pre:int}
16728 %\item Added \cmd{ifsingletitle}\see{aut:aux:tst}
16729 %\item Added \cmd{ifuseauthor}\see{aut:aux:tst}
16730 %\item Added \cmd{ifuseeditor}\see{aut:aux:tst}
16731 %\item Added \cmd{ifopcit}\see{aut:aux:tst}
16732 %\item Added \cmd{ifloccit}\see{aut:aux:tst}
16733 %\item Added package option \opt{uniquename}\see{use:opt:pre:int}
16734 %\item Added special counter \cnt{uniquename}\see{aut:aux:tst}
16735 %\item Added package option \opt{natbib}\see{use:opt:ldt}
16736 %\item Added compatibility commands for the \sty{natbib} package\see{use:cit:nat}
16737 %\item Added package option \opt{defernums}\see{use:opt:pre:gen}
16738 %\item Improved support for numeric labels\see{use:cav:lab}
16739 %\item Added package option \opt{mincrossrefs}\see{use:opt:pre:gen}
16740 %\item Added package option \opt{bibencoding}\see{use:opt:pre:gen}
16741 %\item Expanded documentation\see{bib:cav:enc}
16742 %\item Updated documentation\see{bib:cav:ide}
16743 %\item Added package option \opt{citetracker}\see{use:opt:pre:int}
16744 %\item Added package option \opt{ibidtracker}\see{use:opt:pre:int}
16745 %\item Added package option \bibfield{opcittracker}\see{use:opt:pre:int}
16746 %\item Added package option \bibfield{loccittracker}\see{use:opt:pre:int}
16747 %\item Added \cmd{citetrackertrue} and \cmd{citetrackerfalse}\see{aut:aux:msc}
16748 %\item Modified package option \opt{pagetracker}\see{use:opt:pre:int}
16749 %\item Added \cmd{pagetrackertrue} and \cmd{pagetrackerfalse}\see{aut:aux:msc}
16750 %\item Text commands now excluded from tracking\see{use:cit:txt}
16751 %\item Updated documentation of \cmd{iffirstonpage}\see{aut:aux:tst}
16752 %\item Updated documentation of \cmd{ifsamepage}\see{aut:aux:tst}
16753 %\item Removed package option \opt{keywsort}\see{use:opt:pre:gen}
16754 %\item Added package option \opt{refsection}\see{use:opt:pre:gen}
16755 %\item Added package option \opt{refsegment}\see{use:opt:pre:gen}
16756 %\item Added package option \opt{citereset}\see{use:opt:pre:gen}
16757 %\item Added option \opt{section} to \cmd{bibbysegment}\see{use:bib:bib}
16758 %\item Added option \opt{section} to \cmd{bibbycategory}\see{use:bib:bib}
16759 %\item Added option \opt{section} to \cmd{printshorthands}\see{use:bib:biblist}
16760 %\item Extended documentation of \env{refsection} environment\see{use:bib:sec}
16761 %\item Added \cmd{newrefsection}\see{use:bib:sec}
16762 %\item Added \cmd{newrefsegment}\see{use:bib:seg}
16763 %\item Added heading definition \texttt{subbibliography}\see{use:bib:hdg}
16764 %\item Added heading definition \texttt{subbibintoc}\see{use:bib:hdg}
16765 %\item Added heading definition \texttt{subbibnumbered}\see{use:bib:hdg}
16766 %\item Make all citation commands scan ahead for punctuation\see{use:cit}
16767 %\item Updated documentation of \cmd{DeclareAutoPunctuation}\see{aut:pct:cfg}
16768 %\item Removed \cmd{usecitecmd}\see{aut:cbx:cbx}
16769 %\item Updated documentation of \opt{autocite} package option\see{use:opt:pre:gen}
16770 %\item Updated documentation of \opt{autopunct} package option\see{use:opt:pre:gen}
16771 %\item Added \cmd{citereset}\see{use:cit:msc}
16772 %\item Added \cmd{citereset*}\see{use:cit:msc}
16773 %\item Added \cmd{mancite}\see{use:cit:msc}
16774 %\item Added \cmd{citesetup}\see{use:fmt:fmt}
16775 %\item Added \cmd{compcitedelim}\see{use:fmt:fmt}
16776 %\item Added \cmd{labelnamepunct}\see{use:fmt:fmt}
16777 %\item Added \cmd{subtitlepunct}\see{use:fmt:fmt}
16778 %\item Added \cmd{finallistdelim}\see{use:fmt:fmt}
16779 %\item Added \cmd{andmoredelim}\see{use:fmt:fmt}
16780 %\item Added \cmd{labelalphaothers}\see{use:fmt:fmt}
16781 %\item Added \len{bibitemextrasep}\see{use:fmt:len}
16782 %\item Renamed \cmd{blxauxprefix} to \cmd{blxauxsuffix}\see{use:use:aux}
16783 %\item Added \cmd{DeclareBibliographyOption}\see{aut:bbx:bbx}
16784 %\item Added \cmd{DeclareEntryOption}\see{aut:bbx:bbx}
16785 %\item Renamed \cmd{InitializeBibliographyDrivers} to \cmd{InitializeBibliographyStyle}\see{aut:bbx:bbx}
16786 %\item Added \cmd{InitializeCitationStyle}\see{aut:cbx:cbx}
16787 %\item Added \cmd{OnManualCitation}\see{aut:cbx:cbx}
16788 %\item Extended documentation of \cmd{DeclareCiteCommand}\see{aut:cbx:cbx}
16789 %\item Modified \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
16790 %\item Improved \cmd{printtext}\see{aut:bib:dat}
16791 %\item Improved \cmd{printfield}\see{aut:bib:dat}
16792 %\item Improved \cmd{printlist}\see{aut:bib:dat}
16793 %\item Improved \cmd{printnames}\see{aut:bib:dat}
16794 %\item Improved \cmd{indexfield}\see{aut:bib:dat}
16795 %\item Improved \cmd{indexlist}\see{aut:bib:dat}
16796 %\item Improved \cmd{indexnames}\see{aut:bib:dat}
16797 %\item Modified \cmd{DeclareFieldFormat}\see{aut:bib:fmt}
16798 %\item Modified \cmd{DeclareListFormat}\see{aut:bib:fmt}
16799 %\item Modified \cmd{DeclareNameFormat}\see{aut:bib:fmt}
16800 %\item Modified \cmd{DeclareFieldAlias}\see{aut:bib:fmt}
16801 %\item Modified \cmd{DeclareListAlias}\see{aut:bib:fmt}
16802 %\item Modified \cmd{DeclareNameAlias}\see{aut:bib:fmt}
16803 %\item Modified \cmd{DeclareIndexFieldFormat}\see{aut:bib:fmt}
16804 %\item Modified \cmd{DeclareIndexListFormat}\see{aut:bib:fmt}
16805 %\item Modified \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
16806 %\item Modified \cmd{DeclareIndexFieldAlias}\see{aut:bib:fmt}
16807 %\item Modified \cmd{DeclareIndexListAlias}\see{aut:bib:fmt}
16808 %\item Modified \cmd{DeclareIndexNameAlias}\see{aut:bib:fmt}
16809 %\item Improved \cmd{iffirstonpage}\see{aut:aux:tst}
16810 %\item Improved \cmd{ifciteseen}\see{aut:aux:tst}
16811 %\item Improved \cmd{ifandothers}\see{aut:aux:tst}
16812 %\item Added \cmd{ifinteger}\see{aut:aux:tst}
16813 %\item Added \cmd{ifnumeral}\see{aut:aux:tst}
16814 %\item Added \cmd{ifnumerals}\see{aut:aux:tst}
16815 %\item Removed \cmd{ifpage}\see{aut:aux:tst}
16816 %\item Removed \cmd{ifpages}\see{aut:aux:tst}
16817 %\item Moved \cmd{ifblank} to \sty{etoolbox} package\see{aut:aux:tst}
16818 %\item Removed \cmd{xifblank}\see{aut:aux:tst}
16819 %\item Moved \cmd{docsvlist} to \sty{etoolbox} package\see{aut:aux:msc}
16820 %\item Updated documentation of \cmd{docsvfield}\see{aut:aux:msc}
16821 %\item Added \cmd{ifciteibid}\see{aut:aux:tst}
16822 %\item Added \cmd{iffootnote}\see{aut:aux:tst}
16823 %\item Added \cmd{iffieldxref}\see{aut:aux:tst}
16824 %\item Added \cmd{iflistxref}\see{aut:aux:tst}
16825 %\item Added \cmd{ifnamexref}\see{aut:aux:tst}
16826 %\item Added \cmd{ifmoreitems}\see{aut:aux:tst}
16827 %\item Added \cmd{ifbibstring}\see{aut:aux:tst}
16828 %\item Added \cmd{iffieldbibstring}\see{aut:aux:tst}
16829 %\item Added \cmd{mkpageprefix}\see{aut:aux:msc}
16830 %\item Added \cmd{NumCheckSetup}\see{aut:aux:msc}
16831 %\item Added \cmd{pno}\see{use:cit:msc}
16832 %\item Added \cmd{ppno}\see{use:cit:msc}
16833 %\item Added \cmd{nopp}\see{use:cit:msc}
16834 %\item Added \cmd{ppspace}\see{aut:aux:msc}
16835 %\item Added \cmd{psq}\see{use:cit:msc}
16836 %\item Added \cmd{psqq}\see{use:cit:msc}
16837 %\item Added \cmd{sqspace}\see{aut:aux:msc}
16838 %\item Expanded documentation\see{bib:use:pag}
16839 %\item Expanded documentation\see{use:cav:pag}
16840 %\item Added \cmd{RN}\see{use:cit:msc}
16841 %\item Added \cmd{Rn}\see{use:cit:msc}
16842 %\item Added \cmd{RNfont}\see{use:cit:msc}
16843 %\item Added \cmd{Rnfont}\see{use:cit:msc}
16844 %\item Added package option \opt{punctfont}\see{use:opt:pre:gen}
16845 %\item Added \cmd{setpunctfont}\see{aut:pct:new}
16846 %\item Added \cmd{resetpunctfont}\see{aut:pct:new}
16847 %\item Added \cmd{nopunct}\see{aut:pct:pct}
16848 %\item Added \cmd{bibxstring}\see{aut:str}
16849 %\item Added \cmd{mkbibemph}\see{aut:fmt:ich}
16850 %\item Added \cmd{mkbibquote}\see{aut:fmt:ich}
16851 %\item Added \cmd{mkbibfootnote}\see{aut:fmt:ich}
16852 %\item Added \cmd{mkbibsuperscript}\see{aut:fmt:ich}
16853 %\item Added \cmd{currentfield}\see{aut:fmt:ilc}
16854 %\item Added \cmd{currentlist}\see{aut:fmt:ilc}
16855 %\item Added \cmd{currentname}\see{aut:fmt:ilc}
16856 %\item Added \cmd{AtNextCite}\see{aut:fmt:hok}
16857 %\item Added \cmd{AtNextCitekey}\see{aut:fmt:hok}
16858 %\item Added \cmd{AtDataInput}\see{aut:fmt:hok}
16859 %\item Added several new localisation keys\see{aut:lng:key}
16860 %\item Added support for Norwegian (translations by Johannes Wilm)
16861 %\item Added support for Danish (translations by Johannes Wilm)
16862 %\item Expanded documentation\see{aut:cav:grp}
16863 %\item Expanded documentation\see{aut:cav:mif}
16864 %\item Numerous improvements under the hood
16865 %\item Fixed some bugs
16866 %
16867 %\end{release}
16868 %
16869 %\begin{release}{0.6}{2007-01-06}
16870 %
16871 %\item Added package option \kvopt{sorting}{none}\see{use:opt:pre:gen}
16872 %\item Renamed package option \kvopt{block}{penalty} to \kvopt{block}{ragged}\see{use:opt:pre:gen}
16873 %\item Changed data type of \bibfield{origlanguage} back to field\see{bib:fld:dat}
16874 %\item Support \bibfield{origlanguage} field if \bibfield{translator} is present\see{bib:typ:blx}
16875 %\item Renamed field \bibfield{articleid} to \bibfield{id}\see{bib:fld:dat}
16876 %\item Support \bibfield{id} field in \bibfield{article} entries\see{bib:typ:blx}
16877 %\item Support \bibfield{series} field in \bibfield{article} entries\see{bib:typ:blx}
16878 %\item Support \bibfield{doi} field\see{bib:typ:blx}
16879 %\item Updated documentation of all entry types\see{bib:typ:blx}
16880 %\item Updated documentation of field \bibfield{series}\see{bib:fld:dat}
16881 %\item Added field \bibfield{redactor}\see{bib:fld:dat}
16882 %\item Added field \bibfield{shortauthor}\see{bib:fld:dat}
16883 %\item Added field \bibfield{shorteditor}\see{bib:fld:dat}
16884 %\item Improved support for corporate authors and editors\see{bib:use:inc}
16885 %\item Updated documentation of field \bibfield{labelname}\see{aut:bbx:fld}
16886 %\item Added field alias \bibfield{key}\see{bib:fld:als}
16887 %\item Added package option \opt{autocite}\see{use:opt:pre:gen}
16888 %\item Added package option \opt{autopunct}\see{use:opt:pre:gen}
16889 %\item Added \cmd{autocite}\see{use:cit:aut}
16890 %\item Added \cmd{DeclareAutoCiteCommand}\see{aut:cbx:cbx}
16891 %\item Added \cmd{DeclareAutoPunctuation}\see{aut:pct:cfg}
16892 %\item Added option \opt{filter} to \cmd{printbibliography}\see{use:bib:bib}
16893 %\item Added \cmd{defbibfilter}\see{use:bib:flt}
16894 %\item Added package option \opt{maxitems}\see{use:opt:pre:gen}
16895 %\item Added package option \opt{minitems}\see{use:opt:pre:gen}
16896 %\item Added option \opt{maxitems} to \cmd{printbibliography}\see{use:bib:bib}
16897 %\item Added option \opt{minitems} to \cmd{printbibliography}\see{use:bib:bib}
16898 %\item Added option \opt{maxitems} to \cmd{bibbysection}\see{use:bib:bib}
16899 %\item Added option \opt{minitems} to \cmd{bibbysection}\see{use:bib:bib}
16900 %\item Added option \opt{maxitems} to \cmd{bibbysegment}\see{use:bib:bib}
16901 %\item Added option \opt{minitems} to \cmd{bibbysegment}\see{use:bib:bib}
16902 %\item Added option \opt{maxitems} to \cmd{bibbycategory}\see{use:bib:bib}
16903 %\item Added option \opt{minitems} to \cmd{bibbycategory}\see{use:bib:bib}
16904 %\item Added option \opt{maxitems} to \cmd{printshorthands}\see{use:bib:biblist}
16905 %\item Added option \opt{minitems} to \cmd{printshorthands}\see{use:bib:biblist}
16906 %\item Added counter \cnt{maxitems}\see{aut:fmt:ilc}
16907 %\item Added counter \cnt{minitems}\see{aut:fmt:ilc}
16908 %\item Added adapted headings for \sty{scrartcl}, \sty{scrbook}, \sty{scrreprt}\see{int:pre:cmp}
16909 %\item Added adapted headings for \sty{memoir}\see{int:pre:cmp}
16910 %\item Added \cmd{Cite}\see{use:cit:std}
16911 %\item Added \cmd{Parencite}\see{use:cit:std}
16912 %\item Added \cmd{Textcite}\see{use:cit:cbx}
16913 %\item Added \cmd{parencite*}\see{use:cit:cbx}
16914 %\item Added \cmd{supercite}\see{use:cit:cbx}
16915 %\item Added \cmd{Citeauthor}\see{use:cit:txt}
16916 %\item Added \cmd{nameyeardelim}\see{use:fmt:fmt}
16917 %\item Added \cmd{multilistdelim}\see{use:fmt:fmt}
16918 %\item Completed documenation\see{use:fmt:fmt}
16919 %\item Completed documenation\see{aut:fmt:fmt}
16920 %\item Added \cmd{usecitecmd}\see{aut:cbx:cbx}
16921 %\item Added \cmd{hyphenate}\see{use:fmt:aux}
16922 %\item Added \cmd{hyphen}\see{use:fmt:aux}
16923 %\item Added \cmd{nbhyphen}\see{use:fmt:aux}
16924 %\item Improved \cmd{ifsamepage}\see{aut:aux:tst}
16925 %\item Removed \cmd{ifnameequalstr}\see{aut:aux:tst}
16926 %\item Removed \cmd{iflistequalstr}\see{aut:aux:tst}
16927 %\item Added \cmd{ifcapital}\see{aut:aux:tst}
16928 %\item Added documentation of \cmd{MakeCapital}\see{aut:aux:msc}
16929 %\item Added starred variant to \cmd{setunit}\see{aut:pct:new}
16930 %\item Improved \cmd{ifterm}\see{aut:pct:chk}
16931 %\item Straightened out documentation of \cmd{thelist}\see{aut:aux:dat}
16932 %\item Straightened out documentation of \cmd{thename}\see{aut:aux:dat}
16933 %\item Added \cmd{docsvfield}\see{aut:aux:msc}
16934 %\item Added \cmd{docsvlist}\see{aut:aux:msc}
16935 %\item Removed \cmd{CopyFieldFormat}\see{aut:bib:fmt}
16936 %\item Removed \cmd{CopyIndexFieldFormat}\see{aut:bib:fmt}
16937 %\item Removed \cmd{CopyListFormat}\see{aut:bib:fmt}
16938 %\item Removed \cmd{CopyIndexListFormat}\see{aut:bib:fmt}
16939 %\item Removed \cmd{CopyNameFormat}\see{aut:bib:fmt}
16940 %\item Removed \cmd{CopyIndexNameFormat}\see{aut:bib:fmt}
16941 %\item Added \cmd{savefieldformat}\see{aut:aux:msc}
16942 %\item Added \cmd{restorefieldformat}\see{aut:aux:msc}
16943 %\item Added \cmd{savelistformat}\see{aut:aux:msc}
16944 %\item Added \cmd{restorelistformat}\see{aut:aux:msc}
16945 %\item Added \cmd{savenameformat}\see{aut:aux:msc}
16946 %\item Added \cmd{restorenameformat}\see{aut:aux:msc}
16947 %\item Added \cmd{savebibmacro}\see{aut:aux:msc}
16948 %\item Added \cmd{restorebibmacro}\see{aut:aux:msc}
16949 %\item Added \cmd{savecommand}\see{aut:aux:msc}
16950 %\item Added \cmd{restorecommand}\see{aut:aux:msc}
16951 %\item Added documentation of \texttt{shorthands} driver\see{aut:bbx:bbx}
16952 %\item Rearranged, renamed, and extended localisation keys\see{aut:lng:key}
16953 %\item Renamed counter \cnt{citecount} to \cnt{instcount}\see{aut:fmt:ilc}
16954 %\item Added new counter \cnt{citecount}\see{aut:fmt:ilc}
16955 %\item Added counter \cnt{citetotal}\see{aut:fmt:ilc}
16956 %\item Rearranged and expanded documentation\see{bib:use}
16957 %\item Expanded documentation\see{bib:cav}
16958 %\item Expanded documentation\see{use:cav:scr}
16959 %\item Expanded documentation\see{use:cav:mem}
16960 %\item Completed support for Spanish\see{use:loc:esp}
16961 %\item Added support for Italian (translations by Enrico Gregorio)
16962 %\item Added language alias \opt{australian}\see{bib:fld:spc}
16963 %\item Added language alias \opt{newzealand}\see{bib:fld:spc}
16964 %\item Various minor improvements throughout
16965 %
16966 %\end{release}
16967 %
16968 %\begin{release}{0.5}{2006-11-12}
16969 %
16970 %\item Added \cmd{usedriver}\see{aut:aux:msc}
16971 %\item Added package option \opt{pagetracker}\see{use:opt:pre:gen}
16972 %\item Added \cmd{iffirstonpage}\see{aut:aux:tst}
16973 %\item Added \cmd{ifsamepage}\see{aut:aux:tst}
16974 %\item Corrected documentation of \cmd{ifciteseen}\see{aut:aux:tst}
16975 %\item Added package option \opt{terseinits}\see{use:opt:pre:gen}
16976 %\item Modified default value of package option \opt{maxnames}\see{use:opt:pre:gen}
16977 %\item Renamed package option \opt{index} to \opt{indexing}\see{use:opt:pre:gen}
16978 %\item Extended package option \opt{indexing}\see{use:opt:pre:gen}
16979 %\item Removed package option \opt{citeindex}\see{use:opt:pre:gen}
16980 %\item Removed package option \opt{bibindex}\see{use:opt:pre:gen}
16981 %\item Added package option \opt{labelalpha}\see{use:opt:pre:int}
16982 %\item Updated documentation of field \bibfield{labelalpha}\see{aut:bbx:fld}
16983 %\item Added package option \opt{labelctitle}\see{use:opt:pre:int}
16984 %\item Updated documentation of field \bibfield{labelctitle}\see{aut:bbx:fld}
16985 %\item Added package option \opt{labelnumber}\see{use:opt:pre:int}
16986 %\item Updated documentation of field \bibfield{labelnumber}\see{aut:bbx:fld}
16987 %\item Added package option \opt{labelyear}\see{use:opt:pre:int}
16988 %\item Updated documentation of field \bibfield{labelyear}\see{aut:bbx:fld}
16989 %\item Added citation style \texttt{authortitle-verb}\see{use:xbx:cbx}
16990 %\item Added citation style \texttt{authortitle-cverb}\see{use:xbx:cbx}
16991 %\item Renamed citation style \texttt{traditional} to \texttt{authortitle-trad}\see{use:xbx:cbx}
16992 %\item Improved citation style \texttt{authortitle-trad}\see{use:xbx:cbx}
16993 %\item Added citation style \texttt{authortitle-strad}\see{use:xbx:cbx}
16994 %\item Improved bibliography style \texttt{authoryear}\see{use:xbx:bbx}
16995 %\item Improved bibliography style \texttt{authortitle}\see{use:xbx:bbx}
16996 %\item Added option \opt{maxnames} to \cmd{printbibliography}\see{use:bib:bib}
16997 %\item Added option \opt{minnames} to \cmd{printbibliography}\see{use:bib:bib}
16998 %\item Added option \opt{maxnames} to \cmd{bibbysection}\see{use:bib:bib}
16999 %\item Added option \opt{minnames} to \cmd{bibbysection}\see{use:bib:bib}
17000 %\item Added option \opt{maxnames} to \cmd{bibbysegment}\see{use:bib:bib}
17001 %\item Added option \opt{minnames} to \cmd{bibbysegment}\see{use:bib:bib}
17002 %\item Added option \opt{maxnames} to \cmd{bibbycategory}\see{use:bib:bib}
17003 %\item Added option \opt{minnames} to \cmd{bibbycategory}\see{use:bib:bib}
17004 %\item Added option \opt{maxnames} to \cmd{printshorthands}\see{use:bib:biblist}
17005 %\item Added option \opt{minnames} to \cmd{printshorthands}\see{use:bib:biblist}
17006 %\item Renamed \env{bibsection} to \env{refsection} (conflict with \sty{memoir})\see{use:bib:sec}
17007 %\item Renamed \env{bibsegment} to \env{refsegment} (consistency)\see{use:bib:seg}
17008 %\item Extended \env{refsection} environment\see{use:bib:sec}
17009 %\item Renamed \env{bibsection} counter to \env{refsection}\see{aut:fmt:ilc}
17010 %\item Renamed \env{bibsegment} counter to \env{refsegment}\see{aut:fmt:ilc}
17011 %\item Updated documentation\see{use:use:mlt}
17012 %\item Added counter \cnt{citecount}\see{aut:fmt:ilc}
17013 %\item Modified default definition of \cmd{blxauxprefix}\see{use:use:aux}
17014 %\item Added \cmd{CopyFieldFormat}\see{aut:bib:fmt}
17015 %\item Added \cmd{CopyIndexFieldFormat}\see{aut:bib:fmt}
17016 %\item Added \cmd{CopyListFormat}\see{aut:bib:fmt}
17017 %\item Added \cmd{CopyIndexListFormat}\see{aut:bib:fmt}
17018 %\item Added \cmd{CopyNameFormat}\see{aut:bib:fmt}
17019 %\item Added \cmd{CopyIndexNameFormat}\see{aut:bib:fmt}
17020 %\item Added \cmd{clearfield}\see{aut:aux:dat}
17021 %\item Added \cmd{clearlist}\see{aut:aux:dat}
17022 %\item Added \cmd{clearname}\see{aut:aux:dat}
17023 %\item Added \cmd{restorefield}\see{aut:aux:dat}
17024 %\item Added \cmd{restorelist}\see{aut:aux:dat}
17025 %\item Added \cmd{restorename}\see{aut:aux:dat}
17026 %\item Renamed \cmd{bibhyperlink} to \cmd{bibhyperref}\see{aut:aux:msc}
17027 %\item Added new command \cmd{bibhyperlink}\see{aut:aux:msc}
17028 %\item Added \cmd{bibhypertarget}\see{aut:aux:msc}
17029 %\item Renamed formatting directive \texttt{bibhyperlink} to \texttt{bibhyperref}\see{aut:fmt:ich}
17030 %\item Added new formatting directive \texttt{bibhyperlink}\see{aut:fmt:ich}
17031 %\item Added formatting directive \texttt{bibhypertarget}\see{aut:fmt:ich}
17032 %\item Added \cmd{addlpthinspace}\see{aut:pct:spc}
17033 %\item Added \cmd{addhpthinspace}\see{aut:pct:spc}
17034 %\item Added field \bibfield{annotator}\see{bib:fld:dat}
17035 %\item Added field \bibfield{commentator}\see{bib:fld:dat}
17036 %\item Added field \bibfield{introduction}\see{bib:fld:dat}
17037 %\item Added field \bibfield{foreword}\see{bib:fld:dat}
17038 %\item Added field \bibfield{afterword}\see{bib:fld:dat}
17039 %\item Updated documentation of field \bibfield{translator}\see{bib:fld:dat}
17040 %\item Added field \bibfield{articleid}\see{bib:fld:dat}
17041 %\item Added field \bibfield{doi}\see{bib:fld:dat}
17042 %\item Added field \bibfield{file}\see{bib:fld:dat}
17043 %\item Added field alias \bibfield{pdf}\see{bib:fld:als}
17044 %\item Added field \bibfield{indextitle}\see{bib:fld:dat}
17045 %\item Added field \bibfield{indexsorttitle}\see{bib:fld:spc}
17046 %\item Changed data type of \bibfield{language}\see{bib:fld:dat}
17047 %\item Changed data type of \bibfield{origlanguage}\see{bib:fld:dat}
17048 %\item Updated documentation of entry type \bibfield{book}\see{bib:typ:blx}
17049 %\item Updated documentation of entry type \bibfield{collection}\see{bib:typ:blx}
17050 %\item Updated documentation of entry type \bibfield{inbook}\see{bib:typ:blx}
17051 %\item Updated documentation of entry type \bibfield{incollection}\see{bib:typ:blx}
17052 %\item Extended entry type \bibfield{misc}\see{bib:typ:blx}
17053 %\item Added \cmd{UndefineBibliographyExtras}\see{use:lng}
17054 %\item Added \cmd{UndeclareBibliographyExtras}\see{aut:lng:cmd}
17055 %\item Added \cmd{finalandcomma}\see{use:fmt:lng}
17056 %\item Added localisation key \texttt{citedas}\see{aut:lng:key}
17057 %\item Renamed localisation key \texttt{editby} to \texttt{edited}\see{aut:lng:key}
17058 %\item Renamed localisation key \texttt{transby} to \texttt{translated}\see{aut:lng:key}
17059 %\item Added localisation key \texttt{annotated}\see{aut:lng:key}
17060 %\item Added localisation key \texttt{commented}\see{aut:lng:key}
17061 %\item Added localisation key \texttt{introduced}\see{aut:lng:key}
17062 %\item Added localisation key \texttt{foreworded}\see{aut:lng:key}
17063 %\item Added localisation key \texttt{afterworded}\see{aut:lng:key}
17064 %\item Added localisation key \texttt{commentary}\see{aut:lng:key}
17065 %\item Added localisation key \texttt{annotations}\see{aut:lng:key}
17066 %\item Added localisation key \texttt{introduction}\see{aut:lng:key}
17067 %\item Added localisation key \texttt{foreword}\see{aut:lng:key}
17068 %\item Added localisation key \texttt{afterword}\see{aut:lng:key}
17069 %\item Added localisation key \texttt{doneby}\see{aut:lng:key}
17070 %\item Added localisation key \texttt{itemby}\see{aut:lng:key}
17071 %\item Added localisation key \texttt{spanish}\see{aut:lng:key}
17072 %\item Added localisation key \texttt{latin}\see{aut:lng:key}
17073 %\item Added localisation key \texttt{greek}\see{aut:lng:key}
17074 %\item Modified localisation key \texttt{fromenglish}\see{aut:lng:key}
17075 %\item Modified localisation key \texttt{fromfrench}\see{aut:lng:key}
17076 %\item Modified localisation key \texttt{fromgerman}\see{aut:lng:key}
17077 %\item Added localisation key \texttt{fromspanish}\see{aut:lng:key}
17078 %\item Added localisation key \texttt{fromlatin}\see{aut:lng:key}
17079 %\item Added localisation key \texttt{fromgreek}\see{aut:lng:key}
17080 %\item Expanded documentation\see{bib:use}
17081 %\item Updated documentation\see{use:xbx:cbx}
17082 %\item Updated documentation\see{use:xbx:bbx}
17083 %\item Updated documentation\see{use:fmt:fmt}
17084 %\item Updated documentation\see{aut:fmt:fmt}
17085 %\item Updated and completed documentation\see{use:fmt:lng}
17086 %\item Updated and completed documentation\see{aut:fmt:lng}
17087 %\item Added support for Spanish (translations by Ignacio Fernández Galván)
17088 %\item Various memory-related optimizations in \path{biblatex.bst}
17089 %
17090 %\end{release}
17091 %
17092 %\begin{release}{0.4}{2006-10-01}
17093 %
17094 %\item Added package option \opt{sortlos}\see{use:opt:pre:gen}
17095 %\item Added package option \opt{bibtex8}\see{use:opt:pre:gen}
17096 %\item Made \bibfield{pageref} field local to \env{refsection} environment\see{aut:bbx:fld}
17097 %\item Renamed field \bibfield{labeltitle} to \bibfield{labelctitle}\see{aut:bbx:fld}
17098 %\item Added new field \bibfield{labeltitle}\see{aut:bbx:fld}
17099 %\item Added new field \bibfield{sortkey}\see{bib:fld:spc}
17100 %\item Updated documentation\see{use:srt}
17101 %\item Removed \cmd{iffieldtrue}\see{aut:aux:tst}
17102 %\item Renamed counter \cnt{namepenalty} to \cnt{highnamepenalty}\see{use:fmt:len}
17103 %\item Added counter \cnt{lownamepenalty}\see{use:fmt:len}
17104 %\item Added documentation of \cmd{noligature}\see{use:fmt:aux}
17105 %\item Added \cmd{addlowpenspace}\see{aut:pct:spc}
17106 %\item Added \cmd{addhighpenspace}\see{aut:pct:spc}
17107 %\item Added \cmd{addabbrvspace}\see{aut:pct:spc}
17108 %\item Added \cmd{adddotspace}\see{aut:pct:spc}
17109 %\item Added \cmd{addslash}\see{aut:pct:spc}
17110 %\item Expanded documentation\see{use:cav}
17111 %\item Various minor improvements throughout
17112 %\item Fixed some bugs
17113 %
17114 %\end{release}
17115 %
17116 %\begin{release}{0.3}{2006-09-24}
17117 %
17118 %\item Renamed citation style \texttt{authortitle} to \texttt{authortitle-terse}\see{use:xbx:cbx}
17119 %\item Renamed citation style \texttt{authortitle-comp} to \texttt{authortitle-cterse}\see{use:xbx:cbx}
17120 %\item Renamed citation style \texttt{authortitle-verb} to \texttt{authortitle}\see{use:xbx:cbx}
17121 %\item Added new citation style \texttt{authortitle-comp}\see{use:xbx:cbx}
17122 %\item Citation style \texttt{traditional} now supports <loc.~cit.>\see{use:xbx:cbx}
17123 %\item Added package option \opt{date}\see{use:opt:pre:gen}
17124 %\item Added package option \opt{urldate}\see{use:opt:pre:gen}
17125 %\item Introduced new data type: literal lists\see{bib:fld}
17126 %\item Renamed \cmd{citename} to \cmd{citeauthor}\see{use:cit:txt}
17127 %\item Renamed \cmd{citelist} to \cmd{citename}\see{use:cit:low}
17128 %\item Added new \cmd{citelist} command\see{use:cit:low}
17129 %\item Renamed \cmd{printlist} to \cmd{printnames}\see{aut:bib:dat}
17130 %\item Added new \cmd{printlist} command\see{aut:bib:dat}
17131 %\item Renamed \cmd{indexlist} to \cmd{indexnames}\see{aut:bib:dat}
17132 %\item Added new \cmd{indexlist} command\see{aut:bib:dat}
17133 %\item Renamed \cmd{DeclareListFormat} to \cmd{DeclareNameFormat}\see{aut:bib:fmt}
17134 %\item Added new \cmd{DeclareListFormat} command\see{aut:bib:fmt}
17135 %\item Renamed \cmd{DeclareListAlias} to \cmd{DeclareNameAlias}\see{aut:bib:fmt}
17136 %\item Added new \cmd{DeclareListAlias} command\see{aut:bib:fmt}
17137 %\item Renamed \cmd{DeclareIndexListFormat} to \cmd{DeclareIndexNameFormat}\see{aut:bib:fmt}
17138 %\item Added new \cmd{DeclareIndexListFormat} command\see{aut:bib:fmt}
17139 %\item Renamed \cmd{DeclareIndexListAlias} to \cmd{DeclareIndexNameAlias}\see{aut:bib:fmt}
17140 %\item Added new \cmd{DeclareIndexListAlias} command\see{aut:bib:fmt}
17141 %\item Renamed \cmd{biblist} to \cmd{thename}\see{aut:aux:dat}
17142 %\item Added new \cmd{thelist} command\see{aut:aux:dat}
17143 %\item Renamed \cmd{bibfield} to \cmd{thefield}\see{aut:aux:dat}
17144 %\item Renamed \cmd{savelist} to \cmd{savename}\see{aut:aux:dat}
17145 %\item Added new \cmd{savelist} command\see{aut:aux:dat}
17146 %\item Renamed \cmd{savelistcs} to \cmd{savenamecs}\see{aut:aux:dat}
17147 %\item Added new \cmd{savelistcs} command\see{aut:aux:dat}
17148 %\item Renamed \cmd{iflistundef} to \cmd{ifnameundef}\see{aut:aux:tst}
17149 %\item Added new \cmd{iflistundef} test\see{aut:aux:tst}
17150 %\item Renamed \cmd{iflistsequal} to \cmd{ifnamesequal}\see{aut:aux:tst}
17151 %\item Added new \cmd{iflistsequal} test\see{aut:aux:tst}
17152 %\item Renamed \cmd{iflistequals} to \cmd{ifnameequals}\see{aut:aux:tst}
17153 %\item Added new \cmd{iflistequals} test\see{aut:aux:tst}
17154 %\item Renamed \cmd{iflistequalcs} to \cmd{ifnameequalcs}\see{aut:aux:tst}
17155 %\item Added new \cmd{iflistequalcs} test\see{aut:aux:tst}
17156 %\item Renamed \cmd{iflistequalstr} to \cmd{ifnameequalstr}\see{aut:aux:tst}
17157 %\item Added new \cmd{iflistequalstr} test\see{aut:aux:tst}
17158 %\item Renamed \cmd{ifcurrentlist} to \cmd{ifcurrentname}\see{aut:aux:tst}
17159 %\item Added new \cmd{ifcurrentlist} test\see{aut:aux:tst}
17160 %\item Entry type alias \bibtype{conference} now resolved by \bibtex\see{bib:typ:als}
17161 %\item Entry type alias \bibtype{mastersthesis} now resolved by \bibtex\see{bib:typ:als}
17162 %\item Entry type alias \bibtype{phdthesis} now resolved by \bibtex\see{bib:typ:als}
17163 %\item Entry type alias \bibtype{techreport} now resolved by \bibtex\see{bib:typ:als}
17164 %\item Entry type alias \bibtype{www} now resolved by \bibtex\see{bib:typ:als}
17165 %\item Added new custom fields \bibfield{lista} through \bibfield{listf}\see{bib:fld:ctm}
17166 %\item Changed data type of \bibfield{location}\see{bib:fld:dat}
17167 %\item Changed data type of \bibfield{origlocation}\see{bib:fld:dat}
17168 %\item Changed data type of \bibfield{publisher}\see{bib:fld:dat}
17169 %\item Changed data type of \bibfield{institution}\see{bib:fld:dat}
17170 %\item Changed data type of \bibfield{organization}\see{bib:fld:dat}
17171 %\item Modified values of \bibfield{gender} field for \sty{jurabib} compatibility\see{bib:fld:spc}
17172 %\item Modified and extended \texttt{idem\dots} keys for \sty{jurabib} compatibility\see{aut:lng:key}
17173 %\item Improved \cmd{addtocategory}\see{use:bib:cat}
17174 %\item Removed formatting command \cmd{mkshorthand}\see{use:fmt:fmt}
17175 %\item Added field formatting directive \texttt{shorthandwidth}\see{aut:fmt:ich}
17176 %\item Added documentation of \cmd{shorthandwidth}\see{aut:fmt:ilc}
17177 %\item Removed formatting command \cmd{mklabelnumber}\see{use:fmt:fmt}
17178 %\item Added field formatting directive \texttt{labelnumberwidth}\see{aut:fmt:ich}
17179 %\item Added documentation of \cmd{labelnumberwidth}\see{aut:fmt:ilc}
17180 %\item Removed formatting command \cmd{mklabelalpha}\see{use:fmt:fmt}
17181 %\item Added field formatting directive \texttt{labelalphawidth}\see{aut:fmt:ich}
17182 %\item Added documentation of \cmd{labelalphawidth}\see{aut:fmt:ilc}
17183 %\item Renamed \cmd{bibitem} to \cmd{thebibitem}\see{aut:bbx:env}
17184 %\item Renamed \cmd{lositem} to \cmd{thelositem}\see{aut:bbx:env}
17185 %\item Modified \cmd{AtBeginBibliography}\see{aut:fmt:hok}
17186 %\item Added \cmd{AtBeginShorthands}\see{aut:fmt:hok}
17187 %\item Added \cmd{AtEveryLositem}\see{aut:fmt:hok}
17188 %\item Extended \sty{showkeys} compatibility to list of shorthands\see{int:pre:cmp}
17189 %\item Added compatibility code for the \sty{hyperref} package\see{int:pre:cmp}
17190 %\item Added package option \opt{hyperref}\see{use:opt:pre:gen}
17191 %\item Added package option \opt{backref}\see{use:opt:pre:gen}
17192 %\item Added field \bibfield{pageref}\see{aut:bbx:fld}
17193 %\item Added \cmd{ifhyperref}\see{aut:aux:msc}
17194 %\item Added \cmd{bibhyperlink}\see{aut:aux:msc}
17195 %\item Added field formatting directive \texttt{bibhyperlink}\see{aut:fmt:ich}
17196 %\item Renamed \cmd{ifandothers} to \cmd{ifmorenames}\see{aut:aux:tst}
17197 %\item Added new \cmd{ifandothers} test\see{aut:aux:tst}
17198 %\item Removed field \bibfield{moreauthor}\see{aut:bbx:fld}
17199 %\item Removed field \bibfield{morebookauthor}\see{aut:bbx:fld}
17200 %\item Removed field \bibfield{moreeditor}\see{aut:bbx:fld}
17201 %\item Removed field \bibfield{morelabelname}\see{aut:bbx:fld}
17202 %\item Removed field \bibfield{moretranslator}\see{aut:bbx:fld}
17203 %\item Removed field \bibfield{morenamea}\see{aut:bbx:fld}
17204 %\item Removed field \bibfield{morenameb}\see{aut:bbx:fld}
17205 %\item Removed field \bibfield{morenamec}\see{aut:bbx:fld}
17206 %\item Updated documentation\see{aut:int}
17207 %\item Updated documentation\see{aut:bbx:bbx}
17208 %\item Updated documentation\see{aut:bbx:env}
17209 %\item Updated documentation\see{aut:bbx:drv}
17210 %\item Expanded documentation\see{aut:fmt}
17211 %\item Modified internal \bibtex interface
17212 %\item Fixed some typos in the manual
17213 %\item Fixed some bugs
17214 %
17215 %\end{release}
17216 %
17217 %\begin{release}{0.2}{2006-09-06}
17218 %
17219 %\item Added bibliography categories\see{use:bib:cat}
17220 %\item Added \cmd{DeclareBibliographyCategory}\see{use:bib:cat}
17221 %\item Added \cmd{addtocategory}\see{use:bib:cat}
17222 %\item Added \texttt{category} and \texttt{notcategory} filters\see{use:bib:bib}
17223 %\item Added \cmd{bibbycategory}\see{use:bib:bib}
17224 %\item Added usage examples for bibliography categories\see{use:use:div}
17225 %\item Added documentation of configuration file\see{use:cfg:cfg}
17226 %\item Added documentation of \cmd{ExecuteBibliographyOptions}\see{use:cfg:opt}
17227 %\item Added documentation of \cmd{AtBeginBibliography}\see{aut:fmt:hok}
17228 %\item Added \cmd{AtEveryBibitem}\see{aut:fmt:hok}
17229 %\item Added \cmd{AtEveryCite}\see{aut:fmt:hok}
17230 %\item Added \cmd{AtEveryCitekey}\see{aut:fmt:hok}
17231 %\item Added optional argument to \cmd{printtext}\see{aut:bib:dat}
17232 %\item Added \cmd{ifpage}\see{aut:aux:tst}
17233 %\item Added \cmd{ifpages}\see{aut:aux:tst}
17234 %\item Added field \bibfield{titleaddon}\see{bib:fld:dat}
17235 %\item Added field \bibfield{booktitleaddon}\see{bib:fld:dat}
17236 %\item Added field \bibfield{maintitleaddon}\see{bib:fld:dat}
17237 %\item Added field \bibfield{library}\see{bib:fld:dat}
17238 %\item Added field \bibfield{part}\see{bib:fld:dat}
17239 %\item Added field \bibfield{origlocation}\see{bib:fld:dat}
17240 %\item Added field \bibfield{origtitle}\see{bib:fld:dat}
17241 %\item Added field \bibfield{origyear}\see{bib:fld:dat}
17242 %\item Added field \bibfield{origlanguage}\see{bib:fld:dat}
17243 %\item Modified profile of field \bibfield{language}\see{bib:fld:dat}
17244 %\item Extended entry type \bibtype{book}\see{bib:typ:blx}
17245 %\item Extended entry type \bibtype{inbook}\see{bib:typ:blx}
17246 %\item Extended entry type \bibtype{collection}\see{bib:typ:blx}
17247 %\item Extended entry type \bibtype{incollection}\see{bib:typ:blx}
17248 %\item Extended entry type \bibtype{proceedings}\see{bib:typ:blx}
17249 %\item Extended entry type \bibtype{inproceedings}\see{bib:typ:blx}
17250 %\item Added entry type alias \bibtype{www}\see{bib:typ:als}
17251 %\item Added compatibility code for the \sty{showkeys} package\see{int:pre:cmp}
17252 %\item Support printable characters in \bibfield{keyword} and \texttt{notkeyword} filters\see{use:bib:bib}
17253 %\item Support printable characters in \bibfield{keywords} field\see{bib:fld:spc}
17254 %\item Ignore spaces after commas in \bibfield{keywords} field\see{bib:fld:spc}
17255 %\item Internal rearrangement of all bibliography styles
17256 %\item Fixed various bugs
17257 %
17258 %\end{release}
17259 %
17260 %\begin{release}{0.1}{2006-09-02}
17261 %
17262 %\item Initial public release
17263 %
17264 %\end{release}
17265
17266 \end{changelog}
17267
17268 \end{document}
17269 %%% Local Variables:
17270 %%% coding: utf-8
17271 %%% eval: (auto-fill-mode -1)
17272 %%% eval: (visual-line-mode)
17273 %%% End: