summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-17 21:50:11 +0000
committerKarl Berry <karl@freefriends.org>2019-08-17 21:50:11 +0000
commit69fbc2b3e50af4fc1f26b5014c84a3142865c874 (patch)
treebb54aa2817f6adf675f0d38ca532c33e3b6a6686 /Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx
parent2d45bbc3808e2279c0692dbc1d9fabd5df78aa9b (diff)
biblatex-apa (17aug19)
git-svn-id: svn://tug.org/texlive/trunk@51893 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx20
1 files changed, 19 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx
index db9aabfb902..3058f9c009d 100644
--- a/Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-apa/swissgerman-apa.lbx
@@ -1,4 +1,4 @@
-\ProvidesFile{swissgerman-apa.lbx}[2018/04/02\space v7.7\space APA biblatex localisation]
+\ProvidesFile{swissgerman-apa.lbx}[2019/08/17\space v7.8\space APA biblatex localisation]
\InheritBibliographyExtras{swissgerman}
% Following DGPs guidlines for German/Austrian/Swiss German
@@ -69,6 +69,12 @@
\renewcommand{\apashortdash}{~}%
\def\urldatecomma{\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}{\bibstring{\thefield{#1}}}{\thefield{#1}}%
@@ -85,6 +91,12 @@
{}%
{\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}{\bibstring{\thefield{#1}}}{\thefield{#1}}%
@@ -102,6 +114,12 @@
{}%
{\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}%
{}%
{\mkbibordinal{\thefield{#3}}}%