summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx731
1 files changed, 422 insertions, 309 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx
index fbc5d3781d0..0524c160d84 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-icelandic.lbx
@@ -1,6 +1,4 @@
-% $Id: cms-icelandic.lbx,v 0.16 2018/01/09 19:01:57 dfussner Exp $
-
-\ProvidesFile{cms-icelandic.lbx}[2018/01/09 v 3.10 biblatex localization]
+\ProvidesFile{cms-icelandic.lbx}[2020/04/20 v 3.14 biblatex localization]
% STATUS OF THIS FILE
% - Translated by a native speaker (Baldur Kristinsson).
@@ -8,276 +6,140 @@
% - Many bibstrings remain untranslated.
% - Needs fine tuning, since declension of Icelandic nouns (names + titles)
% makes straight translations difficult in some cases.
-% - Last worked on: 2012-06-15
+% - Last worked on: 2019-11-07
% - Date handling altered by dfussner, along with a few other small
-% fixes. I have added placeholders for 9 audio-visual strings, but
-% need help from a native speaker to provide the actual strings.
-% See "bydirector," "cbydirector," "byconductor," "cbyconductor,"
-% "byproducer," "cbyproducer," "broadcast," "songrecorded,"
-% "discrecorded," and "on."
+% fixes. I have attempted to make the new decade, century, season,
+% and dateuncertain code as grammatically correct as I can, but all
+% fixes would be gratefully received. I have added guesses for many
+% strings, but need help from a native speaker to provide better
+% ones. See "bydirector," "cbydirector," "byconductor,"
+% "cbyconductor," "byproducer," "cbyproducer," "broadcast,"
+% "songrecorded," "discrecorded," "on," "selfpublished,"
+% "commenton," "printed," "track," "choreographer,"
+% "choreographers," "cbychoreographer," and "bychoreographer."
\InheritBibliographyExtras{icelandic}
\DeclareBibliographyExtras{%
\savecommand\cms@datelong%
- \savecommand\cms@datelongalt%
\savecommand\mkdaterangecomp%
\savecommand\mkdaterangeterse%
\savecommand\mkdaterangefull%
- \savecommand\mkbibrangecomp%
- \savecommand\mkbibrangeterse%
- \savecommand\mkbibrangefull%
+ \savecommand\mkdaterangecompextra%
+ \savecommand\mkdaterangeterseextra%
+ \savecommand\mkdaterangefullextra%
+ \def\introductionname{Inngangur}%
+ \def\sectionname{Grein}%
+ \def\subsectionname{M\'alsgrein}%
+ \def\forewordname{Form\'ali}%
+ \def\notesname{Athugasemdir}%
\protected\def\mkjuridordinal{\mkbibordinal}%
+ %%% The following code attempts to take account of the grammatical
+ %%% complexity of season presentation in Icelandic. Corrections
+ %%% gratefully received.
+ \protected\def\mkbibseasondateshort#1#2{%
+ \begingroup
+ \let\cms@tempa\@empty
+ \blx@ifstrendswith{#2}{endseason}%
+ {\blx@stripfromendinto{#2}{endseason}\cms@datetype%
+ \def\cms@tempa{end}}%
+ {\blx@stripfromendinto{#2}{season}\cms@datetype}%
+ \ifboolexpr{%
+ test {\ifdateyearsequal{\csuse{cms@datetype}}%
+ {\csuse{cms@datetype}end}}%
+ and
+ not test {\iffieldsequal{\csuse{cms@datetype}season}%
+ {\csuse{cms@datetype}endseason}}%
+ }%
+ {\ifdefstring{\cms@tempa}{end}%
+ {\bibsstring{\thefield{#2}}}%
+ {\biblstring{\thefield{#2}}}}%
+ {\ifthenelse{\iffieldundef{\csuse{cms@datetype}year}\AND%
+ \iffieldundef{\csuse{cms@datetype}endyear}}%
+ {\biblstring{\thefield{#2}}}%
+ {\bibsstring{\thefield{#2}}}}\endgroup%
+ \iffieldundef{#1}{}{\space}%
+ \dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}%
+ \protected\def\mkbibseasondatelong#1#2{%
+ \begingroup
+ \let\cms@tempa\@empty
+ \blx@ifstrendswith{#2}{endseason}%
+ {\blx@stripfromendinto{#2}{endseason}\cms@datetype%
+ \def\cms@tempa{end}}%
+ {\blx@stripfromendinto{#2}{season}\cms@datetype}%
+ \ifboolexpr{%
+ test {\ifdateyearsequal{\csuse{cms@datetype}}%
+ {\csuse{cms@datetype}end}}%
+ and
+ not test {\iffieldsequal{\csuse{cms@datetype}season}%
+ {\csuse{cms@datetype}endseason}}%
+ }%
+ {\ifdefstring{\cms@tempa}{end}%
+ {\bibsstring{\thefield{#2}}}%
+ {\biblstring{\thefield{#2}}}}%
+ {\ifthenelse{\iffieldundef{\csuse{cms@datetype}year}\AND%
+ \iffieldundef{\csuse{cms@datetype}endyear}}%
+ {\biblstring{\thefield{#2}}}%
+ {\bibsstring{\thefield{#2}}}}\endgroup%
+ \iffieldundef{#1}{}{\space}%
+ \dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}%
+ \protected\def\cmsmkdecade#1#2{% A bulky presentation - the plain
+ \cms@tempcnta=\thefield{#2year}% year range may be better.
+ \cms@tempcntb=\cms@tempcnta%
+ \divide\cms@tempcnta100
+ \multiply\cms@tempcnta100
+ \advance\cms@tempcntb-\cms@tempcnta
+ \divide\cms@tempcnta100
+ \advance\cms@tempcnta\@ne
+ \divide\cms@tempcntb10
+ \advance\cms@tempcntb\@ne
+ \ifnumequal{\thefield{#2year}}{1}%
+ {}%
+ {\dateeraprintpre{#2year}}%
+ \mkbibordinal{\the\cms@tempcntb}%
+ \addspace%
+ \bibsstring{decade}%
+ \addspace%
+ \mkbibordinal{\the\cms@tempcnta}%
+ \addspace%
+ \biblstring{century}%
+ \cmsdateeraprint{#2endyear}\clearfield{#2endyear}%
+ \usebibmacro{cmsparensextradate}%
+ \global\boolfalse{cms:extraparens}}%
+ \protected\def\cmsmkcentury#1{%
+ \dateeraprintpre{#1year}%
+ \csuse{mkcmscentury}{#1year}%
+ \addnbspace%
+ \bibsstring{century}%
+ \cmsdateeraprint{#1endyear}\clearfield{#1endyear}%
+ \usebibmacro{cmsparensextradate}%
+ \global\boolfalse{cms:extraparens}}%
+ \protected\def\mkcmscentury#1{%
+ \cms@tempcnta=\numexpr\thefield{#1}/100+1%
+ \mkbibordinal{\the\cms@tempcnta}}%
+ \protected\def\mkdaterangecompextra{%
+ \lbx@cms@mkyearrangeextra@is[]{long}}%
+ \protected\def\mkdaterangeterseextra{%
+ \lbx@cms@mkyearrangeextra@is[]{short}}%
+ \protected\def\mkdaterangefullextra{%
+ \lbx@cms@mkyearrangeextra@is[1]}%
\protected\def\mkdaterangecomp{%
- \lbx@cms@mkbibrangetrunc{long}}%
+ \lbx@cms@mkbibrangetrunc@is{long}}%
\protected\def\mkdaterangeterse{%
- \lbx@cms@mkbibrangetrunc{short}}%
+ \lbx@cms@mkbibrangetrunc@is{short}}%
\protected\def\mkdaterangefull{%
- \lbx@cms@mkbibrangefull}%
- \protected\def\mkbibrangecomp{%
- \lbx@cms@mkbibrangetrunc{long}}%
- \protected\def\mkbibrangeterse{%
- \lbx@cms@mkbibrangetrunc{short}}%
- \protected\def\mkbibrangefull{%
- \lbx@cms@mkbibrangefull}%
- \def\cms@datelong{\printorigdate}%
- \def\cms@datelongalt{\printdate}}%
+ \lbx@cms@mkbibrangefull@is}%
+ \def\cms@datelong#1{\csname print#1date\endcsname}}%
\UndeclareBibliographyExtras{%
\restorecommand\cms@datelong%
- \restorecommand\cms@datelongalt%
\restorecommand\mkdaterangecomp%
\restorecommand\mkdaterangefull%
\restorecommand\mkdaterangeterse%
- \restorecommand\mkbibrangecomp%
- \restorecommand\mkbibrangefull%
- \restorecommand\mkbibrangeterse}%
-
-\NewBibliographyString{bynone}
-\NewBibliographyString{bycompiler}
-\NewBibliographyString{byconductor}
-\NewBibliographyString{bydirector}
-\NewBibliographyString{byproducer}
-\NewBibliographyString{byeditorcp}
-\NewBibliographyString{byeditortrcp}
-\NewBibliographyString{byeditortrcpco}
-\NewBibliographyString{byeditortrcpan}
-\NewBibliographyString{byeditortrcpin}
-\NewBibliographyString{byeditortrcpfo}
-\NewBibliographyString{byeditortrcpaf}
-\NewBibliographyString{byeditortrcpcoin}
-\NewBibliographyString{byeditortrcpcofo}
-\NewBibliographyString{byeditortrcpcoaf}
-\NewBibliographyString{byeditortrcpanin}
-\NewBibliographyString{byeditortrcpanfo}
-\NewBibliographyString{byeditortrcpanaf}
-\NewBibliographyString{byeditorcpco}
-\NewBibliographyString{byeditorcpan}
-\NewBibliographyString{byeditorcpin}
-\NewBibliographyString{byeditorcpfo}
-\NewBibliographyString{byeditorcpaf}
-\NewBibliographyString{byeditorcpcoin}
-\NewBibliographyString{byeditorcpcofo}
-\NewBibliographyString{byeditorcpcoaf}
-\NewBibliographyString{byeditorcpanin}
-\NewBibliographyString{byeditorcpanfo}
-\NewBibliographyString{byeditorcpanaf}
-\NewBibliographyString{bytranslatorcp}
-\NewBibliographyString{bytranslatorcpco}
-\NewBibliographyString{bytranslatorcpan}
-\NewBibliographyString{bytranslatorcpin}
-\NewBibliographyString{bytranslatorcpfo}
-\NewBibliographyString{bytranslatorcpaf}
-\NewBibliographyString{bytranslatorcpcoin}
-\NewBibliographyString{bytranslatorcpcofo}
-\NewBibliographyString{bytranslatorcpcoaf}
-\NewBibliographyString{bytranslatorcpanin}
-\NewBibliographyString{bytranslatorcpanfo}
-\NewBibliographyString{bytranslatorcpanaf}
-\NewBibliographyString{bycompilerco}
-\NewBibliographyString{bycompileran}
-\NewBibliographyString{bycompilerin}
-\NewBibliographyString{bycompilerfo}
-\NewBibliographyString{bycompileraf}
-\NewBibliographyString{bycompilercoin}
-\NewBibliographyString{bycompilercofo}
-\NewBibliographyString{bycompilercoaf}
-\NewBibliographyString{bycompileranin}
-\NewBibliographyString{bycompileranfo}
-\NewBibliographyString{bycompileranaf}
-\NewBibliographyString{cbynone}
-\NewBibliographyString{cbyauthor}
-\NewBibliographyString{cbyeditor}
-\NewBibliographyString{cbytranslator}
-\NewBibliographyString{cbycompiler}
-\NewBibliographyString{cbyredactor}
-\NewBibliographyString{cbycommentator}
-\NewBibliographyString{cbyannotator}
-\NewBibliographyString{cbyfounder}
-\NewBibliographyString{cbycontinuator}
-\NewBibliographyString{cbycollaborator}
-\NewBibliographyString{cbyconductor}
-\NewBibliographyString{cbydirector}
-\NewBibliographyString{cbyproducer}
-\NewBibliographyString{cbyeditortr}
-\NewBibliographyString{cbyeditorcp}
-\NewBibliographyString{cbyeditorco}
-\NewBibliographyString{cbyeditoran}
-\NewBibliographyString{cbyeditorin}
-\NewBibliographyString{cbyeditorfo}
-\NewBibliographyString{cbyeditoraf}
-\NewBibliographyString{cbyeditortrcp}
-\NewBibliographyString{cbyeditortrco}
-\NewBibliographyString{cbyeditortran}
-\NewBibliographyString{cbyeditortrin}
-\NewBibliographyString{cbyeditortrfo}
-\NewBibliographyString{cbyeditortraf}
-\NewBibliographyString{cbyeditortrcpco}
-\NewBibliographyString{cbyeditortrcpan}
-\NewBibliographyString{cbyeditortrcpin}
-\NewBibliographyString{cbyeditortrcpfo}
-\NewBibliographyString{cbyeditortrcpaf}
-\NewBibliographyString{cbyeditorcoin}
-\NewBibliographyString{cbyeditorcofo}
-\NewBibliographyString{cbyeditorcoaf}
-\NewBibliographyString{cbyeditoranin}
-\NewBibliographyString{cbyeditoranfo}
-\NewBibliographyString{cbyeditoranaf}
-\NewBibliographyString{cbyeditortrcoin}
-\NewBibliographyString{cbyeditortrcofo}
-\NewBibliographyString{cbyeditortrcoaf}
-\NewBibliographyString{cbyeditortranin}
-\NewBibliographyString{cbyeditortranfo}
-\NewBibliographyString{cbyeditortranaf}
-\NewBibliographyString{cbyeditortrcpcoin}
-\NewBibliographyString{cbyeditortrcpcofo}
-\NewBibliographyString{cbyeditortrcpcoaf}
-\NewBibliographyString{cbyeditortrcpanin}
-\NewBibliographyString{cbyeditortrcpanfo}
-\NewBibliographyString{cbyeditortrcpanaf}
-\NewBibliographyString{cbyeditorcpco}
-\NewBibliographyString{cbyeditorcpan}
-\NewBibliographyString{cbyeditorcpin}
-\NewBibliographyString{cbyeditorcpfo}
-\NewBibliographyString{cbyeditorcpaf}
-\NewBibliographyString{cbyeditorcpcoin}
-\NewBibliographyString{cbyeditorcpcofo}
-\NewBibliographyString{cbyeditorcpcoaf}
-\NewBibliographyString{cbyeditorcpanin}
-\NewBibliographyString{cbyeditorcpanfo}
-\NewBibliographyString{cbyeditorcpanaf}
-\NewBibliographyString{cbytranslatorcp}
-\NewBibliographyString{cbytranslatorco}
-\NewBibliographyString{cbytranslatoran}
-\NewBibliographyString{cbytranslatorin}
-\NewBibliographyString{cbytranslatorfo}
-\NewBibliographyString{cbytranslatoraf}
-\NewBibliographyString{cbytranslatorcpco}
-\NewBibliographyString{cbytranslatorcpan}
-\NewBibliographyString{cbytranslatorcpin}
-\NewBibliographyString{cbytranslatorcpfo}
-\NewBibliographyString{cbytranslatorcpaf}
-\NewBibliographyString{cbytranslatorcoin}
-\NewBibliographyString{cbytranslatorcofo}
-\NewBibliographyString{cbytranslatorcoaf}
-\NewBibliographyString{cbytranslatoranin}
-\NewBibliographyString{cbytranslatoranfo}
-\NewBibliographyString{cbytranslatoranaf}
-\NewBibliographyString{cbytranslatorcpcoin}
-\NewBibliographyString{cbytranslatorcpcofo}
-\NewBibliographyString{cbytranslatorcpcoaf}
-\NewBibliographyString{cbytranslatorcpanin}
-\NewBibliographyString{cbytranslatorcpanfo}
-\NewBibliographyString{cbytranslatorcpanaf}
-\NewBibliographyString{cbycompilerco}
-\NewBibliographyString{cbycompileran}
-\NewBibliographyString{cbycompilerin}
-\NewBibliographyString{cbycompilerfo}
-\NewBibliographyString{cbycompileraf}
-\NewBibliographyString{cbycompilercoin}
-\NewBibliographyString{cbycompilercofo}
-\NewBibliographyString{cbycompilercoaf}
-\NewBibliographyString{cbycompileranin}
-\NewBibliographyString{cbycompileranfo}
-\NewBibliographyString{cbycompileranaf}
-\NewBibliographyString{partvolume}
-\NewBibliographyString{by}
-\NewBibliographyString{of}
-\NewBibliographyString{on}
-\NewBibliographyString{afterwordto}
-\NewBibliographyString{forewordto}
-\NewBibliographyString{introductionto}
-\NewBibliographyString{origpub}
-\NewBibliographyString{origpublin}
-\NewBibliographyString{origpubyear}
-\NewBibliographyString{origreleaseyear}
-\NewBibliographyString{origshownyear}
-\NewBibliographyString{origedition}
-\NewBibliographyString{revisededition}
-\NewBibliographyString{broadcast}
-\NewBibliographyString{songrecorded}
-\NewBibliographyString{discrecorded}
-\NewBibliographyString{numbers}
-\NewBibliographyString{nodate}
-\NewBibliographyString{pseudonym}
-\NewBibliographyString{patentfiled}
-\NewBibliographyString{patentissued}
-\NewBibliographyString{inlang}
-\NewBibliographyString{edamerican}
-\NewBibliographyString{edbrazilian}
-% \NewBibliographyString{edbulgarian}
-% \NewBibliographyString{edcatalan}
-% \NewBibliographyString{edcroatian}
-% \NewBibliographyString{edczech}
-\NewBibliographyString{eddanish}
-\NewBibliographyString{eddutch}
-\NewBibliographyString{edenglish}
-% \NewBibliographyString{edestonian}
-\NewBibliographyString{edfinnish}
-\NewBibliographyString{edfrench}
-\NewBibliographyString{edgalician}
-\NewBibliographyString{edgerman}
-\NewBibliographyString{edgreek}
-\NewBibliographyString{editalian}
-% \NewBibliographyString{edjapanese}
-\NewBibliographyString{edlatin}
-\NewBibliographyString{ednorwegian}
-\NewBibliographyString{edpolish}
-\NewBibliographyString{edportuguese}
-\NewBibliographyString{edrussian}
-% \NewBibliographyString{edslovak}
-% \NewBibliographyString{edslovene}
-\NewBibliographyString{edspanish}
-\NewBibliographyString{edswedish}
-% \NewBibliographyString{edukrainian}
-\NewBibliographyString{review}
-\NewBibliographyString{reviewof}
-\NewBibliographyString{section}
-\NewBibliographyString{sections}
-\NewBibliographyString{canadasection}% For legal citations
-\NewBibliographyString{canadasections}% Ditto
-\NewBibliographyString{supranote}% Ditto
-\NewBibliographyString{hereinafter}% Ditto
-\NewBibliographyString{subverbo}
-\NewBibliographyString{subverbis}
-\NewBibliographyString{compiler}
-\NewBibliographyString{compilers}
-\NewBibliographyString{conductor}
-\NewBibliographyString{conductors}
-\NewBibliographyString{director}
-\NewBibliographyString{directors}
-\NewBibliographyString{none}
-\NewBibliographyString{nones}
-\NewBibliographyString{producer}
-\NewBibliographyString{producers}
-\NewBibliographyString{transcompiler}
-\NewBibliographyString{transcompilers}
-\NewBibliographyString{editortranscompiler}
-\NewBibliographyString{editorcompiler}
-\NewBibliographyString{editortranslator}
-\NewBibliographyString{editortranscompilers}
-\NewBibliographyString{editorcompilers}
-\NewBibliographyString{editortranslators}
+ \restorecommand\mkdaterangecompextra%
+ \restorecommand\mkdaterangeterseextra%
+ \restorecommand\mkdaterangefullextra%
+}%
\DeclareBibliographyStrings{%
inherit = {icelandic},
@@ -287,7 +149,7 @@
partvolume = {{hl\adddot}{hl\adddot}},
by = {{eftir}{eftir}},
of = {{af}{af}},
-% on = {{}{}},
+ on = {{\'a}{\'a}},
compiler = {{ritstj\adddot}{ritstj\adddot}},% Same as editor
compilers = {{ritstj\adddot}{ritstj\adddot}},
transcompiler = {{ritstj\adddot\addabbrvspace og \'y\adddot}%
@@ -310,14 +172,16 @@
directors = {{leikstj\adddot}{leikstj\adddot}},
none = {{}{}},
nones = {{}{}},
- producer = {{framleiandi}{framl\adddot}},
- producers = {{framleiendur}{framl\adddot}},
+ producer = {{framl\adddot}{framl\adddot}},
+ producers = {{framl\adddot}{framl\adddot}},
editor = {{ritstj\adddot}{ritstj\adddot}},
editors = {{ritstj\adddot}{ritstj\adddot}},
+ choreographer = {{dansh\"of\adddot}{dansh\"of\adddot}},
+ choreographers = {{dansh\"of\adddot}{dansh\"of\adddot}},
ibidem = {{sama heimild}{s\adddot h\adddot}},
origpub = {{upphaflega birt sem}%
{upph\adddot\ birt sem}},
- origpublin = {{birtist upphaflega \'{\i}}%
+ origpubin = {{birtist upphaflega \'{\i}}%
{birtist upph\adddot \'{\i}}},
origpubyear = {{birtist upphaflega \'ari}%
{birtist upph\adddot\ \'ari}},
@@ -329,11 +193,13 @@
{\'utg\adddot\addcolon}},
revisededition = {{endurskou \'utg\'afa}%
{endursk\adddot \'utg\adddot}},
-% broadcast = {{}{}},
-% songrecorded = {{}{}},
-% discrecorded = {{}{}},
+ broadcast = {{\'utvarps\th\'attur}{\'utvarps\th\'attur}},
+ songrecorded = {{skr\'a\dh}{skr\'a\dh}},
+ discrecorded = {{skr\'a\dh}{skr\'a\dh}},
numbers = {{nr\adddot}{nr\adddot}},
nodate = {{\'an \'ars}{\'an \'ars}},
+ decade = {{\'aratugur}{\'aratugur}},
+ century = {{aldar}{\"oldin}},
pseudonym = {{dulnefni}{dulnefni}},
patentfiled = {{lagt fram til skr\'aningar}{lagt fram til skr\'aningar}},%
patentissued = {{veitt}{veitt}},% ?
@@ -370,7 +236,10 @@
annotators = {{me sk\'yringum eftir}{me sk\'yringum eftir}},
review = {{ritd\'omur}{ritd\'omur}},
reviewof = {{ritd\'omur um}{ritd\'omur um}},
+ commenton = {{athugasemd\ \'a}{athugasemd\ \'a}},
reprint = {{endurprentun}{endurpr\adddot}},
+ printed = {{prentu\dh}{prentu\dh}},
+ selfpublished = {{sj\'alfst\ae tt birt}{sj\'alfst\ae tt birt}},
shorthands = {{skammstafanir}{skammstafanir}},
newseries = {{n\'y ritr\"o}{n\adddot rr\adddot}},
bynone = {{}{}},
@@ -385,9 +254,10 @@
{\'y\adddot\addspace\lbx@sfromlang}},%
cbycommentator = {{sk\'yringar:}{sk\'yringar:}},
cbyannotator = {{sk\'yringar:}{sk\'yringar:}},
-% cbyconductor = {{}{}},
-% cbydirector = {{}{}},
-% cbyproducer = {{}{}},
+ cbyconductor = {{stj\'orn\adddot}{stj\'orn\adddot}},
+ cbydirector = {{leikst\adddot}{leikst\adddot}},
+ cbyproducer = {{framl\adddot}{framl\adddot}},
+ cbychoreographer = {{dansverk af}{dansverk af}},
cbyeditortr = {{\'utg.~og \'y\adddot \lbx@lfromlang}%
{\'utg.~og \'y\adddot}},
cbyeditorco = {{\'utg.~og sk\'yringar:}%
@@ -475,6 +345,10 @@
paragraphs = {{mgr\adddot}{mgr\adddot}},
section = {{\S}{\S}},
sections = {{\S\S}{\S\S}},
+ subsection = {{\S}{\S}},
+ subsections = {{\S\S}{\S\S}},
+ preface = {{form\'ali}{form\'ali}},
+ note = {{athugasemd}{aths\adddot}},
canadasection = {{s\adddot}{s\adddot}},% For legal citations
canadasections = {{s\adddot}{s\adddot}},% ditto
supranote = {{\mkbibemph{supra}\addspace athugasemd\addnbspace}% ditto
@@ -486,59 +360,298 @@
verses = {{erindi}{er\adddot}},
number = {{nr\adddot}{nr\adddot}},
chapter = {{kafli}{k\adddot}},
-% byconductor = {{}{}},
-% bydirector = {{}{}},
-% byproducer = {{}{}},
- % A lot of keys already present in in icelandic.lbx omitted here
+ track = {{lag}{lag}},
+ circa = {{um \'arin}{um \'ari\dh}},% 2 cases of noun, these five
+ spring = {{vor}{vori\dh}},% Indefinite in long slot, for mkbibseason
+ summer = {{sumar}{sumari\dh}},% in NB style (?)
+ autumn = {{haust}{hausti\dh}},%
+ winter = {{vetur}{veturinn}},%
+ byconductor = {{stj\'orna\th\ af}{stj\'orn\adddot}},
+ bydirector = {{leikst\'yrt af}{leikst\adddot}},
+ byproducer = {{framleidd af}{framl\adddot}},
+ bychoreographer = {{dansverk af}{dansverk af}},
+ % A lot of keys already present in icelandic.lbx omitted here
}
-\protected\gdef\lbx@cms@mkbibrangetrunc#1#2{% DATE FIX
- \iffieldundef{#2year}%
- {\iffieldundef{#2month}%
- {}%
- {\printtext[#2date]{%
- \iffieldsequal{#2month}{#2endmonth}%
- {\csuse{mkbibdate#1}{}{}{#2day}}%
- {\csuse{mkbibdate#1}{}{#2month}{#2day}}%
- \iffieldundef{#2endyear}%
- {\iffieldundef{#2endmonth}%
- {}%
- {\bibdatedash%
- \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}}}%
- {\iffieldequalstr{#2endyear}{}%
- {\mbox{\bibdatedash}}%
- {\bibdatedash%
- \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}%
+\protected\gdef\lbx@cms@mkbibrangetrunc@is#1#2{% DATE FIX
+ \begingroup
+ \blx@metadateinfo{#2}%
+ \clearfield{extradate}%
+ \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}\AND%
+ \iffieldundef{#2season}}%
+ {}%
{\printtext[#2date]{%
- \iffieldsequal{#2year}{#2endyear}%
- {\iffieldsequal{#2month}{#2endmonth}%
- {\csuse{mkbibdate#1}{}{}{#2day}}%
- {\ifthenelse{\iffieldundef{#2month}\AND\iffieldundef{#2day}}%
- {\csuse{mkbibdate#1}{#2year}{}{}%
- \clearfield{#2endyear}}% Clear up inheritance problem ???
- {\csuse{mkbibdate#1}{}{#2month}{#2day}}}}%
- {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
- \iffieldundef{#2endyear}%
+ \if@cms@bracket%
+ {\cms@datebrackets%
+ \if@cms@circa%
+ {\if@cms@endbracket%
+ {\biblstring{circa}\printdelim{datecircadelim}}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\global\boolfalse{cms:bracket}}%
+ \iffieldundef{#2season}%
+ {\ifdateyearsequal{#2}{#2end}%
+ {\iffieldsequal{#2month}{#2endmonth}%
+ {\csuse{mkbibdate#1}{}{}{#2day}}%
+ {\ifthenelse{\iffieldundef{#2month}\AND\iffieldundef{#2day}}%
+ {\csuse{mkbibdate#1}{#2year}{}{}\cmsdateeraprint{#2endyear}%
+ \clearfield{#2endyear}}% Clear up inheritance problem ???
+ {\csuse{mkbibdate#1}{}{#2month}{#2day}}}}%
+ {\cmsunspecified{#1}{#2}}}%
+ {\ifdateyearsequal{#2}{#2end}%
+ {\ifthenelse{\iffieldundef{#2endseason}\OR%
+ \iffieldsequal{#2season}{#2endseason}}%
+ {\csuse{mkbibseasondate#1}{#2year}{#2season}%
+ \cmsdateeraprint{#2endyear}\clearfield{#2endyear}}%
+ {\csuse{mkbibseasondate#1}{}{#2season}}}%
+ {\csuse{mkbibseasondate#1}{#2year}{#2season}%
+ \cmsdateeraprint{#2year}}}%
+ \if@cms@bracket%
+ {\if@cms@uncertain%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#2endyear}%
+ {\bibdateuncertain}%
+ {}}%
+ {\bibdateuncertain}}%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#2endyear}%
+ {\bibdateuncertain}%
+ {}}%
+ {}}}%
{}%
+ \iffieldundef{#2endyear}%
+ {\iffieldundef{#2endmonth}%
+ {\ifthenelse{\iffieldundef{#2endseason}\OR%
+ \iffieldsequal{#2season}{#2endseason}}%
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}}%
+ {\bibdaterangesep%
+ \csuse{mkbibseasondate#1}{}{#2endseason}}}%
+ {\bibdaterangesep%
+ \csuse{mkbibdate#1}{}{#2endmonth}{#2endday}}}%
{\iffieldequalstr{#2endyear}{}%
- {\mbox{\bibdatedash}}%
- {\bibdatedash%
- \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}%
+ \mbox{\bibdaterangesep}}%
+ {\ifbool{cms:bracket}%
+ {\if@cms@circa%
+ {\if@cms@endbracket%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}%
+ {\if@cms@endcirca%
+ {\bibdaterangesep\bibsstring{circa}\printdelim{datecircadelim}}%
+ {\if@cms@enduncertain%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}}}%
+ {\if@cms@endbracket%
+ {\bibdaterangesep%
+ \cms@datebrackets%
+ \if@cms@endcirca%
+ {\if@cms@circa%
+ {}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\bibdaterangesep}}%\bibdatedash%
+ \iffieldundef{#2endseason}%
+ {\ifdateyearsequal{#2}{#2end}%
+ {\csuse{mkbibdate#1}{#2year}{#2endmonth}{#2endday}}%
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}%
+ {\ifdateyearsequal{#2}{#2end}%
+ {\csuse{mkbibseasondate#1}{#2year}{#2endseason}}%
+ {\csuse{mkbibseasondate#1}{#2endyear}{#2endseason}}}%
+ \ifbool{cms:bracket}%
+ {\if@cms@bracket%
+ {\cmsdateeraprint{#2endyear}%
+ \enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}}%
+ {\enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}%
+ \cmsdateeraprint{#2endyear}}}%
+ {\enddateuncertainprint%
+ \cmsdateeraprint{#2endyear}}}}}}%
+ \endgroup}
-\protected\gdef\lbx@cms@mkbibrangefull#1#2{%
- \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}%
+\protected\gdef\lbx@cms@mkbibrangefull@is#1#2{%
+ \begingroup
+ \blx@metadateinfo{#2}%
+ \clearfield{extradate}%
+ \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}\AND%
+ \iffieldundef{#2season}}%
{}%
- {\ifthenelse{\iffieldsequal{#2year}{#2endyear}\AND%
- \iffieldundef{#2month}\AND\iffieldundef{#2day}}%
- {\clearfield{#2endyear}}% Clear up inheritance problem ???
- {}%
- \printtext[#2date]{%
- \csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
- \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}%
+ {\printtext[#2date]{%
+ \if@cms@bracket%
+ {\cms@datebrackets%
+ \if@cms@circa%
+ {\if@cms@endbracket%
+ {\biblstring{circa}\printdelim{datecircadelim}}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\global\boolfalse{cms:bracket}}%
+ \iffieldundef{#2season}%
+ {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
+ \ifboolexpr{%
+ test {\ifdateyearsequal{#2}{#2end}}%
+ and
+ test {\iffieldundef{#2month}}%
+ and
+ test {\iffieldundef{#2day}}%
+ }%
+ {\cmsdateeraprint{#2endyear}\clearfield{#2endyear}}%
+ {\cmsdateeraprint{#2year}}}%
+ {\csuse{mkbibseasondate#1}{#2year}{#2season}%
+ \cmsdateeraprint{#2year}}%
+ \if@cms@bracket%
+ {\if@cms@uncertain%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#2endyear}%
+ {\bibdateuncertain}%
+ {}}%
+ {\bibdateuncertain}}%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#2endyear}%
+ {\bibdateuncertain}%
+ {}}%
+ {}}}%
{}%
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}%
+ \AND\iffieldundef{#2endseason}}%
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}}%
{\iffieldequalstr{#2endyear}{}%
- {\mbox{\bibdatedash}}%
- {\bibdatedash%
- \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}%
+ \mbox{\bibdaterangesep}}%
+ {\ifbool{cms:bracket}%
+ {\if@cms@circa%
+ {\if@cms@endbracket%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}%
+ {\if@cms@endcirca%
+ {\bibdaterangesep\bibsstring{circa}\printdelim{datecircadelim}}%
+ {\if@cms@enduncertain%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}}}%
+ {\if@cms@endbracket%
+ {\bibdaterangesep%
+ \cms@datebrackets%
+ \if@cms@endcirca%
+ {\if@cms@circa%
+ {}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\bibdaterangesep}}%\bibdaterangesep%
+ \iffieldundef{#2endseason}%
+ {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}%
+ {\csuse{mkbibseasondate#1}{#2endyear}{#2endseason}}%
+ \ifbool{cms:bracket}%
+ {\if@cms@bracket%
+ {\cmsdateeraprint{#2endyear}%
+ \enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}}%
+ {\enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}%
+ \cmsdateeraprint{#2endyear}}}%
+ {\enddateuncertainprint%
+ \cmsdateeraprint{#2endyear}}}}}}%
+ \endgroup}
+
+\protected\gdef\lbx@cms@mkyearrangeextra@is[#1]#2#3{%
+ \global\boolfalse{cms:extraparens}%
+ \begingroup
+ \clearfield{#3month}\clearfield{#3day}\clearfield{#3endmonth}%
+ \clearfield{#3endday}\clearfield{#3season}\clearfield{#3endseason}%
+ \blx@metadateinfo{#3}%
+ \iffieldundef{#3year}
+ {\blx@nounit}%
+ {\printtext{%
+ \if@cms@bracket%
+ {\cms@yearbrackets%
+ \if@cms@circa%
+ {\if@cms@endbracket%
+ {\biblstring{circa}\printdelim{datecircadelim}}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\global\boolfalse{cms:bracket}}%
+ \ifdateyearsequal{#3}{#3end}%
+ {\csuse{mkbibdate#2}{#3year}{}{}\cmsdateeraprint{#3endyear}%
+ \clearfield{#3endyear}}%
+ {\ifblank{#1}%
+ {\cmsunspecified{#2}{#3}}%
+ {\csuse{mkbibdate#2}{#3year}{}{}\cmsdateeraprint{#3year}}}%
+ \if@cms@bracket%
+ {\if@cms@uncertain%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#3endyear}%
+ {\global\booltrue{cms:extraparens}%
+ \bibdateuncertain}%
+ {}}%
+ {\ifthenelse{\iffieldundef{#3endyear}\OR%
+ \iffieldequalstr{#3endyear}{}}%
+ {\global\booltrue{cms:extraparens}}%
+ {}%
+ \bibdateuncertain}}%
+ {\if@cms@enduncertain%
+ {\iffieldundef{#3endyear}%
+ {\global\booltrue{cms:extraparens}%
+ \bibdateuncertain}%
+ {}}%
+ {}}}%
+ {}%
+ \iffieldundef{#3endyear}
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}%
+ \cmsformatextra}%\usebibmacro{cmsextradate}%
+ {\iffieldequalstr{#3endyear}{}%
+ {\ifbool{cms:bracket}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}}%
+ {}%
+ \cmsformatextra%\usebibmacro{cmsextradate}%
+ \mbox{\bibdaterangesep}}%
+ {\ifbool{cms:bracket}%
+ {\if@cms@circa%
+ {\if@cms@endbracket%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}%
+ {\if@cms@endcirca%
+ {\bibdaterangesep\bibsstring{circa}\printdelim{datecircadelim}}%
+ {\if@cms@enduncertain%
+ {\bibdaterangesep}%
+ {\bibclosebracket\global\boolfalse{cms:bracket}%
+ \bibdaterangesep}}}}%
+ {\if@cms@endbracket%
+ {\bibdaterangesep%
+ \cms@yearbrackets%
+ \if@cms@endcirca%
+ {\if@cms@circa%
+ {}%
+ {\bibsstring{circa}\printdelim{datecircadelim}}}%
+ {}}%
+ {\bibdaterangesep}}%
+ \csuse{mkbibdate#2}{#3endyear}{}{}%
+ \ifbool{cms:bracket}%
+ {\if@cms@bracket%
+ {\cmsdateeraprint{#3endyear}%
+ \enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}}%
+ {\enddateuncertainprint%
+ \bibclosebracket\global\boolfalse{cms:bracket}%
+ \cmsdateeraprint{#3endyear}}}%
+ {\if@cms@enduncertain%
+ {\global\booltrue{cms:extraparens}%
+ \bibdateuncertain}%
+ {}%
+ \cmsdateeraprint{#3endyear}}%
+ \cmsformatendextra}}}}%
+ \endgroup}%
\endinput