From 80cb9c50ef0c7af421240024db2804123753d73b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 27 Nov 2019 22:06:27 +0000 Subject: biblatex-apa6 (27nov19) git-svn-id: svn://tug.org/texlive/trunk@52949 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-apa6/nynorsk-apa6.lbx | 146 +++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/biblatex-apa6/nynorsk-apa6.lbx (limited to 'Master/texmf-dist/tex/latex/biblatex-apa6/nynorsk-apa6.lbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-apa6/nynorsk-apa6.lbx b/Master/texmf-dist/tex/latex/biblatex-apa6/nynorsk-apa6.lbx new file mode 100644 index 00000000000..0a9748dd881 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa6/nynorsk-apa6.lbx @@ -0,0 +1,146 @@ +\ProvidesFile{nynorsk-apa6.lbx}[2019/09/07\space v8.0\space APA 6th ed. biblatex localisation] +\InheritBibliographyExtras{nynorsk} + +% (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 = {nynorsk}, + revisededition = {{revidert\space utg{\aa}ve}{rev\adddotspace utg\adddot}}, + page = {{side}{{}s\adddot}}, + pages = {{sider}{{}s\adddot}}, + on = {{p{\aa}}{p{\aa}}}, + retrieved = {{henta}{henta}}, + available = {{tilgjengeleg}{tilgjengeleg}}, + from = {{fr{\aa}}{fr{\aa}}}, + archivedat = {{arkivert\space ved}{arkivert\space ved}}, + reviewof = {{melding\space av}{melding\space av}}, + producer = {{produsent}{produsent}}, + execproducer = {{ut{\o}vande produsent}{ut{\o}vande produsent}}, + director = {{regiss{\o}r}{regiss{\o}r}}, + writer = {{manus}{manus}}, + with = {{med}{med}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + mathesis = {{Masteroppg{\aa}ve}{Masteroppg{\aa}ve}}, + phdthesis = {{Doktoravhandling}{Doktoravhandling}}, + origyear = {{opphavleg\space publisert}{opphavleg\space publisert}}, + typechair = {{ordstyrar}{ordstyrar}}, + typechairs = {{ordstyrarar}{ordstyrarar}}, + typevolume = {{bindredakt{\o}r}{bindred\adddot}}, + typevolumes = {{bindredakt{\o}rar}{bindred\adddot}}, + typeseries = {{serieredakt{\o}r}{seriered\adddot}}, + typeseriess = {{serieredakt{\o}rar}{seriered\adddot}}, + typevolseries = {{serie- og bindredakt{\o}r}{serie- og bindred\adddot}}, + typevolseriess = {{serie- og bindredakt{\o}rar}{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 -- cgit v1.2.3