summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-27 22:06:27 +0000
committerKarl Berry <karl@freefriends.org>2019-11-27 22:06:27 +0000
commit80cb9c50ef0c7af421240024db2804123753d73b (patch)
tree3fc59c6185b36d7c85dbeec8ddb37cb5e0b2e4c5 /Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx
parenta249bad88a4acd5b5d3112eeed746258c9dce28d (diff)
biblatex-apa6 (27nov19)
git-svn-id: svn://tug.org/texlive/trunk@52949 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx146
1 files changed, 146 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx b/Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx
new file mode 100644
index 00000000000..888bd6c768d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-apa6/norsk-apa6.lbx
@@ -0,0 +1,146 @@
+\ProvidesFile{norsk-apa6.lbx}[2019/09/07\space v8.0\space APA 6th ed. biblatex localisation]
+\InheritBibliographyExtras{norsk}
+
+% (APA 6.22) The example abbreviations
+
+\NewBibliographyString{revisededition}
+\NewBibliographyString{typechair}
+\NewBibliographyString{typechairs}
+\NewBibliographyString{typevolume}
+\NewBibliographyString{typevolumes}
+\NewBibliographyString{typeseries}
+\NewBibliographyString{typeseriess}
+\NewBibliographyString{typevolseries}
+\NewBibliographyString{typevolseriess}
+\NewBibliographyString{on}
+\NewBibliographyString{retrieved}
+\NewBibliographyString{available}
+\NewBibliographyString{from}
+\NewBibliographyString{archivedat}
+\NewBibliographyString{origyear}
+\NewBibliographyString{reviewof}
+\NewBibliographyString{producer}
+\NewBibliographyString{execproducer}
+\NewBibliographyString{director}
+\NewBibliographyString{writer}
+\NewBibliographyString{with}
+
+\DeclareBibliographyStrings{%
+ inherit = {norsk},
+ revisededition = {{revidert\space utgave}{rev\adddotspace utg\adddot}},
+ page = {{side}{{}s\adddot}},
+ pages = {{sider}{{}s\adddot}},
+ on = {{p{\aa}}{p{\aa}}},
+ retrieved = {{hentet}{hentet}},
+ available = {{tilgjengelig}{tilgjengelig}},
+ from = {{fra}{fra}},
+ archivedat = {{arkivert\space ved}{arkivert\space ved}},
+ reviewof = {{anmeldelse\space av}{anmeldelse\space av}},
+ producer = {{produsent}{produsent}},
+ execproducer = {{ut{\o}vende produsent}{ut{\o}vende produsent}},
+ director = {{regiss{\o}r}{regiss{\o}r}},
+ writer = {{manus}{manus}},
+ with = {{med}{med}},
+ paragraph = {{\P}{\P}},
+ paragraphs = {{\P\P}{\P\P}},
+ mathesis = {{Masteroppgave}{Masteroppgave}},
+ phdthesis = {{Doktoravhandling}{Doktoravhandling}},
+ origyear = {{opprinnelig\space publisert}{opprinnelig\space publisert}},
+ typechair = {{ordstyrer}{ordstyrer}},
+ typechairs = {{ordstyrere}{ordstyrere}},
+ typevolume = {{bindredakt{\o}r}{bindred\adddot}},
+ typevolumes = {{bindredakt{\o}rer}{bindred\adddot}},
+ typeseries = {{serieredakt{\o}r}{seriered\adddot}},
+ typeseriess = {{serieredakt{\o}rer}{seriered\adddot}},
+ typevolseries = {{serie- og bindredakt{\o}r}{serie- og bindred\adddot}},
+ typevolseriess = {{serie- og bindredakt{\o}rer}{serie- og bindred\adddot}},
+ annodomini = {{A\adddot D\adddot}{A\adddot D\adddot}},
+ beforechrist = {{B\adddot C\adddot}{B\adddot C\adddot}},
+}
+
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (APA 7.10 Example 68) 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{%
+ % 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}}}%
+ \iffieldundef{#3}%
+ {}%
+ {\iffieldundef{#1}%
+ {}
+ {\addcomma\addspace}%
+ \stripzeros{\thefield{#3}}}%
+ \iffieldundef{#2}%
+ {}%
+ {\iffieldundef{#3}
+ {\iffieldundef{#1}
+ {}
+ {\addspace}}%
+ {\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}}%
+ \iffieldundef{#3}%
+ {}%
+ {\iffieldundef{#1}%
+ {}
+ {\addcomma\addspace}%
+ \stripzeros{\thefield{#3}}}%
+ \iffieldundef{#2}%
+ {}%
+ {\iffieldundef{#3}
+ {\iffieldundef{#1}
+ {}
+ {\addspace}}%
+ {\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}}}%
+ \iffieldundef{#2}%
+ {}%
+ {\iffieldundef{#3}%
+ {}%
+ {\adddot\addspace}%
+ \mkbibmonth{\thefield{#2}}}%
+ \iffieldundef{#1}%
+ {}%
+ {\iffieldundef{#2}%
+ {}%
+ {\addspace}%
+ \iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}}}
+
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\endinput