diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx | 69 |
1 files changed, 45 insertions, 24 deletions
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 89c32580d6d..0f413b1a649 100644 --- a/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-apa/norsk-apa.lbx @@ -1,6 +1,7 @@ -\ProvidesFile{norsk-apa.lbx}[2021/12/24\space v9.15\space APA biblatex localisation] +\ProvidesFile{norsk-apa.lbx}[2022/06/22\space v9.16\space APA biblatex localisation] \InheritBibliographyExtras{norsk} +\NewBibliographyString{publication} \NewBibliographyString{revisededition} \NewBibliographyString{typechair} \NewBibliographyString{typechairs} @@ -98,7 +99,8 @@ % annodomini = {{A\adddot D\adddot}{A\adddot D\adddot}}, % beforechrist = {{B\adddot C\adddot}{B\adddot C\adddot}}, % commonera = {{C\adddot E\adddot}{C\adddot E\adddot}}, -% beforecommonera = {{B\adddot C\adddot E\adddot}{B\adddot C\adddot E\adddot}} +% beforecommonera = {{B\adddot C\adddot E\adddot}{B\adddot C\adddot E\adddot}}, +% publication = {{Publication}{Publication}} } % @@ -108,75 +110,94 @@ % Drop end* when they are the same as * % You must use \printdate to get here otherwise it will be ignored + \DeclareBibliographyExtras{% \def\urldatecomma{\addcomma\addspace}% - \protected\def\mkbibdateapalong#1#2#3{% + \protected\def\mkbibdateapalong#1#2#3#4{% % As per 10.1, Articles only have year \ifboolexpr{ test {\ifentrytype{article}} and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } {\clearfield{labelmonth}% \clearfield{labelday}} {}% - \iffieldundef{#1}% + \iffieldundef{#1}% YEAR {}% {\iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}% - \iffieldundef{#3}% + \iffieldundef{#2}% YEARDIVISION + {}% + {\iffieldundef{#1}% + {}% + {\addcomma\addspace}% + \iffieldbibstring{#2}{\bibcplstring{\thefield{#2}}}{\thefield{#2}}}% + \iffieldundef{#4}% DAY {}% {\iffieldundef{#1}% {} {\addcomma\addspace}% - \stripzeros{\thefield{#3}}}% - \iffieldundef{#2}% + \stripzeros{\thefield{#4}}}% + \iffieldundef{#3}% MONTH {}% - {\iffieldundef{#3} + {\iffieldundef{#4} {\iffieldundef{#1} {} {\addspace}}% {\adddot\addspace}% - \mkbibmonth{\thefield{#2}}}}% - \protected\def\mkbibdateapalongextra#1#2#3{% + \mkbibmonth{\thefield{#3}}}}% + \protected\def\mkbibdateapalongextra#1#2#3#4{% % As per 10.1, Articles only have year \ifboolexpr{ test {\ifentrytype{article}} and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } {\clearfield{labelmonth}% \clearfield{labelday}} {}% - \iffieldundef{#1}% + \iffieldundef{#1}% YEAR {}% {\iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}\printfield{extradate}}% - \iffieldundef{#3}% + \iffieldundef{#2}% YEARDIVISION + {}% + {\iffieldundef{#1}% + {}% + {\addcomma\addspace}% + \iffieldbibstring{#2}{\bibcplstring{\thefield{#2}}}{\thefield{#2}}}% + \iffieldundef{#4}% DAY {}% {\iffieldundef{#1}% {} {\addcomma\addspace}% - \stripzeros{\thefield{#3}}}% - \iffieldundef{#2}% + \stripzeros{\thefield{#4}}}% + \iffieldundef{#3}% MONTH {}% - {\iffieldundef{#3} + {\iffieldundef{#4} {\iffieldundef{#1} {} {\addspace}}% {\adddot\addspace}% - \mkbibmonth{\thefield{#2}}}}% - \protected\def\mkbibdateapalongmdy#1#2#3{% + \mkbibmonth{\thefield{#3}}}}% + \protected\def\mkbibdateapalongmdy#1#2#3#4{% % As per 10.1, Articles only have year \ifboolexpr{ test {\ifentrytype{article}} and not test {\iffieldequalstr{entrysubtype}{nonacademic}} } {\clearfield{labelmonth}% \clearfield{labelday}} {}% - \iffieldundef{#3}% + \iffieldundef{#2}% YEARDIVISION {}% - {\stripzeros{\thefield{#3}}}% - \iffieldundef{#2}% + {\iffieldundef{#1}% + {}% + {\addcomma\addspace}% + \iffieldbibstring{#2}{\bibcplstring{\thefield{#2}}}{\thefield{#2}}}% + \iffieldundef{#4}% DAY {}% - {\iffieldundef{#3}% + {\stripzeros{\thefield{#4}}}% + \iffieldundef{#3}% MONTH + {}% + {\iffieldundef{#4}% {}% {\adddot\addspace}% - \mkbibmonth{\thefield{#2}}}% - \iffieldundef{#1}% + \mkbibmonth{\thefield{#3}}}% + \iffieldundef{#1}% YEAR {}% - {\iffieldundef{#2}% + {\iffieldundef{#3}% {}% {\addspace}% \iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}}} |