| 1 |
\documentclass{ltxdockit} |
| 2 |
\usepackage[british]{babel} |
| 3 |
\usepackage[strict]{csquotes} |
| 4 |
\usepackage{shortvrb} |
| 5 |
\usepackage{ifthen} |
| 6 |
\usepackage{listings} |
| 7 |
\usepackage{metalogo} |
| 8 |
\MakeAutoQuote{«}{»} |
| 9 |
\MakeShortVerb{\|} |
| 10 |
|
| 11 |
% Unicode |
| 12 |
\usepackage{fontspec} |
| 13 |
\setmainfont[Ligatures=TeX]{TeXGyrePagella} |
| 14 |
\setsansfont[Ligatures=TeX]{TexGyreHeros} |
| 15 |
\setmonofont[Ligatures=NoCommon]{TeXGyreCursor} |
| 16 |
|
| 17 |
\newcommand\apa[2][]{\ifthenelse{\equal{#1}{}}% |
| 18 |
{\texttt{(APA #2)}}% |
| 19 |
{\texttt{(APA #2 Example #1)}}} |
| 20 |
|
| 21 |
\titlepage{% |
| 22 |
title={APA 6th Edition Bib\LaTeX\ style}, |
| 23 |
subtitle={Citation and References macros for Bib\LaTeX}, |
| 24 |
url={http://mirror.ctan.org/macros/latex/exptl/biblatex-contrib/biblatex-apa/}, |
| 25 |
author={Philip Kime}, |
| 26 |
email={[email protected]}, |
| 27 |
revision={8.5}, |
| 28 |
date={\today}} |
| 29 |
|
| 30 |
\hypersetup{% |
| 31 |
pdftitle={APA Bib\LaTeX\ style}, |
| 32 |
pdfsubject={APA 6 Conformant Style for Bib\LaTeX}, |
| 33 |
pdfauthor={Philip Kime}, |
| 34 |
pdfkeywords={latex, biblatex, APA, style}} |
| 35 |
|
| 36 |
\begin{document} |
| 37 |
|
| 38 |
\printtitlepage |
| 39 |
\tableofcontents |
| 40 |
|
| 41 |
\section{Important Changes}\label{special} |
| 42 |
|
| 43 |
\textbf{This is a legacy style for a previous edition of the APA guidelines. The |
| 44 |
latest version is always on CTAN with the name |biblatex-apa|}.\\[2ex] |
| 45 |
|
| 46 |
Please see the revision history below (section \ref{rev}) for details on changes in each |
| 47 |
version. This section is just for important things like incompatible |
| 48 |
changes which users should be aware of. |
| 49 |
|
| 50 |
\minisec{7.8} |
| 51 |
|ARTICLE| entries now correctly do not print month/day in the bibliography |
| 52 |
as per APA 6.28. For non-academic articles (APA 7.01, examples 7, 8 and 9), |
| 53 |
use the new: |
| 54 |
|
| 55 |
\begin{verbatim} |
| 56 |
ENTRYSUBTYPE = {nonacademic} |
| 57 |
\end{verbatim} |
| 58 |
|
| 59 |
This will allow month/day data in the bibliography. In the future, there |
| 60 |
may be other differences for |ARTICLE| subtypes and it is better to keep |
| 61 |
these semantically distinct from standard academic journal articles. |
| 62 |
|
| 63 |
\minisec{7.5} |
| 64 |
This version requires |biblatex| $>=$3.8 and |biber| $>=$2.8. |
| 65 |
|
| 66 |
\minisec{7.1} |
| 67 |
This version requires |biblatex| $>=$3.6 and |biber| $>=$2.6. |
| 68 |
|
| 69 |
\minisec{7.0} |
| 70 |
This version requires |biblatex| $>=$3.5 and |biber| $>=$2.6. Uncertain, |
| 71 |
approximate and era-marked dates are now supported in the |biblatex| core |
| 72 |
and therefore special fields are no longer needed in the style. See example |
| 73 |
files, in particular \texttt{7.10:67} entry in the references test |
| 74 |
\file{.bib} and the \texttt{plato} entry in the citation test \file{.bib}. |
| 75 |
|
| 76 |
\minisec{7.0} |
| 77 |
This version requires |biblatex| $>=$3.5 and |biber| $>=$2.6. |
| 78 |
|
| 79 |
\minisec{6.9} |
| 80 |
This version requires |biblatex| $>=$3.4 and |biber| $>=$2.5. |
| 81 |
|
| 82 |
\minisec{6.8} |
| 83 |
This version requires |biblatex| $>=$3.3 and |biber| $>=$2.4. |
| 84 |
|
| 85 |
\minisec{5.0} |
| 86 |
The style now uses the customisable data model functionality of |biblatex| |
| 87 |
2.0 and |biber| 1.0 and so these are now required. Several cases |
| 88 |
which previously were forced to use custom fields like |USERA|, |
| 89 |
|USERB| etc. can now be more naturally implemented with semantically |
| 90 |
appropriate fields. See \file{biblatex-apa-references.bib} for |
| 91 |
examples. This particularly aids the use of |VIDEO| entries, for |
| 92 |
example which now support fields |DIRECTOR|, |PRODUCER|, |
| 93 |
|WRITER| and |EXECPRODUCER|. |
| 94 |
|
| 95 |
Entries which relate to other entries like reviews and reprints are |
| 96 |
now implemented more naturally using the |biblatex| 2 «related |
| 97 |
entries» functionality. See entries with the |RELATED| field in |
| 98 |
\file{biblatex-apa-references.bib} and the |biblatex| manual for |
| 99 |
details and examples. |
| 100 |
|
| 101 |
Entries where authors are listed as «with» are now supported using the |
| 102 |
name field |WITH|. See examples file. |
| 103 |
|
| 104 |
\minisec{4.5} |
| 105 |
|biber| is now \emph{required}. This is because APA style needs a custom |
| 106 |
sorting scheme and only |biber| supports this. |bibtex| support is going |
| 107 |
away in |biblatex| eventually anyway so it's best to switch. |
| 108 |
|
| 109 |
\minisec{4.4} |
| 110 |
The |\maxprtauth| command is now a package option called |
| 111 |
«apamaxprtauth», see section \ref{opts}. |
| 112 |
|
| 113 |
\minisec{4.3} |
| 114 |
Specifying entries as «in press» should now be done using the official |biblatex| |
| 115 |
mechanism for this. Instead of, for example: |
| 116 |
|
| 117 |
\begin{verbatim} |
| 118 |
YEAR = {in press} |
| 119 |
\end{verbatim} |
| 120 |
|
| 121 |
\noindent you should use: |
| 122 |
|
| 123 |
\begin{verbatim} |
| 124 |
PUBSTATE = {inpress} |
| 125 |
\end{verbatim} |
| 126 |
|
| 127 |
\noindent as «|inpress|» is a |biblatex| localisation string which will |
| 128 |
render correctly in supported languages. If you still use the older method, |
| 129 |
it will still work but the string will always appear as the English «in |
| 130 |
press». |
| 131 |
|
| 132 |
\section{Introduction}\label{int} |
| 133 |
|
| 134 |
\subsection{About} |
| 135 |
|
| 136 |
This package is a Bib\LaTeX\ style for APA (American Psychological |
| 137 |
Association) 6th Edition style compliant documents typeset in \latex. It |
| 138 |
implements a citation style (\file{apa.cbx}), a references section style |
| 139 |
(\file{apa.bbx}), some data model enhancements (\file{apa.dbx}) and string |
| 140 |
localisation files (\path{<language>-apa.lbx}). Currently there are only |
| 141 |
string localisations for a few languages---if you can help with any other |
| 142 |
languages, please mail me; the localisation |.lbx| files are very small and |
| 143 |
simple and it would be a small translation task for the few APA-specific |
| 144 |
strings needed. The styles are loaded just like any other Bib\LaTeX\ styles |
| 145 |
but I wouldn't try to use the citation and references styles separately as |
| 146 |
they rely on each other, macro-wise, in places. |
| 147 |
|
| 148 |
In this document and in the code, the specific APA requirements are |
| 149 |
referred to by the section and (if appropriate) the example number of the |
| 150 |
APA Style Guide (6th Edition). |
| 151 |
|
| 152 |
\subsection{Requirements}\label{ref:req} |
| 153 |
|
| 154 |
You will need to be using \sty{csquotes} ($\geq$ 4.3), Bib\LaTeX\ ($\geq$ |
| 155 |
3.4) and Biber ($\geq$ 2.5). If you want to take advantage of the |
| 156 |
Bib\LaTeX\ |\DeclareQuotePunctuation| facility to enforce the APA required |
| 157 |
«American» punctuation, you should normally use the \sty{babel} package |
| 158 |
with the «american» option (see Bib\LaTeX\ manual section |3.9.1|). You can |
| 159 |
of course use other languages but in such cases, to adhere to APA |
| 160 |
«American» punctuation rules (following commas moved inside closing quotes |
| 161 |
etc.), then you should set up |\DeclareQuotePunctuation| yourself as per |
| 162 |
section |4.7.5| of the Bib\LaTeX\ manual. |
| 163 |
|
| 164 |
If you are using the |apa.cls| \latex class, you need be using version |
| 165 |
$\geq$ 1.3.4. The class should be invoked with the |noapacite| class option |
| 166 |
as per the |apa.cls| documentation. Without this class option, the |
| 167 |
|apa.cls| class will automatically try to use plain Bib\TeX\ with the |
| 168 |
|apacite| style which is completely incompatible with Bib\LaTeX. |
| 169 |
|
| 170 |
\subsection{License} |
| 171 |
|
| 172 |
Permission is granted to copy, distribute and/or modify this software under |
| 173 |
the terms of the \latex Project Public License, version |
| 174 |
1.3c\footnote{\url{http://www.latex-project.org/lppl.txt}}. The current |
| 175 |
maintainer is Philip Kime (\textcopyright\ 2015). |
| 176 |
|
| 177 |
\subsection{History} |
| 178 |
|
| 179 |
When I started using Bib\LaTeX, I assumed there would be an APA style |
| 180 |
when I went looking. I was wrong. I started to try to make one and realised |
| 181 |
why there was none. The APA style manual is enormous; the citation and |
| 182 |
references specifications run to about 60 pages and are very specific in |
| 183 |
terms of formatting. They are also not entirely consistent but then again, |
| 184 |
it is rare to have such a thorough specification to work from. |
| 185 |
Inconsistencies in the manual and workarounds are noted in the examples |
| 186 |
document. |
| 187 |
|
| 188 |
\subsection{Acknowledgments} |
| 189 |
|
| 190 |
Thanks to Philipp Lehman for Bib\LaTeX\ which really has been a major |
| 191 |
advance over pure Bib\TeX. Thanks to Alexander van Loon for the Dutch |
| 192 |
localisation. Thanks to Paul Thompson for the suggestion to |
| 193 |
parameterise the max authors setting. Thanks to George Gkotsis for the |
| 194 |
Greek localisation. Thanks to Erikson Kaszubowski for the Brazilian |
| 195 |
localisation. Thanks to Braulio José Solano Rojas for the Spanish |
| 196 |
localisation. Thanks to Stefan Mayer for the |subtitlepunct| suggestion. |
| 197 |
Thanks to Håkon Malmedal for the Norwegian localisation. Thanks to |
| 198 |
Johann Gründl for the Austrian localisation. Thanks to Svante Kvarnström |
| 199 |
for the Swedish localisation. Thanks to Hendrik Maryns for further Dutch |
| 200 |
localisation. Thanks to Tea Tušar and Bogdan Filipič for the Slovenian |
| 201 |
localisation. Thanks to Sebastian Ørsted for the Danish localisation. |
| 202 |
Thanks to Jürgen Spitzmüller for the DGPs localisation hints. Thanks to |
| 203 |
Sergei Golovan for the Russian localisation. Thanks to Vítor Míguez for the |
| 204 |
Galacian localisation. |
| 205 |
|
| 206 |
\section{Use}\label{ref:use} |
| 207 |
\label{use} |
| 208 |
This package is available via \TeX Live as |biblatex-apa|. You can find it |
| 209 |
through the provided \TeX Live update utilities which will install it |
| 210 |
automatically for you. If you need to install manually (to use a new |
| 211 |
version which has not yet been published to the \TeX Live updaters, for |
| 212 |
example), you can download it from CTAN and then, put the \path{.cbx}, |
| 213 |
\path{.bbx} and \path{.lbx} files in your texmf tree, usually:\\ |
| 214 |
|
| 215 |
\noindent\path{<texmf>/tex/latex/biblatex/cbx/apa6.cbx}\\ |
| 216 |
\path{<texmf>/tex/latex/biblatex/bbx/apa6.bbx}\\ |
| 217 |
\path{<texmf>/tex/latex/biblatex/lbx/<language>-apa6.lbx}\\ |
| 218 |
|
| 219 |
\noindent Specify the style in the usual way when loading Bib\LaTeX. If you |
| 220 |
are using \sty{babel}: |
| 221 |
|
| 222 |
\begin{ltxcode} |
| 223 |
\usepackage[american]{babel} |
| 224 |
\usepackage{csquotes} |
| 225 |
\usepackage[style=apa6]{biblatex} |
| 226 |
\end{ltxcode} |
| 227 |
|
| 228 |
or \sty{polyglossia}: |
| 229 |
|
| 230 |
\begin{ltxcode} |
| 231 |
\usepackage{polyglossia} |
| 232 |
\setdefaultlanguage[variant=american]{english} |
| 233 |
\usepackage{csquotes} |
| 234 |
\usepackage[style=apa6]{biblatex} |
| 235 |
\end{ltxcode} |
| 236 |
|
| 237 |
\noindent Note that the APA manual requires the forcing of titles into |
| 238 |
«sentence case», that is, initial cap followed by lower case for sentence |
| 239 |
units, with the exception of names and material from languages which do not |
| 240 |
follow English capitalisation. As of version 0.8a, Bib\LaTeX\ has a |
| 241 |
|\MakeSentenceCase| macro which deals with this. So, in the traditional |
| 242 |
Bib\TeX\ way, capitalise correctly in the |.bib| file, protecting names etc. |
| 243 |
with the usual brace pairs and the style will take care of forcing the |
| 244 |
APA-style sentence case in the References section. Unlike the References |
| 245 |
section, titles in citations in the APA style appear in normal case and the |
| 246 |
style will ensure this too. |
| 247 |
|
| 248 |
\subsection{Package options}\label{opts} |
| 249 |
|
| 250 |
The following options are set as usual in the options passed to |
| 251 |
|biblatex|. |
| 252 |
|
| 253 |
\begin{ltxcode} |
| 254 |
apamaxprtauth=<num> |
| 255 |
\end{ltxcode} |
| 256 |
|
| 257 |
\noindent This option controls the number of author/editor names which are |
| 258 |
printed in the References. APA style defaults to 7. You can change this if |
| 259 |
you really want to fully print all author list references in certain |
| 260 |
contexts (for example in a CV where you are an author in position 8 \ldots) |
| 261 |
|
| 262 |
Setting Bib\LaTeX package options which change name processing |
| 263 |
like \opt{uniquename} and \opt{uniquelist} is not supported as this style |
| 264 |
does tricky things internally to match the peculiar APA standard. You |
| 265 |
should not need to change them anyway as then you wouldn't be using APA |
| 266 |
style anyway. |
| 267 |
|
| 268 |
\subsection{Localisation} |
| 269 |
|
| 270 |
Localisation is provided for APA-specific strings in the accompanying |
| 271 |
|.lbx| files which are loaded automatically. |
| 272 |
|
| 273 |
Normal use will invoke \sty{babel} with the «american» language or |
| 274 |
\sty{polyglossia} with «american» variant of «english». |
| 275 |
|
| 276 |
The \file{english-apa.lbx} is a copy of the \file{american-apa6.lbx} since |
| 277 |
the default is «American» English. |
| 278 |
|
| 279 |
The APA manual does not mention nor sanction any non «American» English |
| 280 |
strings but it is quite common for non-English journals to ask for APA style |
| 281 |
bibliographies and so this must be supported. |
| 282 |
|
| 283 |
If not using the \sty{babel} «american» option, it may be necessary to set up |
| 284 |
the |\DeclareQuotePunctuation| option as mentioned in section \ref{ref:req} |
| 285 |
above. You would only need to do this if, for some strange reason, a |
| 286 |
non-american journal required the (unpleasant) american practice of moving |
| 287 |
final punctuation marks inside closing quotes. |
| 288 |
|
| 289 |
\subsubsection{Date formats} |
| 290 |
|
| 291 |
Obviously, an American style uses month/day/year formats. European formats |
| 292 |
are usually day/month/year. The APA style dictates long date formats and so |
| 293 |
this is not really apparent in the bibliography. There is an APA standard |
| 294 |
for long date formats which may not be correct for European journals using |
| 295 |
roughly APA formatting standards (German journals tend to have a different |
| 296 |
long date format, for example). The «american» babel option will give you |
| 297 |
APA compliant US date formats. Default sensible date formats are included |
| 298 |
for german, ngerman and french. You should redefine the |\mkbibdatelong| |
| 299 |
macro in the relevant language |*-apa6.lbx| file to change this if needed. |
| 300 |
|
| 301 |
A customisable macro \cmd{urldatecomma} determines what comes between the |
| 302 |
date of a URL and the URL itself. This defaults to the standard comma and |
| 303 |
space as per APA style but just a space in germanic localisations. |
| 304 |
|
| 305 |
\subsection{Limitations} |
| 306 |
\label{use:limit} |
| 307 |
There are certain limitations you need to bear in mind when using these |
| 308 |
styles. The APA manual is written without much regard for automation of |
| 309 |
citation and references processing---it just tells you how it wants things to |
| 310 |
look and the implicit assumption is that you would type out everything by |
| 311 |
hand if necessary. Having said that, the majority of the APA citation |
| 312 |
and references style is implemented, there are just a few exceptions which |
| 313 |
are hardly worth the coding pain since they are ambiguous and easily worked |
| 314 |
around. |
| 315 |
|
| 316 |
\section{Details} |
| 317 |
|
| 318 |
The detailed information for this style is contained in the example document and |
| 319 |
accompanying \path{.bib} files: |
| 320 |
\begin{description} |
| 321 |
\item[\path{biblatex-apa6.tex}] This document. |
| 322 |
\item[\path{biblatex-apa6-test.tex}]\footnote{\path{biblatex-apa6-test.pdf} |
| 323 |
is also provided and is the typeset version of this \latex source |
| 324 |
file.} This document typesets just about every useful example from |
| 325 |
\apa{6.11}--\apa{6.21} and \apa{7.01}--\apa{7.11}. The examples in it |
| 326 |
aim to look as much like the APA manual examples as possible. All |
| 327 |
citation examples in the document are real examples using a \path{.bib} |
| 328 |
file. |
| 329 |
\item[\path{biblatex-apa6-test-citations.bib}] This contains the \path{.bib} |
| 330 |
entries for the citations examples. You won't find anything of interest |
| 331 |
in this file---it's just used to provide real data for the citation |
| 332 |
examples. |
| 333 |
\item[\path{biblatex-apa6-test-references.bib}] This contains the |
| 334 |
\path{.bib} entries for all of the examples in \apa{7.x}. This file is |
| 335 |
the main documentation for the |biblatex-apa| implementation of the APA |
| 336 |
References section style. To see how the style deals with a particular |
| 337 |
example from \apa{7.x}, look it up in here. Every example is marked with |
| 338 |
the APA example number and has explanatory notes. |
| 339 |
\item[\path{apa6.cbx}] The |biblatex-apa| citations style. It is |
| 340 |
decently structured with comments but shouldn't need to be read for |
| 341 |
normal use. |
| 342 |
\item[\path{apa6.bbx}] The |biblatex-apa| references style. It is |
| 343 |
decently structured with comments but shouldn't need to be read for |
| 344 |
normal use. |
| 345 |
\item[\path{apa6.dbx}] The |biblatex-apa| data model additions. This allows |
| 346 |
users to utilise more natural entry type and field names for certain |
| 347 |
entries. See comments in the \path{biblatex-apa6-test-references.bib}. |
| 348 |
\item[\path{*-apa6.lbx}] The |biblatex-apa| localisation files. These files |
| 349 |
override some language-specific macros for some fixed strings. |
| 350 |
\end{description} |
| 351 |
|
| 352 |
\subsection{Citations} |
| 353 |
|
| 354 |
To specify something as «in press», use the |biblatex| |PUBSTATE| field |
| 355 |
with the special key value of «|inpress|» (see |biblatex| manual, section |
| 356 |
4.9.2.11). See the notes on the |PUBSTATE| field in section \ref{refs} |
| 357 |
below. |
| 358 |
|
| 359 |
\apa{6.13} requires that there should be no parentheses around the year of |
| 360 |
the citation when the citation itself occurs within parenthesis. This is |
| 361 |
tricky to completely automate within the remit of a citation style since it |
| 362 |
requires knowledge of the current typesetting state. So, the new citation |
| 363 |
command |
| 364 |
|
| 365 |
\begin{ltxsyntax} |
| 366 |
\cmditem{nptextcite}[prenote][postnote]{key}<punctuation> |
| 367 |
\end{ltxsyntax} |
| 368 |
|
| 369 |
\noindent is provided for such situations. It is identical to |\textcite| |
| 370 |
but does not put parentheses around the year and separates items with |
| 371 |
commas. See examples using this command in \path{biblatex-apa6-test.tex}. |
| 372 |
There is also a multi-cite version |\nptextcites| that works in the same |
| 373 |
way as |\textcites|. |
| 374 |
|
| 375 |
The |\fullcite| command uses ampersands, like the references section |
| 376 |
and there is also a |\fullcitebib| command which is the same as |
| 377 |
|\fullcite| but which fakes a mini references section with APA style |
| 378 |
indentation and so is not intended to be used inline like |
| 379 |
|\fullcite|. See examples in the test file. |
| 380 |
|
| 381 |
\subsection{References}\label{refs} |
| 382 |
|
| 383 |
The references style was based on the Bib\LaTeX\ default |
| 384 |
|authoryear-comp| style but is heavily modified. If in doubt read the |
| 385 |
example references |.bib| as it is commented and you can learn a lot from |
| 386 |
the examples by picking something close to what you need from the APA |
| 387 |
examples and then looking in this file to see how it was implemented. Some |
| 388 |
general notes: |
| 389 |
|
| 390 |
\begin{itemize} |
| 391 |
\setlength{\itemsep}{0pt} |
| 392 |
\item The |PUBSTATE| field takes priority over any date field. If you specify |
| 393 |
something with a |PUBSTATE| field like «inpress», then the year label in |
| 394 |
citations and the references will be the localisation of the |PUBSTATE| |
| 395 |
value key (|PUBSTATE| takes a pre-defined set of localisation keys as |
| 396 |
values, see |biblatex| manual). |
| 397 |
\item APA style sometimes refers to the «series» of a multi-volume work. |
| 398 |
This corresponds to the |MAINTITLE| field in the \file{.bib} and |
| 399 |
\emph{not} the |SERIES| field. |
| 400 |
\item |VOLUME|, |NUMBER| and |CHAPTER| are forced into arabic numerals if |
| 401 |
they are given as roman numerals, as required by \apa{6.22}. |
| 402 |
\end{itemize} |
| 403 |
|
| 404 |
\subsubsection{Journal number for journals with per-issue pagination} |
| 405 |
As per APA 6th edition section 6.30 and 7.01, journals which paginate by |
| 406 |
issue need the volume number including in the reference section. Since |
| 407 |
there is no way to automatically determine when this is the case, use the |
| 408 |
|biber| sourcemap feature to implement this, removing the |NUMBER| field |
| 409 |
from journals known to implement continuous pagination across volumes. For |
| 410 |
example, with this in your preamble: |
| 411 |
|
| 412 |
\begin{lstlisting}[style=latex]{} |
| 413 |
\DeclareSourcemap{ |
| 414 |
\maps[datatype=bibtex]{ |
| 415 |
\map{ |
| 416 |
\step[fieldsource=journaltitle, |
| 417 |
match=\regexp{(?:journal\stitle\sone|journal\stitle\stwo)}] |
| 418 |
\step[fieldset=number, null] |
| 419 |
} |
| 420 |
} |
| 421 |
} |
| 422 |
\end{lstlisting} |
| 423 |
% |
| 424 |
Simply include |NUMBER| fields for all journals and entries with |
| 425 |
|JOURNALTITLE| of «journal title one» or «journal title two» (which |
| 426 |
are known to paginate across all numbers of a volume) will have |
| 427 |
their |NUMBER| field dynamically removed at document compile time, as |
| 428 |
required. |
| 429 |
|
| 430 |
\subsubsection{Retrieval dates for online items} |
| 431 |
|
| 432 |
APA 6th edition section 6.32 says «Do not include retrieval dates unless |
| 433 |
the source material may change over time (e.g., Wikis)». This is open to |
| 434 |
interpretation of what constitutes a Wiki and what counts as «changing over |
| 435 |
time». The style does not implement anything for this requirement by |
| 436 |
default but you can automate your own interpretation by putting this in |
| 437 |
your preamble: |
| 438 |
|
| 439 |
\begin{lstlisting}[style=latex]{} |
| 440 |
\DeclareSourcemap{ |
| 441 |
\maps[datatype=bibtex]{ |
| 442 |
\map{ |
| 443 |
\step[fieldsource=url, |
| 444 |
notmatch=\regexp{wiki}, |
| 445 |
final=1] |
| 446 |
\step[fieldset=urldate, null] |
| 447 |
} |
| 448 |
} |
| 449 |
} |
| 450 |
\end{lstlisting} |
| 451 |
|
| 452 |
\noindent This will dynamically remove the |URLDATE| field from any entry |
| 453 |
where the |URL| field doesn't match the regular expression «wiki». Modify this |
| 454 |
regular expression according to taste. This modification is dynamically |
| 455 |
applied to the data stream by |biber| and does not change your \file{.bib}. |
| 456 |
|
| 457 |
\section{Revision history}\label{rev} |
| 458 |
|
| 459 |
\begin{changelog} |
| 460 |
\begin{release}{8.5}{2020-08-28} |
| 461 |
\item Misc bug fixes, compat with biblatex 3.15 |
| 462 |
\end{release} |
| 463 |
|
| 464 |
\begin{release}{8.4}{2020-05-03} |
| 465 |
\item Misc bug fixes |
| 466 |
\end{release} |
| 467 |
|
| 468 |
\begin{release}{8.3}{2019-12-02} |
| 469 |
\item Misc bug fixes |
| 470 |
\end{release} |
| 471 |
|
| 472 |
\begin{release}{8.2}{2019-12-01} |
| 473 |
\item Removed |apabackref| option, use the standard |
| 474 |
|biblatex| |backref| option instead |
| 475 |
\end{release} |
| 476 |
|
| 477 |
\begin{release}{8.1}{2019-11-27} |
| 478 |
\item Corrected documentation for legacy 6th edition style |
| 479 |
\end{release} |
| 480 |
|
| 481 |
\begin{release}{8.0}{2019-09-07} |
| 482 |
\item Removed unused and unneeded use of NUMBER and SERIES fields |
| 483 |
\end{release} |
| 484 |
|
| 485 |
\begin{release}{7.9}{2019-09-03} |
| 486 |
\item Bugfix release |
| 487 |
\end{release} |
| 488 |
|
| 489 |
\begin{release}{7.8}{2019-08-30} |
| 490 |
\item Fixed date rules for |ARTICLE|s |
| 491 |
\end{release} |
| 492 |
|
| 493 |
\begin{release}{7.7}{2018-04-02} |
| 494 |
\item Bug fixes and example alignments |
| 495 |
\end{release} |
| 496 |
|
| 497 |
\begin{release}{7.6}{2018-03-05} |
| 498 |
\item Internal cleanup and bugfixes |
| 499 |
\end{release} |
| 500 |
|
| 501 |
\begin{release}{7.5}{2017-11-05} |
| 502 |
\item Compat for bibaltex 3.8 |
| 503 |
\item |\DeclareLanguageMapping| is now no longer necessary due to the new |
| 504 |
|\DeclareLanguageMappingSuffix| macro. |
| 505 |
\end{release} |
| 506 |
|
| 507 |
\begin{release}{7.4}{2017-01-06} |
| 508 |
\item Minor bugfix release |
| 509 |
\end{release} |
| 510 |
|
| 511 |
\begin{release}{7.3}{2016-12-21} |
| 512 |
\item Minor bugfix release |
| 513 |
\end{release} |
| 514 |
|
| 515 |
\begin{release}{7.2}{2016-10-24} |
| 516 |
\item Minor bugfix release for date fields |
| 517 |
\end{release} |
| 518 |
|
| 519 |
\begin{release}{7.1}{2016-09-15} |
| 520 |
\item Minor bugfix release for legacy YEAR fields and |inpress| strings |
| 521 |
\item Requires |biblatex| 3.6+ and biber 2.6+ |
| 522 |
\end{release} |
| 523 |
|
| 524 |
\begin{release}{7.0}{2016-09-14} |
| 525 |
\item Added \cmd{urldatacomma} |
| 526 |
\item Now following DGPs guidelines for some formatting in Germanic |
| 527 |
locales. |
| 528 |
\item Requires |biblatex| 3.5+ and biber 2.6+ |
| 529 |
\end{release} |
| 530 |
|
| 531 |
\begin{release}{6.9}{2016-05-13} |
| 532 |
\item Bug fixes |
| 533 |
\item Requires |biblatex| 3.4+ and biber 2.5+ |
| 534 |
\end{release} |
| 535 |
|
| 536 |
\begin{release}{6.8}{2016-03-01} |
| 537 |
\item Bug fixes |
| 538 |
\item Updated to use new \cmd{DeclareNameFormat} structure for |biblatex| |
| 539 |
3.3+ (which is now required) |
| 540 |
\end{release} |
| 541 |
|
| 542 |
\begin{release}{6.7}{2015-01-23} |
| 543 |
\item Bug fixes |
| 544 |
\end{release} |
| 545 |
|
| 546 |
\begin{release}{6.6}{2014-10-23} |
| 547 |
\item Bug fixes |
| 548 |
\end{release} |
| 549 |
|
| 550 |
\begin{release}{6.5}{2014-04-16} |
| 551 |
\item Bug fixes |
| 552 |
\item Slovenian localisation |
| 553 |
\end{release} |
| 554 |
|
| 555 |
\begin{release}{6.4}{2013-10-30} |
| 556 |
\item Fixed explicit «and others» problem |
| 557 |
\item Improved french localisation |
| 558 |
\end{release} |
| 559 |
|
| 560 |
\begin{release}{6.3}{2013-10-28} |
| 561 |
\item Fixed issue where |SHORTAUTHOR| was only being used for exact same citations. |
| 562 |
\end{release} |
| 563 |
|
| 564 |
\begin{release}{6.2}{2013-10-19} |
| 565 |
\item Corrected Dutch translations |
| 566 |
\item Fixed Norwegian lbx corruption |
| 567 |
\item Misc bugfixes |
| 568 |
\end{release} |
| 569 |
|
| 570 |
\begin{release}{6.1}{2013-07-19} |
| 571 |
\item Corrected APA 6.12 error and switched to uniquelist=minyear |
| 572 |
\item Documented way of automating some APA 6.32 requirements |
| 573 |
\end{release} |
| 574 |
|
| 575 |
\begin{release}{6.0}{2013-07-10} |
| 576 |
\item Added Swedish localisation |
| 577 |
\item Fixed useprefix=false issue |
| 578 |
\end{release} |
| 579 |
|
| 580 |
\begin{release}{5.9}{2013-05-08} |
| 581 |
\item Compatibility with |biblatex| 2.6--«nodate» is now part of core |
| 582 |
\item autocite is set to inline |
| 583 |
\end{release} |
| 584 |
|
| 585 |
\begin{release}{5.8}{2013-03-07} |
| 586 |
\item Made BOOK like INBOOK for order of online/reprint information |
| 587 |
\item Fixes for recursive RELATED fields |
| 588 |
\end{release} |
| 589 |
|
| 590 |
\begin{release}{5.7}{2012-12-28} |
| 591 |
\item New name code to allow full name disambiguation as per APA 6.27 |
| 592 |
\item Fixes to IN* types |
| 593 |
\end{release} |
| 594 |
|
| 595 |
\begin{release}{5.6}{2012-12-19} |
| 596 |
\item Fixed problems with EVENTDATE format |
| 597 |
\end{release} |
| 598 |
|
| 599 |
\begin{release}{5.5}{2012-12-17} |
| 600 |
\item Fixed serial comma requirement (APA 4.03) |
| 601 |
\end{release} |
| 602 |
|
| 603 |
\begin{release}{5.4}{2012-11-28} |
| 604 |
\item Updated for |biblatex| 2.4 |
| 605 |
\end{release} |
| 606 |
|
| 607 |
\begin{release}{5.3}{2012-11-21} |
| 608 |
\item Updated for some |biblatex| changes. |
| 609 |
\end{release} |
| 610 |
|
| 611 |
\begin{release}{5.2}{2012-09-30} |
| 612 |
\item Entries with no YEAR no longer fall back on other date fields |
| 613 |
and use «nodate» bibstring. |
| 614 |
\item «nodate» bibstring no longer lowercased and supports extrayear |
| 615 |
\end{release} |
| 616 |
|
| 617 |
\begin{release}{5.1}{2012-08-01} |
| 618 |
\item Added Norwegian localisation (thanks to Håkon Malmedal) |
| 619 |
\item Fixed some documentation issues |
| 620 |
\end{release} |
| 621 |
|
| 622 |
\begin{release}{5.0}{2012-07-01} |
| 623 |
\item Using |biblatex| 2.0/|biber 1.0| data model facility. |
| 624 |
\end{release} |
| 625 |
|
| 626 |
\begin{release}{4.8}{2012-06-02} |
| 627 |
\item Put in proper package version strings |
| 628 |
\item Fixed a problem with \cmd{textcites} (thanks to Florian Sesser and |
| 629 |
Cornielia Entner for reporting) |
| 630 |
\end{release} |
| 631 |
|
| 632 |
\begin{release}{4.7}{2012-04-19} |
| 633 |
\item Made |firstinits=false| possible |
| 634 |
\item Fixed a problem with explicit «and others» with names (thanks to |
| 635 |
George Pigman) |
| 636 |
\end{release} |
| 637 |
|
| 638 |
\begin{release}{4.6}{2012-02-08} |
| 639 |
\item Reduced the Biber requirement to a warning due to bug in |biblatex| 1.7 |
| 640 |
\item Added Italian localisation (thanks to Luca Montanelli) |
| 641 |
\end{release} |
| 642 |
|
| 643 |
\begin{release}{4.5}{2012-01-31} |
| 644 |
\item Noted in manual that |biber| is now required due to custom sorting. |
| 645 |
\item Added |INSTITUTION| field to |REPORT| entries |
| 646 |
\end{release} |
| 647 |
|
| 648 |
\begin{release}{4.4}{2012-01-25} |
| 649 |
\item |\maxprtauth| command is now a package option «apamaxprtauth» |
| 650 |
\item New package option «apabackref» controlling whether |
| 651 |
backreferences and links to citations appear in the References. |
| 652 |
\end{release} |
| 653 |
|
| 654 |
\begin{release}{4.3}{2012-01-22} |
| 655 |
\item «et al» now only replaces two or more names since it's plural |
| 656 |
\item «in press» items now should use the |biblatex| |PUBSTATE| field |
| 657 |
\item Fixed «in press» hyphenation issue for disambiguation in references |
| 658 |
\item URLs are now by default in roman font as per APA style. |
| 659 |
\end{release} |
| 660 |
|
| 661 |
\begin{release}{4.2}{2011-11-12} |
| 662 |
\item Fixed macro name typo |
| 663 |
\end{release} |
| 664 |
|
| 665 |
\begin{release}{4.1}{2011-11-02} |
| 666 |
\item |subtitlepunct| now skips if following terminating punctuation |
| 667 |
\end{release} |
| 668 |
|
| 669 |
\begin{release}{4.0}{2011-10-05} |
| 670 |
\item Disabled «smart and» for spanish localisation as it breaks ampersands |
| 671 |
\end{release} |
| 672 |
|
| 673 |
\begin{release}{3.9}{2011-10-03} |
| 674 |
\item Fixed data format issue in localisations |
| 675 |
\end{release} |
| 676 |
|
| 677 |
\begin{release}{3.8}{2011-09-25} |
| 678 |
\item Fixed slanted/italic confusion in bibliography |
| 679 |
\end{release} |
| 680 |
|
| 681 |
\begin{release}{3.7}{2011-09-23} |
| 682 |
\item Fixed issue no dates when labelyear defined |
| 683 |
\end{release} |
| 684 |
|
| 685 |
\begin{release}{3.6}{2011-09-20} |
| 686 |
\item Fixed issue with American format long dates |
| 687 |
\end{release} |
| 688 |
|
| 689 |
\begin{release}{3.5}{2011-09-05} |
| 690 |
\item Fixed issue Editor name part order when in Author position (thanks to |
| 691 |
Johann Bauer) |
| 692 |
\end{release} |
| 693 |
|
| 694 |
\begin{release}{3.4}{2011-09-01} |
| 695 |
\item Fixed issue with |\fullcite| not resetting |bbx| globals |
| 696 |
\end{release} |
| 697 |
|
| 698 |
\begin{release}{3.3}{2011-08-23} |
| 699 |
\item Spanish localisation |
| 700 |
\end{release} |
| 701 |
|
| 702 |
\begin{release}{3.2}{2011-08-12} |
| 703 |
\item Minor fix in |inbook| format |
| 704 |
\item Doc clean up |
| 705 |
\end{release} |
| 706 |
|
| 707 |
\begin{release}{3.1}{2011-07-31} |
| 708 |
\item Made compatible with Bib\LaTeX\ 1.6 |
| 709 |
\end{release} |
| 710 |
|
| 711 |
\begin{release}{3.0}{2011-05-06} |
| 712 |
\item |maxnames| and |minnames| are now set to sensible things and actually |
| 713 |
used. Biber $\geq$ 0.9.3 is now required as this implements a fix for |
| 714 |
|uniquelist| in Bib\LaTeX\ which needs |maxnames| and |minnames| set to |
| 715 |
real values. |
| 716 |
\item Fixed bug with commas before «et al» not appearing in some cases. |
| 717 |
\end{release} |
| 718 |
|
| 719 |
\begin{release}{2.9}{2011-05-03} |
| 720 |
\item APA wants no space between volume and number for articles, even though it's |
| 721 |
horribly ugly\ldots |
| 722 |
\item Made urls not optional with Bib\LaTeX\ url toggle in |ONLINE| entrytype (thanks to Mattias Erll) |
| 723 |
\end{release} |
| 724 |
|
| 725 |
\begin{release}{2.8}{2011-04-23} |
| 726 |
\item Added a Greek localisation strings file. |
| 727 |
\end{release} |
| 728 |
|
| 729 |
\begin{release}{2.7}{2011-04-1} |
| 730 |
\item Biber is now a strongly recommended requirement due to APA name and |
| 731 |
name list disambiguation requirements. |
| 732 |
\item Updated for Bib\LaTeX\ 1.4/Biber 0.9 with automatic list |
| 733 |
disambiguation. Package now deals with all APA 6th Edition citation examples. |
| 734 |
\end{release} |
| 735 |
|
| 736 |
\begin{release}{2.6}{2011-03-15} |
| 737 |
\item Made fullcite use ampersand |
| 738 |
\item Added fullcitebib macro to allow fake bib citations |
| 739 |
\end{release} |
| 740 |
|
| 741 |
\begin{release}{2.5}{2010-11-24} |
| 742 |
\item Refactored hyperref to only link from years to make it |
| 743 |
consistent across cite commands |
| 744 |
\item Added hyperref target references section for citation examples |
| 745 |
\item Fixed textcite multicite issue |
| 746 |
\end{release} |
| 747 |
|
| 748 |
\begin{release}{2.4}{2010-11-14} |
| 749 |
\item Fixed postnotes/hyperref for textcite |
| 750 |
\end{release} |
| 751 |
|
| 752 |
\begin{release}{2.3}{2010-11-04} |
| 753 |
\item Overhauled hyperref functionality and made more robust |
| 754 |
\end{release} |
| 755 |
|
| 756 |
\begin{release}{2.2}{2010-10-15} |
| 757 |
\item Parameterised max author/editor list (thanks to Paul Thompson) |
| 758 |
\item Better rudimentary regression script |
| 759 |
\item Completely reconfigured EPRINT/EPRINTTYPE |
| 760 |
\end{release} |
| 761 |
|
| 762 |
\begin{release}{2.1}{2010-10-17} |
| 763 |
\item New Dutch localisation (thanks to Alexander van Loon) |
| 764 |
\end{release} |
| 765 |
|
| 766 |
\begin{release}{2.0}{2010-09-30} |
| 767 |
\item Moved to new date format code internally |
| 768 |
\end{release} |
| 769 |
|
| 770 |
\begin{release}{1.9}{2010-09-27} |
| 771 |
\item Moved docs to LuaLaTeX compat |
| 772 |
\item Fixed german/ngerman date formats |
| 773 |
\item Cleaned up date format code |
| 774 |
\end{release} |
| 775 |
|
| 776 |
\begin{release}{1.8}{2010-08-06} |
| 777 |
\item Fixed seven author ellipsis bug |
| 778 |
\end{release} |
| 779 |
|
| 780 |
\begin{release}{1.7}{2010-08-05} |
| 781 |
\item Corrected dateless entry format, added examples to test doc |
| 782 |
\item Corrected multi delim for |\citeyear| |
| 783 |
\item Updated test doc for Bib\LaTeX\ 0.9b compat |
| 784 |
\end{release} |
| 785 |
|
| 786 |
\begin{release}{1.6}{2010-07-19} |
| 787 |
\item Added correct |\citeyear| definition |
| 788 |
\end{release} |
| 789 |
|
| 790 |
\begin{release}{1.5}{2010-07-12} |
| 791 |
\item Corrected |NOTE/ADDENDUM| examples |
| 792 |
\item Made |\nptextcite| behave more consistently like |\textcite| for multi-cites. |
| 793 |
\end{release} |
| 794 |
|
| 795 |
\begin{release}{1.4}{2010-07-07} |
| 796 |
\item Removed extra space after DOI |
| 797 |
\end{release} |
| 798 |
|
| 799 |
\begin{release}{1.3}{2010-07-05} |
| 800 |
\item Fixed Oxford comma bug |
| 801 |
\end{release} |
| 802 |
|
| 803 |
\begin{release}{1.2}{2010-06-18} |
| 804 |
\item Made style arguments more explicit in |.bbx| |
| 805 |
\item Fixed bad documentation due to beta Bib\LaTeX\ version. |
| 806 |
\item Updated docs - minimum Bib\LaTeX\ version |
| 807 |
\end{release} |
| 808 |
|
| 809 |
\begin{release}{1.1}{2010-05-28} |
| 810 |
\item Fixed |INBOOK| |citetitle| format to match |BOOK|. |
| 811 |
\item Fixed |extrayear| in entries with full date specifications. |
| 812 |
\end{release} |
| 813 |
|
| 814 |
\begin{release}{1.0}{2010-05-12} |
| 815 |
\item Fixed |TYPE| and |NUMBER| fields in |REPORT| entries. Now more |
| 816 |
flexible. |
| 817 |
\item |PUBSTATE| is now valid for articles. |
| 818 |
\item |DOI|, if present, suppresses any |URL| field. |
| 819 |
\item Abstract retrieval string is now conditional on |USERB| field, not on |
| 820 |
the existence of an abstract. |
| 821 |
\item Default strings for |PHDTHESIS| and |MASTERSTHESIS| entries corrected. |
| 822 |
\item |LOCATION| is now valid for thesis entries and comes after |INSTITUTION|. |
| 823 |
\end{release} |
| 824 |
|
| 825 |
\begin{release}{0.9}{2010-03-08} |
| 826 |
\item Update for APA manual 6th edition and Bib\LaTeX\ 0.9 |
| 827 |
\end{release} |
| 828 |
|
| 829 |
\begin{release}{0.8}{2010-02-15} |
| 830 |
\item Fixed bug with spaces after nptextcite |
| 831 |
\item Updated for Bib\LaTeX\ 0.9 |
| 832 |
\end{release} |
| 833 |
|
| 834 |
\begin{release}{0.7}{2010-01-20} |
| 835 |
\item Made hyperref links more consistent, using the whole citation and not |
| 836 |
just the year. |
| 837 |
\end{release} |
| 838 |
|
| 839 |
\begin{release}{0.6}{2009-11-20} |
| 840 |
\item Corrected two bugs in |cite| macro which left a trailing space after |
| 841 |
multiple cites and actually cited the year twice for multiple cite |
| 842 |
commands in some circumstances. |
| 843 |
\item Corrected bug where |\textcite| would leave a stray open bracket on |
| 844 |
the stack when year was suppressed within a paragraph. |
| 845 |
\end{release} |
| 846 |
|
| 847 |
\begin{release}{0.5}{2009-09-19} |
| 848 |
\item Replaced literal string with localised form in url macro. |
| 849 |
\item Moved localisation strings into \sty{.lbx} files. |
| 850 |
\item |\DeclareLanguageMapping| is now needed in preamble. |
| 851 |
\item Moved |\DeclareBibliographyExtras| into \sty{.lbx} files. |
| 852 |
\item Some support for alternative localised date formats. |
| 853 |
\item Fixed slant/italic font problem since the |\mkbibemph| macro had |
| 854 |
changed in Bib\LaTeX\ 0.8e. |
| 855 |
\item Fixed |liststop| error which was preventing name lists with two |
| 856 |
entries from having the comma before the ampersand. |
| 857 |
\end{release} |
| 858 |
|
| 859 |
\begin{release}{0.4}{2009-07-24} |
| 860 |
\item Fixed bug where multiple year ranges were not displayed properly. |
| 861 |
\item Updated to remove pre-Bib\LaTeX\ 0.8e macros error. |
| 862 |
\end{release} |
| 863 |
|
| 864 |
\begin{release}{0.3}{2008-12-21} |
| 865 |
\item Updated to use new fields (|EVENTTITLE|) and new options |
| 866 |
(|usetranslator|) from Bib\LaTeX\ 0.8b. |
| 867 |
\end{release} |
| 868 |
|
| 869 |
\begin{release}{0.2}{2008-12-06} |
| 870 |
\item Added |noremoteinfo| option). |
| 871 |
\item Fixed bbx bug with more than 7 authors still printing names after «et al». Was |
| 872 |
due to resetting maxnames to 999. |
| 873 |
\item Removed the customised (hacked) |apa-biblatex.cls| class from the package as |
| 874 |
|apa.cls| version 1.3.4 is compatible with Bib\LaTeX\. |
| 875 |
\item Altered documentation about requiring the «american» babel option. |
| 876 |
This is not required if you set up |\DeclareQuotePunctuation| yourself. |
| 877 |
\item Added minimum required version of \sty{csquotes}. |
| 878 |
\item Minor doc tweaks. |
| 879 |
\end{release} |
| 880 |
|
| 881 |
\begin{release}{0.1}{2008-12-01} |
| 882 |
\item Initial release |
| 883 |
\end{release} |
| 884 |
|
| 885 |
|
| 886 |
|
| 887 |
\end{changelog} |
| 888 |
\end{document} |
| 889 |
|
| 890 |
% Local Variables: |
| 891 |
% TeX-engine: luatex |
| 892 |
% End: |