From 69fbc2b3e50af4fc1f26b5014c84a3142865c874 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 17 Aug 2019 21:50:11 +0000 Subject: biblatex-apa (17aug19) git-svn-id: svn://tug.org/texlive/trunk@51893 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx index 10726d6a5fc..a6cdf38d3d9 100644 --- a/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx @@ -1,4 +1,4 @@ -\ProvidesFile{norsk-apa.lbx}[2018/04/02\space v7.7\space APA biblatex localisation] +\ProvidesFile{norsk-apa.lbx}[2019/08/17\space v7.8\space APA biblatex localisation] \InheritBibliographyExtras{norsk} % (APA 6.22) The example abbreviations @@ -69,6 +69,12 @@ \DeclareBibliographyExtras{% \def\urldatecomma{\addcomma\addspace}% \protected\def\mkbibdateapalong#1#2#3{% + % As per 6.28, Articles only have year + \ifboolexpr{ test {\ifentrytype{article}} + and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } + {\clearfield{labelmonth}% + \clearfield{labelday}} + {}% \iffieldundef{#1}% {}% {\iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}% @@ -87,6 +93,12 @@ {\adddot\addspace}% \mkbibmonth{\thefield{#2}}}}% \protected\def\mkbibdateapalongextra#1#2#3{% + % As per 6.28, Articles only have year + \ifboolexpr{ test {\ifentrytype{article}} + and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } + {\clearfield{labelmonth}% + \clearfield{labelday}} + {}% \iffieldundef{#1}% {}% {\iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}\printfield{extradate}}% @@ -105,6 +117,12 @@ {\adddot\addspace}% \mkbibmonth{\thefield{#2}}}}% \protected\def\mkbibdateapalongmdy#1#2#3{% + % As per 6.28, Articles only have year + \ifboolexpr{ test {\ifentrytype{article}} + and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } + {\clearfield{labelmonth}% + \clearfield{labelday}} + {}% \iffieldundef{#3}% {}% {\stripzeros{\thefield{#3}}}% -- cgit v1.2.3