diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-20 21:05:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-20 21:05:08 +0000 |
commit | 24c953dcb93919a65e5830191614a1f7538616c7 (patch) | |
tree | 4294e1d5a329fc8c1b9ef49cb6b817b9fe51fc7a /Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx | |
parent | fd4bc79730244980c6fff55f3487edd94a88b15b (diff) |
biblatex-chicago (20apr20)
git-svn-id: svn://tug.org/texlive/trunk@54809 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx | 714 |
1 files changed, 398 insertions, 316 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx index c1358168318..3934e01c8f2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx +++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx @@ -1,6 +1,4 @@ -% $Id: cms-american.lbx,v 0.10.2.8 2018/01/09 18:58:58 dfussner Exp $ - -\ProvidesFile{cms-american.lbx}[2018/01/09 v 3.10 biblatex localization] +\ProvidesFile{cms-american.lbx}[2020/04/20 v 3.14 biblatex localization] \InheritBibliographyExtras{american} @@ -8,9 +6,14 @@ \savecommand\mkdaterangecomp% \savecommand\mkdaterangeterse% \savecommand\mkdaterangefull% - \savecommand\mkbibrangecomp% - \savecommand\mkbibrangeterse% - \savecommand\mkbibrangefull% + \savecommand\mkdaterangecompextra% + \savecommand\mkdaterangeterseextra% + \savecommand\mkdaterangefullextra% + \def\introductionname{Introduction}% + \def\sectionname{Section}% + \def\subsectionname{Subsection}% + \def\forewordname{Foreword}% + \def\notesname{Notes}% \protected\def\mkjuridordinal#1{% \begingroup \@tempcnta0#1\relax\number\@tempcnta @@ -20,282 +23,110 @@ \fi \ifcase\@tempcnta th\or st\or d\or d\else th\fi \endgroup}% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#2} + {} + {\mkbibmonth{\thefield{#2}}% + \iffieldundef{#3} + {\iffieldundef{#1}{}{\space}} + {\nobreakspace}}% + \iffieldundef{#3} + {} + {\stripzeros{\thefield{#3}}% + \iffieldundef{#1}{}{,\space}}% + \iffieldbibstring{#1} + {\bibstring{\thefield{#1}}} + {\cmsdateeraprintpre{#1}\stripzeros{\thefield{#1}}}}% + \protected\def\mkbibdateshort#1#2#3{% + \iffieldundef{#2} + {} + {\mkmonthzeros{\thefield{#2}}% + \iffieldundef{#3} + {\iffieldundef{#1}{}{/}} + {/}}% + \iffieldundef{#3} + {} + {\mkdayzeros{\thefield{#3}}% + \iffieldundef{#1}{}{/}}% + \iffieldbibstring{#1} + {\bibstring{\thefield{#1}}} + {\cmsdateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}}% + \protected\def\mkbibseasondateshort#1#2{% + \mkbibseason{\thefield{#2}}% + \iffieldundef{#1}{}{\space}% + \cmsdateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}% + \protected\def\mkbibseasondatelong#1#2{% + \mkbibseason{\thefield{#2}}% + \iffieldundef{#1}{}{\space}% + \cmsdateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}% + \protected\def\cmsmkdecade#1#2{% + \cms@tempcnta=\thefield{#2year}% + \divide\cms@tempcnta100 + \multiply\cms@tempcnta100 + \ifnumequal{\cms@tempcnta}{\thefield{#2year}}% + {\csuse{mkbibdate#1}{#2year}{}{}\cmsdateeraprint{#2year}}% + {\ifnumequal{\thefield{#2year}}{1}% + {\ifboolexpr{% + test {\ifdefstring\blx@dateera{christian}}% + and + test {\ifnumless{\thefield{#2year}}\blx@dateeraauto}% + }% + {\bibsstring{\blx@dateera@ce}\printdelim{dateeradelim}}% + {}}% + {}% + \csuse{mkbibdate#1}{#2year}{}{}% + \setunit{}%\blx@nounit% + \bibsstring{decade}% + \cmsdateeraprint{#2endyear}\clearfield{#2endyear}% + \usebibmacro{cmsparensextradate}% + \global\boolfalse{cms:extraparens}}}% + \protected\def\cmsmkcentury#1{% + \ifnumequal{\thefield{#1year}}{1}% + {\ifboolexpr{% + test {\ifdefstring\blx@dateera{christian}}% + and + test {\ifnumless{\thefield{#1year}}\blx@dateeraauto}% + }% + {\bibsstring{\blx@dateera@ce}\printdelim{dateeradelim}}% + {}% + \csuse{mkcmscentury}{#1year}% + \addnbspace% + \bibsstring{century}% + \cmsdateeraprint{#1endyear}\clearfield{#1endyear}% + \usebibmacro{cmsparensextradate}% + \global\boolfalse{cms:extraparens}}% + {\cmsdateeraprintpre{#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\mkdaterangecomp{% \lbx@cms@mkbibrangetrunc@long{long}}% \protected\def\mkdaterangeterse{% \lbx@cms@mkbibrangetrunc@short{short}}% \protected\def\mkdaterangefull{% - \lbx@cms@mkbibrangefull}% - \protected\def\mkbibrangecomp{% - \lbx@cms@mkbibrangetrunc@long{long}}% - \protected\def\mkbibrangeterse{% - \lbx@cms@mkbibrangetrunc@short{short}}% - \protected\def\mkbibrangefull{% - \lbx@cms@mkbibrangefull}}% + \lbx@cms@mkbibrangefull@us}% + \protected\def\mkdaterangecompextra{% + \cms@mkyearrangeextra[]{long}}% + \protected\def\mkdaterangeterseextra{% + \cms@mkyearrangeextra[]{short}}% + \protected\def\mkdaterangefullextra{% + \cms@mkyearrangeextra[1]}}% \UndeclareBibliographyExtras{% \restorecommand\mkdaterangecomp% \restorecommand\mkdaterangeterse% \restorecommand\mkdaterangefull% - \restorecommand\mkbibrangecomp% - \restorecommand\mkbibrangeterse% - \restorecommand\mkbibrangefull% + \restorecommand\mkdaterangecompextra% + \restorecommand\mkdaterangeterseextra% + \restorecommand\mkdaterangefullextra% } -\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{cfromamerican} -\NewBibliographyString{cfrombrazilian} -\NewBibliographyString{cfrombulgarian} -\NewBibliographyString{cfromcatalan} -\NewBibliographyString{cfromcroatian} -\NewBibliographyString{cfromczech} -\NewBibliographyString{cfromdanish} -\NewBibliographyString{cfromdutch} -\NewBibliographyString{cfromenglish} -\NewBibliographyString{cfromestonian} -\NewBibliographyString{cfromfinnish} -\NewBibliographyString{cfromfrench} -\NewBibliographyString{cfromgalician} -\NewBibliographyString{cfromgerman} -\NewBibliographyString{cfromgreek} -\NewBibliographyString{cfromitalian} -\NewBibliographyString{cfromjapanese} -\NewBibliographyString{cfromlatin} -\NewBibliographyString{cfromnorwegian} -\NewBibliographyString{cfrompolish} -\NewBibliographyString{cfromportuguese} -\NewBibliographyString{cfromrussian} -\NewBibliographyString{cfromslovak} -\NewBibliographyString{cfromslovene} -\NewBibliographyString{cfromspanish} -\NewBibliographyString{cfromswedish} -\NewBibliographyString{cfromukrainian} -\NewBibliographyString{partvolume} -\NewBibliographyString{by} -\NewBibliographyString{of} -\NewBibliographyString{on} -\NewBibliographyString{afterwordto} -\NewBibliographyString{forewordto} -\NewBibliographyString{introductionto} -\NewBibliographyString{origpub} -\NewBibliographyString{origpublin} -\NewBibliographyString{origpubyear} -\NewBibliographyString{origpubyearalt} -\NewBibliographyString{origreleaseyear} -\NewBibliographyString{origshownyear} -\NewBibliographyString{origedition} -\NewBibliographyString{revisededition} -\NewBibliographyString{broadcast} -\NewBibliographyString{songrecorded} -\NewBibliographyString{discrecorded} -\NewBibliographyString{numbers} -\NewBibliographyString{nodate} -\NewBibliographyString{pseudonym} -\NewBibliographyString{patentfiled}% Needed for CMS style patent entries -\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} - \DeclareBibliographyStrings{% inherit = {english}, afterwordto = {{afterword to}{afterw\adddot\space to}}, @@ -337,9 +168,13 @@ producers = {{prods\adddot}{prods\adddot}}, editor = {{ed\adddot}{ed\adddot}}, editors = {{eds\adddot}{eds\adddot}}, + choreographer = {{chor\adddot}{chor\adddot}}, + choreographers = {{chors\adddot}{chors\adddot}}, ibidem = {{ibid\adddot}{id\adddot}},% Shorter for legal origpub = {{originally published as\addspace}% {orig\adddot\ pub\adddot\ as\addspace}}, + origpubin = {{first published}% + {first pub\adddot}}, origpublin = {{originally published in\addspace}% {orig\adddot\ pub\adddot\addspace in\addspace}}, origpubyear = {{originally published in\addspace}% @@ -359,6 +194,15 @@ discrecorded = {{recorded}{recorded}}, numbers = {{nos\adddot}{nos\adddot}}, nodate = {{{}n\adddot d\adddot}{{}n\adddot d\adddot}}, + % commonera = {{CE}{CE}}, + % beforecommonera = {{BCE}{BCE}}, + % annodomini = {{AD}{AD}}, + % beforechrist = {{BC}{BC}}, +% circa = {{ca\adddot}{ca\adddot}}, + am = {{a\adddot m\adddot}{a\adddot m\adddot}}, + pm = {{p\adddot m\adddot}{p\adddot m\adddot}}, + decade = {{s}{s}}, + century = {{century}{c\adddot}}, pseudonym = {{pseud\adddot}{pseud\adddot}}, patentfiled = {{filed}{filed}}, patentissued = {{issued}{issued}}, @@ -403,7 +247,10 @@ annotators = {{annot\adddot}{annot\adddot}}, review = {{review}{review}}, reviewof = {{review of}{review of}}, + commenton = {{comment on}{comment on}}, reprint = {{reprint}{repr\adddot}}, + printed = {{printed}{printed}},% 17th ed. + selfpublished = {{self-published}{self-pub\adddot}}, shorthands = {{Abbreviations}{Abbreviations}}, newseries = {{n\adddot s\adddot}{n\adddot s\adddot}}, urlseen = {{accessed}{accessed}}, @@ -423,6 +270,7 @@ cbyconductor = {{dir\adddot}{dir\adddot}}, cbydirector = {{dir\adddot}{dir\adddot}}, cbyproducer = {{prod\adddot}{prod\adddot}}, + cbychoreographer = {{chor\adddot}{chor\adddot}}, cbyeditortr = {{ed\adddot\space and trans\adddot\addspace\lbx@cfromlang}% {ed\adddot\space and trans\adddot\addspace\lbx@cfromlang}}, @@ -686,6 +534,7 @@ jourser = {{ser\adddot}{ser\adddot}}, oldseries = {{o\adddot s\adddot}{o\adddot s\adddot}}, edition = {{ed\adddot}{ed\adddot}}, + version = {{version}{v\adddot}}, page = {{p\adddot}{p\adddot}}, pages = {{pp\adddot}{pp\adddot}}, column = {{col\adddot}{col\adddot}}, @@ -696,6 +545,10 @@ paragraphs = {{\P\P}{\P\P}}, section = {{\S}{\S}}, sections = {{\S\S}{\S\S}}, + subsection = {{\S}{\S}}, + subsections = {{\S\S}{\S\S}}, + preface = {{preface}{pref\adddot}}, + note = {{note}{n\adddot}}, canadasection = {{s\adddot}{s\adddot}},% For legal citations canadasections = {{s\adddot}{s\adddot}},% ditto supranote = {{\mkbibemph{supra}\addspace note\addnbspace}% ditto @@ -706,8 +559,9 @@ verse = {{v\adddot}{v\adddot}}, verses = {{vv\adddot}{vv\adddot}}, number = {{no\adddot}{no\adddot}}, - chapter = {{chap\adddot}{ch\adddot}},% for legal citations - part = {{part}{pt\adddot}},% ditto + chapter = {{chap\adddot}{chap\adddot}},% + part = {{part}{pt\adddot}},% for legal citations + track = {{track}{track}}, mathesis = {{master's thesis}{master's thesis}}, phdthesis = {{PhD\addabbrvspace diss\adddot}{PhD\addabbrvspace diss\adddot}}, techreport = {{technical report}{technical report}}, @@ -746,6 +600,7 @@ byconductor = {{directed by}{dir\adddot}}, bydirector = {{directed by}{dir\adddot}}, byproducer = {{produced by}{prod\adddot}}, + bychoreographer = {{choreographed by}{chor\adddot}}, byeditorcp = {{edited and compiled by}{ed\adddot\space and comp\adddot}}, byeditortrcp = {{edited, translated \lbx@fromlang, and compiled by}% {ed.,\addabbrvspace trans.\addspace\lbx@fromlang, and comp\adddot}}, @@ -886,63 +741,290 @@ {comp\adddot\space and annot\adddot, with an afterword, by}}, } +%%% The logic here is tricky because of the need to print AD before +%%% the year and BC after, and also only to print them once in a date +%%% range that has two years belonging to the same era. Other +%%% subtleties include the relative positions of question mark and +%%% date era, and of date era and end bracket. + \protected\gdef\lbx@cms@mkbibrangetrunc@long#1#2{% - \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}% + \begingroup + \blx@metadateinfo{#2}% + \clearfield{extradate}% + \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}\AND% + \iffieldundef{#2season}}% {}% {\printtext[#2date]{% - \iffieldsequal{#2year}{#2endyear}% - {\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}% - {\iffieldundef{#2endmonth}% + \if@cms@bracket% + {\cms@datebrackets% + \if@cms@circa% + {\bibsstring{circa}\printdelim{datecircadelim}}% + {}}% + {\global\boolfalse{cms:bracket}}% + \iffieldundef{#2season}% + {\ifdateyearsequal{#2}{#2end}% + {\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}% + {}}% + {}}}% {}% - {\bibdatedash% - \iffieldsequal{#2month}{#2endmonth}% - {\csuse{mkbibdate#1}{}{}{#2endday}}% - {\csuse{mkbibdate#1}{}{#2endmonth}{#2endday}}}}% - {\iffieldequalstr{#2endyear}{}% - {\mbox{\bibdatedash}}% - {\bibdatedash% - \iffieldsequal{#2year}{#2endyear}% - {\iffieldsequal{#2month}{#2endmonth}% - {\csuse{mkbibdate#1}{#2endyear}{}{#2endday}}% - {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}% - {\csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}}} + \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% + \iffieldsequal{#2month}{#2endmonth}% + {\csuse{mkbibdate#1}{}{}{#2endday}}% + {\csuse{mkbibdate#1}{}{#2endmonth}{#2endday}}}}% + {\iffieldequalstr{#2endyear}{}% + {\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}% + {\iffieldsequal{#2month}{#2endmonth}% + {\csuse{mkbibdate#1}{#2year}{}{#2endday}}% + {\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@mkbibrangetrunc@short#1#2{% Modify ??? - \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}% + \begingroup + \blx@metadateinfo{#2}% + \clearfield{extradate}% + \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}\AND% + \iffieldundef{#2season}}% {}% {\printtext[#2date]{% - \iffieldsequal{#2year}{#2endyear}% - {\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}}% - \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}% + \if@cms@bracket% + {\cms@datebrackets% + \if@cms@circa% + {\bibsstring{circa}\printdelim{datecircadelim}} + {}}% + {\global\boolfalse{cms:bracket}}% + \iffieldundef{#2season} + {\ifdateyearsequal{#2}{#2end}% + {\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}% + {}}% + {}}}% {}% + \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}}% + \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@us#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% + {\bibsstring{circa}\printdelim{datecircadelim}} + {}}% + {\global\boolfalse{cms:bracket}}% + \iffieldundef{#2season}% + {\ifboolexpr{% + test {\ifdateyearsequal{#2}{#2end}}% + and + test {\iffieldundef{#2month}}% + and + test {\iffieldundef{#2day}}% + }% + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}\cmsdateeraprint{#2endyear}% + \clearfield{#2endyear}}% Clear up inheritance problem ??? + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}\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} \endinput |