summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-24 03:01:47 +0000
committerNorbert Preining <norbert@preining.info>2022-06-24 03:01:47 +0000
commit1ef4c041ba74d4619dd62209ae48a2b24563954c (patch)
treeb45a2e8da583a0f219e75f9536d9696f9af2aca7 /macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx
parent00e67dfd87c53faeafcf0c9e66c8c2c7a410fcb8 (diff)
CTAN sync 202206240301
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx76
1 files changed, 48 insertions, 28 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx
index fc84c011b8..77ee7f87c0 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-apa/russian-apa.lbx
@@ -1,6 +1,7 @@
-\ProvidesFile{russian-apa.lbx}[2021/12/24\space v9.15\space APA biblatex localisation]
+\ProvidesFile{russian-apa.lbx}[2022/06/22\space v9.16\space APA biblatex localisation]
\InheritBibliographyExtras{russian}
+\NewBibliographyString{publication}
\NewBibliographyString{jourarticle}
\NewBibliographyString{revisededition}
\NewBibliographyString{typechair}
@@ -133,7 +134,8 @@
annodomini = {{нашей\space эры}{н\adddotspace э\adddot}},
beforechrist = {{до\space нашей\space эры}{до н\adddotspace э\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}}
}
\protected\gdef\lbx@sl@mkbibmonth#1{%
@@ -156,73 +158,91 @@
\fi}%
\DeclareBibliographyExtras{%
- \def\urldatecomma{\addspace}%
- \protected\def\mkbibdateapalong#1#2#3{%
+ \def\urldatecomma{\addcomma\addspace}%
+ \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}%
- \stripzeros{\thefield{#3}}}%
- \iffieldundef{#2}%
+ \iffieldbibstring{#2}{\bibcplstring{\thefield{#2}}}{\thefield{#2}}}%
+ \iffieldundef{#4}% DAY
{}%
- {\iffieldundef{#3}
+ {\iffieldundef{#1}%
+ {}
+ {\addcomma\addspace}%
+ \stripzeros{\thefield{#4}}}%
+ \iffieldundef{#3}% MONTH
+ {}%
+ {\iffieldundef{#4}
{\iffieldundef{#1}
{}%
{\addcomma\addspace}%
- \mkbibmonth{\thefield{#2}}}%
- {\addspace\lbx@sl@mkbibmonth{\thefield{#2}}}}}%
- \protected\def\mkbibdateapalongextra#1#2#3{%
+ \mkbibmonth{\thefield{#3}}}%
+ {\addspace\lbx@sl@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}%
- \stripzeros{\thefield{#3}}}%
- \iffieldundef{#2}%
+ \iffieldbibstring{#2}{\bibcplstring{\thefield{#2}}}{\thefield{#2}}}%
+ \iffieldundef{#4}% DAY
+ {}%
+ {\iffieldundef{#1}%
+ {}
+ {\addcomma\addspace}%
+ \stripzeros{\thefield{#4}}}%
+ \iffieldundef{#3}% MONTH
{}%
- {\iffieldundef{#3}
+ {\iffieldundef{#4}
{\iffieldundef{#1}
{}%
{\addcomma\addspace}%
- \mkbibmonth{\thefield{#2}}}%
- {\addspace\lbx@sl@mkbibmonth{\thefield{#2}}}}}%
- \protected\def\mkbibdateapalongmdy#1#2#3{%
+ \mkbibmonth{\thefield{#3}}}%
+ {\addspace\lbx@sl@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}%
- {\mkbibmonth{\thefield{#2}}}%
- {\addspace\lbx@sl@mkbibmonth{\thefield{#2}}}}%
- \iffieldundef{#1}%
+ {\stripzeros{\thefield{#4}}}%
+ \iffieldundef{#3}% MONTH
+ {}%
+ {\iffieldundef{#4}%
+ {\mkbibmonth{\thefield{#3}}}%
+ {\addspace\lbx@sl@mkbibmonth{\thefield{#3}}}}%
+ \iffieldundef{#1}% YEAR
{}%
- {\iffieldundef{#2}%
+ {\iffieldundef{#3}%
{}%
{\addspace}%
\iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}}}