diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx new file mode 100644 index 0000000000..3114a15cd5 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-apa/swedish-apa.lbx @@ -0,0 +1,139 @@ +\ProvidesFile{swedish-apa.lbx}[2019/08/17\space v7.8\space APA biblatex localisation] +\InheritBibliographyExtras{swedish} + +% (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{nodate} +\NewBibliographyString{archivedat} +\NewBibliographyString{origyear} +\NewBibliographyString{reviewof} +\NewBibliographyString{producer} +\NewBibliographyString{execproducer} +\NewBibliographyString{director} +\NewBibliographyString{writer} +\NewBibliographyString{with} + +\DeclareBibliographyStrings{% + inherit = {swedish}, + revisededition = {{reviderad\space utg{\aa}va}{rev\adddotspace utg\adddot}}, + page = {{sida}{{}s\adddot}}, + pages = {{sidor}{{}s\adddot}}, + on = {{p{\aa}}{p{\aa}}}, + retrieved = {{h\"amtad}{h\"amtad}}, + available = {{tillg\"anglig}{tillg\"anglig}}, + from = {{fr{\aa}n}{fr{\aa}n}}, + archivedat = {{arkiverat\space vid}{arkiverat\space vid}}, + nodate = {{utan\space {\aa}r}{u\adddot~{\aa}}}, + reviewof = {{granskning\space av}{granskning\space av}}, + producer = {{producent}{producent}}, + execproducer = {{exekutiv\space producent}{exekutiv\space producent}}, + director = {{regiss\"or}{regiss\"or}}, + editor = {{redakt\"or}{red\adddot}}, + editors = {{redakt\"or}{red\adddot}}, + writer = {{manus}{manus}}, + with = {{med}{med}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + mathesis = {{examensuppsats}{examensuppsats}}, + phdthesis = {{doktorsavhandling}{doktorsavhandling}}, + origyear = {{originalarbete\space publicerat}{originalarbete\space publicerat}}, + typechair = {{ordf\"orande}{ordf\"orande}}, + typechairs = {{ordf\"oranden}{ordf\"oranden}}, + typevolume = {{redakt\"or}{red\adddot}}, + typevolumes = {{redakt\"orer}{red\adddot}}, + typeseries = {{redakt\"or}{red\adddot}}, + typeseriess = {{redakt\"orer}{red\adddot}}, + typevolseries = {{redakt\"or}{red\adddot}}, + typevolseriess = {{redakt\"orer}{red\adddot}}, + annodomini = {{A\adddot D\adddot}{A\adddot D\adddot}}, + beforechrist = {{B\adddot C\adddot}{B\adddot C\adddot}}, +} + + +\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}% + {}% + {\addspace}% + \mkbibmonth{\thefield{#2}}}% + \iffieldundef{#1}% + {}% + {\iffieldundef{#2}% + {}% + {\addspace}% + \iffieldbibstring{#1}{\biblcstring{\thefield{#1}}}{\thefield{#1}}}}} + +\endinput |