summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-07 23:38:57 +0000
committerKarl Berry <karl@freefriends.org>2017-01-07 23:38:57 +0000
commitc4bd7c61c3f6687a0dac0043d47e727b5e5814b7 (patch)
tree28b89afaac784241038a244caadd7d3ce7d54577 /Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx
parent59d321e899ed5a0ba1607c5c2ffc39192feea615 (diff)
biblatex-apa (8jan17)
git-svn-id: svn://tug.org/texlive/trunk@42893 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx b/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx
index 8b0f83f5389..e3fd66cfa82 100644
--- a/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx
@@ -1,4 +1,4 @@
-%% Copyright 2016 Philip Kime
+%% Copyright 2017 Philip Kime
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -12,7 +12,7 @@
%%
%% The Current Maintainer of this work is Philip Kime.
-\ProvidesFile{apa.cbx}[2016/10/24\space v7.2\space APA biblatex citation style]
+\ProvidesFile{apa.cbx}[2017/01/06\space v7.4\space APA biblatex citation style]
\RequireBiber[3]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -324,8 +324,13 @@
\newbibmacro*{cite:plabelyear+extrayear}{%
\iffieldundef{labelyear}{}
{\printtext[bibhyperref]{%
- \clearfield{labelmonth}% dont' want months in citations
- \clearfield{labelday}% dont' want days in citations
+ \clearfield{labelmonth}% don't want months in citations
+ \clearfield{labelday}% don't want days in citations
+ \clearfield{labelendmonth}% don't want months in citations
+ \clearfield{labelendday}% don't want days in citations
+ \iffieldsequal{labelyear}{labelendyear}% Don't want no-op year ranges
+ {\clearfield{labelendyear}}
+ {}%
\iffieldundef{origyear}{}
{\ifboolexpr{ test {\iforigdatecirca} or test {\iforigdateuncertain} }
{\mkbibbrackets{\printorigdate}}