summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chicago
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-11 23:30:43 +0000
committerKarl Berry <karl@freefriends.org>2012-07-11 23:30:43 +0000
commit562ae685591240b0ea768aa3de044339bcaee64e (patch)
treefe67bf362ccf70a9434b3a4ed2760af84eaa42ab /Master/texmf-dist/tex/latex/biblatex-chicago
parent6d1e02f252c44d2e43c13d9d0608e628812a8a90 (diff)
biblatex-chicago 16th (6jul12)
git-svn-id: svn://tug.org/texlive/trunk@27002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty46
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx627
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx403
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx2557
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx2158
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.bbx343
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx755
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.bbx2154
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.cbx3757
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/cms-american.lbx18
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/cms-french.lbx36
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/cms-german.lbx33
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/cms-ngerman.lbx33
13 files changed, 12222 insertions, 698 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty b/Master/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty
index f6648890c80..dd20e8fc81e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty
@@ -1,6 +1,6 @@
-% $Id: biblatex-chicago.sty,v 0.1.1.31 2011/02/15 11:56:42 dfussner Exp $
+% $Id: biblatex-chicago.sty,v 0.1.1.41 2012/07/05 11:10:02 dfussner Exp $
-% Copyright (c) 2009-2011 David Fussner. This package is
+% Copyright (c) 2009-2012 David Fussner. This package is
% author-maintained.
%
% This work may be copied, distributed and/or modified under the
@@ -13,12 +13,14 @@
% but not limited to, the implied warranties of merchantability and
% fitness for a particular purpose.
-\ProvidesPackage{biblatex-chicago}[2011/08/31 v 1.6 biblatex style]
+\ProvidesPackage{biblatex-chicago}[2012/07/05 v 1.7 biblatex style]
\RequirePackage{etoolbox}
\DeclareOption{authordate}{\def\cms@style{authordate}}
\DeclareOption{notes}{\def\cms@style{notes}}
+\DeclareOption{authordate15}{\def\cms@style{authordateold}}
+\DeclareOption{notes15}{\def\cms@style{notesold}}
\DeclareOption*{\eappto\cms@options{\CurrentOption,}}
\let\cms@options\empty
\ExecuteOptions{notes}%
@@ -37,8 +39,9 @@
\ExecuteBibliographyOptions{%
pagetracker=true,autocite=inline,alldates=comp,labelyear=true,
uniquename=minfull,useeditor=true,usetranslator=true,usecompiler=true,
- ibidtracker=constrict,sorting=nyt,punctfont,cmslos=true,nodates,
- uniquelist=minyear,maxbibnames=10,minbibnames=7,sortcase=false}}
+ ibidtracker=constrict,sorting=cms,punctfont,cmslos=true,nodates,
+ uniquelist=minyear,maxbibnames=10,minbibnames=7,sortcase=false,
+ abbreviate=false,dateabbrev=false,avdate=true}}
\def\cms@notes{%
\RequirePackage[style=chicago-notes]{biblatex}%
@@ -46,18 +49,36 @@
pagetracker=true,autocite=footnote,abbreviate=false,alldates=comp,
citetracker=true,ibidtracker=constrict,usetranslator=true,
usecompiler=true,loccittracker=constrict,dateabbrev=false,
- maxbibnames=10,minbibnames=7,sortcase=false}}
+ maxbibnames=10,minbibnames=7,sorting=\cms@choose,sortcase=false}}
+
+\def\cms@authordateold{%
+ \RequirePackage[style=chicago-authordate15]{biblatex}%
+ \ExecuteBibliographyOptions{%
+ pagetracker=true,autocite=inline,alldates=comp,labelyear=true,
+ uniquename=minfull,useeditor=true,usetranslator=true,usecompiler=true,
+ ibidtracker=constrict,sorting=cms,punctfont,cmslos=true,nodates,
+ uniquelist=minyear,maxbibnames=10,minbibnames=7,sortcase=false}}
+
+\def\cms@notesold{%
+ \RequirePackage[style=chicago-notes15]{biblatex}%
+ \ExecuteBibliographyOptions{%
+ pagetracker=true,autocite=footnote,abbreviate=false,alldates=comp,
+ citetracker=true,ibidtracker=constrict,usetranslator=true,
+ usecompiler=true,loccittracker=constrict,dateabbrev=false,
+ maxbibnames=10,minbibnames=7}}
\csuse{cms@\cms@style}
\undef\cms@authordate
\undef\cms@notes
+\undef\cms@authordateold
+\undef\cms@notesold
\expandafter\ExecuteBibliographyOptions\expandafter{\cms@options}
\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\setlength{\bibhang}{2em}
\setlength{\lositemsep}{0.25\baselineskip plus 0.25\baselineskip}
-\renewcommand*{\bibnamedash}{---------}
+\renewcommand*{\bibnamedash}{\rule[.4ex]{3em}{.6pt}}
\iftoggle{cms@nomark}
{}
@@ -87,4 +108,15 @@
{}}}%
{\DeclareLanguageMapping{english}{cms-american}}
+\DeclareLanguageMapping{german}{cms-german}
+\DeclareLanguageMapping{french}{cms-french}
+\DeclareLanguageMapping{ngerman}{cms-ngerman}
+
+\def\cms@choose{%
+ \ifnum\blx@backend=\blx@backend@biber
+ cms%
+ \else
+ nty%
+ \fi}
+
\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx
index 3a13a6dc8ca..6b2d48b7709 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx
@@ -1,11 +1,11 @@
-% $Id: chicago-authordate15.bbx,v 0.8.1.8 2011/10/12 13:25:38 dfussner Exp $
+% $Id: chicago-authordate.bbx,v 0.8.1.18 2012/07/05 11:03:42 dfussner Exp $
% This is a biblatex style file, adapted mainly from Lehman's
% standard.bbx and from chicago-notes.bbx. It provides the
-% reference list formatting for the Chicago author-date style,
-% _15th_ edition.
+% reference list formatting for the Chicago author-date style.
-\ProvidesFile{chicago-authordate.bbx}
-[2011/10/12 v 1.6 biblatex bibliography style]
+
+\ProvidesFile{chicago-authordate.bbx}[2012/07/05 v 1.7 biblatex
+bibliography style]
%%%% Initialize and format bibliography and los %%%%
@@ -36,13 +36,43 @@
{\endlist}
{\item}
+\defbibenvironment{losnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\footnotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{losendnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\enotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist\nopunct\vspace{-\baselineskip}}% Kludges for endnotes
+ {\item}
+
\AtBeginBibliography{%
\togglefalse{cms@headlessnote}}%
\AtEveryBibitem{%
- \iffieldequalstr{entrytype}{patent}%
- {\toggletrue{cms@origlabel}}%
- {}%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}}%
+
+\AtEveryLositem{%
\iffieldequalstr{pubstate}{reprint}%
{\toggletrue{cms@reprint}}%
{\togglefalse{cms@reprint}}}%
@@ -205,7 +235,9 @@
{\iffieldequalstr{authortype}{anon?}%
{\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
\savefield{fullhash}{\bbx@lasthash}}%
- {\printnames{author}%
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames{author}\bibcloseparen}%
+ {\printnames{author}}%
\savefield{fullhash}{\bbx@lasthash}}}}}}
\newbibmacro*{pickeditor}{%
@@ -219,7 +251,10 @@
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
{\bibnamedash\editordelim}%
- {\printnames{editor}\editordelim%
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames{editor}%
+ \bibcloseparen\editordelim}%
+ {\printnames{editor}\editordelim}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{editstrg}}}
@@ -228,8 +263,11 @@
{\let\bbx@lasthash\undefined}
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
- {\bibnamedash\editordelim}%
- {\printnames{editor}\editordelim%
+ {\bibnamedash\editordelim}
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames{editor}%
+ \bibcloseparen\editordelim}%
+ {\printnames{editor}\editordelim}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{editstrg}}}
@@ -239,7 +277,10 @@
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
{\bibnamedash\addcomma\addspace}
- {\printnames[sortname]{namea}\addcomma\space
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames[sortname]{namea}%
+ \bibcloseparen\addcomma\space}%
+ {\printnames[sortname]{namea}\addcomma\space}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{parteditstrg}}}
@@ -254,7 +295,10 @@
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
{\bibnamedash\addcomma\addspace}
- {\printnames[sortname]{translator}\addcomma\space
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames[sortname]{translator}%
+ \bibcloseparen\addcomma\space}%
+ {\printnames[sortname]{translator}\addcomma\space}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{transstrg}}}
@@ -264,7 +308,10 @@
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
{\bibnamedash\addcomma\addspace}
- {\printnames[sortname]{nameb}\addcomma\space
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames[sortname]{nameb}%
+ \bibcloseparen\addcomma\space}%
+ {\printnames[sortname]{nameb}\addcomma\space}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{parttransstrg}}}
@@ -274,7 +321,10 @@
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
{\bibnamedash\addcomma\addspace}
- {\printnames[sortname]{namec}\addcomma\space
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printnames[sortname]{namec}%
+ \bibcloseparen\addcomma\space}%
+ {\printnames[sortname]{namec}\addcomma\space}%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{compilestrg}}}
@@ -296,17 +346,22 @@
\addspace%
\usebibmacro{author/editor}}%
\finentry}%
- {\ifnameundef{labelname}
- {\iffieldequalstr{entrysubtype}{magazine}%
- {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
- \newcunit}}%
- {\iffieldequalstr{entrytype}{manual}%
- {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
- {}}}
- {\usebibmacro{author/editor}
- \setunit{\addcomma\space}}%
- \printfield[lostitle]{title}%
- \finentry}}
+ {\iftoggle{cms@fullshhand}%
+ {\usedriver{\frenchspacing}%
+ {\thefield{entrytype}}%
+ \finentry}%
+ {\ifnameundef{labelname}
+ {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}\AND\NOT%
+ \iffieldequalstr{entrytype}{periodical}}%
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
+ \newcunit}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
+ {}}}
+ {\usebibmacro{author/editor}%
+ \setunit{\addcomma\space}}%
+ \printfield[lostitle]{title}%
+ \finentry}}}
\DeclareBibliographyDriver{article}{%
\iffieldequalstr{entrysubtype}{magazine}%
@@ -322,7 +377,7 @@
\usebibmacro{language+transtitle}%
\newunit\newblock%
\usebibmacro{bibreprint}%
- \newunit\newblock%
+% \newunit\newblock%
\usebibmacro{issuetitle}%
\setunit*{\addcomma\addspace}%
\usebibmacro{byeditor+others}%
@@ -357,11 +412,11 @@
\usebibmacro{mag+news+title}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \setunit*{\addcomma\addspace}\newblock%
+ \setunit*{\addperiod\addspace}\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{issuetitle}%
\setunit*{\addcomma\addspace}%
\usebibmacro{byeditor+others}%
@@ -387,22 +442,24 @@
\DeclareBibliographyDriver{artwork}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newcunit\newblock
\usebibmacro{date}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
@@ -428,14 +485,16 @@
\DeclareBibliographyDriver{audio}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit\newblock
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -495,10 +554,11 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{bibreprint}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}% 16th ed.
\newunit\newblock
- \printfield{note}%
+ \printfield{note}% Reversed with bibreprint 16th ed. (?)
\newunit\newblock
+ \usebibmacro{bibreprint}%\printorigdate%
\usebibmacro{publ+loc+year}%
\newunit
\printfield{type}%
@@ -522,13 +582,15 @@
\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newunit\newblock
\iffieldundef{maintitle}%
{\iffieldundef{edition}%
@@ -543,7 +605,7 @@
\printfield{volumes}%
\clearfield{volumes}}}%
{}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -580,10 +642,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \setunit*{\addcomma\addspace}\newblock
\usebibmacro{publ+loc+year}%
\newcunit\newblock
\printlist[][-\value{listtotal}]{lista}%
@@ -605,13 +669,15 @@
\DeclareBibliographyDriver{bookinbook}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newunit\newblock
\ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
{\iffieldundef{edition}%
@@ -626,7 +692,7 @@
\printfield{volumes}%
\clearfield{volumes}}}%
{}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -665,10 +731,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -688,20 +756,22 @@
\DeclareBibliographyDriver{booklet}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit\newblock
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{howpubl+loc+year}%
\newunit\newblock
\usebibmacro{chap+pag}%
@@ -719,13 +789,15 @@
\DeclareBibliographyDriver{collection}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newunit\newblock
\usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
\usebibmacro{editorpunct}%
@@ -754,10 +826,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -786,22 +860,24 @@
\DeclareBibliographyDriver{image}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \setunit{\addcomma\addspace}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \setunit*{\addcomma\addspace}% 16th ed. added * (?)
\usebibmacro{date}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
@@ -827,14 +903,16 @@
\DeclareBibliographyDriver{inbook}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \setunit{\addcomma\addspace}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -871,10 +949,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -894,14 +974,16 @@
\DeclareBibliographyDriver{incollection}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}% All italtitle now?
- \setunit{\addcomma\addspace}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -940,10 +1022,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -971,14 +1055,16 @@
\DeclareBibliographyDriver{inproceedings}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \setunit{\addcomma\addspace}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -1005,7 +1091,7 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{org+publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1085,17 +1171,19 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newcunit\newblock
\printlist[][-\value{listtotal}]{lista}%
- \setunit{\addspace}%
+ \newcunit\newblock% \setunit{\addspace}% 16th ed.
\ifnameundef{author}%
{}%
- {\printtext[parens]{%
+ {\printtext{% 16th ed.
\bibstring{by}%
\addspace%
\printnames[byauthor]{author}}}%
@@ -1117,6 +1205,7 @@
\DeclareBibliographyDriver{letter}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
@@ -1171,7 +1260,7 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1203,16 +1292,18 @@
\DeclareBibliographyDriver{manual}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author+org}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newunit\newblock
\usebibmacro{edition}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{ser+num}%
@@ -1222,7 +1313,7 @@
\printfield{note}%
\newunit\newblock%
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{org+publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1242,14 +1333,18 @@
\DeclareBibliographyDriver{misc}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \iffieldundef{entrysubtype}%
+ {\ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}}%
+ {}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
\iffieldundef{entrysubtype}%
- {\usebibmacro{italtitle+stitle}}%
+ {\ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}}%
{\printfield{title}%
\setunit{\addcolon\addspace}%
\printfield[noformat]{subtitle}%
@@ -1259,13 +1354,13 @@
\usebibmacro{language+transtitle}%
\newcunit\newblock%
\usebibmacro{unpubl+letter+date}}%
- \newcunit%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\printfield{type}%
@@ -1295,20 +1390,22 @@
\DeclareBibliographyDriver{music}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
- \setunit*{\addperiod\addspace}%
- \printeventdate%
\newunit\newblock
\usebibmacro{part+editor+translator}%
\newunit\newblock
+ \usebibmacro{music+eventdate}%\printeventdate
+ \newunit\newblock
\usebibmacro{chapinscore}%
\usebibmacro{btitle+bstitle}%
\iffieldundef{booktitle}
@@ -1366,22 +1463,24 @@
\newunit\newblock
\printfield{note}%
\newunit\newblock
- \usebibmacro{music+ser+num}%
- \newunit
- \usebibmacro{music+publisher}%
- \setunit*{\addspace}%\newblock
- \usebibmacro{date}%
- \setunit{\ifthenelse{\iffieldundef{howpublished}\AND%
- \iffieldundef{pubstate}}%
- {\newunit}{\space\bibstring{by}\space}}%
+ \usebibmacro{music+origdate}%\printtext[eventdate]{\printeventdate}%
+ \newunit\newblock
\printlist{publisher}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printfield{series}%
+ \setunit{\addspace}%
+ \printfield{number}%
+ \newcunit\newblock
+ \usebibmacro{date}%
\newunit
\usebibmacro{institution+organization}%
\setunit*{\addcomma\addspace}\newblock
\printlist{location}%
- \newunit\newblock
+ \newcunit\newblock
\printfield{type}%
\newunit\newblock
+ \usebibmacro{pubstate}% 16th ed -- origdate instead, as above?
+ \newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
@@ -1397,29 +1496,35 @@
\DeclareBibliographyDriver{online}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
- \printfield{note}%
- \newunit\newblock
\usebibmacro{bibreprint}%
+% \newunit\newblock
+ \printlist{organization}% 16th ed.
\newunit\newblock
- \printlist{organization}%
+ \printfield{note}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
- \iftoggle{cms@doi}%
- {\printfield{doi}}%
+ \ifthenelse{\iffieldundef{urlyear}\AND\iffieldundef{urlmonth}}%
{}%
- \setunit*{\addcomma\addspace}\newblock%
- \usebibmacro{url+date}%
+ {\printtext[urldate]{\printurldate}}%
+ \newunit\newblock
+ \printfield{doi}%
+ \newunit\newblock%
+ \usebibmacro{eprint}%
+ \newunit\newblock
+ \printfield{url}%
\newunit\newblock
\usebibmacro{pubstate}%
\newunit\newblock
@@ -1434,14 +1539,15 @@
\usebibmacro{bibindex}%
\usebibmacro{author+holder}% + holder?
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmscitesortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%{title}?
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\setunit{\addperiod\addspace}%
\printfield{note}%
\setunit{\addperiod\addspace}%
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{type}%
\setunit{\addspace}%
\printfield{number}%
@@ -1504,11 +1610,11 @@
\usebibmacro{issuetitle}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \newunit\newblock%
+ \newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{note}%
\setunit*{\addcomma\addspace}\newblock%
\usebibmacro{periodical+date+issue}%
@@ -1550,13 +1656,13 @@
\usebibmacro{issuetitle}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \setunit*{\addcomma\addspace}\newblock%
+ \setunit*{\addperiod\addspace}\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{note}%
\setunit*{\addcomma\addspace}\newblock% (changed for 0.7)??
\usebibmacro{periodical+issue+year+pages}%
@@ -1578,17 +1684,17 @@
\DeclareBibliographyDriver{proceedings}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\newunit\newblock
\usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
- \usebibmacro{editorpunct}%
- \usebibmacro{bytranslator+others}%
\newunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
@@ -1602,7 +1708,7 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{org+publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1674,10 +1780,12 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1697,14 +1805,16 @@
\DeclareBibliographyDriver{report}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{ser+num}%
@@ -1714,7 +1824,7 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{inst+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1747,11 +1857,13 @@
\printfield[noformat]{subtitle}%
\setunit{\addspace}%
\printfield{titleaddon}%
+ \newcunit\newblock
+ \usebibmacro{music+eventdate}% 16th ed.
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
\newunit\newblock%
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{issuetitle}%
\setunit*{\addcomma\addspace}%
\usebibmacro{byeditor+others}%
@@ -1781,15 +1893,25 @@
\DeclareBibliographyDriver{suppbook}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{%
+ \usebibmacro{inforaft}%
+ \setunit{\addspace}\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{bybookauthor}%
+ \clearname{bookauthor}
+ \newunit\newblock}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
+ \ifundef\bbx@lasthash{}{%
\usebibmacro{inforaft}%
\setunit{\addspace}\newblock
- \usebibmacro{italtitle+stitle}%
+ \usebibmacro{italtitle+stitle}}%
\newunit
\iffieldundef{maintitle}%
{\iffieldundef{edition}%
@@ -1806,6 +1928,8 @@
{}%
\newcunit
\usebibmacro{bybookauthor}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
\newunit\newblock
\usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
\newcunit%
@@ -1813,33 +1937,33 @@
{}%
{\usebibmacro{edition}%
\newcunit
- \iffieldundef{maintitle}
+ \iffieldundef{maintitle}%
{\printfield{volume}%
\printfield{part}%
\clearfield{volume}%
\clearfield{part}}%
{}%
\newcunit
- \printfield{volumes}
+ \printfield{volumes}%
\clearfield{volumes}}%
\usebibmacro{editorpunct}%
\usebibmacro{byeditor+others}%
- \usebibmacro{editorpunct}%\newcunit\newblock
- \usebibmacro{chap+pag}%
\newunit
- \iffieldundef{maintitle}
+ \iffieldundef{maintitle}%
{\printfield{volume}%
- \printfield{part}}
+ \printfield{part}}%
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1863,20 +1987,22 @@
\DeclareBibliographyDriver{thesis}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit%
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\printfield{note}%
\setunit{\addperiod\addspace}\newblock%
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\usebibmacro{type+inst+year}%
\newunit\newblock
\usebibmacro{pubstate}%
@@ -1892,18 +2018,20 @@
\DeclareBibliographyDriver{unpublished}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \usebibmacro{italtitle+stitle}%
- \newcunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
- \usebibmacro{byauthor}% Same in thesis type, as well.
+ \ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
+ \newunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
+ \usebibmacro{byauthor}% Same in thesis type, as well. 16th ed.
\setunit{\addperiod\addspace}%
\usebibmacro{bibreprint}%
- \newunit\newblock
+% \newunit\newblock
\printfield{howpublished}%
\setunit*{\addcomma\addspace}\newblock%
\printfield{note}%
@@ -1916,9 +2044,7 @@
\newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
- \iftoggle{cms@url}
- {\usebibmacro{url+date}}%
- {}%
+ \usebibmacro{bib+doi+url}%
\newunit\newblock
\usebibmacro{pageref}%
\newunit\newblock
@@ -1927,23 +2053,37 @@
\DeclareBibliographyDriver{video}{%
\usebibmacro{bibindex}%
+ \usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
+ \ifundef\bbx@lasthash{%
+ \printtext[title]{%
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \iffieldundef{booktitle}% Comma after italics, period after quotes
+ {\newcunit}
+ {\newunit}%\setunit{\addspace}\newblock%
+ \printfield{titleaddon}%\usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%\bibsentence
+ \usebibmacro{language+transtitle}
+ \newunit\newblock}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
- \printtext{%
- \printfield{title}%
+ \ifundef\bbx@lasthash{}{%
+ \printtext[title]{%
+ \printfield[noformat]{title}%
\setunit{\addcolon\addspace}%
- \printfield[title]{subtitle}}%
+ \printfield[noformat]{subtitle}}%
\iffieldundef{booktitle}% Comma after italics, period after quotes
{\newcunit}
{\newunit}%\setunit{\addspace}\newblock%
\printfield{titleaddon}%\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%\bibsentence
- \usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \usebibmacro{language+transtitle}}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -1966,8 +2106,6 @@
\newcunit
\printfield{volumes}
\clearfield{volumes}}%
- \newunit
- \printfield{type}%
\newunit% unit, not cunit?
\usebibmacro{bybookauthor}%
\usebibmacro{byeditor+others}%
@@ -2005,10 +2143,16 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
+ \usebibmacro{music+eventdate}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% 16th ed.
+ \newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
\usebibmacro{pubstate}%
\newunit\newblock
\printfield{addendum}%
@@ -2026,23 +2170,59 @@
%%%% Other Formatting Macros %%%%
-\newbibmacro*{bib+doi+url}{% For biblatex field exclusion
+\newbibmacro*{bib+doi+url}{% 16th ed.
+ \ifthenelse{\iffieldundef{urlyear}\AND\iffieldundef{urlmonth}}%
+ {}%
+ {\printtext[urldate]{\printurldate}}%
+ \newunit\newblock
\iftoggle{cms@doi}%
{\printfield{doi}}%
{}%
- \setunit*{\addcomma\addspace}\newblock%
+ \newunit\newblock
+ \iftoggle{cms@eprint}%
+ {\usebibmacro{eprint}}%
+ {}%
+ \newunit\newblock
\iftoggle{cms@url}%
- {\usebibmacro{url+date}}%
- {}}
+ {\printfield{url}}%
+ {}}%
+
+\newbibmacro*{shorthand:author}{%
+ \ifboolexpr{
+ test {\iffieldundef{shorthand}}%
+ or
+ not togl {cms@los}%
+ }%
+ {\togglefalse{cms@authorparens}}%
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}%
+ {\togglefalse{cms@authorparens}}%
+ {\toggletrue{cms@authorparens}%
+ \printfield{shorthand}\addspace}}}
\newbibmacro*{shorthand:label}{% Test this
- \iffieldequalstr{entrysubtype}{magazine}% Simplifies .bib creation
+ \ifthenelse{\iffieldequalstr{entrysubtype}{magazine}\AND\NOT%
+ \iffieldequalstr{entrytype}{periodical}}% Simplifies .bib creation
{\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}}}%
{\iffieldequalstr{entrytype}{manual}%
{\printtext[bibhyperref]{\printlist{organization}}}%
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}}%
\newbibmacro*{labelyear+extrayear}{%
+ \ifboolexpr{ (
+ test {\iffieldequalstr{entrytype}{music}}%
+ or
+ test {\iffieldequalstr{entrytype}{review}}%
+ or
+ test {\iffieldequalstr{entrytype}{video}}%
+ )
+ and
+ togl {cms@avdate}
+ }%
+ {\usebibmacro{av+labelyear+extrayear}}%
+ {\usebibmacro{standard+labelyear+extrayear}}}
+
+\newbibmacro*{standard+labelyear+extrayear}{%
\iffieldundef{labelyear}%
{\ifboolexpr{
test {\iffieldequalstr{entrytype}{misc}}
@@ -2069,7 +2249,9 @@
\clearfield{urlyear}}%
{\iffieldundef{urlmonth}%
{\clearfield{urlyear}}%
- {}}}}%
+ {\iffieldsequal{urlyear}{urlendyear}%
+ {\clearfield{urlyear}\clearfield{urlendyear}}%
+ {}}}}}%
{\printfield{labelyear}%
\iffieldundef{extrayear}%
{}%
@@ -2082,7 +2264,9 @@
\clearfield{origyear}}%
{\iffieldundef{origmonth}%
{\clearfield{origyear}}%
- {}}}}}%
+ {\iffieldsequal{origyear}{origendyear}%
+ {\clearfield{origyear}\clearfield{origendyear}}%
+ {}}}}}}%
{\printfield{labelyear}%
\iffieldundef{extrayear}%
{}%
@@ -2095,7 +2279,9 @@
\clearfield{eventyear}}%
{\iffieldundef{eventmonth}%
{\clearfield{eventyear}}%
- {}}}}}%
+ {\iffieldsequal{eventyear}{evendendyear}%
+ {\clearfield{eventyear}\clearfield{eventendyear}}%
+ {}}}}}}%
{\printfield{labelyear}%
\iffieldundef{extrayear}%
{}%
@@ -2108,7 +2294,85 @@
\clearfield{year}}%
{\iffieldundef{month}%
{\clearfield{year}}%
- {}}}}}}%
+ {\iffieldsequal{year}{endyear}%
+ {\clearfield{year}\clearfield{endyear}}%
+ {}}}}}}}
+
+\newbibmacro*{av+labelyear+extrayear}{%
+ \iffieldundef{labelyear}%
+ {\ifboolexpr{
+ test {\iffieldequalstr{entrytype}{misc}}
+ or
+ test {\iffieldequalstr{entrytype}{inreference}}
+ or
+ test {\iffieldequalstr{entrytype}{reference}}
+ or
+ not togl {cms@nodates}}%
+ {}%
+ {\bibstring{nodate}}}%
+ {\iffieldundef{eventyear}%
+ {\iffieldundef{origyear}
+ {\iffieldundef{year}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{urlendyear}%
+ {\clearfield{urlyear}}%
+ {\iffieldequalstr{urlendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{urlyear}}%
+ {\iffieldundef{urlmonth}%
+ {\clearfield{urlyear}}%
+ {\iffieldsequal{urlyear}{urlendyear}%
+ {\clearfield{urlyear}\clearfield{urlendyear}}%
+ {}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{endyear}%
+ {\clearfield{year}}%
+ {\iffieldequalstr{endyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{year}}%
+ {\iffieldundef{month}%
+ {\clearfield{year}}%
+ {\iffieldsequal{year}{endyear}%
+ {\clearfield{year}\clearfield{endyear}}%
+ {}}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{origendyear}%
+ {\clearfield{origyear}}%
+ {\iffieldequalstr{origendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{origyear}}%
+ {\iffieldundef{origmonth}%
+ {\clearfield{origyear}}%
+ {\iffieldsequal{origyear}{origendyear}%
+ {\clearfield{origyear}\clearfield{origendyear}}%
+ {}}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{eventendyear}% DATE FIX
+ {\clearfield{eventyear}}%
+ {\iffieldequalstr{eventendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{eventyear}}%
+ {\iffieldundef{eventmonth}%
+ {\clearfield{eventyear}}%
+ {\iffieldsequal{eventyear}{eventendyear}%
+ {\clearfield{eventyear}\clearfield{eventendyear}}%
+ {}}}}}}}
\newbibmacro*{cmsbibsortdate}{% Attempt to solve date-related problems
\ifboolexpr{%
@@ -2137,7 +2401,7 @@
\iftoggle{cms@origlabel}%
{\usebibmacro{origyear+labelyear}}%
{\iftoggle{cms@bothlabelnew}%
- {\usebibmacro{bothyear+newstyle}}%
+ {\usebibmacro{bothyear+oldstyle}}%
{\iftoggle{cms@bothlabelold}%
{\usebibmacro{bothyear+oldstyle}}%
{\usebibmacro{labelyear+extrayear}}}}%
@@ -2148,65 +2412,29 @@
\newbibmacro*{origyear+labelyear}{%
\iftoggle{cms@switchdates}%
{\usebibmacro{labelyear+extrayear}%
- \iffieldundef{endyear}% DATE FIX
- {\clearfield{year}}%
- {}}%
+ \clearfield{year}}%
{\iffieldundef{origyear}
{\usebibmacro{labelyear+extrayear}}%
{\printtext{%
\printfield{origyear}}%
- \iffieldundef{origendyear}% DATE FIX
- {\clearfield{origyear}}%
- {}}}}
-
-\newbibmacro*{bothyear+newstyle}{%
- \iftoggle{cms@switchdates}%
- {\usebibmacro{labelyear+extrayear}\addslash%
- \setunit{}% Need * here?
- \printfield{origyear}%
- \iffieldundef{endyear}% DATE FIX
- {\clearfield{year}}%
- {}%
- \iffieldundef{origendyear}% DATE FIX
- {\clearfield{origyear}}%
- {}}%
- {\iffieldundef{origyear}%
- {\usebibmacro{labelyear+extrayear}}%
- {\printtext{% Why?
- \printfield{origyear}\addslash%
- \setunit*{}%
- \printfield{labelyear}}%
- \iffieldundef{origendyear}% DATE FIX
- {\clearfield{origyear}}%
- {}%
- \iffieldundef{endyear}% DATE FIX
- {\clearfield{year}}%
- {}}}}
+ \clearfield{origyear}}}}
\newbibmacro*{bothyear+oldstyle}{%
\iftoggle{cms@switchdates}%
{\printtext{%
- \bibopenbracket%
+ \bibopenparen%
\usebibmacro{labelyear+extrayear}%
- \bibclosebracket%
+ \bibcloseparen%
\setunit{\addspace}\printfield{origyear}}%
- \iffieldundef{endyear}% DATE FIX
- {\clearfield{year}}%
- {}%
- \iffieldundef{origendyear}% DATE FIX
- {\clearfield{origyear}}%
- {}}%
+ \clearfield{year}%
+ \clearfield{origyear}}%
{\iffieldundef{origyear}
{\usebibmacro{labelyear+extrayear}}%
{\printtext{%
- \printfield[brackets]{origyear}%
+ \printfield[parens]{origyear}%
\setunit*{\addspace}\printfield{labelyear}}%
- \iffieldundef{origendyear}% DATE FIX
- {\clearfield{origyear}}%
- {}%
- \iffieldundef{endyear}% DATE FIX
- {\clearfield{year}}%
- {}}}}
+ \clearfield{origyear}%
+ \clearfield{year}}}}
\newbibmacro*{pubstate}{%
\iftoggle{cms@reprint}%
@@ -2214,24 +2442,23 @@
{}
{\iffieldundef{origyear}%
{}
- {\printtext[parens]{%
+ {\printtext{% 16th ed.
\usebibmacro{choosepubstring}%
\printorigdate\addperiod}\nopunct}}}%
{\printfield{pubstate}}}
\newbibmacro*{choosepubstring}{%
- \iffieldequalstr{entrytype}{video}%
- {\iffieldequalstr{entrysubtype}{tv}%
- {\bibstring{origshownyear}}%
- {\bibstring{origreleaseyear}}}%
- {\bibstring{origpubyear}}}%
+ \ifthenelse{\iffieldequalstr{entrytype}{video}\OR%
+ \iffieldequalstr{entrytype}{music}}%
+ {\bibstring{origreleaseyear}}%
+ {\bibstring{origpubyearalt}}}%
\newbibmacro*{bibreprint}{%
\iftoggle{cms@reprint}%
{\iffieldundef{origyear}%
- {\bibstring{reprint}}%
+ {\bibstring{reprint}\newcunit}% 16th ed.
{\iftoggle{cms@switchdates}%
- {\bibstring{reprint}}%
+ {\bibstring{reprint}\newcunit}% 16th ed.
{}}}%
{}}
@@ -2336,7 +2563,7 @@
\newbibmacro*{bycompiler}{%
\ifnameundef{namec}
{}
- {\bibstring{cbycompiler}\addspace
+ {\bibstring{bycompiler}\addspace
\printnames[bycompiler]{namec}}}
\renewbibmacro*{byeditor}{%
@@ -2372,7 +2599,7 @@
\ifthenelse{\NOT\ifnameundef{editor}\AND
\(\iffieldundef{editortype}\OR
\iffieldequalstr{editortype}{editor}\)}
- {\def\@tempa{cbyeditor}%
+ {\def\@tempa{byeditor}%
\ifnamesequal{editor}{translator}
{\edef\@tempa{\@tempa tr}%
\clearname{translator}}
@@ -2410,7 +2637,7 @@
\renewbibmacro*{bytranslator+others}{%
\ifnameundef{translator}
{}
- {\def\@tempa{cbytranslator}%
+ {\def\@tempa{bytranslator}%
\ifnamesequal{translator}{namec}
{\edef\@tempa{\@tempa cp}%
\clearname{namec}}
@@ -2441,7 +2668,7 @@
\newbibmacro*{bycompiler+others}{%
\ifnameundef{namec}
{}
- {\def\@tempa{cbycompiler}%
+ {\def\@tempa{bycompiler}%
\ifnamesequal{namec}{commentator}
{\edef\@tempa{\@tempa co}%
\clearname{commentator}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx
index 76c4808b341..8ff2919f00f 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx
@@ -1,11 +1,10 @@
-% $Id: chicago-authordate15.cbx,v 0.8.1.9 2011/11/15 10:44:41 dfussner Exp $
+% $Id: chicago-authordate.cbx,v 0.8.1.19 2012/07/05 11:04:14 dfussner Exp $
% This is a biblatex citation style file, adapted from Lehman's
% authoryear-comp.cbx. It is heavily modified, with the intention of
% providing inline citations (and a reference list) for the
-% author-date style of the Chicago Manual of Style, _15th_ edition.
+% author-date style of the Chicago Manual of Style, 15th edition.
-\ProvidesFile{chicago-authordate.cbx}
-[2011/11/15 v 1.7 biblatex citation style]
+\ProvidesFile{chicago-authordate.cbx}[2012/07/05 v 1.7 biblatex citation style]
%%%% Biblatex initialization + Chicago options + Toggles %%%%
@@ -17,13 +16,18 @@
\providetoggle{cms@origlabel}
\providetoggle{cms@bothlabelold}
\providetoggle{cms@bothlabelnew}
+\providetoggle{cms@fulldate}
\providetoggle{cms@reprint}
\providetoggle{cms@switchdates}
\providetoggle{cms@los}
+%\providetoggle{cms@oneyear}
+\providetoggle{cms@avdate}
\providetoggle{cms@nodates}
+\providetoggle{cms@authorparens}
\providetoggle{cms@url}% These are for the field-exclusion options
\providetoggle{cms@doi}
+\providetoggle{cms@eprint}
\providetoggle{cms@isbn}
\providetoggle{cms@numbermonth}
\providetoggle{cms@bookpages}
@@ -36,18 +40,26 @@
\providetoggle{cms@origpublished}% Keep
\providetoggle{cms@annotation}% Keep
\providetoggle{cms@postposit}% Keep
+\providetoggle{cms@fullshhand}
\AtEveryCitekey{%
\iffieldundef{userc}%
{}%
{\nocite{\thefield{userc}}}%
- \iffieldequalstr{entrytype}{patent}%
- {\toggletrue{cms@origlabel}}%
- {}%
\iffieldequalstr{pubstate}{reprint}%
{\toggletrue{cms@reprint}}%
{\togglefalse{cms@reprint}}}%
+\DeclareBibliographyOption{avdate}[true]{%
+ \ifcsdef{cms@opt@avdate@#1}%
+ {\csuse{cms@opt@avdate@#1}}
+ {\blx@err@invopt{avdate=#1}{}}}
+\def\cms@opt@avdate@true{%
+ \DeclareLabelyear[music,review,video]{eventyear,origyear,year,urlyear}%
+ \toggletrue{cms@avdate}}%
+\def\cms@opt@avdate@false{%
+ \togglefalse{cms@avdate}}
+
\DeclareBibliographyOption{cmsdate}{% Trying to implement origyear as
\ifcsdef{cms@opt@cmsdate@#1}% labelyear. Sorting will be an issue.
{\csuse{cms@opt@cmsdate@#1}}
@@ -79,6 +91,10 @@
\toggletrue{cms@bothlabelnew}}
\def\cms@opt@cmsdate@old{%
\toggletrue{cms@bothlabelold}}
+\def\cms@opt@cmsdate@both{%
+ \toggletrue{cms@bothlabelold}}
+\def\cms@opt@cmsdate@full{%
+ \toggletrue{cms@fulldate}}
\def\cms@opt@cmsdate@off{}
\DeclareBibliographyOption{annotation}[true]{%
@@ -105,6 +121,9 @@
\DeclareEntryOption{juniorcomma}[true]{%
\settoggle{cms@jrcomma}{#1}}
+\DeclareBibliographyOption{shorthandfull}[true]{%
+ \settoggle{cms@fullshhand}{#1}}
+
% The field-exclusion options %
\DeclareBibliographyOption{isbn}[true]{%
@@ -113,6 +132,8 @@
\settoggle{cms@url}{#1}}
\DeclareBibliographyOption{doi}[true]{%
\settoggle{cms@doi}{#1}}
+\DeclareBibliographyOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
\DeclareBibliographyOption{numbermonth}[true]{%
\settoggle{cms@numbermonth}{#1}}
\DeclareBibliographyOption{bookpages}[true]{%
@@ -121,6 +142,7 @@
\settoggle{cms@isbn}{#1}%
\settoggle{cms@url}{#1}%
\settoggle{cms@doi}{#1}%
+ \settoggle{cms@eprint}{#1}%
\settoggle{cms@numbermonth}{#1}%
\settoggle{cms@bookpages}{#1}}
@@ -130,6 +152,8 @@
\settoggle{cms@url}{#1}}
\DeclareEntryOption{doi}[true]{%
\settoggle{cms@doi}{#1}}
+\DeclareEntryOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
\DeclareEntryOption{numbermonth}[true]{%
\settoggle{cms@numbermonth}{#1}}
\DeclareEntryOption{bookpages}[true]{%
@@ -139,6 +163,43 @@
% More authordate options %
+\DeclareSortingScheme{cms}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \name{sortname}
+ \name{author}
+ \name{namea}
+ \name{editor}
+ \name{nameb}
+ \name{translator}
+ \name{namec}
+ \field{sorttitle}
+ \field{journaltitle}
+ \list{organization}
+ \field{title}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}
+ \literal{0000}
+ }
+}
+
+\DeclareLabelname{shortauthor,author,shorteditor,namea,editor,%
+nameb,translator,namec}
+
\DeclareEntryOption{switchdates}[true]{%
\settoggle{cms@switchdates}{#1}}
@@ -179,9 +240,19 @@
This is a fatal error. I'm aborting now.}%
\endinput}
+% American-specific punctuation change for 16th edition %
+
+\DefineBibliographyExtras{american}{%
+ \DeclarePunctuationPairs{comma}{*!?}}
+
%%%% Initialize and define bibstrings %%%%
-%%%% Now in cms-*.lbx %%%%
+% \NewBibliographyString{origpubyear} % Already in .lbx files?
+
+% \DefineBibliographyStrings{american}{%
+% origpubyear = {first published\addspace},}
+
+%%%% This one needed for 16th edition. Others in cms-*.lbx %%%%
%%%% Macros from authoryear-comp.cbx, revised for CMS %%%%
@@ -468,8 +539,8 @@
\newbibmacro*{cite:label}{% Test this
\iffieldundef{label}%
- {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}%
- \AND\NOT\iffieldequalstr{entrytype}{periodical}}% Simplifies .bib creation
+ {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}\AND\NOT%
+ \iffieldequalstr{entrytype}{periodical}}% Simplifies .bib creation
{\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}}}%
{\iffieldequalstr{entrytype}{manual}%
{\printtext[bibhyperref]{\printlist{organization}}}%
@@ -477,6 +548,20 @@
{\printtext[bibhyperref]{\printfield{label}}}}
\newbibmacro*{cite:labelyear+extrayear}{%
+ \ifboolexpr{ (
+ test {\iffieldequalstr{entrytype}{music}}%
+ or
+ test {\iffieldequalstr{entrytype}{review}}%
+ or
+ test {\iffieldequalstr{entrytype}{video}}%
+ )
+ and
+ togl {cms@avdate}
+ }%
+ {\usebibmacro{cite:av+labelyear+extrayear}}%
+ {\usebibmacro{cite:standard+labelyear+extrayear}}}
+
+\newbibmacro*{cite:standard+labelyear+extrayear}{%
\iffieldundef{labelyear}
{\ifboolexpr{
test {\iffieldequalstr{entrytype}{misc}}
@@ -534,6 +619,64 @@
{\mbox{\bibdatedash}}%
{}}}}}}
+\newbibmacro*{cite:av+labelyear+extrayear}{%
+ \iffieldundef{labelyear}
+ {\ifboolexpr{
+ test {\iffieldequalstr{entrytype}{misc}}
+ or
+ test {\iffieldequalstr{entrytype}{inreference}}
+ or
+ test {\iffieldequalstr{entrytype}{reference}}
+ or
+ not togl {cms@nodates}
+ }%
+ {}%
+ {\printtext[bibhyperref]{\bibstring{nodate}}}}% For CMS?
+ {\printtext[bibhyperref]{%
+ \iffieldundef{eventyear}%
+ {\iffieldundef{origyear}
+ {\iffieldundef{year}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{urlendyear}%
+ {}%
+ {\iffieldequalstr{urlendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{endyear}%
+ {}%
+ {\iffieldequalstr{endyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{origendyear}%
+ {}%
+ {\iffieldequalstr{origendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{eventendyear}% DATE FIX
+ {}%
+ {\iffieldequalstr{eventendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}}}
+
\newbibmacro*{cmscitesortdate}{% Attempt to solve date-related problems
\ifboolexpr{%
test {\iffieldundef{origyear}}
@@ -561,10 +704,12 @@
\iftoggle{cms@origlabel}%
{\usebibmacro{cite:origyear+labelyear}}%
{\iftoggle{cms@bothlabelnew}%
- {\usebibmacro{cite:bothyear+newstyle}}%
+ {\usebibmacro{cite:bothyear+oldstyle}}%
{\iftoggle{cms@bothlabelold}%
{\usebibmacro{cite:bothyear+oldstyle}}%
- {\usebibmacro{cite:labelyear+extrayear}}}}%
+ {\iftoggle{cms@fulldate}%
+ {\newcunit\printdate}%
+ {\usebibmacro{cite:labelyear+extrayear}}}}}%
\ifcsdef{@cms@tempdate}%
{\toggletrue{\@cms@tempdate}}%
{}}
@@ -577,25 +722,17 @@
{\printtext[bibhyperref]{%
\printfield{origyear}}}}}
-\newbibmacro*{cite:bothyear+newstyle}{%
- \iftoggle{cms@switchdates}%
- {\usebibmacro{cite:labelyear+extrayear}/\printfield{origyear}}%
- {\iffieldundef{origyear}%
- {\usebibmacro{cite:labelyear+extrayear}}%
- {\printtext[bibhyperref]{%
- \printfield{origyear}/\printfield{labelyear}}}}}
-
\newbibmacro*{cite:bothyear+oldstyle}{%
\iftoggle{cms@switchdates}%
{\printtext[bibhyperref]{%
- \bibopenbracket%
+ \bibopenparen%
\usebibmacro{cite:labelyear+extrayear}%
- \bibclosebracket%
+ \bibcloseparen%
\addspace\printfield{origyear}}}%
{\iffieldundef{origyear}%
{\usebibmacro{cite:labelyear+extrayear}}%
{\printtext[bibhyperref]{%
- \printfield[brackets]{origyear}%
+ \printfield[parens]{origyear}%
\addspace\printfield{labelyear}}}}}
\newbibmacro*{cite:save}{%
@@ -762,37 +899,38 @@
\DeclareFieldFormat[article]{title}{%
\iffieldundef{title}%
{}%
- {\MakeSentenceCase*{#1}}}
+ {\mkbibquote{#1\isdot}}}
-\DeclareFieldAlias[article]{citetitle}[article]{lostitle}
+\DeclareFieldFormat[article]{citetitle}{%
+ \iffieldundef{title}%
+ {#1\isdot}%
+ {\mkbibquote{#1\isdot}}}
-\DeclareFieldFormat[article]{lostitle}{\MakeSentenceCase*{#1}}
+\DeclareFieldFormat[article]{lostitle}{%
+ \iffieldundef{title}%
+ {#1\isdot}%
+ {\mkbibquote{#1\isdot}}}
\DeclareFieldFormat[artwork]{title}{%
\iffieldundef{entrysubtype}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\MakeSentenceCase*{#1}\isdot}}
+ {\mkbibemph{#1}\isdot}%
+ {#1\isdot}}
\DeclareFieldAlias[artwork]{citetitle}[artwork]{title}
-\DeclareFieldFormat[artwork]{lostitle}{%
- \iffieldundef{entrysubtype}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\MakeSentenceCase*{#1}\isdot}}
+\DeclareFieldAlias[artwork]{lostitle}[artwork]{title}
-\DeclareFieldFormat[book]{title}{%
- \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+\DeclareFieldFormat[book]{title}{\mkbibemph{#1}\isdot}
\DeclareFieldAlias[book]{citetitle}[book]{title}
-\DeclareFieldFormat[book]{lostitle}{%
- \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+\DeclareFieldAlias[book]{lostitle}[book]{title}
\DeclareFieldAlias[bookinbook]{title}[book]{title}
\DeclareFieldAlias[bookinbook]{citetitle}[book]{title}
-\DeclareFieldAlias[bookinbook]{lostitle}[book]{lostitle}
+\DeclareFieldAlias[bookinbook]{lostitle}[book]{title}
\DeclareFieldAlias[collection]{title}[book]{title}
@@ -806,11 +944,11 @@
\DeclareFieldFormat[periodical]{lostitle}{\mkbibemph{#1}\isdot}
-\DeclareFieldAlias[image]{title}[article]{title}
+\DeclareFieldAlias[image]{title}[artwork]{title}
-\DeclareFieldAlias[image]{citetitle}[article]{title}
+\DeclareFieldAlias[image]{citetitle}[artwork]{title}
-\DeclareFieldAlias[image]{lostitle}[article]{lostitle}
+\DeclareFieldAlias[image]{lostitle}[artwork]{lostitle}
\DeclareFieldAlias[incollection]{title}[article]{title}% Change article?
@@ -848,15 +986,15 @@
\DeclareFieldAlias[thesis]{lostitle}[article]{lostitle}
-\DeclareFieldAlias[patent]{title}[article]{lostitle}
+\DeclareFieldAlias[patent]{title}[letter]{lostitle}% 16th ed.
-\DeclareFieldAlias[patent]{citetitle}[article]{title}
+\DeclareFieldAlias[patent]{citetitle}[letter]{title}
-\DeclareFieldAlias[patent]{lostitle}[article]{lostitle}
+\DeclareFieldAlias[patent]{lostitle}[letter]{lostitle}
\DeclareFieldAlias[unpublished]{title}[article]{title}
-\DeclareFieldAlias[unpublished]{citetitle}[article]{title}
+\DeclareFieldAlias[unpublished]{citetitle}[article]{citetitle}
\DeclareFieldAlias[unpublished]{lostitle}[article]{lostitle}
@@ -890,15 +1028,14 @@
\DeclareFieldAlias[inbook]{lostitle}[article]{lostitle}
-\DeclareFieldFormat[suppbook]{title}{%
- \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+\DeclareFieldFormat[suppbook]{title}{\mkbibemph{#1}\isdot}
\DeclareFieldAlias[suppbook]{citetitle}[suppbook]{lostitle}
\DeclareFieldFormat[suppbook]{lostitle}{%
\usebibmacro{inforaft}%
\addspace%
- \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+ \mkbibemph{#1}\isdot}
\DeclareFieldFormat[customc]{title}{%
\iffieldundef{nameaddon}%
@@ -930,21 +1067,20 @@
\DeclareFieldAlias[manual]{title}[book]{title}
-\DeclareFieldAlias[manual]{citetitle}[book]{title}
+\DeclareFieldAlias[manual]{citetitle}[book]{citetitle}
\DeclareFieldAlias[manual]{lostitle}[book]{lostitle}
\DeclareFieldAlias[report]{title}[book]{title}
-\DeclareFieldAlias[report]{citetitle}[book]{title}
+\DeclareFieldAlias[report]{citetitle}[book]{citetitle}
\DeclareFieldAlias[report]{lostitle}[book]{lostitle}
\DeclareFieldFormat[misc]{title}{%
\iffieldundef{entrysubtype}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\ifcapital{\MakeCapital{#1\isdot}}%
- {#1\isdot}}}
+ {\mkbibemph{#1}\isdot}%
+ {\ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}}
\DeclareFieldAlias[misc]{citetitle}[misc]{title}
@@ -966,28 +1102,22 @@
\DeclareFieldAlias[online]{title}[article]{title}
-\DeclareFieldAlias[online]{citetitle}[article]{title}
+\DeclareFieldAlias[online]{citetitle}[article]{citetitle}
\DeclareFieldAlias[online]{lostitle}[article]{lostitle}
-\DeclareFieldFormat{booktitle}{\mkbibemph{\MakeSentenceCase*{#1}}}
+\DeclareFieldFormat{booktitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{maintitle}{\mkbibemph{\MakeSentenceCase*{#1}}}
+\DeclareFieldFormat{maintitle}{\mkbibemph{#1}}
\DeclareFieldFormat[video]{title}{%
\iffieldundef{booktitle}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\MakeSentenceCase*{#1}\isdot}}
+ {\mkbibemph{#1}\isdot}%
+ {\mkbibquote{#1\isdot}}}
-\DeclareFieldFormat[video]{citetitle}{%
- \iffieldundef{booktitle}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\MakeSentenceCase*{#1}\isdot}}
+\DeclareFieldAlias[video]{citetitle}[video]{title}
-\DeclareFieldFormat[video]{lostitle}{%
- \iffieldundef{booktitle}%
- {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
- {\MakeSentenceCase*{#1}\isdot}}
+\DeclareFieldAlias[video]{lostitle}[video]{title}
\DeclareFieldAlias[music]{title}[video]{title}
@@ -1040,8 +1170,43 @@
{\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
{\nolinkurl{#1}}}
+\DeclareFieldFormat{urldate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[video]{urldate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{urldate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}%
+ \OR\NOT\iffieldundef{origyear}}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{origdate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}}%
+ {\bibstring{recorded}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{eventdate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{recorded}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[video]{eventdate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{broadcast}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldAlias{userd}{titleaddon}% 16th ed.
+
\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1\bibsentence}}% ?!
+\DeclareFieldFormat[review]{nameaddon}{#1\bibsentence}% 16th ed.
+
\DeclareFieldFormat[customc]{nameaddon}{% For cross-refs
\ifbibstring{#1}%
{\mkbibemph{\bibstring{#1}}}%
@@ -1063,7 +1228,7 @@
\DeclareFieldAlias{maintitleaddon}{titleaddon}
-\DeclareFieldFormat{issuetitle}{\MakeSentenceCase*{#1\isdot}}
+\DeclareFieldFormat{issuetitle}{\mkbibquote{#1\isdot}}
\DeclareFieldFormat{jourser}{%
\ifinteger{#1}%
@@ -1102,7 +1267,7 @@
%%%% Commands, for users and internal %%%%
-\newcommand*{\cbytypeeditor}{%
+\newcommand*{\cbytypeeditor}{% Needed?
\iffieldundef{editortype}
{\bibstring{cbytypeeditor}}
{\bibstring{cbytype\thefield{editortype}}}}
@@ -1129,27 +1294,27 @@
{\setunit*{\addcomma\addspace}}}
\newcommand{\parttrans}{%
- {\bibstring{cbytranslator}\space}}%
+ {\bibstring{bytranslator}\space}}%
\newcommand{\partedit}{%
\iftoggle{cms@postposit}% Kludge to make it work in French.
- {\bibstring{cbyeditoralt}\addspace}%
- {\bibstring{cbyeditor}\addspace}}%
+ {\bibstring{byeditoralt}\addspace}%
+ {\bibstring{byeditor}\addspace}}%
\newcommand{\partcomp}{%
- {\bibstring{cbycompiler}\space}}%
+ {\bibstring{bycompiler}\space}}%
\newcommand{\parteditandcomp}{%
- {\bibstring{cbyeditorcp}\space}}%
+ {\bibstring{byeditorcp}\space}}%
\newcommand{\parttransandcomp}{%
- {\bibstring{cbytranslatorcp}\space}}%
+ {\bibstring{bytranslatorcp}\space}}%
\newcommand{\partedittransandcomp}{%
- {\bibstring{cbyeditortrcp}\space}}%
+ {\bibstring{byeditortrcp}\space}}%
\newcommand{\parteditandtrans}{%
- {\bibstring{cbyeditortr}\space}}%
+ {\bibstring{byeditortr}\space}}%
\newcommand{\reprint}{\bibstring{reprint}}%
@@ -1245,7 +1410,7 @@
\newbibmacro*{author+holder}{%
\ifnameundef{author}
- {}
+ {\let\bbx@lasthash\undefined}
{\usebibmacro{author/editor}%
\ifthenelse{\ifnameundef{holder}\OR
\ifnamesequal{author}{holder}}
@@ -1350,22 +1515,24 @@
\ifnameundef{author}%
{\ifnameundef{editor}%
{\iflistundef{organization}%
- {}%
+ {\let\bbx@lasthash\undefined}%
{\ifboolexpr{
test {\iflistequals{organization}{\bbx@lasthash}}
and
not test {\iffirstonpage}
}%
{\bibnamedash\addperiod\addspace}%
- {\printlist{organization}%
+ {\iftoggle{cms@authorparens}%
+ {\bibopenparen\printlist{organization}\bibcloseparen}%
+ {\printlist{organization}}%
\savelist{organization}{\bbx@lasthash}}}}%
{\usebibmacro{editor}}}%
{\usebibmacro{author/editor}}}
\newbibmacro*{cbytypestrg}[2]{%
\iffieldundef{#1type}
- {\bibstring{cby#2}}
- {\bibstring{cby\thefield{#1type}}}}
+ {\bibstring{by#2}}
+ {\bibstring{by\thefield{#1type}}}}
\newbibmacro*{cbyeditor}{%
\ifnameundef{editor}
@@ -1399,7 +1566,7 @@
\newbibmacro*{cbytranslator}{%
\ifnameundef{translator}
{}
- {\bibstring{cbytranslator}%
+ {\bibstring{bytranslator}%
\addspace
\printnames[bytranslator]{translator}}}
@@ -1577,7 +1744,10 @@
\newbibmacro*{chapinscore}{%
\iffieldundef{chapter}%
- {}
+ {\ifthenelse{\iffieldequalstr{entrytype}{music}%
+ \AND\NOT\iffieldundef{booktitle}}%
+ {\bibstring{on}\setunit{\addspace}}%
+ {}}%
{\printfield{chapter}%
\addspace\bibstring{of}\setunit{\addspace}}}
@@ -1597,16 +1767,32 @@
{\printfield{pubstate}}}%
{\printfield{howpublished}}}%
+\newbibmacro*{music+origdate}{%
+ \iftoggle{cms@reprint}% 16th ed.
+ {}%
+ {\iftoggle{cms@switchdates}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {}%
+ {\printtext[origdate]{\usebibmacro{cmsorigdate}}}}%
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}}%
+ {}%
+ {\printtext[origdate]{\usebibmacro{cmsorigdate}}}}}}%
+
+\newbibmacro*{music+eventdate}{%
+ \ifthenelse{\iffieldundef{eventyear}\AND\iffieldundef{eventmonth}}%
+ {}%
+ {\printtext[eventdate]{\printeventdate}}}
+
\newbibmacro*{ser+num}{%
\printfield{series}%
\printfield[sernum]{number}%
\newunit}
\newbibmacro*{italtitle+stitle}{%
- \printtext{%
- \printfield{title}%
+ \printtext[title]{%
+ \printfield[noformat]{title}%
\setunit{\addcolon\addspace}%
- \printfield[title]{subtitle}}%
+ \printfield[noformat]{subtitle}}%
\newunit\newblock%
\printfield{titleaddon}%
\setunit{\addspace}%
@@ -1614,10 +1800,10 @@
\newunit\newblock}
\newbibmacro*{mag+news+title}{%
- \printtext{%
- \printfield{title}%
+ \printtext[title]{%
+ \printfield[noformat]{title}%
\setunit{\addcolon\addspace}%
- \printfield[title]{subtitle}}%
+ \printfield[noformat]{subtitle}}%
\newunit%\setunit{\addcomma\addspace}
\printfield{titleaddon}%
}%\newcunit\newblock
@@ -1660,6 +1846,16 @@
\usebibmacro{date}% For the author-date style. Tricky.
}%
+\newbibmacro*{origpubl+loc+year}{% 16th ed.
+ \printlist{origlocation}%
+ \iflistundef{origpublisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{origpublisher}%
+% \setunit*{\addcomma\addspace}%
+% \usebibmacro{cmsorigdate}%
+}
+
\newbibmacro*{howpubl+loc+year}{%
\printlist{location}%
\iffieldundef{howpublished}%
@@ -1723,6 +1919,10 @@
{parens}}
\newbibmacro*{letter+date}{% New for 0.9
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
\iftoggle{cms@switchdates}%
{\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
{}%
@@ -1732,6 +1932,10 @@
{\cms@datelong}}}
\newbibmacro*{unpubl+letter+date}{% For the Misc type.
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
\iftoggle{cms@switchdates}%
{\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
{}%
@@ -1820,10 +2024,10 @@
\newunit}
\newbibmacro*{cperiodical+ser+vol+num}{% For periodical entries,
- \printtext{% article subtype
- \printfield{title}%
+ \printtext[title]{% article subtype
+ \printfield[noformat]{title}%
\setunit{\addcolon\addspace}%
- \printfield{subtitle}}%
+ \printfield[noformat]{subtitle}}%
\setunit*{\addspace}%
\printlist[periodplace]{location}%
\setunit*{\addspace}%
@@ -1853,8 +2057,8 @@
\newbibmacro*{url+date}{% Changed for 0.9
\printfield{url}%
- \ifthenelse{\iffieldundef{urlyear}\AND\iffieldundef{urlmonth}}%
- {}%
+ \iffieldundef{urlyear}
+ {}
{\setunit{\addspace}%
\printtext[urldate]{\printurldate}}}
@@ -1895,6 +2099,11 @@
{\printfield{origyear}}%
{\printfield{year}}}
+\newbibmacro*{cmsorigdate}{% New for 0.9
+ \iftoggle{cms@switchdates}%
+ {\printdate}%
+ {\printorigdate}}
+
\newbibmacro*{periodical+date+issue}{% For periodical type &
\printtext[title]{% magazine subtype
\printfield[noformat]{title}%
@@ -1963,17 +2172,17 @@
\ifnameundef{namea}%
{\ifnameundef{nameb}%
{}
- {\bibstring{cbytranslator}\space%
+ {\bibstring{bytranslator}\space%
\printnames[bytranslator]{nameb}}}%
{\ifnamesequal{namea}{nameb}%
- {\bibstring{cbyeditortr}\space%
+ {\bibstring{byeditortr}\space%
\printnames[byeditor]{namea}}%
- {\bibstring{cbyeditor}\space%
+ {\bibstring{byeditor}\space%
\printnames[byeditor]{namea}%
\ifnameundef{nameb}%
{}
{\newunit
- \bibstring{cbytranslator}\space%
+ \bibstring{bytranslator}\space%
\printnames[bytranslator]{nameb}}}}}
\newbibmacro*{compilestrg}{%
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx
new file mode 100644
index 00000000000..02dc9423276
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx
@@ -0,0 +1,2557 @@
+% $Id: chicago-authordate15.bbx,v 0.8.1.15 2012/07/05 10:39:57 dfussner Exp $
+% This is a biblatex style file, adapted mainly from Lehman's
+% standard.bbx and from chicago-notes.bbx. It provides the
+% reference list formatting for the Chicago author-date style,
+% _15th_ edition.
+
+\ProvidesFile{chicago-authordate15.bbx}
+[2012/07/05 v 1.7 biblatex bibliography style]
+
+%%%% Initialize and format bibliography and los %%%%
+
+\DeclareFieldFormat{shorthandwidth}{#1}
+
+\newlength{\lositemsep}
+
+\defbibenvironment{bibliography}% New for 0.9a
+ {\list
+ {}
+ {\setlength{\leftmargin}{\bibhang}%
+ \setlength{\itemindent}{-\leftmargin}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{shorthands}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{losnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\footnotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{losendnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\enotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist\nopunct\vspace{-\baselineskip}}% Kludges for endnotes
+ {\item}
+
+\AtBeginBibliography{%
+ \togglefalse{cms@headlessnote}}%
+
+\AtEveryBibitem{%
+ \iffieldequalstr{entrytype}{patent}%
+ {\toggletrue{cms@origlabel}}%
+ {}%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}}%
+
+\AtEveryLositem{%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}}%
+
+\InitializeBibliographyStyle{%
+ \let\bbx@lasthash\undefined}%
+
+%%%% Bibliography-specific bibstrings %%%%
+
+%% Now in *.lbx %%
+
+%%%% Author, Editor, Translator, and Compiler Macros %%%%
+
+\renewbibmacro*{name:last-first}[4]{%
+ \ifuseprefix
+ {\usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifblank{#3}{}{%
+ \ifcapital
+ {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+ {\mkbibnameprefix{#3}\isdot}%
+ \ifpunctmark{'}{}{\addhighpenspace}}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#2}{}{\addcomma\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}}
+ {\usebibmacro{name:delim}{#1}%
+ \usebibmacro{name:hook}{#1}%
+ \mkbibnamelast{#1}\isdot%
+ \ifblank{#2#3#4}{}{\addcomma}%
+ \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}%
+ \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}}}
+
+\renewbibmacro*{name:first-last}[4]{%
+ \usebibmacro{name:delim}{#2#3#1}%
+ \usebibmacro{name:hook}{#2#3#1}%
+ \ifblank{#2}{}{\mkbibnamefirst{#2}\isdot\addlowpenspace}%
+ \ifblank{#3}{}{%
+ \mkbibnameprefix{#3}\isdot
+ \ifpunctmark{'}
+ {}
+ {\ifuseprefix{\addhighpenspace}{\addlowpenspace}}}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#4}{}{%
+ \iftoggle{cms@jrcomma}%
+ {\ifnumeral{#4}%
+ {\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ {\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot%
+ \ifboolexpr{
+ test{\ifnumless{\value{listcount}}{\value{listtotal}}}
+ and
+ test{\ifnumless{\value{listcount}}{\value{maxnames}}}
+ }
+ {\addcomma}%
+ {}}}%
+ {\addlowpenspace\mkbibnameaffix{#4}\isdot}}}
+
+\newbibmacro*{author/editors/translators}{%
+ \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}%
+ {\usebibmacro{author}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{namea}}%
+ {\usebibmacro{parteditor}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}%
+ {\usebibmacro{editor}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{nameb}}%
+ {\usebibmacro{parttranslator}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}%
+ {\usebibmacro{translator}}%
+ {\ifnameundef{namec}%
+ {\let\bbx@lasthash\undefined}%
+ {\usebibmacro{compiler}}}}}}}}
+
+\renewbibmacro*{author/editor}{%
+ \ifuseauthor%
+ {\usebibmacro{author}}%
+ {\ifuseeditor%
+ {\ifnameundef{namea}%
+ {\usebibmacro{moreeditor}}%
+ {\usebibmacro{parteditor}}}%
+ {\ifusetranslator%
+ {\ifnameundef{nameb}%
+ {\usebibmacro{moretranslator}}%
+ {\usebibmacro{parttranslator}}}%
+ {\iftoggle{cms@usecompiler}%
+ {\usebibmacro{compiler}}%
+ {\let\bbx@lasthash\undefined%
+ \settoggle{cms@usecompiler}{true}}}}}}
+
+\renewbibmacro*{author}{%
+ \iftoggle{cms@headlessnote}%
+ {\usebibmacro{justauthor}}%
+ {\usebibmacro{moreauthor}}}
+
+\newbibmacro*{allauthor}{%
+ \ifnameundef{author}%
+ {\ifnameundef{editor}%
+ {\ifnameundef{translator}%
+ {\ifnameundef{namec}%
+ {\let\bbx@lasthash\undefined}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames[sortname]{namec}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{compilestrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames[sortname]{translator}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{transstrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames{editor}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}
+ {\bibnamedash\addspace}}%
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{namehash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{namehash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{namehash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{justauthor}{%
+ \ifnameundef{author}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}
+ {\bibnamedash\addspace}}
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{fullhash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{moreauthor}{%
+ \ifnameundef{author}
+ {\usebibmacro{pickeditor}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}%
+ {\bibnamedash\addspace}}%
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{fullhash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{pickeditor}{%
+ \ifnameundef{namea}
+ {\usebibmacro{moreeditor}}%
+ {\usebibmacro{parteditor}}}
+
+\newbibmacro*{moreeditor}{%
+ \ifnameundef{editor}
+ {\usebibmacro{picktranslator}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\editordelim}%
+ {\printnames{editor}\editordelim%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}
+
+\renewbibmacro*{editor}{%
+ \ifnameundef{editor}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\editordelim}%
+ {\printnames{editor}\editordelim%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}
+
+\newbibmacro*{parteditor}{%
+ \ifnameundef{namea}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{namea}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{parteditstrg}}}
+
+\newbibmacro*{picktranslator}{%
+ \ifnameundef{nameb}
+ {\usebibmacro{moretranslator}}%
+ {\usebibmacro{parttranslator}}}
+
+\newbibmacro*{moretranslator}{%
+ \ifnameundef{translator}
+ {\usebibmacro{compiler}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{translator}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{transstrg}}}
+
+\newbibmacro*{parttranslator}{%
+ \ifnameundef{nameb}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{nameb}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{parttransstrg}}}
+
+\newbibmacro*{compiler}{%
+ \ifnameundef{namec}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{namec}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{compilestrg}}}
+
+\renewcommand*{\revsdnamedelim}{\addcomma}
+
+\DeclareNameAlias{author}{sortname}% Needed in 0.9
+\DeclareNameAlias{editor}{sortname}
+\DeclareNameAlias{translator}{sortname}
+
+%%%% Drivers for Bibliography entries and Shorthands %%%%
+
+\DeclareBibliographyDriver{shorthands}{%
+ \iftoggle{cms@los}%
+ {\ifnameundef{labelname}
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ \usebibmacro{shorthand:label}}%
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ \usebibmacro{author/editor}}%
+ \finentry}%
+ {\iftoggle{cms@fullshhand}%
+ {\usedriver{\frenchspacing}%
+ {\thefield{entrytype}}%
+ \finentry}%
+ {\ifnameundef{labelname}
+ {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}\AND\NOT%
+ \iffieldequalstr{entrytype}{periodical}}%
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
+ \newcunit}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
+ {}}}
+ {\usebibmacro{author/editor}%
+ \setunit{\addcomma\space}}%
+ \printfield[lostitle]{title}%
+ \finentry}}}
+
+\DeclareBibliographyDriver{article}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{mag+news+author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{mag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock%
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{mag+news+date}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+ {\usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{mag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock% (changed for 0.7)??
+ \usebibmacro{journal+issue+year+pages}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{artwork}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{audio}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newcunit%\setunit{\addperiod\addspace}%
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \usebibmacro{bibreprint}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit
+ \printfield{type}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printfield{ismn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditor+others}%
+ \usebibmacro{editorpunct}%
+ \iftoggle{cms@bookpages}%
+ {}%
+ {\clearfield{pages}}%
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newcunit\newblock
+ \printlist[][-\value{listtotal}]{lista}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{bookinbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{howpubl+loc+year}%
+ \newunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \usebibmacro{editorpunct}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \usebibmacro{editorpunct}%
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \usebibmacro{editorpunct}%
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bytranslator+others}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{customc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \newunit\newblock
+ \printfield{nameaddon}%
+ \setunit*{\addspace}%
+ \usebibmacro{italtitle+stitle}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{image}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}% All italtitle now?
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\setunit{\addperiod\addspace}% Moved here.
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \bibxrefcite{\thefield{xref}}
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\setunit{\addperiod\addspace}%
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \bibxrefcite{\thefield{xref}}
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{inreference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{reference+title}%{italtitle+stitle}
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}% need asterisk?
+ \usebibmacro{alt-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newcunit\newblock
+ \printlist[][-\value{listtotal}]{lista}%
+ \setunit{\addspace}%
+ \ifnameundef{author}%
+ {}%
+ {\printtext[parens]{%
+ \bibstring{by}%
+ \addspace%
+ \printnames[byauthor]{author}}}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{letter}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \printtext[title]{%
+ \printfield[noformat]{title}}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{letter+date}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%\bibsentence
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifpunctmark{*}% Attempt to fix issues with n.d. Changed for 0.9.
+ {\setunit{\nopunct\addspace\bibsentence}}%
+ {}%
+ \bibxrefcite{\thefield{xref}}
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifpunctmark{*}% Likewise.
+ {\setunit{\nopunct\addspace\bibsentence}}%
+ {}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author+org}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{edition}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{misc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \iffieldundef{entrysubtype}%
+ {\usebibmacro{italtitle+stitle}}%
+ {\printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock%
+ \usebibmacro{unpubl+letter+date}}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \iffieldundef{entrysubtype}%
+ {\newcunit\newblock%
+ \usebibmacro{date}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{music}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \setunit*{\addperiod\addspace}%
+ \printeventdate%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newunit\newblock
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\newunit}% Fix customc?
+ {\newcunit}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{music+ser+num}%
+ \newunit
+ \usebibmacro{music+publisher}%
+% \setunit*{\addspace}%\newblock
+ \usebibmacro{date}%
+ \setunit{\ifthenelse{\iffieldundef{howpublished}\AND%
+ \iffieldundef{pubstate}}%
+ {\newunit}{\space\bibstring{by}\space}}%
+ \printlist{publisher}%
+ \newunit
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{iswc}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{eprint}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{url+date}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author+holder}% + holder?
+ \newunit\newblock
+ \usebibmacro{cmscitesortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%{title}?
+ \setunit{\addperiod\addspace}%
+ \printfield{note}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{type}%
+ \setunit{\addspace}%
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \iftoggle{cms@switchdates}%
+ {\bibstring{patentfiled}%
+ \setunit{\addspace}%
+ \printdate%
+ \setunit{\addcomma\addspace}%
+ \bibstring{and}%
+ \addspace\bibstring{patentissued}\addspace%
+ \printorigdate}%
+ {\iffieldundef{origyear}%
+ {\iffieldundef{year}%
+ {}%
+ {\bibstring{patentfiled}\setunit{\addspace}%
+ \printdate}}%
+ {\bibstring{patentfiled}\setunit{\addspace}%
+ \printorigdate%\usebibmacro{date}%
+ \setunit{\addcomma\addspace\bibstring{and}%
+ \addspace\bibstring{patentissued}\addspace}%
+ \usebibmacro{date}}}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{periodical}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \ifundef\bbx@lasthash{%
+ \printtext[title]{% magazine subtype
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \clearlist{location}%
+ \clearfield{title}%
+ \clearfield{subtitle}%
+ \newunit\newblock}{}%
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{periodical+date+issue}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \ifundef\bbx@lasthash{%
+ \printtext[title]{% magazine subtype
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \clearlist{location}%
+ \clearfield{title}%
+ \clearfield{subtitle}%
+ \newunit\newblock}{}%
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock% (changed for 0.7)??
+ \usebibmacro{periodical+issue+year+pages}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{proceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{reference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{reference+title}%{italtitle+stitle}
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}% need asterisk?
+ \usebibmacro{alt-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{inst+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isrn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{review}{%
+ \usebibmacro{bibindex}%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{mag+news+author}}%
+ {\usebibmacro{author/editor}}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \setunit{\addspace}%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iffieldequalstr{entrysubtype}{magazine}
+ {\usebibmacro{mag+news+date}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}}%
+ {\usebibmacro{journal+issue+year+pages}}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{suppbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{inforaft}%
+ \setunit{\addspace}\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \newcunit%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock% \usebibmacro{editorpunct}
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyAlias{suppcollection}{suppbook}
+
+\DeclareBibliographyAlias{suppperiodical}{review}
+
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \printfield{note}%
+ \setunit{\addperiod\addspace}\newblock%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \usebibmacro{type+inst+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
+ \usebibmacro{byauthor}% Same in thesis type, as well.
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{bibreprint}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printlist{location}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{date}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@url}
+ {\usebibmacro{url+date}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{video}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{cmsbibsortdate}%
+ \newunit\newblock
+ \printtext{%
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[title]{subtitle}}%
+ \iffieldundef{booktitle}% Comma after italics, period after quotes
+ {\newcunit}
+ {\newunit}%\setunit{\addspace}\newblock%
+ \printfield{titleaddon}%\usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%\bibsentence
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit
+ \printfield{type}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}% from 16th ed.
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \usebibmacro{pubstate}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+%%%% Other Formatting Macros %%%%
+
+\newbibmacro*{bib+doi+url}{% For biblatex field exclusion
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \newunit\newblock
+ \iftoggle{cms@eprint}%
+ {\usebibmacro{eprint}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@url}%
+ {\usebibmacro{url+date}}%
+ {}}
+
+\newbibmacro*{shorthand:label}{% Test this
+ \iffieldequalstr{entrysubtype}{magazine}% Simplifies .bib creation
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}}}%
+ {\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}}%
+
+\newbibmacro*{labelyear+extrayear}{%
+ \iffieldundef{labelyear}%
+ {\ifboolexpr{
+ test {\iffieldequalstr{entrytype}{misc}}
+ or
+ test {\iffieldequalstr{entrytype}{inreference}}
+ or
+ test {\iffieldequalstr{entrytype}{reference}}
+ or
+ not togl {cms@nodates}}%
+ {}%
+ {\bibstring{nodate}}}%
+ {\iffieldundef{year}%
+ {\iffieldundef{eventyear}
+ {\iffieldundef{origyear}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{urlendyear}%
+ {\clearfield{urlyear}}%
+ {\iffieldequalstr{urlendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{urlyear}}%
+ {\iffieldundef{urlmonth}%
+ {\clearfield{urlyear}}%
+ {\iffieldsequal{urlyear}{urlendyear}%
+ {\clearfield{urlyear}\clearfield{urlendyear}}%
+ {}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{origendyear}%
+ {\clearfield{origyear}}%
+ {\iffieldequalstr{origendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{origyear}}%
+ {\iffieldundef{origmonth}%
+ {\clearfield{origyear}}%
+ {\iffieldsequal{origyear}{origendyear}%
+ {\clearfield{origyear}\clearfield{origendyear}}%
+ {}}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{eventendyear}%
+ {\clearfield{eventyear}}%
+ {\iffieldequalstr{eventendyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{eventyear}}%
+ {\iffieldundef{eventmonth}%
+ {\clearfield{eventyear}}%
+ {\iffieldsequal{eventyear}{eventendyear}%
+ {\clearfield{eventyear}{eventendyear}}%
+ {}}}}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {\iffieldequalstr{endyear}{}%
+ {\mbox{\bibdatedash}%
+ \clearfield{year}}%
+ {\iffieldundef{month}%
+ {\clearfield{year}}%
+ {\iffieldsequal{year}{endyear}%
+ {\clearfield{year}\clearfield{endyear}}%
+ {}}}}}}}%
+
+\newbibmacro*{cmsbibsortdate}{% Attempt to solve date-related problems
+ \ifboolexpr{%
+ test {\iffieldundef{origyear}}
+ or
+ not test {\iffieldint{origyear}}
+ }%
+ {\usebibmacro{cmsbibyear}}%
+ {\iffieldint{year}%
+ {\ifboolexpr{% Needed for date ranges - video type, esp.
+ test {\iffieldundef{endyear}}%
+ or
+ not test {\iffieldnum{endyear}}
+ }%
+ {\ifthenelse{\thefield{origyear}>\thefield{year}}%
+ {\toggletrue{cms@switchdates}%
+ \usebibmacro{cmsbibyear}}%
+ {\usebibmacro{cmsbibyear}}}%
+ {\ifthenelse{\thefield{origyear}>\thefield{endyear}}%
+ {\toggletrue{cms@switchdates}%
+ \usebibmacro{cmsbibyear}}%
+ {\usebibmacro{cmsbibyear}}}}%
+ {\usebibmacro{cmsbibyear}}}}
+
+\newbibmacro*{cmsbibyear}{%
+ \iftoggle{cms@origlabel}%
+ {\usebibmacro{origyear+labelyear}}%
+ {\iftoggle{cms@bothlabelnew}%
+ {\usebibmacro{bothyear+newstyle}}%
+ {\iftoggle{cms@bothlabelold}%
+ {\usebibmacro{bothyear+oldstyle}}%
+ {\usebibmacro{labelyear+extrayear}}}}%
+ \ifcsdef{@cms@tempdate}%
+ {\toggletrue{\@cms@tempdate}}%
+ {}}
+
+\newbibmacro*{origyear+labelyear}{%
+ \iftoggle{cms@switchdates}%
+ {\usebibmacro{labelyear+extrayear}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {}}%
+ {\iffieldundef{origyear}
+ {\usebibmacro{labelyear+extrayear}}%
+ {\printtext{%
+ \printfield{origyear}}%
+ \iffieldundef{origendyear}% DATE FIX
+ {\clearfield{origyear}}%
+ {}}}}
+
+\newbibmacro*{bothyear+newstyle}{%
+ \iftoggle{cms@switchdates}%
+ {\usebibmacro{labelyear+extrayear}\addslash%
+ \setunit{}% Need * here?
+ \printfield{origyear}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {}%
+ \iffieldundef{origendyear}% DATE FIX
+ {\clearfield{origyear}}%
+ {}}%
+ {\iffieldundef{origyear}%
+ {\usebibmacro{labelyear+extrayear}}%
+ {\printtext{% Why?
+ \printfield{origyear}\addslash%
+ \setunit*{}%
+ \printfield{labelyear}}%
+ \iffieldundef{origendyear}% DATE FIX
+ {\clearfield{origyear}}%
+ {}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {}}}}
+
+\newbibmacro*{bothyear+oldstyle}{%
+ \iftoggle{cms@switchdates}%
+ {\printtext{%
+ \bibopenbracket%
+ \usebibmacro{labelyear+extrayear}%
+ \bibclosebracket%
+ \setunit{\addspace}\printfield{origyear}}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {}%
+ \iffieldundef{origendyear}% DATE FIX
+ {\clearfield{origyear}}%
+ {}}%
+ {\iffieldundef{origyear}
+ {\usebibmacro{labelyear+extrayear}}%
+ {\printtext{%
+ \printfield[brackets]{origyear}%
+ \setunit*{\addspace}\printfield{labelyear}}%
+ \iffieldundef{origendyear}% DATE FIX
+ {\clearfield{origyear}}%
+ {}%
+ \iffieldundef{endyear}% DATE FIX
+ {\clearfield{year}}%
+ {}}}}
+
+\newbibmacro*{pubstate}{%
+ \iftoggle{cms@reprint}%
+ {\iftoggle{cms@switchdates}%
+ {}
+ {\iffieldundef{origyear}%
+ {}
+ {\printtext[parens]{%
+ \usebibmacro{choosepubstring}%
+ \printorigdate\addperiod}\nopunct}}}%
+ {\printfield{pubstate}}}
+
+\newbibmacro*{choosepubstring}{%
+ \iffieldequalstr{entrytype}{video}%
+ {\iffieldequalstr{entrysubtype}{tv}%
+ {\bibstring{origshownyear}}%
+ {\bibstring{origreleaseyear}}}%
+ {\bibstring{origpubyear}}}%
+
+\newbibmacro*{bibreprint}{%
+ \iftoggle{cms@reprint}%
+ {\iffieldundef{origyear}%
+ {\bibstring{reprint}}%
+ {\iftoggle{cms@switchdates}%
+ {\bibstring{reprint}}%
+ {}}}%
+ {}}
+
+\newbibmacro*{bibpostxref}{%
+ \iffieldundef{postnote}%
+ {\iffieldundef{chapter}%
+ {\iffieldundef{pages}%
+ {}%
+ {\postnotedelim% Extra space?
+ \printfield{pages}}}%
+ {\postnotedelim%
+ \printfield{chapter}}}%
+ {\postnotedelim%
+ \printfield{postnote}}}
+
+\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{mtitle+mstitle+vol+part+btitle+bstitle}{%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{journal+issue+year+pages}{%
+ \iftoggle{cms@numbermonth}{}{\clearfield{month}}%
+ \usebibmacro{cjournal+ser+vol+num}%
+ \setunit{\addspace}%
+ \ifthenelse{\iffieldundef{issue}\AND\iffieldundef{month}
+ \AND\iffieldundef{number}}%
+ {\iftoggle{cms@postposit}% Kludge for French colon spacing.
+ {\setunit{\addcolon\addspace}}%
+ {\setunit{\addcolon}}}% This may not be universally correct.
+ {\printtext[parens]{% Perhaps if it's wrong use magazine subtype?
+ \iffieldundef{issue}
+ {\usebibmacro{date}%
+ \printfield{number}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}%
+ \setunit{\addcolon\addspace}}
+ \printfield{pages}}
+
+\newbibmacro*{periodical+issue+year+pages}{%
+ \iftoggle{cms@numbermonth}{}{\clearfield{month}}%
+ \usebibmacro{cperiodical+ser+vol+num}%
+ \setunit{\addspace}%
+ \ifthenelse{\iffieldundef{issue}\AND\iffieldundef{month}
+ \AND\iffieldundef{number}}%
+ {\iftoggle{cms@postposit}%
+ {\setunit{\addcolon\addspace}}%
+ {\setunit{\addcolon}}}%
+ {\printtext[parens]{%
+ \iffieldundef{issue}
+ {\usebibmacro{date}%
+ \printfield{number}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}%
+ \setunit{\addcolon\addspace}}
+ \printfield{pages}}
+
+\newbibmacro*{bycompiler}{%
+ \ifnameundef{namec}
+ {}
+ {\bibstring{cbycompiler}\addspace
+ \printnames[bycompiler]{namec}}}
+
+\renewbibmacro*{byeditor}{%
+ \ifnameundef{editor}
+ {}
+ {\usebibmacro{cbytypestrg}{editor}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{byeditorx}}
+
+\renewbibmacro*{byeditorx}{%
+ \ifnameundef{editora}
+ {}
+ {\usebibmacro{cbytypestrg}{editora}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditora]{editora}%
+ \usebibmacro{editorpunct}}%
+ \ifnameundef{editorb}
+ {}
+ {\usebibmacro{cbytypestrg}{editorb}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorb]{editorb}%
+ \usebibmacro{editorpunct}}%
+ \ifnameundef{editorc}
+ {}
+ {\usebibmacro{cbytypestrg}{editorc}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorc]{editorc}%
+ \usebibmacro{editorpunct}}}
+
+\renewbibmacro*{byeditor+others}{%
+ \ifthenelse{\NOT\ifnameundef{editor}\AND
+ \(\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}\)}
+ {\def\@tempa{cbyeditor}%
+ \ifnamesequal{editor}{translator}
+ {\edef\@tempa{\@tempa tr}%
+ \clearname{translator}}
+ {}%
+ \ifnamesequal{editor}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{editor}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{editor}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{editor}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{editor}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{editor}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditorx}}%
+ {\usebibmacro{byeditor}}%
+ \usebibmacro{bytranslator+others}}
+
+\renewbibmacro*{bytranslator+others}{%
+ \ifnameundef{translator}
+ {}
+ {\def\@tempa{cbytranslator}%
+ \ifnamesequal{translator}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{translator}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{translator}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{translator}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{translator}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{translator}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bytranslator]{translator}%
+ \clearname{translator}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{bycompiler+others}}
+
+\newbibmacro*{bycompiler+others}{%
+ \ifnameundef{namec}
+ {}
+ {\def\@tempa{cbycompiler}%
+ \ifnamesequal{namec}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{namec}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{namec}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{namec}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{namec}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bycompiler]{namec}%
+ \clearname{namec}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{byothers}}
+
+\newbibmacro*{byothers}{% Changed for 0.9
+ \usebibmacro{cbytranslator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bycompiler}%
+ \usebibmacro{editorpunct}%
+% \usebibmacro{byredactor}%
+% \usebibmacro{editorpunct}%
+ \usebibmacro{withcommentator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withannotator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withintroduction}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withforeword}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withafterword}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx
new file mode 100644
index 00000000000..715ab6a4efc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx
@@ -0,0 +1,2158 @@
+% $Id: chicago-authordate15.cbx,v 0.8.1.15 2012/07/05 10:39:31 dfussner Exp $
+% This is a biblatex citation style file, adapted from Lehman's
+% authoryear-comp.cbx. It is heavily modified, with the intention of
+% providing inline citations (and a reference list) for the
+% author-date style of the Chicago Manual of Style, _15th_ edition.
+
+\ProvidesFile{chicago-authordate15.cbx}
+[2012/07/05 v 1.7 biblatex citation style]
+
+%%%% Biblatex initialization + Chicago options + Toggles %%%%
+
+\newbool{cbx:parens}
+
+\providecommand*{\mkibid}[1]{#1}
+
+\providetoggle{cms@inlineibid}
+\providetoggle{cms@origlabel}
+\providetoggle{cms@bothlabelold}
+\providetoggle{cms@bothlabelnew}
+\providetoggle{cms@fulldate}
+\providetoggle{cms@reprint}
+\providetoggle{cms@switchdates}
+\providetoggle{cms@los}
+\providetoggle{cms@nodates}
+
+\providetoggle{cms@url}% These are for the field-exclusion options
+\providetoggle{cms@doi}
+\providetoggle{cms@eprint}
+\providetoggle{cms@isbn}
+\providetoggle{cms@numbermonth}
+\providetoggle{cms@bookpages}
+
+\providetoggle{cms@jrcomma}% Comma after Jr./Sr.
+
+\providetoggle{cms@headlessnote}% Keep
+\providetoggle{cms@noibid}% Keep
+\providetoggle{cms@usecompiler}% Keep
+\providetoggle{cms@origpublished}% Keep
+\providetoggle{cms@annotation}% Keep
+\providetoggle{cms@postposit}% Keep
+\providetoggle{cms@fullshhand}
+
+\AtEveryCitekey{%
+ \iffieldundef{userc}%
+ {}%
+ {\nocite{\thefield{userc}}}%
+ \iffieldequalstr{entrytype}{patent}%
+ {\toggletrue{cms@origlabel}}%
+ {}%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}}%
+
+\DeclareBibliographyOption{cmsdate}{% Trying to implement origyear as
+ \ifcsdef{cms@opt@cmsdate@#1}% labelyear. Sorting will be an issue.
+ {\csuse{cms@opt@cmsdate@#1}}
+ {\blx@err@invopt{cmsdate=#1}{}}}
+\def\cms@opt@cmsdate@on{%
+ \toggletrue{cms@origlabel}}
+\def\cms@opt@cmsdate@new{%
+ \toggletrue{cms@bothlabelnew}}
+\def\cms@opt@cmsdate@old{%
+ \toggletrue{cms@bothlabelold}}
+
+\DeclareEntryOption{cmsdate}[off]{% Trying to implement origyear as
+ \ifcsdef{cms@opt@cmsdate@#1}% labelyear. Sorting will be an issue.
+ {\iftoggle{cms@origlabel}
+ {\togglefalse{cms@origlabel}%
+ \def\@cms@tempdate{cms@origlabel}}%
+ {\iftoggle{cms@bothlabelnew}%
+ {\togglefalse{cms@bothlabelnew}%
+ \def\@cms@tempdate{cms@bothlabelnew}}%
+ {\iftoggle{cms@bothlabelold}%
+ {\togglefalse{cms@bothlabelold}%
+ \def\@cms@tempdate{cms@bothlabelold}}%
+ {}}}%
+ \csuse{cms@opt@cmsdate@#1}}%
+ {\blx@err@invopt{cmsdate=#1}{}}}
+\def\cms@opt@cmsdate@on{%
+ \toggletrue{cms@origlabel}}
+\def\cms@opt@cmsdate@new{%
+ \toggletrue{cms@bothlabelnew}}
+\def\cms@opt@cmsdate@old{%
+ \toggletrue{cms@bothlabelold}}
+\def\cms@opt@cmsdate@both{%
+ \toggletrue{cms@bothlabelold}}
+\def\cms@opt@cmsdate@full{%
+ \toggletrue{cms@fulldate}}
+\def\cms@opt@cmsdate@off{}
+
+\DeclareBibliographyOption{annotation}[true]{%
+ \global\toggletrue{cms@annotation}}
+
+\DeclareBibliographyOption{cmslos}[true]{%
+ \global\settoggle{cms@los}{#1}}
+
+\DeclareBibliographyOption{noibid}[true]{%
+ \global\toggletrue{cms@noibid}}
+
+\DeclareBibliographyOption{usecompiler}[true]{%
+ \settoggle{cms@usecompiler}{#1}}
+
+\DeclareBibliographyOption{nodates}[true]{%
+ \settoggle{cms@nodates}{#1}}
+
+\DeclareEntryOption{usecompiler}[true]{%
+ \settoggle{cms@usecompiler}{#1}}
+
+\DeclareBibliographyOption{juniorcomma}[true]{%
+ \settoggle{cms@jrcomma}{#1}}
+
+\DeclareEntryOption{juniorcomma}[true]{%
+ \settoggle{cms@jrcomma}{#1}}
+
+\DeclareBibliographyOption{shorthandfull}[true]{%
+ \settoggle{cms@fullshhand}{#1}}
+
+\DeclareBibliographyOption{headline}[true]{%
+ \renewcommand{\MakeSentenceCase}{\@ifstar\relax\relax}}
+
+% The field-exclusion options %
+
+\DeclareBibliographyOption{isbn}[true]{%
+ \settoggle{cms@isbn}{#1}}
+\DeclareBibliographyOption{url}[true]{%
+ \settoggle{cms@url}{#1}}
+\DeclareBibliographyOption{doi}[true]{%
+ \settoggle{cms@doi}{#1}}
+\DeclareBibliographyOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
+\DeclareBibliographyOption{numbermonth}[true]{%
+ \settoggle{cms@numbermonth}{#1}}
+\DeclareBibliographyOption{bookpages}[true]{%
+ \settoggle{cms@bookpages}{#1}}
+\DeclareBibliographyOption{includeall}[true]{%
+ \settoggle{cms@isbn}{#1}%
+ \settoggle{cms@url}{#1}%
+ \settoggle{cms@doi}{#1}%
+ \settoggle{cms@eprint}{#1}%
+ \settoggle{cms@numbermonth}{#1}%
+ \settoggle{cms@bookpages}{#1}}
+
+\DeclareEntryOption{isbn}[true]{%
+ \settoggle{cms@isbn}{#1}}
+\DeclareEntryOption{url}[true]{%
+ \settoggle{cms@url}{#1}}
+\DeclareEntryOption{doi}[true]{%
+ \settoggle{cms@doi}{#1}}
+\DeclareEntryOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
+\DeclareEntryOption{numbermonth}[true]{%
+ \settoggle{cms@numbermonth}{#1}}
+\DeclareEntryOption{bookpages}[true]{%
+ \settoggle{cms@bookpages}{#1}}
+
+\ExecuteBibliographyOptions{includeall}%
+
+% More authordate options %
+
+\DeclareSortingScheme{cms}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \name{sortname}
+ \name{author}
+ \name{namea}
+ \name{editor}
+ \name{nameb}
+ \name{translator}
+ \name{namec}
+ \field{sorttitle}
+ \field{journaltitle}
+ \list{organization}
+ \field{title}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}
+ \literal{0000}
+ }
+}
+
+\DeclareLabelname{shortauthor,author,shorteditor,namea,editor,%
+nameb,translator,namec}
+
+\DeclareEntryOption{switchdates}[true]{%
+ \settoggle{cms@switchdates}{#1}}
+
+\DeclareBibliographyOption{strict}[true]{%
+ \let\splitfootnoterule\footnoterule
+ \renewcommand\footnoterule{}%
+ \advance\skip\footins 4\p@\@plus2\p@\relax
+ \gdef\split@prev{0}
+ \let\pagefootnoterule\footnoterule
+ % \def\splitfootnoterule{\kern-3\p@ \hrule \kern2.6\p@}
+ \def\footnoterule{\relax
+ \ifnum\split@prev=\z@
+ \pagefootnoterule
+ \else
+ \splitfootnoterule
+ \fi
+ \xdef\split@prev{\the\insertpenalties}%
+ }}
+
+\protected\def\blx@newcunit{%
+ \global\let\blx@unitpunct\newcunitpunct
+ \global\toggletrue{blx@unit}}%
+
+\appto\blx@blxinit{%
+ \let\newcunit\blx@newcunit}
+
+\newcommand*{\newcunitpunct}{\addcomma\space}
+
+\def\mkbibcurdinal#1{%
+ \@tempcnta0#1 \the\@tempcnta}%
+
+\@ifpackagelater{biblatex}{2011/01/04}
+{}
+{\PackageError{biblatex}
+ {Outdated 'biblatex' package}
+ {The Chicago style requires biblatex v1.1 or later.\MessageBreak
+ You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
+ This is a fatal error. I'm aborting now.}%
+ \endinput}
+
+%%%% Initialize and define bibstrings %%%%
+
+%%%% Now in cms-*.lbx %%%%
+
+%%%% Macros from authoryear-comp.cbx, revised for CMS %%%%
+
+\newbibmacro*{cite:init}{%
+ \ifnumless{\value{multicitecount}}{2}
+ {\global\boolfalse{cbx:parens}%
+ \global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}
+ {\iffieldundef{prenote}
+ {}
+ {\global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}}}
+
+\newbibmacro*{cite:reinit}{%
+ \global\undef\cbx@lasthash
+ \global\undef\cbx@lastyear}
+
+\newbibmacro*{cite}{%
+ \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
+ {\usebibmacro{cite:ibid}}%
+ {\iffieldequalstr{entrysubtype}{classical}% Similar to notes+bib
+ {\iffieldundef{shorthand}%
+ {\ifthenelse{\ifnameundef{labelname}\OR
+ \iffieldequalstr{entrytype}{inreference}\OR
+ \iffieldequalstr{entrytype}{reference}}% Simplified for CMS
+ {\usebibmacro{cite:label}%
+ \setunit{\addspace}%
+ \usebibmacro{cite:reinit}}
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\iffieldundef{postnote}%
+ {\setunit{\compcitedelim}}%
+ {}%
+ \usebibmacro{cite:label}}
+ {\iffieldequals{namehash}{\cbx@lastyear}%
+ {}%
+ {\usebibmacro{cmsbracketname}% For names in []
+ \iffieldequalstr{entrytype}{customc}%
+ {\newcunit}%
+ {\setunit{\addspace}}}%
+ \usebibmacro{cite:label}%
+ \iffieldundef{postnote}%
+ {\savefield{namehash}{\cbx@lasthash}}%
+ {\savefield{namehash}{\cbx@lastyear}}}}}%
+ {\usebibmacro{cite:shorthand+title}}}
+ {\iffieldundef{shorthand}%
+ {\ifthenelse{\ifnameundef{labelname}\OR
+ \iffieldequalstr{entrytype}{inreference}\OR
+ \iffieldequalstr{entrytype}{reference}}% Simplified for CMS
+ {\usebibmacro{cite:label}%
+ \setunit{\addspace}%
+ \usebibmacro{cmscitesortdate}%
+ \usebibmacro{cite:reinit}}
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\iffieldundef{postnote}%
+ {\setunit{\compcitedelim}}%
+ {}%
+ \usebibmacro{cmscitesortdate}}
+ {\iffieldequals{namehash}{\cbx@lastyear}% Is this right?
+ {}%
+ {\usebibmacro{cmsbracketname}%
+ \setunit{\nameyeardelim}}%
+ \usebibmacro{cmscitesortdate}%
+ \iffieldundef{postnote}%
+ {\savefield{namehash}{\cbx@lasthash}}%
+ {\savefield{namehash}{\cbx@lastyear}}}}}%
+ {\usebibmacro{cite:shorthand}}}}%
+ \setunit{\multicitedelim}}% ???
+
+\newbibmacro*{cmsbracketname}{%
+ \iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{labelname}%
+ \bibrightbracket}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{labelname}?%
+ \bibrightbracket}%
+ {\printnames{labelname}}}}
+
+\newbibmacro*{citeyear}{%
+ \iffieldequalstr{entrysubtype}{classical}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{citeyear:noshort}}%
+ {\iftoggle{cms@los}%
+ {\usebibmacro{citeyear:noshort}}%
+ {\usebibmacro{cite:shorthand+title}}}}%
+ {\iffieldundef{shorthand}%
+ {\usebibmacro{citeyear:noshort}}%
+ {\iftoggle{cms@los}%
+ {\usebibmacro{citeyear:noshort}}%
+ {\usebibmacro{cite:shorthand}}}}%
+ \setunit{\multicitedelim}}
+
+\newbibmacro*{citeyear:noshort}{%
+ \iffieldequalstr{entrysubtype}{classical}% Altered for CMS
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\iffieldundef{postnote}%
+ {\setunit{\compcitedelim}}%
+ {}%
+ \usebibmacro{cite:label}}
+ {\usebibmacro{cite:label}%
+ \iffieldundef{postnote}%
+ {\savefield{namehash}{\cbx@lasthash}}%
+ {}}}
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\iffieldundef{postnote}%
+ {\setunit{\compcitedelim}}%
+ {}%
+ \usebibmacro{cmscitesortdate}}
+ {\usebibmacro{cmscitesortdate}%
+ \iffieldundef{postnote}%
+ {\savefield{namehash}{\cbx@lasthash}}%
+ {}}}}%
+
+\newbibmacro*{textcite}{%
+ \iftoggle{cms@los}%
+ {\usebibmacro{textcite:authshort}}%
+ {\usebibmacro{textcite:citeshort}}}
+
+\newbibmacro*{textcite:authshort}{%
+ \iffieldequals{namehash}{\cbx@lasthash}
+ {\iffieldundef{postnote}%
+ {\iffieldequals{namehash}{\cbx@lastyear}%
+ {\setunit{\multicitedelim}%
+ \global\undef\cbx@lastyear}%
+ {\setunit{\compcitedelim}}}%
+ {\setunit{\multicitedelim}}%
+ \iffieldequalstr{entrysubtype}{classical}%
+ {\usebibmacro{cite:label}}%
+ {\usebibmacro{cmscitesortdate}}}%
+ {\iffieldundef{shorthand}
+ {\ifthenelse{\ifnameundef{labelname}\OR
+ \iffieldequalstr{entrytype}{inreference}\OR
+ \iffieldequalstr{entrytype}{reference}}%
+ {\iffieldequalstr{entrysubtype}{classical}%
+ {\setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}%
+ {\usebibmacro{prenote}}
+ {}%
+ \usebibmacro{cite:label}}
+ {\usebibmacro{cite:label}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \usebibmacro{cmscitesortdate}}}
+ {\printnames{labelname}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \iffieldequalstr{entrysubtype}{classical}%
+ {\usebibmacro{cite:label}}
+ {\usebibmacro{cmscitesortdate}}%
+ \savefield{namehash}{\cbx@lasthash}}}
+ {\printfield{shorthand}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}%
+ {\usebibmacro{prenote}}%
+ {}%
+ \iffieldequalstr{entrysubtype}{classical}%
+ {\usebibmacro{cite:label}}
+ {\usebibmacro{cmscitesortdate}}%
+ \savefield{namehash}{\cbx@lasthash}}}%
+ \setunit{%
+ \ifbool{cbx:parens}%
+ {\bibcloseparen\global\boolfalse{cbx:parens}}%
+ {}%
+ \multicitedelim}}
+
+\newbibmacro*{textcite:citeshort}{%
+ \iffieldequals{namehash}{\cbx@lasthash}
+ {\iffieldundef{shorthand}
+ {\iffieldundef{postnote}%
+ {\iffieldequals{namehash}{\cbx@lastyear}%
+ {\setunit{\multicitedelim}%
+ \global\undef\cbx@lastyear}%
+ {\setunit{\compcitedelim}}}%
+ {\setunit{\multicitedelim}}%
+ \iffieldequalstr{entrysubtype}{classical}%
+ {\usebibmacro{cite:label}}%
+ {\usebibmacro{cmscitesortdate}}}
+ {\iffieldundef{postnote}%
+ {\iffieldequals{namehash}{\cbx@lastyear}%
+ {\setunit{\multicitedelim}%
+ \global\undef\cbx@lastyear}%
+ {\setunit{\compcitedelim}}}%
+ {\setunit{\multicitedelim}}%
+ \printtext[bibhyperref]{%
+ \printfield{shorthand}}}}%
+ {\ifthenelse{\ifnameundef{labelname}\OR
+ \iffieldequalstr{entrytype}{inreference}\OR
+ \iffieldequalstr{entrytype}{reference}}%
+ {\iffieldundef{shorthand}
+ {\iffieldequalstr{entrysubtype}{classical}%
+ {\setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}%
+ {\usebibmacro{prenote}}
+ {}%
+ \usebibmacro{cite:label}}
+ {\usebibmacro{cite:label}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \usebibmacro{cmscitesortdate}}}
+ {\printtext[bibhyperref]{%
+ \printfield{shorthand}}}}
+ {\printnames{labelname}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \iffieldundef{shorthand}
+ {\iffieldequalstr{entrysubtype}{classical}%
+ {\usebibmacro{cite:label}}
+ {\usebibmacro{cmscitesortdate}}}%
+ {\printtext[bibhyperref]{%
+ \printfield{shorthand}}}%
+ \savefield{namehash}{\cbx@lasthash}}}%
+ \setunit{%
+ \ifbool{cbx:parens}
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}%
+ \multicitedelim}}
+
+\newbibmacro*{textcite:postnote}{%
+ \iffieldundef{postnote}%
+ {}%
+ {\savefield{namehash}{\cbx@lastyear}%
+ \setunit{\postnotedelim}%
+ \printfield{postnote}}%
+ \ifthenelse{\value{multicitecount}=\value{multicitetotal}}%
+ {\setunit{}%
+ \printtext{%
+ \ifbool{cbx:parens}
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}}}%
+ {\setunit{%
+ \ifbool{cbx:parens}
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}%
+ \multicitedelim}}}
+
+\newbibmacro*{cite:shorthand}{%
+ \iftoggle{cms@los}%
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\printtext[bibhyperref]{%
+ \setunit{\compcitedelim}%
+ \usebibmacro{cmscitesortdate}}}
+ {\printtext[bibhyperref]{%
+ \printfield{shorthand}%
+ \setunit{\nameyeardelim}%
+ \usebibmacro{cmscitesortdate}}%
+ \savefield{namehash}{\cbx@lasthash}}}%
+ {\printtext[bibhyperref]{\printfield{shorthand}}%
+ \usebibmacro{cite:reinit}}}
+
+\newbibmacro*{cite:shorthand+title}{%
+ \iftoggle{cms@los}%
+ {\iffieldequals{namehash}{\cbx@lasthash}%
+ {\printtext[bibhyperref]{%
+ \setunit{\compcitedelim}%
+ \usebibmacro{cite:label}}}
+ {\printtext[bibhyperref]{%
+ \printfield{shorthand}%
+ \setunit{\nameyeardelim}%
+ \usebibmacro{cite:label}}%
+ \savefield{namehash}{\cbx@lasthash}}}%
+ {\printtext[bibhyperref]{\printfield{shorthand}}%
+ \usebibmacro{cite:reinit}}}
+
+\newbibmacro*{cite:label}{% Test this
+ \iffieldundef{label}%
+ {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}%
+ \AND\NOT\iffieldequalstr{entrytype}{periodical}}% Simplifies .bib creation
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}}}%
+ {\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}}}%
+ {\printtext[bibhyperref]{\printfield{label}}}}
+
+\newbibmacro*{cite:labelyear+extrayear}{%
+ \iffieldundef{labelyear}
+ {\ifboolexpr{
+ test {\iffieldequalstr{entrytype}{misc}}
+ or
+ test {\iffieldequalstr{entrytype}{inreference}}
+ or
+ test {\iffieldequalstr{entrytype}{reference}}
+ or
+ not togl {cms@nodates}
+ }%
+ {}%
+ {\printtext[bibhyperref]{\bibstring{nodate}}}}% For CMS?
+ {\printtext[bibhyperref]{%
+ \iffieldundef{year}%
+ {\iffieldundef{eventyear}
+ {\iffieldundef{origyear}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{urlendyear}%
+ {}%
+ {\iffieldequalstr{urlendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}%
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{origendyear}%
+ {}%
+ {\iffieldequalstr{origendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{eventendyear}%
+ {}%
+ {\iffieldequalstr{eventendyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}
+ {\printfield{labelyear}%
+ \iffieldundef{extrayear}%
+ {}%
+ {\setunit*{}%
+ \printfield{extrayear}}%
+ \iffieldundef{endyear}% DATE FIX
+ {}%
+ {\iffieldequalstr{endyear}{}%
+ {\mbox{\bibdatedash}}%
+ {}}}}}}
+
+\newbibmacro*{cmscitesortdate}{% Attempt to solve date-related problems
+ \ifboolexpr{%
+ test {\iffieldundef{origyear}}
+ or
+ not test {\iffieldint{origyear}}
+ }%
+ {\usebibmacro{cmsciteyear}}%
+ {\iffieldint{year}%
+ {\ifboolexpr{% Needed for date ranges
+ test {\iffieldundef{endyear}}%
+ or
+ not test {\iffieldnum{endyear}}
+ }%
+ {\ifthenelse{\thefield{origyear}>\thefield{year}}%
+ {\toggletrue{cms@switchdates}%
+ \usebibmacro{cmsciteyear}}%
+ {\usebibmacro{cmsciteyear}}}%
+ {\ifthenelse{\thefield{origyear}>\thefield{endyear}}%
+ {\toggletrue{cms@switchdates}%
+ \usebibmacro{cmsciteyear}}%
+ {\usebibmacro{cmsciteyear}}}}%
+ {\usebibmacro{cmsciteyear}}}}
+
+\newbibmacro*{cmsciteyear}{%
+ \iftoggle{cms@origlabel}%
+ {\usebibmacro{cite:origyear+labelyear}}%
+ {\iftoggle{cms@bothlabelnew}%
+ {\usebibmacro{cite:bothyear+newstyle}}%
+ {\iftoggle{cms@bothlabelold}%
+ {\usebibmacro{cite:bothyear+oldstyle}}%
+ {\iftoggle{cms@fulldate}%
+ {\newcunit\printdate}%
+ {\usebibmacro{cite:labelyear+extrayear}}}}}%
+ \ifcsdef{@cms@tempdate}%
+ {\toggletrue{\@cms@tempdate}}%
+ {}}
+
+\newbibmacro*{cite:origyear+labelyear}{%
+ \iftoggle{cms@switchdates}%
+ {\usebibmacro{cite:labelyear+extrayear}}
+ {\iffieldundef{origyear}%
+ {\usebibmacro{cite:labelyear+extrayear}}%
+ {\printtext[bibhyperref]{%
+ \printfield{origyear}}}}}
+
+\newbibmacro*{cite:bothyear+newstyle}{%
+ \iftoggle{cms@switchdates}%
+ {\usebibmacro{cite:labelyear+extrayear}/\printfield{origyear}}%
+ {\iffieldundef{origyear}%
+ {\usebibmacro{cite:labelyear+extrayear}}%
+ {\printtext[bibhyperref]{%
+ \printfield{origyear}/\printfield{labelyear}}}}}
+
+\newbibmacro*{cite:bothyear+oldstyle}{%
+ \iftoggle{cms@switchdates}%
+ {\printtext[bibhyperref]{%
+ \bibopenbracket%
+ \usebibmacro{cite:labelyear+extrayear}%
+ \bibclosebracket%
+ \addspace\printfield{origyear}}}%
+ {\iffieldundef{origyear}%
+ {\usebibmacro{cite:labelyear+extrayear}}%
+ {\printtext[bibhyperref]{%
+ \printfield[brackets]{origyear}%
+ \addspace\printfield{labelyear}}}}}
+
+\newbibmacro*{cite:save}{%
+ \savefield{entrykey}{\cbx@lastkey}}
+
+\newbibmacro*{cite:ibid}{%
+ \iftoggle{cms@noibid}%
+ {\blx@ibidreset%
+ \usebibmacro{cite}}%
+ {\toggletrue{cms@inlineibid}}}
+
+%%%% Citation Commands, internal and external %%%%
+
+\DeclareCiteCommand{\cite}
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {}%\multicitedelim
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand*{\cite}
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{citeyear}}
+ {}%\multicitedelim
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\parencite}[\mkbibparens]
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {}%\setunit{\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand*{\parencite}[\mkbibparens]
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{citeyear}}
+ {}%\setunit{\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\footcite}[\mkbibfootnote]
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {}%\multicitedelim
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\textcite}
+ {\usebibmacro{cite:init}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{textcite}}
+ {}
+ {\usebibmacro{textcite:postnote}}
+
+\DeclareMultiCiteCommand{\cites}{\cite}{\setunit{\multicitedelim}}
+
+\DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}%
+ {\setunit{\multicitedelim}}
+
+\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}%
+ {\setunit{\multicitedelim}}
+
+\DeclareMultiCiteCommand{\footcitetexts}[\mkbibfootnotetext]%
+ {\footcitetext}{\setunit{\multicitedelim}}
+
+\DeclareMultiCiteCommand{\textcites}{\textcite}{}
+
+\DeclareCiteCommand{\bibxrefcite}
+ {\usebibmacro{cite:init}}%\usebibmacro{clearalmostall}} (?)
+ {\usebibmacro{cms-in:}%
+ \blx@ibidreset% For authordate style
+ \usebibmacro{cite}}
+ {}
+ {}
+
+\DeclareCiteCommand{\origfullcite}
+ {\nopunct\unspace%
+ \savebibmacro{cmsbibsortdate}%
+ \renewbibmacro*{cmsbibsortdate}{}}%
+ {\usedriver
+ {\DeclareNameAlias{sortname}{default}\clearfield{postnote}
+ \clearname{author}\clearfield{userf}%\toggletrue{cms@fullnote}%
+ \toggletrue{cms@headlessnote}\frenchspacing}%
+ {\thefield{entrytype}}}%
+ {\multicitedelim}%
+ {\restorebibmacro{cmsbibsortdate}}
+
+\DeclareCiteCommand{\origpublcite}% Similar to above, w/o title.
+ {\nopunct\unspace%
+ \savebibmacro{cmsbibsortdate}%
+ \renewbibmacro*{cmsbibsortdate}{}}%
+ {\usedriver
+ {\DeclareNameAlias{sortname}{default}\clearfield{postnote}%
+ \usebibmacro{clearpublin}%
+ \toggletrue{cms@headlessnote}%\toggletrue{cms@fullnote}%
+ \toggletrue{cms@origpublished}\frenchspacing}%
+ {\thefield{entrytype}}}%
+ {\multicitedelim}%
+ {\restorebibmacro{cmsbibsortdate}}
+
+%%%% List Formats %%%%
+
+\DeclareListFormat{language}{%
+ \ifthenelse{\value{listcount}=1}%
+ {\bibleftbracket\bibstring{inlang}\addspace%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}%
+ \ifthenelse{\value{listtotal}=1}%
+ {\bibrightbracket}%
+ {}}%
+ {\ifthenelse{\value{listcount}=\value{listtotal}}%
+ {\multilangdelim%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}%
+ \bibrightbracket}%
+ {\multilangdelim%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}}}%
+ \usebibmacro{langlist:andothers}}
+
+\DeclareListFormat{publisher}{%
+ \ifthenelse{\value{listtotal}<2}%
+ {#1\isdot}%
+ {\ifthenelse{\value{listcount}=1}%
+ {#1}%
+ {\multipubsdelim #1\isdot}}}
+
+\DeclareListFormat{periodplace}{\mkbibparens{#1}}
+
+\DeclareListFormat{lista}{%
+ \ifthenelse{\value{listtotal}<2}
+ {s\adddot v\adddot\addspace\mkbibquote{#1\isdot}}%
+ {\ifthenelse{\value{listcount}=1}%
+ {s\adddot vv\adddot\addspace \mkbibquote{#1\isdot}\addcomma}%
+ {\ifthenelse{\value{listcount}<\value{listtotal}}%
+ {\addspace\mkbibquote{#1\isdot}\addcomma}%
+ {\addspace\mkbibquote{#1\isdot}}}}}
+
+%%%% Field Formats -- Title, Citetitle, Lostitle %%%%
+
+\DeclareFieldFormat[article]{title}{%
+ \iffieldundef{title}%
+ {}%
+ {\MakeSentenceCase*{#1}}}
+
+\DeclareFieldAlias[article]{citetitle}[article]{lostitle}
+
+\DeclareFieldFormat[article]{lostitle}{\MakeSentenceCase*{#1}}
+
+\DeclareFieldFormat[artwork]{title}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\MakeSentenceCase*{#1}\isdot}}
+
+\DeclareFieldAlias[artwork]{citetitle}[artwork]{title}
+
+\DeclareFieldFormat[artwork]{lostitle}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\MakeSentenceCase*{#1}\isdot}}
+
+\DeclareFieldFormat[book]{title}{%
+ \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+
+\DeclareFieldAlias[book]{citetitle}[book]{title}
+
+\DeclareFieldFormat[book]{lostitle}{%
+ \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+
+\DeclareFieldAlias[bookinbook]{title}[book]{title}
+
+\DeclareFieldAlias[bookinbook]{citetitle}[book]{title}
+
+\DeclareFieldAlias[bookinbook]{lostitle}[book]{lostitle}
+
+\DeclareFieldAlias[collection]{title}[book]{title}
+
+\DeclareFieldAlias[collection]{citetitle}[book]{title}
+
+\DeclareFieldAlias[collection]{lostitle}[book]{lostitle}
+
+\DeclareFieldFormat[periodical]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[periodical]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[periodical]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldAlias[image]{title}[article]{title}
+
+\DeclareFieldAlias[image]{citetitle}[article]{title}
+
+\DeclareFieldAlias[image]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[incollection]{title}[article]{title}% Change article?
+
+\DeclareFieldAlias[incollection]{citetitle}[article]{title}
+
+\DeclareFieldAlias[incollection]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[inreference]{title}[book]{title}
+
+\DeclareFieldAlias[inreference]{citetitle}[book]{title}
+
+\DeclareFieldAlias[inreference]{lostitle}[book]{lostitle}
+
+\DeclareFieldAlias[reference]{title}[book]{title}
+
+\DeclareFieldAlias[reference]{citetitle}[book]{title}
+
+\DeclareFieldAlias[reference]{lostitle}[book]{lostitle}
+
+\DeclareFieldFormat[letter]{title}{#1\isdot}
+
+\DeclareFieldFormat[letter]{citetitle}{#1\isdot}
+
+\DeclareFieldFormat[letter]{lostitle}{#1\isdot}
+
+\DeclareFieldAlias[inproceedings]{title}[article]{title}% As above
+
+\DeclareFieldAlias[inproceedings]{citetitle}[article]{title}
+
+\DeclareFieldAlias[inproceedings]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[thesis]{title}[article]{title}
+
+\DeclareFieldAlias[thesis]{citetitle}[article]{title}
+
+\DeclareFieldAlias[thesis]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[patent]{title}[article]{lostitle}
+
+\DeclareFieldAlias[patent]{citetitle}[article]{title}
+
+\DeclareFieldAlias[patent]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[unpublished]{title}[article]{title}
+
+\DeclareFieldAlias[unpublished]{citetitle}[article]{title}
+
+\DeclareFieldAlias[unpublished]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat{postnote}{% Removed \isdots -- required
+ \iffieldundef{pagination}% elsewhere also?
+ {#1}%
+ {\mkpageprefix[pagination]{#1}}}
+
+\DeclareFieldFormat[inreference]{postnote}{%
+ \iffieldundef{pagination}%
+ {s\adddot v\adddot\addspace\mkbibquote{#1}}
+ {\mkpageprefix[pagination]{#1}}}% Removed \isdots here, also.
+
+\DeclareFieldFormat{pages}{%
+ \iffieldundef{bookpagination}%
+ {#1\isdot}%
+ {\mkpageprefix[bookpagination]{#1\isdot}}}
+
+\DeclareFieldFormat{bibnote}{\MakeCapital{#1}}
+
+\DeclareFieldFormat{edlang}{%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{ed#1}
+ {\bibstring{ed#1}}
+ {\ifcapital{\MakeCapital{#1}}{#1}}}}
+
+\DeclareFieldAlias[inbook]{title}[article]{title}
+
+\DeclareFieldAlias[inbook]{citetitle}[article]{title}
+
+\DeclareFieldAlias[inbook]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat[suppbook]{title}{%
+ \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+
+\DeclareFieldAlias[suppbook]{citetitle}[suppbook]{lostitle}
+
+\DeclareFieldFormat[suppbook]{lostitle}{%
+ \usebibmacro{inforaft}%
+ \addspace%
+ \mkbibemph{\MakeSentenceCase*{#1}}\isdot}
+
+\DeclareFieldFormat[customc]{title}{%
+ \iffieldundef{nameaddon}%
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ #1}%
+ {#1}}
+
+\DeclareFieldFormat[customc]{citetitle}{%
+ \ifnameundef{author}%
+ {#1}
+ {\iffieldundef{nameaddon}%
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ #1}%
+ {\printfield{nameaddon}\addspace #1}}}
+
+\DeclareFieldAlias[suppcollection]{title}[suppbook]{title}
+
+\DeclareFieldAlias[suppcollection]{citetitle}[suppbook]{lostitle}
+
+\DeclareFieldAlias[suppcollection]{lostitle}[suppbook]{lostitle}
+
+\DeclareFieldAlias[booklet]{title}[book]{title}
+
+\DeclareFieldAlias[booklet]{citetitle}[book]{citetitle}
+
+\DeclareFieldAlias[booklet]{lostitle}[book]{lostitle}
+
+\DeclareFieldAlias[manual]{title}[book]{title}
+
+\DeclareFieldAlias[manual]{citetitle}[book]{title}
+
+\DeclareFieldAlias[manual]{lostitle}[book]{lostitle}
+
+\DeclareFieldAlias[report]{title}[book]{title}
+
+\DeclareFieldAlias[report]{citetitle}[book]{title}
+
+\DeclareFieldAlias[report]{lostitle}[book]{lostitle}
+
+\DeclareFieldFormat[misc]{title}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\ifcapital{\MakeCapital{#1\isdot}}%
+ {#1\isdot}}}
+
+\DeclareFieldAlias[misc]{citetitle}[misc]{title}
+
+\DeclareFieldAlias[misc]{lostitle}[misc]{title}
+
+\DeclareFieldFormat[review]{title}{%
+ \ifcapital{\MakeCapital{#1\isdot}}%
+ {#1\isdot}}
+
+\DeclareFieldAlias[review]{lostitle}[review]{title}
+
+\DeclareFieldAlias[review]{citetitle}[review]{title}
+
+\DeclareFieldAlias[suppperiodical]{title}[review]{title}
+
+\DeclareFieldAlias[suppperiodical]{citetitle}[review]{title}
+
+\DeclareFieldAlias[suppperiodical]{lostitle}[review]{title}
+
+\DeclareFieldAlias[online]{title}[article]{title}
+
+\DeclareFieldAlias[online]{citetitle}[article]{title}
+
+\DeclareFieldAlias[online]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat{booktitle}{\mkbibemph{\MakeSentenceCase*{#1}}}
+
+\DeclareFieldFormat{maintitle}{\mkbibemph{\MakeSentenceCase*{#1}}}
+
+\DeclareFieldFormat[video]{title}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\MakeSentenceCase*{#1}\isdot}}
+
+\DeclareFieldFormat[video]{citetitle}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\MakeSentenceCase*{#1}\isdot}}
+
+\DeclareFieldFormat[video]{lostitle}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{\MakeSentenceCase*{#1}}\isdot}%
+ {\MakeSentenceCase*{#1}\isdot}}
+
+\DeclareFieldAlias[music]{title}[video]{title}
+
+\DeclareFieldAlias[music]{citetitle}[video]{citetitle}
+
+\DeclareFieldAlias[music]{lostitle}[video]{lostitle}
+
+\DeclareFieldAlias[audio]{title}[video]{title}
+
+\DeclareFieldAlias[audio]{citetitle}[video]{citetitle}
+
+\DeclareFieldAlias[audio]{lostitle}[video]{lostitle}
+
+%%%% Other Field Formats %%%%
+
+\DeclareNumChars*{:}%
+
+\DeclareFieldFormat{letterday}{\mkbibcurdinal{#1}}
+
+\DeclareFieldFormat{note}{%
+ \ifcapital{\MakeCapital{#1}}{#1}}%
+
+\DeclareFieldFormat[suppbook]{type}{%
+ \ifbibstring{#1}%
+ {\bibstring{#1}}%
+ {\ifcapital%
+ {\MakeCapital{#1}}%
+ {#1}}}
+
+\DeclareFieldFormat[artwork]{type}{%
+ \ifcapital%
+ {\MakeCapital{#1}}%
+ {#1}}
+
+\DeclareFieldAlias[image]{type}[artwork]{type}
+
+\DeclareFieldAlias[suppcollection]{type}[suppbook]{type}
+
+\DeclareFieldAlias[video]{type}[suppbook]{type}
+
+\DeclareFieldAlias[music]{type}[suppbook]{type}
+
+\DeclareFieldAlias[audio]{type}[suppbook]{type}
+
+\DeclareFieldFormat{url}{\url{#1}}
+
+\DeclareFieldFormat{doi}{%
+ \textrm{doi}\addcolon
+ \ifhyperref
+ {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
+
+\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1\bibsentence}}% ?!
+
+\DeclareFieldFormat[customc]{nameaddon}{% For cross-refs
+ \ifbibstring{#1}%
+ {\mkbibemph{\bibstring{#1}}}%
+ {#1}}%
+
+\DeclareFieldFormat{edition}{% New in 0.8
+ \ifinteger{#1}
+ {\mkbibordinal{#1}~\bibstring{edition}}%
+ {\ifcapital
+ {\MakeCapital{#1\isdot}}%
+ {#1\isdot}}}
+
+\DeclareFieldFormat{usere}{[#1]} % Better than mkbibbrackets?
+
+\DeclareFieldFormat{titleaddon}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}%\custpunctc?
+
+\DeclareFieldAlias{booktitleaddon}{titleaddon}
+
+\DeclareFieldAlias{maintitleaddon}{titleaddon}
+
+\DeclareFieldFormat{issuetitle}{\MakeSentenceCase*{#1\isdot}}
+
+\DeclareFieldFormat{jourser}{%
+ \ifinteger{#1}%
+ {\mkbibordinal{#1}%
+ \addnbspace%
+ \bibstring{jourser}}%
+ {\ifbibstring{#1}{\bibstring{#1}}{#1}}}
+
+\DeclareFieldFormat{journum}{% Revised for 0.9.5
+ \ifboolexpr{%
+ test {\ifnumerals{#1}}
+ and
+ not test {\ifnumeral{#1}}
+ }%
+ {\bibstring{numbers}\addspace #1}%
+ {\bibstring{number}\addspace #1}}
+
+\DeclareFieldFormat{sernum}{%
+ \ifnumeral{#1}%
+ {\addnbspace #1}%
+ {\addcomma\addspace #1}}
+
+\DeclareFieldFormat{addendum}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}
+
+% This works better here than in the entrytail macro -- userf use is
+% no longer a problem, though the page breaking still isn't ideal.
+
+\DeclareFieldFormat{annotation}{\par\nobreak \vskip \bibitemsep #1}
+
+\DeclareFieldFormat{part}{\addcomma\bibstring{partvolume}~#1}
+
+\DeclareFieldAlias[review]{volume}[article]{volume}
+
+\DeclareFieldAlias[suppperiodical]{volume}[article]{volume}
+
+%%%% Commands, for users and internal %%%%
+
+\newcommand*{\cbytypeeditor}{%
+ \iffieldundef{editortype}
+ {\bibstring{cbytypeeditor}}
+ {\bibstring{cbytype\thefield{editortype}}}}
+
+\renewcommand*{\multicitedelim}{\addsemicolon\space}
+
+\renewcommand*{\nameyeardelim}{%
+ \iffieldundef{origyear}% Is this test correct?
+ {\iffieldundef{year}%
+ {\addspace}
+ {\NumCheckSetup{\renewcommand{\mkbibbrackets}{\expandonce}%
+ \DeclareNumChars*{[?]s}}% For bracketed dates, and decades.
+ \iffieldnums{year}% This one works.
+ {\addspace}%
+ {\iffieldequalstr{year}{\bibstring{nodate}}% This also works.
+ {\addspace}
+ {\addcomma\addspace}}}}%
+ {\addspace}}
+
+\newcommand{\classicpunct}{%
+ \ifthenelse{\iffieldequalstr{entrysubtype}{classical}\OR%
+ \iffieldequalstr{entrytype}{letter}}%
+ {\setunit*{\addspace}}%
+ {\setunit*{\addcomma\addspace}}}
+
+\newcommand{\parttrans}{%
+ {\bibstring{cbytranslator}\space}}%
+
+\newcommand{\partedit}{%
+ \iftoggle{cms@postposit}% Kludge to make it work in French.
+ {\bibstring{cbyeditoralt}\addspace}%
+ {\bibstring{cbyeditor}\addspace}}%
+
+\newcommand{\partcomp}{%
+ {\bibstring{cbycompiler}\space}}%
+
+\newcommand{\parteditandcomp}{%
+ {\bibstring{cbyeditorcp}\space}}%
+
+\newcommand{\parttransandcomp}{%
+ {\bibstring{cbytranslatorcp}\space}}%
+
+\newcommand{\partedittransandcomp}{%
+ {\bibstring{cbyeditortrcp}\space}}%
+
+\newcommand{\parteditandtrans}{%
+ {\bibstring{cbyeditortr}\space}}%
+
+\newcommand{\reprint}{\bibstring{reprint}}%
+
+\newcommand*{\multipubsdelim}{\addnbspace/\addspace}
+
+\newcommand*{\multilocsdelim}{%
+ \ifthenelse{\value{listcount}<\value{liststop}}%
+ {\ifthenelse{\numexpr\value{listcount}+1<\value{liststop}}%
+ {\addcomma\addspace}%
+ {\ifthenelse{\value{liststop}>2}%
+ {\addcomma\addspace\bibstring{and}\addspace}%
+ {\addspace\bibstring{and}\addspace}}}%
+ {}}
+
+\newcommand*{\multilangdelim}{%
+ \ifthenelse{\value{listtotal}<3}%
+ {\addspace\bibstring{and}\addspace}%
+ {\ifthenelse{\value{listcount}<\value{listtotal}}%
+ {\addcomma\addspace}%
+ {\addcomma\addspace\bibstring{and}\addspace}}}
+
+\renewcommand*{\postnotedelim}{%
+ \iftoggle{cms@inlineibid}%
+ {\togglefalse{cms@inlineibid}}%
+ {\iffieldequalstr{entrysubtype}{classical}% For Notes+Bib, too?
+ {\NumCheckSetup{\DeclareNumChars*{abcdeABCDE}}%
+ \iffieldpages{postnote}%
+ {\addspace}%
+ {\addcomma\addspace}}%
+ {\addcomma\addspace}}}
+
+\newcommand*{\editordelim}{% Otherwise you get an inaccurate comma.
+ \iffieldequalstr{editortype}{none}%
+ {\addperiod\addspace}%
+ {\addcomma\addspace}}
+
+\newcommand*{\lbx@cfromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{cfrom\thefield{origlanguage}}}}%
+ {\unspace}}
+
+\@ifpackagelater{biblatex}{2011/11/12}
+{\renewcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}
+{\@ifpackagelater{biblatex}{2011/07/28}
+ {\newcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}%
+ {\renewcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}}
+
+\renewcommand*{\lbx@lfromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\biblstring{from\thefield{origlanguage}}}}%
+ {\unspace}}
+
+\renewcommand*{\lbx@sfromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibsstring{from\thefield{origlanguage}}}}%
+ {\unspace}}
+
+%%%% Formatting macros, called both by cbx and bbx %%%%
+
+\newbibmacro*{finentry}{%{\finentry} To make annotated bibliography
+ \ifbibliography
+ {\usebibmacro{entrytail}}
+ {}%
+ \finentry}
+
+\newbibmacro*{entrytail}{% From reading.bbx, for annotated bibliography
+ \newunit\newblock
+ \iftoggle{cms@annotation}
+ {\usebibmacro{annotation}%
+ \newunit\newblock}
+ {}}%
+
+\newbibmacro*{author+holder}{%
+ \ifnameundef{author}
+ {}
+ {\usebibmacro{author/editor}%
+ \ifthenelse{\ifnameundef{holder}\OR
+ \ifnamesequal{author}{holder}}
+ {}
+ {\setunit{\addspace}%
+ \printtext[parens]{\printnames{holder}}}}}
+
+\renewbibmacro*{byauthor}{%
+ \ifthenelse{\ifuseauthor\OR
+ \ifnameundef{author}}
+ {}
+ {\bibstring{by}\addspace
+ \printnames[byauthor]{author}}}
+
+\newbibmacro*{byauthorpunct}{%
+ \ifthenelse{\ifuseauthor\OR\ifnameundef{author}}%
+ {\addperiod\addspace}%
+ {\newcunit}}
+
+\renewbibmacro*{bybookauthor}{%
+ \ifnameundef{bookauthor}
+ {}
+ {\ifnamesequal{author}{bookauthor}
+ {}
+ {\bibstring{by}\addspace\printnames[default]{bookauthor}%
+ \newcunit\newblock}}}
+
+\newbibmacro*{editorpunct}{%
+ \ifthenelse{\(\iffieldundef{booktitle}\AND\iffieldundef{maintitle}\)%
+ \OR\iffieldsequal{booktitle}{title}% Changed these for crossrefed
+ \OR\iffieldsequal{maintitle}{title}}% entries. Create problems?
+ {\iffieldequalstr{entrytype}{video}%
+ {\newcunit\newblock}%
+ {\newunit\newblock}}%
+ {\newcunit\newblock}}
+
+\newbibmacro*{edition}{%
+ \printfield{edition}%
+ \clearfield{edition}}%
+
+\newbibmacro*{inforaft}{%
+ \ifnameundef{introduction}%
+ {\ifnameundef{afterword}%
+ {\ifnameundef{foreword}%
+ {\printfield{type}}%
+ {\bibstring{forewordto}%
+ \clearname{foreword}}}%
+ {\bibstring{afterwordto}%
+ \clearname{afterword}}}%
+ {\bibstring{introductionto}%
+ \clearname{introduction}}}
+
+\newbibmacro*{langlist:andothers}{%
+ \ifthenelse{\value{listcount}=\value{liststop}\AND
+ \ifmoreitems}
+ {\ifnum\value{liststop}>1 \finalandcomma\fi
+ \andmoredelim\bibstring{andmore}\bibrightbracket}
+ {}}
+
+\newbibmacro*{reference+title}{%
+ \ifthenelse{\iffieldequals{title}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}%
+ {\bibnamedash\addperiod\addspace}%
+ {\usebibmacro{italtitle+stitle}%
+ \savefield{title}{\bbx@lasthash}}}
+
+\newbibmacro*{mag+news+author}{%
+ \ifnameundef{author}%
+ {\ifthenelse{\iffieldequals{journaltitle}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}%
+ {\bibnamedash\addperiod\addspace}%
+ {\usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \savefield{journaltitle}{\bbx@lasthash}}}%
+ {\usebibmacro{author}}}
+
+\newbibmacro*{cmag+news+author}{%
+ \ifnameundef{author}%
+ {\usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}}%
+ {\usebibmacro{author}}}
+
+\newbibmacro*{type+inst+year}{%
+ \printfield{type}
+ \newcunit
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \printfield{year}}
+
+\newbibmacro*{institution+organization}{%
+ \iflistundef{organization}%
+ {\iflistundef{institution}%
+ {}%
+ {\printlist{institution}}}%
+ {\printlist{organization}%
+ \newcunit%
+ \printlist{institution}}}
+
+\newbibmacro*{author+org}{%
+ \ifnameundef{author}%
+ {\ifnameundef{editor}%
+ {\iflistundef{organization}%
+ {}%
+ {\ifboolexpr{
+ test {\iflistequals{organization}{\bbx@lasthash}}
+ and
+ not test {\iffirstonpage}
+ }%
+ {\bibnamedash\addperiod\addspace}%
+ {\printlist{organization}%
+ \savelist{organization}{\bbx@lasthash}}}}%
+ {\usebibmacro{editor}}}%
+ {\usebibmacro{author/editor}}}
+
+\newbibmacro*{cbytypestrg}[2]{%
+ \iffieldundef{#1type}
+ {\bibstring{cby#2}}
+ {\bibstring{cby\thefield{#1type}}}}
+
+\newbibmacro*{cbyeditor}{%
+ \ifnameundef{editor}
+ {}
+ {\usebibmacro{cbytypestrg}{editor}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \newcunit}%
+ \usebibmacro{cbyeditorx}}
+
+\newbibmacro*{cbyeditorx}{%
+ \ifnameundef{editora}
+ {}
+ {\usebibmacro{cbytypestrg}{editora}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditora]{editora}%
+ \newcunit}%
+ \ifnameundef{editorb}
+ {}
+ {\usebibmacro{cbytypestrg}{editorb}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorb]{editorb}%
+ \newcunit}%
+ \ifnameundef{editorc}
+ {}
+ {\usebibmacro{cbytypestrg}{editorc}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorc]{editorc}%
+ \newcunit}}
+
+\newbibmacro*{cbytranslator}{%
+ \ifnameundef{translator}
+ {}
+ {\bibstring{cbytranslator}%
+ \addspace
+ \printnames[bytranslator]{translator}}}
+
+\newbibmacro*{cbycompiler}{%
+ \ifnameundef{namec}
+ {}
+ {\bibstring{cbycompiler}\addspace
+ \printnames[bycompiler]{namec}}}
+
+\newbibmacro*{cbyredactor}{%
+ \ifnameundef{redactor}
+ {}
+ {\bibstring{cbyredactor}\addspace
+ \printnames[byredactor]{redactor}}}
+
+\newbibmacro*{cwithcommentator}{%
+ \ifnameundef{commentator}
+ {}
+ {\bibstring{withcommentator}\addspace
+ \printnames[withcommentator]{commentator}}}
+
+\newbibmacro*{cwithannotator}{%
+ \ifnameundef{annotator}
+ {}
+ {\bibstring{withannotator}\addspace
+ \printnames[withannotator]{annotator}}}
+
+\newbibmacro*{cwithintroduction}{%
+ \ifnameundef{introduction}
+ {}
+ {\bibstring{withintroduction}\addspace
+ \printnames[withintroduction]{introduction}}}
+
+\newbibmacro*{cwithforeword}{%
+ \ifnameundef{foreword}
+ {}
+ {\bibstring{withforeword}\addspace
+ \printnames[withforeword]{foreword}}}
+
+\newbibmacro*{cwithafterword}{%
+ \ifnameundef{afterword}
+ {}
+ {\bibstring{withafterword}\addspace
+ \printnames[withafterword]{afterword}}}
+
+\newbibmacro*{cbyeditor+others}{%
+ \ifthenelse{\NOT\ifnameundef{editor}\AND
+ \(\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}\)}
+ {\def\@tempa{cbyeditor}%
+ \ifnamesequal{editor}{translator}
+ {\edef\@tempa{\@tempa tr}%
+ \clearname{translator}}
+ {}%
+ \ifnamesequal{editor}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{editor}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{editor}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{editor}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{editor}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{editor}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \newcunit%
+ \usebibmacro{cbyeditorx}}%
+ {\usebibmacro{cbyeditor}}%
+ \usebibmacro{cbytranslator+others}}
+
+\newbibmacro*{cbytranslator+others}{%
+ \ifnameundef{translator}
+ {}
+ {\def\@tempa{cbytranslator}%
+ \ifnamesequal{translator}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{translator}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{translator}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{translator}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{translator}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{translator}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bytranslator]{translator}%
+ \clearname{translator}%
+ \newcunit}%
+ \usebibmacro{cbycompiler+others}}
+
+\newbibmacro*{cbycompiler+others}{%
+ \ifnameundef{namec}
+ {}
+ {\def\@tempa{cbycompiler}%
+ \ifnamesequal{namec}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{namec}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{namec}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{namec}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{namec}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bycompiler]{namec}%
+ \clearname{namec}%
+ \newcunit}%
+ \usebibmacro{cbyothers}}
+
+\newbibmacro*{cbyothers}{%
+ \usebibmacro{cbytranslator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cbycompiler}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cbyredactor}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithcommentator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithannotator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithintroduction}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithforeword}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithafterword}}
+
+\newbibmacro*{cms-in:}{% Fix for 0.9a compat.
+ \iftoggle{cms@origpublished}%
+ {}%
+ {\bibstring{in}%
+ \setunit{\addspace}}}
+
+\newbibmacro*{alt-in:}{%
+ \iffieldundef{booktitle}%
+ {}
+ {\bibstring{in}%
+ \setunit{\addspace}}}
+
+\newbibmacro*{chapincoll}{%
+ \iffieldundef{chapter}%
+ {}
+ {\printfield{chapter}\addspace}}
+
+\newbibmacro*{chapinscore}{%
+ \iffieldundef{chapter}%
+ {}
+ {\printfield{chapter}%
+ \addspace\bibstring{of}\setunit{\addspace}}}
+
+\newbibmacro*{music+ser+num}{%
+ \iffieldundef{series}%
+ {\iffieldundef{number}%
+ {}%
+ {\printfield{number}}}
+ {\printfield{series}%
+ \setunit{\addspace}%
+ \printfield{number}}}%
+
+\newbibmacro*{music+publisher}{%
+ \iffieldundef{howpublished}%
+ {\iffieldundef{pubstate}%
+ {\newcunit}%
+ {\printfield{pubstate}\setunit{\addspace}}}%
+ {\printfield{howpublished}\setunit{\addspace}}}%
+
+\newbibmacro*{ser+num}{%
+ \printfield{series}%
+ \printfield[sernum]{number}%
+ \newunit}
+
+\newbibmacro*{italtitle+stitle}{%
+ \printtext{%
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[title]{subtitle}}%
+ \newunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock}
+
+\newbibmacro*{mag+news+title}{%
+ \printtext{%
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[title]{subtitle}}%
+ \newunit%\setunit{\addcomma\addspace}
+ \printfield{titleaddon}%
+ }%\newcunit\newblock
+
+\newbibmacro*{language+transtitle}{%
+ \iffieldundef{usere}%
+ {\printlist[][-\value{listtotal}]{language}}%
+ {\printfield{usere}}}
+
+\newbibmacro*{issuetitle}{%
+ \iffieldundef{issuetitle}%
+ {}
+ {\ifthenelse{\iffieldequalstr{entrytype}{article}\OR%
+ \iffieldequalstr{entrytype}{review}\OR%
+ \iffieldequalstr{entrytype}{suppperiodical}}% This test is for
+ {\usebibmacro{cms-in:}}% periodical entries
+ {}%
+ \printtext{%
+ \printfield{issuetitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[issuetitle]{issuesubtitle}}}}
+
+\newbibmacro*{btitle+bstitle}{%
+ \iffieldundef{booktitle}
+ {}
+ {\printtext{%
+ \printfield{booktitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[booktitle]{booksubtitle}}%
+ \newcunit
+ \printfield{booktitleaddon}}}
+
+\newbibmacro*{publ+loc+year}{%
+ \printlist{location}%
+ \iflistundef{publisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\addspace}
+ \usebibmacro{date}% For the author-date style. Tricky.
+}%
+
+\newbibmacro*{origpubl+loc+year}{% 16th ed.
+ \printlist{origlocation}%
+ \iflistundef{origpublisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{origpublisher}%
+% \setunit*{\addcomma\addspace}%
+% \usebibmacro{cmsorigdate}%
+}
+
+\newbibmacro*{howpubl+loc+year}{%
+ \printlist{location}%
+ \iffieldundef{howpublished}%
+ {\setunit*{\addcomma\space}}%
+ {\setunit*{\addcolon\space}}%
+ \printfield{howpublished}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+}%
+
+\newbibmacro*{inst+loc+year}{%
+ \printlist{location}%
+ \iflistundef{institution}%
+ {\setunit*{\addcomma\space}}%
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+}%
+
+\newbibmacro*{originally+published+as}{% Punctuation fix now in
+ \iffieldundef{userf}% \origfullcite for 0.8e.
+ {\iffieldundef{reprinttitle}%
+ {}
+ {\bibstring{origpublin}%
+ \origpublcite{\thefield{reprinttitle}}%
+ \newunit}}
+ {\iffieldundef{origlanguage}%
+ {\bibstring{origpub}%
+ \origfullcite{\thefield{userf}}
+ \newunit}%
+ {\iftoggle{cms@postposit}%
+ {\bibstring{origedition}%
+ \setunit{\addspace}%
+ \printfield[edlang]{origlanguage}%
+ \addcolon%
+ \origfullcite{\thefield{userf}}%
+ \newunit}%
+ {\printfield[edlang]{origlanguage}%
+ \setunit{\addspace}%
+ \bibstring{origedition}%
+ \origfullcite{\thefield{userf}}
+ \newunit}}}}
+
+\newbibmacro*{org+publ+loc+year}{% What was wrong with \ifthenelse here?
+ \printlist{location}%
+ \iflistundef{organization}%
+ {\iflistundef{publisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{organization}%
+ \setunit*{\addcomma\space}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{date}}
+
+\newbibmacro*{year+in+parens}{%
+ \iffieldundef{volume}%
+ {noformat}%
+ {parens}}
+
+\newbibmacro*{letter+date}{% New for 0.9
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
+ \iftoggle{cms@switchdates}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {}%
+ {\cms@datelongalt}}%
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}}%
+ {}%
+ {\cms@datelong}}}
+
+\newbibmacro*{unpubl+letter+date}{% For the Misc type.
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
+ \iftoggle{cms@switchdates}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {}%
+ {\cms@datelongalt}}%
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}}%
+ {\printdate}% For interviews and other dated non-letters
+ {\cms@datelong}}}
+
+\newbibmacro*{cmsbookdate}{%
+ \ifthenelse{\iffieldundef{year}\AND\iffieldundef{origyear}}%
+ {\newunit}%
+ {\iftoggle{cms@switchdates}%
+ {\iffieldundef{origyear}%
+ {\newunit}%
+ {\newcunit\printorigdate}}%
+ {\iffieldundef{year}%
+ {\newunit}%
+ {\newcunit\printdate}}}}
+
+\renewbibmacro*{date}{% Adding the test solved some issues in 0.9 with
+ \iftoggle{cms@switchdates}
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}
+ \AND\iffieldundef{origday}}%
+ {}%
+ {\printorigdate}}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}
+ \AND\iffieldundef{day}}% punctuation in some entry types (Misc). The
+ {}% whole \printdate thing may need further work.
+ {\printdate}}}
+
+\newcommand*{\cms@datelong}{% Modified for 0.9
+ \iffieldundef{origmonth}%
+ {\printfield{origyear}}%
+ {\printfield[letterday]{origday}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{origmonth}}\setunit{\nobreakspace}%
+ \printfield{origyear}}}%
+
+\newcommand*{\cms@datelongalt}{% Modified for 0.9
+ \iffieldundef{month}%
+ {\printfield{year}}%
+ {\printfield[letterday]{day}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{month}}\setunit{\nobreakspace}%
+ \printfield{year}}}%
+
+\newcommand*{\letterdatelong}{% Modified for 0.9
+ \iftoggle{cms@switchdates}% This one for users
+ {\iffieldundef{year}% Previous two for internal use
+ {}%
+ {\iffieldundef{month}%
+ {\printfield{year}}%
+ {\printfield[letterday]{day}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{month}}\setunit{\nobreakspace}%
+ \printfield{year}}}}%
+ {\iffieldundef{origyear}%
+ {}%
+ {\iffieldundef{origmonth}%
+ {\printfield{origyear}}%
+ {\printfield[letterday]{origday}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{origmonth}}\setunit{\nobreakspace}%
+ \printfield{origyear}}}}}%
+
+\newbibmacro*{cjournal+ser+vol+num}{%
+ \usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newcunit
+ \printfield[jourser]{series}%
+ \newcunit}%\setunit*{\addspace}?
+ \ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {\iffieldundef{volume}%
+ {\newcunit%
+ \printfield[journum]{number}%
+ \clearfield{number}%
+ \setunit{\addcomma\addspace}}
+ {\printfield[jourvol]{volume}%
+ \setunit{\addcomma\addspace}}}%
+ {\printfield[jourvol]{volume}%
+ \newcunit%
+ \printfield[journum]{number}%
+ \clearfield{number}%
+ \setunit{\addcomma\addspace}}% need * here?
+ \printfield{eid}%
+ \newunit}
+
+\newbibmacro*{cperiodical+ser+vol+num}{% For periodical entries,
+ \printtext{% article subtype
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newcunit
+ \printfield[jourser]{series}%
+ \newcunit}%\setunit*{\addspace}?
+ \ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {\printfield[jourvol]{volume}%
+ \setunit{\addcomma\addspace}}%
+ {\printfield[jourvol]{volume}%
+ \setunit{\addcomma\addspace}% need * here?
+ \printfield[journum]{number}%
+ \clearfield{number}%
+ \setunit{\addcomma\addspace}}%
+ \printfield{eid}%
+ \newunit}
+
+\newbibmacro*{journal+sub}{%
+ \iffieldundef{journaltitle}
+ {}
+ {\printtext[journaltitle]{%
+ \printfield[noformat]{journaltitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{journalsubtitle}}}}
+
+\newbibmacro*{url+date}{% Changed for 0.9
+ \printfield{url}%
+ \ifthenelse{\iffieldundef{urlyear}\AND\iffieldundef{urlmonth}}%
+ {}%
+ {\setunit{\addspace}%
+ \printtext[urldate]{\printurldate}}}
+
+\newbibmacro*{chap+pag}{%
+ \printfield{chapter}%
+ \setunit*{\addcomma\space}%
+ \printfield{pages}}
+
+\newbibmacro*{mag+news+date}{%
+ \ifnameundef{author}%
+ {\usebibmacro{date+issue}}%
+ {\usebibmacro{mag+date+issue}}}
+
+\newbibmacro*{date+issue}{%
+ \iffieldundef{issue}
+ {\iffieldundef{number}%
+ {\usebibmacro{date}}%
+ {\iftoggle{cms@numbermonth}%
+ {\usebibmacro{date}}%
+ {\usebibmacro{cmsyear}}%
+ \setunit*{\addcomma\addspace}% Starred version for when the
+ \printfield[journum]{number}}}% month isn't printed because of
+ {\printfield{issue}% the toggle.
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}
+
+\newbibmacro*{mag+date+issue}{%
+ \usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \newcunit\newblock
+ \printfield{usera}% For network ID and possible section of newspaper.
+ \newcunit\newblock
+ \usebibmacro{date+issue}}
+
+\newbibmacro*{cmsyear}{%
+ \iftoggle{cms@switchdates}%
+ {\printfield{origyear}}%
+ {\printfield{year}}}
+
+\newbibmacro*{periodical+date+issue}{% For periodical type &
+ \printtext[title]{% magazine subtype
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \newcunit\newblock
+ \printfield{usera}% For network ID and possible section of newspaper.
+ \newcunit\newblock
+ \usebibmacro{date+issue}}
+
+\newbibmacro*{cmtitle+mstitle+vol+part+title+stitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{cmtitle+mstitle+vol+part+btitle+bstitle}{%
+ \usebibmacro{btitle+bstitle}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext{%
+ \printfield{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\renewbibmacro*{postnote}{%
+ \iffieldundef{postnote}%
+ {}%
+ {\setunit{\postnotedelim}%
+ \printfield{postnote}}}
+
+\newbibmacro*{part+editor+translator}{%
+ \ifnameundef{namea}%
+ {\ifnameundef{nameb}%
+ {}
+ {\bibstring{cbytranslator}\space%
+ \printnames[bytranslator]{nameb}}}%
+{\ifnamesequal{namea}{nameb}%
+ {\bibstring{cbyeditortr}\space%
+ \printnames[byeditor]{namea}}%
+ {\bibstring{cbyeditor}\space%
+ \printnames[byeditor]{namea}%
+ \ifnameundef{nameb}%
+ {}
+ {\newunit
+ \bibstring{cbytranslator}\space%
+ \printnames[bytranslator]{nameb}}}}}
+
+\newbibmacro*{compilestrg}{%
+ \ifthenelse{\value{namec}>1\OR\ifandothers{namec}}
+ {\bibstring{compilers}}
+ {\bibstring{compiler}}
+ \clearname{namec}}
+
+\newbibmacro*{transstrg}{%
+ \ifthenelse{\value{translator}>1\OR\ifandothers{translator}}
+ {\ifnamesequal{translator}{namec}%
+ {\bibstring{transcompilers}%
+ \clearname{namec}}%
+ {\bibstring{translators}}}%
+ {\ifnamesequal{translator}{namec}%
+ {\bibstring{transcompiler}%
+ \clearname{namec}}%
+ {\bibstring{translator}}}
+ \clearname{translator}}
+
+\newbibmacro*{parttransstrg}{%
+ \ifthenelse{\value{nameb}>1\OR\ifandothers{nameb}}
+ {\ifnamesequal{nameb}{namec}%
+ {\bibstring{transcompilers}%
+ \clearname{namec}}%
+ {\bibstring{translators}}}%
+ {\ifnamesequal{nameb}{namec}%
+ {\bibstring{transcompiler}%
+ \clearname{namec}}%
+ {\bibstring{translator}}}
+ \clearname{nameb}}
+
+\newbibmacro*{editstrg}{% Test added for 0.9
+ \ifthenelse{\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}}
+ {\ifthenelse{\value{editor}>1\OR\ifandothers{editor}}
+ {\ifthenelse{\ifnamesequal{editor}{translator}\AND
+ \ifnamesequal{editor}{namec}}
+ {\bibstring{editortranscompilers}%
+ \clearname{translator}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{namec}%
+ {\bibstring{editorcompilers}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{translator}%
+ {\bibstring{editortranslators}%
+ \clearname{translator}}%
+ {\bibstring{editors}}}}}%
+ {\ifthenelse{\ifnamesequal{editor}{translator}\AND
+ \ifnamesequal{editor}{namec}}
+ {\bibstring{editortranscompiler}%
+ \clearname{translator}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{namec}%
+ {\bibstring{editorcompiler}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{translator}%
+ {\bibstring{editortranslator}%
+ \clearname{translator}}%
+ {\bibstring{editor}}}}}}%
+ {\ifthenelse{\value{editor}>1\OR\ifandothers{editor}}
+ {\bibstring{\thefield{editortype}s}}
+ {\bibstring{\thefield{editortype}}}}
+ \clearname{editor}}
+
+\newbibmacro*{parteditstrg}{%
+ \ifthenelse{\value{namea}>1\OR\ifandothers{namea}}
+ {\ifthenelse{\ifnamesequal{namea}{nameb}\AND
+ \ifnamesequal{namea}{namec}}
+ {\bibstring{editortranscompilers}%
+ \clearname{nameb}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{namec}%
+ {\bibstring{editorcompilers}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{nameb}%
+ {\bibstring{editortranslators}%
+ \clearname{nameb}}%
+ {\bibstring{editors}}}}}%
+ {\ifthenelse{\ifnamesequal{namea}{nameb}\AND
+ \ifnamesequal{namea}{namec}}
+ {\bibstring{editortranscompiler}%
+ \clearname{nameb}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{namec}%
+ {\bibstring{editorcompiler}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{nameb}%
+ {\bibstring{editortranslator}%
+ \clearname{nameb}}%
+ {\bibstring{editor}}}}}%
+ \clearname{namea}}
+
+\newbibmacro*{clearpublin}{%
+ \clearname{author}%
+ \clearname{namea}%
+ \clearname{nameb}%
+ \clearfield{nameaddon}%
+ \clearfield{title}%
+ \clearfield{subtitle}%
+ \clearfield{titleaddon}%
+ \clearfield{reprinttitle}%
+ \clearfield{usere}%
+ \clearlist{language}%
+}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.bbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.bbx
index 6a670e81a24..e5093e0efc2 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.bbx
@@ -1,11 +1,10 @@
-% $Id: chicago-notes15.bbx,v 0.9.7.10 2011/10/12 13:23:00 dfussner Exp $
+% $Id: chicago-notes.bbx,v 0.9.7.20 2012/07/05 10:50:42 dfussner Exp $
% This is a biblatex style file, adapted mainly from Lehman's standard.bbx
% It provides the bibliography formatting for the Chicago notes +
-% bibliography style, _15th_ edition.
+% bibliography style.
-\ProvidesFile{chicago-notes.bbx}
-[2011/10/12 v 1.6 biblatex bibliography style]
+\ProvidesFile{chicago-notes.bbx}[2012/07/05 v 1.7 biblatex bibliography style]
%%%% Initialize and format bibliography and los %%%%
@@ -36,6 +35,34 @@
{\endlist}
{\item}
+\defbibenvironment{losnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\footnotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{losendnotes}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\enotesize%
+ \setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{.3\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist\nopunct\vspace{-\baselineskip}}% Kludges for endnotes
+ {\item}
+
\AtBeginBibliography{%
\togglefalse{cms@headlessnote}%
\togglefalse{cms@shortnote}%
@@ -54,16 +81,32 @@
or
not test {\iffieldint{year}}
or
- not test {\iffieldint{origyear}}
+ togl {cms@switchdates}
+ }%
+ {}%
+ {\iffieldundef{endyear}%
+ {\ifthenelse{\thefield{origyear}>\thefield{year}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}%
+ {\ifthenelse{\thefield{origyear}>\thefield{endyear}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}}}%
+
+\AtEveryLositem{%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}%
+ \ifboolexpr{%
+ test {\iffieldundef{origyear}}
+ or
+ test {\iffieldundef{year}}
+ or
+ not test {\iffieldint{year}}
or
togl {cms@switchdates}
}%
{}%
- {\ifboolexpr{%
- test {\iffieldundef{endyear}}%
- or
- not test {\iffieldnum{endyear}}
- }%
+ {\iffieldundef{endyear}%
{\ifthenelse{\thefield{origyear}>\thefield{year}}%
{\toggletrue{cms@switchdates}}%
{}}%
@@ -238,12 +281,12 @@
{\usebibmacro{parteditor}}}
\newbibmacro*{moreeditor}{%
- \ifnameundef{editor}
+ \ifthenelse{\ifnameundef{editor}\OR\NOT\ifuseeditor}%
{\usebibmacro{picktranslator}}
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
- {\bibnamedash\editordelim}%\addcomma\addspace
- {\printnames{editor}\editordelim%\addcomma\space
+ {\bibnamedash\editordelim}%
+ {\printnames{editor}\editordelim%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{editstrg}}}
@@ -252,8 +295,8 @@
{\let\bbx@lasthash\undefined}
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
- {\bibnamedash\editordelim}%\addcomma\addspace
- {\printnames{editor}\editordelim%\addcomma\space
+ {\bibnamedash\editordelim}%
+ {\printnames{editor}\editordelim%
\savefield{fullhash}{\bbx@lasthash}}%
\usebibmacro{editstrg}}}
@@ -273,7 +316,7 @@
{\usebibmacro{parttranslator}}}
\newbibmacro*{moretranslator}{%
- \ifnameundef{translator}
+ \ifthenelse{\ifnameundef{translator}\OR\NOT\ifusetranslator}%
{\usebibmacro{compiler}}
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
\iffirstonpage}
@@ -293,14 +336,18 @@
\usebibmacro{parttransstrg}}}
\newbibmacro*{compiler}{%
- \ifnameundef{namec}
- {\let\bbx@lasthash\undefined}
- {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
- \iffirstonpage}
- {\bibnamedash\addcomma\addspace}
- {\printnames[sortname]{namec}\addcomma\space
- \savefield{fullhash}{\bbx@lasthash}}%
- \usebibmacro{compilestrg}}}
+ \ifboolexpr{
+ test {\ifnameundef{namec}}
+ or
+ not togl {cms@usecompiler}
+ }%
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{namec}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{compilestrg}}}
\renewcommand*{\revsdnamedelim}{\addcomma}
@@ -311,17 +358,22 @@
%%%% Drivers for Bibliography entries and Shorthands %%%%
\DeclareBibliographyDriver{shorthands}{%
- \ifnameundef{labelname}
- {\iffieldequalstr{entrysubtype}{magazine}%
- {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
- \newcunit}}%
- {\iffieldequalstr{entrytype}{manual}%
- {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
- {}}}%
- {\usebibmacro{author/editor}%
- \setunit{\addcomma\space}}%
- \printfield[lostitle]{title}%
- \finentry}
+ \iftoggle{cms@fullshhand}%
+ {\usedriver{\frenchspacing}%
+ {\thefield{entrytype}}%
+ \finentry}%
+ {\ifnameundef{labelname}%
+ {\ifthenelse{\iffieldequalstr{entrysubtype}{magazine}\AND\NOT%
+ \iffieldequalstr{entrytype}{periodical}}%
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
+ \newcunit}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
+ {}}}%
+ {\usebibmacro{author/editor}%
+ \setunit{\addcomma\space}}%
+ \printfield[lostitle]{title}%
+ \finentry}}
\DeclareBibliographyDriver{article}{%
\iffieldequalstr{entrysubtype}{magazine}%
@@ -364,7 +416,7 @@
\usebibmacro{mag+news+title}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \setunit*{\addcomma\addspace}\newblock%
+ \setunit*{\addperiod\addspace}\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{issuetitle}%
@@ -397,7 +449,7 @@
\usebibmacro{italtitle+stitle}%
\newcunit\newblock
\usebibmacro{date}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
@@ -430,7 +482,7 @@
\printfield{nameaddon}%
\newunit\newblock
\usebibmacro{italtitle+stitle}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -490,7 +542,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -534,7 +586,7 @@
\printfield{volumes}%
\clearfield{volumes}}}%
{}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -571,7 +623,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%cmsorigdate%\printorigdate
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -613,8 +665,7 @@
\printfield{volumes}%
\clearfield{volumes}}}%
{}%
- \newcunit\newblock
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -653,7 +704,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -679,7 +730,7 @@
\printfield{nameaddon}%
\newunit\newblock
\usebibmacro{italtitle+stitle}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{note}%
@@ -732,7 +783,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -766,12 +817,10 @@
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
- \usebibmacro{title+stitle}%
- \setunit{\addspace}\newblock%
- \usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%\setunit{\addcomma\addspace}%
\usebibmacro{date}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
@@ -806,7 +855,7 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%\bibsentence
\usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -843,7 +892,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -871,7 +920,7 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%\bibsentence
\usebibmacro{language+transtitle}%
- \newcunit\newblock
+ \newunit\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{part+editor+translator}%
@@ -910,7 +959,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -948,7 +997,7 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%
\usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -959,8 +1008,6 @@
\usebibmacro{cms-in:}%
\usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
\newcunit\newblock
- \usebibmacro{byeditor+others}%
- \newcunit\newblock
\printfield{pages}%
\newunit\newblock
\iffieldundef{maintitle}
@@ -1051,17 +1098,17 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publ+loc+year}%
\newcunit\newblock
\printlist[][-\value{listtotal}]{lista}%
- \setunit{\addspace}%
+ \newcunit\newblock%setunit{\addspace}% 16th ed
\ifnameundef{author}%
{}%
- {\printtext[parens]{%
+ {\printtext{% 16th ed
\bibstring{by}%
\addspace%
\printnames[byauthor]{author}}}%
@@ -1120,8 +1167,6 @@
\usebibmacro{byeditor+others}%
\newcunit\newblock
\printfield{pages}%
-% \newunit\newblock
-% \printfield{edition}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
@@ -1172,7 +1217,7 @@
\usebibmacro{italtitle+stitle}%
\newunit\newblock
\usebibmacro{edition}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{ser+num}%
@@ -1213,7 +1258,7 @@
\usebibmacro{language+transtitle}%
\newcunit\newblock%
\usebibmacro{unpubl+letter+date}}%
- \newcunit%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
@@ -1250,13 +1295,13 @@
\printfield{nameaddon}%
\newunit\newblock
\usebibmacro{italtitle+stitle}%
- \newcunit%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
- \setunit*{\addperiod\addspace}
- \printeventdate%
\newunit\newblock
\usebibmacro{part+editor+translator}%
\newunit\newblock
+ \usebibmacro{music+eventdate}%
+ \newunit\newblock
\usebibmacro{chapinscore}%
\usebibmacro{btitle+bstitle}%
\iffieldundef{booktitle}
@@ -1313,23 +1358,25 @@
\printfield{version}%
\newunit\newblock
\printfield{note}%
+ \newunit\newblock%
+ \usebibmacro{music+origdate}%\printtext[eventdate]{\printeventdate}%
\newunit\newblock
- \usebibmacro{music+ser+num}%
- \newunit
- \usebibmacro{music+publisher}%
- \setunit*{\addspace}%\newblock
- \usebibmacro{date}%
- \setunit*{\ifthenelse{\iffieldundef{howpublished}\AND%
- \iffieldundef{pubstate}}%
- {\addperiod\addspace}{\space\bibstring{by}\space}}%
\printlist{publisher}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printfield{series}%
+ \setunit{\addspace}%
+ \printfield{number}%
+ \newcunit\newblock
+ \usebibmacro{date}%
\newunit
\usebibmacro{institution+organization}%
\setunit*{\addcomma\addspace}\newblock
\printlist{location}%
- \newunit\newblock
+ \newcunit\newblock
\printfield{type}%
\newunit\newblock
+ \usebibmacro{pubstate}% 16th ed.
+ \newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
@@ -1352,20 +1399,24 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \newcunit%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
- \printfield{note}%
+ \printlist{organization}% Rearranged for 16th ed.
\newunit\newblock
- \printlist{organization}%
+ \printfield{note}%
\newunit\newblock
\usebibmacro{date}%
\newunit\newblock
- \iftoggle{cms@doi}%
- {\printfield{doi}}%
- {}%
- \setunit*{\addcomma\addspace}\newblock%
- \usebibmacro{url+date}%
+ \iffieldundef{urlyear}
+ {}
+ {\printtext[urldate]{\printurldate}}%
+ \newunit\newblock
+ \printfield{doi}%
+ \newunit\newblock
+ \usebibmacro{eprint}%
+ \newunit\newblock
+ \printfield{url}%
\newunit\newblock
\printfield{addendum}%
\newunit\newblock
@@ -1451,7 +1502,7 @@
\usebibmacro{issuetitle}%
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
- \setunit*{\addcomma\addspace}\newblock%
+ \setunit*{\addperiod\addspace}\newblock% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
@@ -1482,8 +1533,6 @@
\usebibmacro{italtitle+stitle}%
\newunit\newblock
\usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
- \usebibmacro{editorpunct}%
- \usebibmacro{bytranslator+others}%
\newunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
@@ -1563,7 +1612,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -1589,7 +1638,7 @@
\printfield{nameaddon}%
\newunit\newblock
\usebibmacro{italtitle+stitle}%
- \newcunit
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{ser+num}%
@@ -1618,8 +1667,10 @@
\iffieldequalstr{entrysubtype}{magazine}%
{\usebibmacro{mag+news+author}}%
{\usebibmacro{author/editor}}%
+ \newunit\newblock
+ \printeventdate% 16th ed.
\setunit{\addspace}%
- \printfield{nameaddon}%
+ \printfield{nameaddon}% 16th ed.
\newunit\newblock
\printfield{title}%
\setunit{\addcolon\addspace}%
@@ -1679,6 +1730,8 @@
{}%
\newcunit
\usebibmacro{bybookauthor}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
\newunit\newblock
\usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
\newcunit%
@@ -1696,9 +1749,7 @@
\printfield{volumes}
\clearfield{volumes}}%
\usebibmacro{editorpunct}%
- \usebibmacro{byeditor}%
- \usebibmacro{editorpunct}%\newcunit\newblock
- \usebibmacro{chap+pag}%
+ \usebibmacro{byeditor+others}%
\newunit
\iffieldundef{maintitle}
{\printfield{volume}%
@@ -1709,7 +1760,7 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
@@ -1741,7 +1792,7 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}%\newblock%
\usebibmacro{language+transtitle}%
- \newcunit%
+ \newunit% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\printfield{note}%
@@ -1766,8 +1817,8 @@
\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%
\usebibmacro{language+transtitle}%
- \newcunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
- \usebibmacro{byauthor}% Same in thesis type, as well.
+ \newunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
+ \usebibmacro{byauthor}% Same in thesis type, as well. 16th ed.
\setunit{\addperiod\addspace}%
\printfield{howpublished}%
\setunit*{\addcomma\addspace}\newblock%
@@ -1779,9 +1830,7 @@
\newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
- \iftoggle{cms@url}
- {\usebibmacro{url+date}}%
- {}%
+ \usebibmacro{bib+doi+url}%
\newunit\newblock
\usebibmacro{pageref}%
\newunit\newblock
@@ -1804,7 +1853,7 @@
\printfield{titleaddon}%\usebibmacro{title+stitle}%
\setunit{\addspace}\newblock%\bibsentence
\usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
@@ -1827,8 +1876,6 @@
\newcunit
\printfield{volumes}
\clearfield{volumes}}%
- \newunit
- \printfield{type}%
\newunit% unit, not cunit?
\usebibmacro{bybookauthor}%
\usebibmacro{byeditor+others}%
@@ -1866,12 +1913,16 @@
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
- \usebibmacro{cmsorigdate}%\printorigdate%
+ \usebibmacro{music+eventdate}%
+ \newunit\newblock
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printorigdate%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{publ+loc+year}%
\newunit\newblock
+ \printfield{type}% 16th ed.
+ \newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
@@ -1887,14 +1938,22 @@
%%%% Other Formatting Macros %%%%
-\newbibmacro*{bib+doi+url}{% For biblatex field exclusion
+\newbibmacro*{bib+doi+url}{% 16th ed.
+ \iffieldundef{urlyear}
+ {}
+ {\printtext[urldate]{\printurldate}}%
+ \newunit\newblock
\iftoggle{cms@doi}%
{\printfield{doi}}%
{}%
- \setunit*{\addcomma\addspace}\newblock%
+ \newunit\newblock
+ \iftoggle{cms@eprint}%
+ {\usebibmacro{eprint}}%
+ {}%
+ \newunit\newblock
\iftoggle{cms@url}%
- {\usebibmacro{url+date}}%
- {}}
+ {\printfield{url}}%
+ {}}%
\newbibmacro*{bibpostxref}{%
\iffieldundef{postnote}%
@@ -1912,24 +1971,24 @@
\iffieldundef{maintitle}
{}
{\iffieldundef{volume}
- {\usebibmacro{cms-in:}%
+ {\usebibmacro{cms-in:}% 16th ed (Also 15th?)
\printtext[maintitle]{%
\printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}
- {\printfield{volume}%
- \printfield{part}%
- \setunit{\addspace}
- \bibstring{ofseries}%
- \setunit{\addspace}
- \printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}}}
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
\newbibmacro*{mtitle+mstitle+vol+part+btitle+bstitle}{%
\usebibmacro{btitle+bstitle}%
@@ -1937,26 +1996,26 @@
{\setunit{\addperiod\addspace}}% Fix customc?
{\setunit{\addcomma\addspace}}%
\iffieldundef{maintitle}
- {}
+ {}%
{\iffieldundef{volume}
- {\usebibmacro{cms-in:}%
+ {\usebibmacro{cms-in:}% 16th ed (also 15th?)
\printtext[maintitle]{%
\printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}
- {\printfield{volume}%
- \printfield{part}%
- \setunit{\addspace}
- \bibstring{ofseries}%
- \setunit{\addspace}
- \printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}}}
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
\newbibmacro*{journal+issue+year+pages}{%
\usebibmacro{cjournal+ser+vol+num}%
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx
index 86ee1ef255c..eb980243c43 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes.cbx
@@ -1,17 +1,16 @@
-% $Id: chicago-notes15.cbx,v 0.9.7.15 2011/11/15 16:13:16 dfussner Exp $
+% $Id: chicago-notes.cbx,v 0.9.7.34 2012/07/05 10:50:34 dfussner Exp $
% This is a biblatex citation style file, adapted from Lehman's
% authortitle-cverb.cbx. It is heavily modified, with the intention
% of providing footnote citations and a bibliography formatted
-% according to the specifications of the Chicago Manual of Style,
-% _15th_ edition.
+% according to the specifications of the Chicago Manual of Style.
-\ProvidesFile{chicago-notes.cbx}[2011/11/15 v 1.7 biblatex citation style]
+\ProvidesFile{chicago-notes.cbx}[2012/07/05 v 1.7 biblatex citation style]
%%%% Biblatex initialization + Chicago options + Toggles %%%%
\providecommand*{\mkibid}[1]{#1}
-%\providetoggle{cms@oneyear}% Needed for author-date
+\providetoggle{cms@oneyear}% Needed for author-date
\providetoggle{cms@reprint}% ditto
\providetoggle{cms@switchdates}% ditto
@@ -19,9 +18,13 @@
\providetoggle{cms@url}% These are for the field-exclusion options
\providetoggle{cms@doi}
+\providetoggle{cms@eprint}
\providetoggle{cms@isbn}
\providetoggle{cms@numbermonth}
\providetoggle{cms@bookpages}
+\providetoggle{cms@bookseries}
+\providetoggle{cms@notefield}
+\providetoggle{cms@addendum}
\providetoggle{cms@headlessnote}
\providetoggle{cms@fullnote}
@@ -31,6 +34,7 @@
\providetoggle{cms@usecompiler}
\providetoggle{cms@shorthandibid}
\providetoggle{cms@printshhand}
+\providetoggle{cms@fullshhand}
\providetoggle{cms@origpublished}
\providetoggle{cms@loccit}
\providetoggle{cms@annotation}
@@ -51,16 +55,10 @@
or
not test {\iffieldint{year}}
or
- not test {\iffieldint{origyear}}
- or
togl {cms@switchdates}
}%
{}%
- {\ifboolexpr{%
- test {\iffieldundef{endyear}}%
- or
- not test {\iffieldnum{endyear}}
- }%
+ {\iffieldundef{endyear}%
{\ifthenelse{\thefield{origyear}>\thefield{year}}%
{\toggletrue{cms@switchdates}}%
{}}%
@@ -80,6 +78,9 @@
\DeclareBibliographyOption{shorthandibid}[true]{%
\global\toggletrue{cms@shorthandibid}}
+\DeclareBibliographyOption{shorthandfull}[true]{%
+ \settoggle{cms@fullshhand}{#1}}
+
\DeclareBibliographyOption{usecompiler}[true]{%
\settoggle{cms@usecompiler}{#1}}
@@ -100,6 +101,8 @@
\settoggle{cms@url}{#1}}
\DeclareBibliographyOption{doi}[true]{%
\settoggle{cms@doi}{#1}}
+\DeclareBibliographyOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
\DeclareBibliographyOption{numbermonth}[true]{%
\settoggle{cms@numbermonth}{#1}}
\DeclareBibliographyOption{bookpages}[true]{%
@@ -108,21 +111,42 @@
\settoggle{cms@isbn}{#1}%
\settoggle{cms@url}{#1}%
\settoggle{cms@doi}{#1}%
+ \settoggle{cms@eprint}{#1}%
\settoggle{cms@numbermonth}{#1}%
\settoggle{cms@bookpages}{#1}}
+\DeclareBibliographyOption{addendum}[true]{%
+ \settoggle{cms@addendum}{#1}}
+\DeclareBibliographyOption{bookseries}[true]{%
+ \settoggle{cms@bookseries}{#1}}
+\DeclareBibliographyOption{notefield}[true]{%
+ \settoggle{cms@notefield}{#1}}
+\DeclareBibliographyOption{completenotes}[true]{%
+ \settoggle{cms@addendum}{#1}%
+ \settoggle{cms@bookseries}{#1}%
+ \settoggle{cms@notefield}{#1}}%
+
\DeclareEntryOption{isbn}[true]{%
\settoggle{cms@isbn}{#1}}
\DeclareEntryOption{url}[true]{%
\settoggle{cms@url}{#1}}
\DeclareEntryOption{doi}[true]{%
\settoggle{cms@doi}{#1}}
+\DeclareEntryOption{eprint}[true]{%
+ \settoggle{cms@eprint}{#1}}
\DeclareEntryOption{numbermonth}[true]{%
\settoggle{cms@numbermonth}{#1}}
\DeclareEntryOption{bookpages}[true]{%
\settoggle{cms@bookpages}{#1}}
-\ExecuteBibliographyOptions{includeall}
+\DeclareEntryOption{addendum}[true]{%
+ \settoggle{cms@addendum}{#1}}
+\DeclareEntryOption{bookseries}[true]{%
+ \settoggle{cms@bookseries}{#1}}
+\DeclareEntryOption{notefield}[true]{%
+ \settoggle{cms@notefield}{#1}}
+
+\ExecuteBibliographyOptions{includeall,completenotes}
% For author-date compatibility %
@@ -160,18 +184,27 @@
\def\mkbibcurdinal#1{%
\@tempcnta0#1 \the\@tempcnta}%
-\@ifpackagelater{biblatex}{2011/01/04}
+\@ifpackagelater{biblatex}{2010/08/28}
{}
{\PackageError{biblatex}
{Outdated 'biblatex' package}
- {The Chicago style requires biblatex v1.1 or later.\MessageBreak
+ {The Chicago style requires biblatex v0.9 or later.\MessageBreak
You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
This is a fatal error. I'm aborting now.}%
\endinput}
+% American-specific punctuation change for 16th edition %
+
+\DefineBibliographyExtras{american}{%
+% \DeclareCapitalPunctuation{.}%
+ \DeclarePunctuationPairs{comma}{*!?}}
+
%%%% Initialize and define bibstrings %%%%
-%%%% Now in cms-*.lbx %%%%
+\DefineBibliographyStrings{english}{%
+ citedas = {hereafter cited as},}
+
+%%%% This one needed for 16th edition. Others in cms-*.lbx %%%%
%%%% Cite macros for use by the citation commands %%%%
@@ -267,7 +300,7 @@
{\iffieldequalstr{authortype}{anon?}%
{\bibleftbracket\printnames{labelname}?%
\bibrightbracket\classicpunct}%
- {\printnames{labelname}%
+ {\usebibmacro{choose+labelname}%\printnames{labelname}%
\isdot\classicpunct}}}%
\ifboolexpr{%
togl {cms@allshort}%
@@ -282,16 +315,17 @@
\newbibmacro*{cite:shorthand}{%
\iftoggle{cms@allshort}%
{\printtext[bibhyperref]{%
- \printfield{shorthand}}}%
+ \printfield{shorthand}}}
{\printtext[bibhyperlink]{%
\printfield{shorthand}}}}
\newbibmacro*{cms:shorthandintro}{% For changing the citedas phrase
\iffieldundef{shorthandintro}%
- {\addperiod\space%
- \bibstring{citedas}\space%
- \printfield{shorthand}}%
- {\addperiod\space%
+ {\setunit{\addspace}%
+ \printtext[parens]{%
+ \bibstring{citedas}\space%
+ \printfield{shorthand}}}%
+ {\setunit{\addspace}%
\printfield{shorthandintro}}}
\newbibmacro*{cite:ibid}{%
@@ -302,16 +336,18 @@
\usebibmacro{cite:save}}%
{\iftoggle{cms@allshort}%
{\printtext[bibhyperref]{%
- \bibstring[\mkibid]{ibidem}}}%
+ \bibstring[\mkibid]{ibidem}}}
{\printtext[bibhyperlink]{%
- \bibstring[\mkibid]{ibidem}}}%
+ \bibstring[\mkibid]{ibidem}}}
\ifloccit
{\global\toggletrue{cms@loccit}}%
{}}}
\newbibmacro*{cite:journal}{%
\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
- {\usebibmacro{cite:ibid}}%
+ {\iffieldundef{prenote}%
+ {\bibsentence\usebibmacro{cite:ibid}}%
+ {\usebibmacro{cite:ibid}}}%
{\iffieldundef{journaltitle}%
{\usebibmacro{cite:short}}%
{\iffieldequalstr{authortype}{anon}%
@@ -322,7 +358,11 @@
\bibrightbracket\newcunit}%
{\printnames{labelname}%
\isdot\newcunit}}%
- \printfield[journaltitle]{journaltitle}%
+ \iftoggle{cms@allshort}%
+ {\printtext[bibhyperref]{%
+ \printfield[journaltitle]{journaltitle}}}%
+ {\printtext[bibhyperlink]{%
+ \printfield[journaltitle]{journaltitle}}}%
\iffieldundef{volume}%
{\iffieldundef{number}%
{\iffieldundef{issue}
@@ -464,10 +504,10 @@
{\usebibmacro{hlprenote}}%
{\printtext[bibhypertarget]{%
\usedriver
- {\DeclareNameAlias{sortname}{default}\clearname{author}%
- \toggletrue{cms@fullnote}\toggletrue{cms@headlessnote}%
- \usebibmacro{cite:save}}%
- {cite:\thefield{entrytype}}}}%
+ {\DeclareNameAlias{sortname}{default}\clearname{author}%
+ \toggletrue{cms@fullnote}\toggletrue{cms@headlessnote}%
+ \usebibmacro{cite:save}}%
+ {cite:\thefield{entrytype}}}}%
{\multicitedelim}%
{}%\usebibmacro{finentry}}
@@ -482,6 +522,23 @@
{\multicitedelim}
{\usebibmacro{cite:postnote}}
+\DeclareCiteCommand{\surnamecite}
+ {\usebibmacro{prenote}}%\usebibmacro{hlcprenote}}
+ {\usebibmacro{citeindex}%
+ \ifboolexpr{%
+ test {\ifciteseen}
+ or
+ togl {cms@allshort}
+ }%
+ {\usebibmacro{cite:short}}
+ {\toggletrue{cms@headlessnote}%
+ \usebibmacro{choose+surname}%
+ \usebibmacro{cite}}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareMultiCiteCommand{\surnamecites}{surnamecite}{\multicitedelim}
+
\DeclareCiteCommand{\shortcite}
{\usebibmacro{prenote}}
{\toggletrue{cms@shortnote}%
@@ -491,14 +548,30 @@
{\multicitedelim}
{\usebibmacro{postnote}}
+\DeclareCiteCommand{\shorthandcite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \iftoggle{cms@shorthandibid}%
+ {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
+ {\usebibmacro{cite:ibid}}%
+ {\usebibmacro{cite:shorthand}%
+ \usebibmacro{cite:save}}}%
+ {\usebibmacro{cite:shorthand}%
+ \usebibmacro{cite:save}}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
\DeclareCiteCommand{\citejournal}% Name?
- {\usebibmacro{journalprenote}}
+ {\usebibmacro{prenote}}
{\toggletrue{cms@shortnote}%
\togglefalse{cms@fullnote}%
+ \clearfield{pages}%
\usebibmacro{citeindex}%
\usebibmacro{cite:journal}}
{\multicitedelim}
- {\usebibmacro{fullpostnote}}
+ {\iftoggle{cms@loccit}%
+ {}%
+ {\usebibmacro{fullpostnote}}}
\DeclareCiteCommand{\citeauthor}
{\boolfalse{citetracker}%
@@ -537,7 +610,7 @@
\usebibmacro{mag+news+date}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{issn}}%
@@ -567,7 +640,7 @@
\usebibmacro{cjournal+issue+year+pages}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{issn}}%
@@ -598,14 +671,14 @@
\newcunit\newblock
\printfield{version}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{institution+organization}%
\newcunit\newblock
\printlist{location}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
\newcunit\newblock
@@ -674,16 +747,16 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\newcunit
\printfield{type}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isan}%
@@ -747,9 +820,9 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\iftoggle{cms@bookpages}%
@@ -759,7 +832,7 @@
\newcunit\newblock
\printlist[][-\value{listtotal}]{lista}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -809,14 +882,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -837,13 +910,13 @@
\newcunit\newblock
\usebibmacro{byauthor}%
\newcunit
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}\newblock%
\printtext[parens]{%
\usebibmacro{howpubl+loc+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
\newcunit\newblock
@@ -883,14 +956,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -928,14 +1001,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -960,10 +1033,8 @@
\setunit{\addspace}%
\printfield{nameaddon}%
\setunit{\addcomma\addspace}\newblock
- \usebibmacro{ctitle+stitle}%
- \setunit{\addspace}\newblock%
- \usebibmacro{language+transtitle}%
- \setunit{\addcomma\addspace}%
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit%\setunit{\addcomma\addspace}%
\usebibmacro{date}%
\newcunit
\usebibmacro{byauthor}%
@@ -976,14 +1047,14 @@
\newcunit\newblock
\printfield{version}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{institution+organization}%
\newcunit\newblock
\printlist{location}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
\newcunit\newblock
@@ -1032,14 +1103,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1094,14 +1165,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1148,8 +1219,6 @@
\usebibmacro{cms-in:}%
\usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
\newcunit\newblock
- \usebibmacro{cbyeditor+others}%
- \newcunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
@@ -1157,15 +1226,15 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}\newblock%
\printtext[parens]{%
\usebibmacro{org+publ+loc+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1239,21 +1308,21 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{inreffullpostnote}%
- \setunit{\addspace}%
+ \newcunit\newblock%setunit{\addspace}% 16th ed
\ifnameundef{author}%
{}%
- {\printtext[parens]{%
+ {\printtext{% 16th ed
\bibstring{by}%
\addspace%
\printnames{author}}}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1308,14 +1377,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubletter+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1354,17 +1423,17 @@
\newcunit
\usebibmacro{byauthor}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
\printfield{type}%
\newcunit
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}\newblock%
\printtext[parens]{%
\usebibmacro{org+publ+loc+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1414,7 +1483,7 @@
{}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
\newcunit\newblock
@@ -1430,11 +1499,11 @@
\usebibmacro{citaltitle+stitle}%
\newcunit
\usebibmacro{byauthor}%
- \newcunit
- \printeventdate%
\newcunit\newblock
\usebibmacro{cpart+editor+translator}%
- \newcunit
+ \newcunit\newblock
+ \usebibmacro{music+eventdate}%
+ \newcunit\newblock
\usebibmacro{chapinscore}%
\usebibmacro{btitle+bstitle}%
\newcunit
@@ -1485,17 +1554,17 @@
\newcunit\newblock
\printfield{version}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
- \usebibmacro{music+ser+num}%
+ \usebibmacro{music+origdate}%\printtext[eventdate]{\printeventdate}%
\newcunit\newblock
- \usebibmacro{music+publisher}%
- \setunit*{\addspace}%\newblock
- \usebibmacro{date}%
- \setunit*{\ifthenelse{\iffieldundef{howpublished}\AND%
- \iffieldundef{pubstate}}%
- {\addcomma\addspace}{\addspace}}%
\printlist{publisher}%
+ \newcunit\newblock
+ \printfield{series}%
+ \setunit{\addspace}%
+ \printfield{number}%
+ \newcunit\newblock
+ \usebibmacro{date}%
\newcunit
\usebibmacro{institution+organization}%
\newcunit\newblock
@@ -1504,7 +1573,9 @@
\printfield{type}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{pubstate}% 16th ed.
+ \newcunit\newblock
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{iswc}}%
@@ -1527,20 +1598,24 @@
\setunit{\addcomma\addspace}%
\usebibmacro{byauthor}%
\setunit{\addcomma\addspace}%
- \printfield{note}%
+ \printlist{organization}% Rearranged for 16th ed.
\setunit{\addcomma\addspace}%
- \printlist{organization}%
+ \usebibmacro{cnotefield}%
\setunit{\addcomma\addspace}
\usebibmacro{date}%
\setunit{\addcomma\addspace}%
- \iftoggle{cms@doi}%
- {\printfield{doi}}%
+ \iffieldundef{urlyear}%
{}%
- \setunit{\addcomma\addspace}%
- \usebibmacro{url+date}%
+ {\printtext[urldate]{\printurldate}}%
+ \newcunit\newblock
+ \printfield{doi}%
+ \newcunit\newblock
+ \usebibmacro{eprint}%
+ \newcunit\newblock
+ \printfield{url}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
@@ -1553,7 +1628,7 @@
\setunit{\addspace}%
\usebibmacro{language+transtitle}%
\setunit{\addcomma\addspace}\newblock%
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}%
\printtext[parens]{%
\printfield{type}%
@@ -1578,7 +1653,7 @@
\addspace\bibstring{patentissued}\addspace}%
\usebibmacro{date}}%
\newcunit%
- \printfield{addendum}}%
+ \usebibmacro{caddendum}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
@@ -1604,7 +1679,7 @@
\usebibmacro{periodical+date+issue}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{issn}}%
@@ -1632,7 +1707,7 @@
\usebibmacro{cperiodical+issue+year+pages}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{issn}}%
@@ -1653,8 +1728,6 @@
\newcunit
\usebibmacro{cmtitle+mstitle+vol+part+title+stitle}%
\newcunit\newblock
- \usebibmacro{cbytranslator+others}%
- \newcunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
@@ -1662,15 +1735,15 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}\newblock%
\printtext[parens]{%
\usebibmacro{org+publ+loc+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1728,14 +1801,14 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1756,17 +1829,17 @@
\newcunit
\usebibmacro{byauthor}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
\printfield{type}%
\newcunit
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}\newblock%
\printtext[parens]{%
\usebibmacro{inst+loc+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isrn}}%
@@ -1782,8 +1855,10 @@
\iffieldequalstr{entrysubtype}{magazine}
{\usebibmacro{cmag+news+author}}%
{\usebibmacro{author/editor}}%
+ \newcunit\newblock
+ \printeventdate% 16th ed.
\setunit{\addspace}%
- \printfield{nameaddon}%
+ \printfield{nameaddon}% 16th ed.
\newcunit\newblock
\printfield{title}%
\setunit{\addcolon\addspace}%
@@ -1804,7 +1879,7 @@
{\usebibmacro{cjournal+issue+year+pages}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{issn}}%
@@ -1857,7 +1932,7 @@
\printfield{volumes}
\clearfield{volumes}}%
\newcunit
- \usebibmacro{cbyeditor}%
+ \usebibmacro{cbyeditor+others}%
\newcunit
\iffieldundef{maintitle}
{\printfield{volume}%
@@ -1866,14 +1941,15 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
+ \clearfield{pages}% ?? For 16th ed.
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
@@ -1900,13 +1976,13 @@
\setunit{\addcomma\addspace}%
\usebibmacro{byauthor}%
\setunit{\addcomma\addspace}%
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\setunit{\addspace}%
\printtext[parens]{%
\usebibmacro{type+inst+year}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
\usebibmacro{cite+doi+url}%
\newcunit\newblock
@@ -1928,18 +2004,16 @@
\printtext[parens]{%
\printfield{howpublished}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\printlist{location}%
\newcunit\newblock
\usebibmacro{date}}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \usebibmacro{caddendum}%
\newcunit\newblock
- \iftoggle{cms@url}%
- {\usebibmacro{url+date}}%
- {}%
+ \usebibmacro{cite+doi+url}%
\newcunit\newblock
\usebibmacro{pageref}%
\usebibmacro{finentry}}
@@ -1975,8 +2049,6 @@
\printfield{volumes}
\clearfield{volumes}}%
\newcunit
- \printfield{type}%
- \newcunit
\usebibmacro{bybookauthor}%
\usebibmacro{cbyeditor+others}%
\iffieldundef{maintitle}
@@ -2008,14 +2080,18 @@
\newcunit
\printfield{volumes}%
\newcunit\newblock
- \usebibmacro{ser+num}%
+ \usebibmacro{cser+num}%
\newcunit\newblock
- \printfield{note}%
+ \usebibmacro{music+eventdate}%
+ \newcunit\newblock
+ \usebibmacro{cnotefield}%
\newcunit\newblock
\usebibmacro{cpubl+loc+year}%
\usebibmacro{fullpostnote}%
\newcunit\newblock
- \printfield{addendum}%
+ \printfield{type}%
+ \newcunit\newblock
+ \usebibmacro{caddendum}%
\newcunit\newblock
\iftoggle{cms@isbn}%
{\printfield{isan}}%
@@ -2086,6 +2162,32 @@
{#1\isdot}%
{\mkbibquote{#1\isdot}}}
+\newcommand*{\long@kludge}{% 16th edition places commas after these
+ \ifboolexpr{% punctuation marks.
+ (
+ test {\ifpunctmark{?}}
+ or
+ test {\ifpunctmark{!}}
+ )
+ and
+ not togl {cms@fullnote}%test {\ifcitation}
+ }%
+ {\spacefactor\blx@sf@dot}%\blx@postpunct\addperiod}%
+ {\isdot}}%
+
+\newcommand*{\short@kludge}{% 16th edition places commas after these
+ \ifboolexpr{% punctuation marks. Needed?
+ (
+ test {\ifpunctmark{?}}
+ or
+ test {\ifpunctmark{!}}
+ )
+ and
+ not test {\iffieldundef{postnote}}
+ }%
+ {\isdot\midsentence}%
+ {\isdot}}%
+
\DeclareFieldFormat[article]{lostitle}{%
\iffieldundef{title}%
{#1\isdot}%
@@ -2118,11 +2220,11 @@
\DeclareFieldFormat[periodical]{lostitle}{\mkbibemph{#1}\isdot}
-\DeclareFieldAlias[image]{title}[article]{title}
+\DeclareFieldAlias[image]{title}[artwork]{title}
-\DeclareFieldAlias[image]{citetitle}[article]{citetitle}
+\DeclareFieldAlias[image]{citetitle}[artwork]{citetitle}
-\DeclareFieldAlias[image]{lostitle}[article]{lostitle}
+\DeclareFieldAlias[image]{lostitle}[artwork]{lostitle}
\DeclareFieldAlias[incollection]{title}[article]{title}
@@ -2148,11 +2250,11 @@
\DeclareFieldAlias[thesis]{lostitle}[article]{lostitle}
-\DeclareFieldAlias[patent]{title}[article]{title}
+\DeclareFieldAlias[patent]{title}[letter]{title}
-\DeclareFieldAlias[patent]{citetitle}[article]{citetitle}
+\DeclareFieldAlias[patent]{citetitle}[letter]{citetitle}
-\DeclareFieldAlias[patent]{lostitle}[article]{lostitle}
+\DeclareFieldAlias[patent]{lostitle}[letter]{lostitle}
\DeclareFieldAlias[unpublished]{title}[article]{title}
@@ -2303,6 +2405,13 @@
%%%% Other Field Formats %%%%
+% \InitializeCitationStyle{\numgdef{\cbx@resetcount}{\cbx@resetcount+1}}
+% \DeclareFieldFormat{bibhyperlink}{%
+% \bibhyperlink{\iffootnote{f}{t}:\cbx@resetcount:\thefield{entrykey}}{#1}}
+% \DeclareFieldFormat{bibhypertarget}{%
+% \bibhypertarget{\iffootnote{f}{t}:\cbx@resetcount:\thefield{entrykey}}{#1}}
+% \newcommand*{\cbx@resetcount}{0}
+
\DeclareNumChars*{:}% For proper ibidem with multi-volume works.
\DeclareFieldFormat{letterday}{\mkbibcurdinal{#1}}
@@ -2340,8 +2449,43 @@
{\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
{\nolinkurl{#1}}}
+\DeclareFieldFormat{urldate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[video]{urldate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{urldate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}%
+ \OR\NOT\iffieldundef{origyear}}%
+ {\bibstring{urlseen}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{origdate}{% 16th ed.
+ \ifthenelse{\iffieldundef{userd}\OR\NOT\iffieldundef{eventyear}}%
+ {\bibstring{recorded}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[music]{eventdate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{recorded}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldFormat[video]{eventdate}{% 16th ed.
+ \iffieldundef{userd}%
+ {\bibstring{broadcast}\space #1}%
+ {\printfield{userd}\addspace #1}}
+
+\DeclareFieldAlias{userd}{titleaddon}% 16th ed.
+
\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1\bibsentence}}% ?!
+\DeclareFieldFormat[review]{nameaddon}{#1\bibsentence}
+
\DeclareFieldFormat[customc]{nameaddon}{% For cross-refs
\ifbibstring{#1}%
{\mkbibemph{\bibstring{#1}}}%
@@ -2455,8 +2599,9 @@
{\addcomma}}%
{\addperiod}}}
-\newcommand{\classicpunct}{%
- \ifthenelse{\iffieldequalstr{entrysubtype}{classical}\OR%
+\newcommand{\classicpunct}{% 16th ed.
+ \ifthenelse{\(\iffieldequalstr{entrysubtype}{classical}\AND%
+ \iffieldundef{labeltitle}\)\OR
\iffieldequalstr{entrytype}{letter}}%
{\setunit*{\addspace}}%
{\setunit*{\addcomma\addspace}}}
@@ -2558,9 +2703,7 @@
\iffieldpages{postnote}% test more accurate. See 17.253.
{\addspace}%
{\addcomma\addspace}}%
- {\iffieldundef{volumes}%
- {\addcomma\addspace}%
- {\addspace}}}%
+ {\addcomma\addspace}}% 16th ed -- no more volumes test.
{\iftoggle{cms@fullnote}%
{\ifthenelse{\(\iffieldequalstr{entrytype}{article}\OR
\iffieldequalstr{entrytype}{review}\OR
@@ -2571,7 +2714,7 @@
{\addcomma\addspace}}%
{\addcomma\addspace}}}%
-\newcommand*{\editordelim}{% Otherwise you get a spurious comma.
+\newcommand*{\editordelim}{%
\iffieldequalstr{editortype}{none}%
{\addperiod\addspace}%
{\addcomma\addspace}}
@@ -2682,9 +2825,12 @@
{\ifnameundef{afterword}%
{\ifnameundef{foreword}%
{\printfield{type}}%
- {\bibstring{forewordto}}}%
- {\bibstring{afterwordto}}}%
- {\bibstring{introductionto}}}
+ {\bibstring{forewordto}%
+ \clearname{foreword}}}% 16th ed.
+ {\bibstring{afterwordto}%
+ \clearname{afterword}}}%
+ {\bibstring{introductionto}%
+ \clearname{introduction}}}
\newbibmacro*{langlist:andothers}{%
\ifthenelse{\value{listcount}=\value{liststop}\AND
@@ -2708,9 +2854,7 @@
\newbibmacro*{cmag+news+author}{%
\ifnameundef{author}%
- {\usebibmacro{journal+sub}%
- \setunit*{\addspace}%
- \printlist[periodplace]{location}}%
+ {}% 16th ed.
{\ifuseauthor%
{\usebibmacro{author}}%
{}}}
@@ -2972,31 +3116,45 @@
\newbibmacro*{chapinscore}{%
\iffieldundef{chapter}%
- {}
+ {\ifthenelse{\iffieldequalstr{entrytype}{music}% 16th ed.
+ \AND\NOT\iffieldundef{booktitle}}%
+ {\bibstring{on}\setunit{\addspace}}%
+ {}}
{\printfield{chapter}%
\addspace\bibstring{of}\setunit{\addspace}%
\clearfield{chapter}}}
+\newbibmacro*{caddendum}{% New macros for 16th ed. field exclusion
+ \iftoggle{cms@addendum}%
+ {\printfield{addendum}}%
+ {}}%
+
+\newbibmacro*{cnotefield}{%
+ \iftoggle{cms@notefield}%
+ {\printfield{note}}%
+ {}}%
+
+\newbibmacro*{cser+num}{%
+ \iftoggle{cms@bookseries}%
+ {\printfield{series}%
+ \printfield[sernum]{number}}%
+ {}}%
+
\newbibmacro*{ser+num}{%
\printfield{series}%
- \printfield[sernum]{number}%
- \newunit}
+ \printfield[sernum]{number}}
-\newbibmacro*{music+ser+num}{%
- \iffieldundef{series}%
- {\iffieldundef{number}%
+\newbibmacro*{music+origdate}{%
+ \iftoggle{cms@reprint}% 16th ed.
+ {}%
+ {\iffieldundef{origyear}%
{}%
- {\printfield{number}}}
- {\printfield{series}%
- \setunit{\addspace}%
- \printfield{number}}}%
+ {\printtext[origdate]{\usebibmacro{cmsorigdate}}}}}
-\newbibmacro*{music+publisher}{%
- \iffieldundef{howpublished}%
- {\iffieldundef{pubstate}%
- {}%
- {\printfield{pubstate}}}%
- {\printfield{howpublished}}}%
+\newbibmacro*{music+eventdate}{%
+ \iffieldundef{eventyear}%
+ {}%
+ {\printtext[eventdate]{\printeventdate}}}
\newbibmacro*{ctitle+stitle}{%
\printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
@@ -3051,9 +3209,14 @@
\printfield{titleaddon}%
}%\newcunit\newblock}
+\renewcommand*{\subtitlepunct}{%
+ \ifpunctmark{?}{\setunit{\addspace}}{\setunit{\addcolon\addspace}}}
+
\newbibmacro*{cmag+news+title}{%
\printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
\printfield[noformat]{title}%
+% \ifpunctmark{?}{\setunit{\addcolon\addspace}{\addspace}}%
+% \subtitlepunct
\setunit{\addcolon\addspace}%
\printfield[noformat]{subtitle}}%
\setunit{\addcomma\addspace}%
@@ -3106,6 +3269,16 @@
\usebibmacro{date}%
}
+\newbibmacro*{origpubl+loc+year}{% 16th ed.
+ \printlist{origlocation}%
+ \iflistundef{origpublisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{origpublisher}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cmsorigdate}%
+}
+
\newbibmacro*{howpubl+loc+year}{% Revised for reprint
\usebibmacro{cmsorigdate}%
\reprintpunct%
@@ -3122,7 +3295,7 @@
}
\newbibmacro*{inst+loc+year}{% Revised for reprint
- \usebibmacro{cmsorigdate}%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}% 16th ed.
\reprintpunct%
\iftoggle{cms@reprint}%
{\reprint\newcunit}%
@@ -3149,7 +3322,7 @@
{}%
{\setunit{\addspace}%
\printtext[parens]{%
- \usebibmacro{cmsorigdate}%\printfield{origyear}%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}%\printfield{origyear}%
\setunit*{\addsemicolon\addspace}%
\ifboolexpr{
togl {cms@reprint}
@@ -3203,7 +3376,7 @@
\newunit}}}}
\newbibmacro*{org+publ+loc+year}{% What was wrong with \ifthenelse here?
- \usebibmacro{cmsorigdate}%
+ \usebibmacro{origpubl+loc+year}%{cmsorigdate}% 16th ed.
\reprintpunct%
\iftoggle{cms@reprint}% Revised for reprint
{\reprint\newcunit}%
@@ -3236,7 +3409,7 @@
}%
{\iffieldundef{number}%
{\setunit{\addcolon}}%
- {\addcomma\addspace}}% w/setunit colon appears
+ {\addcomma\addspace}}%
{\setunit{\addspace}%
\printtext[parens]{% parens is the default here
\iffieldundef{issue}
@@ -3266,6 +3439,10 @@
\usebibmacro{cmsyear}}}}}
\newbibmacro*{letter+date}{% New for 0.9
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
\iftoggle{cms@switchdates}%
{\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
{}%
@@ -3275,6 +3452,10 @@
{\cms@datelong}}}
\newbibmacro*{unpubl+letter+date}{% For Misc entries
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
\iftoggle{cms@switchdates}%
{\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
{}%
@@ -3283,6 +3464,27 @@
{\printdate}% For interviews and other dated non-letters.
{\cms@datelong}}}
+\newbibmacro*{pubstate}{%
+ \iftoggle{cms@reprint}%
+ {\iftoggle{cms@switchdates}%
+ {\iffieldundef{year}%
+ {}%
+ {\printtext{% 16th ed.
+ \usebibmacro{choosepubstring}%
+ \printdate}}}%
+ {\iffieldundef{origyear}%
+ {}
+ {\printtext{% 16th ed.
+ \usebibmacro{choosepubstring}%
+ \printorigdate}}}}%
+ {}}%
+
+\newbibmacro*{choosepubstring}{%
+ \ifthenelse{\iffieldequalstr{entrytype}{video}\OR%
+ \iffieldequalstr{entrytype}{music}}%
+ {\bibstring{origreleaseyear}}%
+ {\bibstring{origpubyearalt}}}%
+
\renewbibmacro*{date}{% New for 0.9
\iftoggle{cms@switchdates}%
{\printorigdate}%
@@ -3381,31 +3583,34 @@
\setunit{\addcolon\addspace}%
\printfield[noformat]{journalsubtitle}}}}
-\newbibmacro*{cite+doi+url}{%
+\newbibmacro*{cite+doi+url}{% 16th ed.
+ \iffieldundef{urlyear}
+ {}
+ {\printtext[urldate]{\printurldate}}%
+ \newcunit\newblock
\iftoggle{cms@doi}%
{\printfield{doi}}%
{}%
\newcunit\newblock
+ \iftoggle{cms@eprint}%
+ {\usebibmacro{eprint}}%
+ {}%
+ \newcunit\newblock
\iftoggle{cms@url}%
- {\usebibmacro{url+date}}%
- {}}
-
-\newbibmacro*{url+date}{% Changed for 0.9
- \printfield{url}%
- \iffieldundef{urlyear}
- {}
- {\setunit{\addspace}%
- \printtext[urldate]{\printurldate}}}
+ {\printfield{url}}%
+ {}}%
\newbibmacro*{chap+pag}{%
\printfield{chapter}%
\setunit*{\addcomma\space}%
\printfield{pages}}
-\newbibmacro*{mag+news+date}{%
- \ifnameundef{author}%
- {\usebibmacro{date+issue}}%
- {\usebibmacro{mag+date+issue}}}
+\newbibmacro*{mag+news+date}{% 16th ed.
+ \iftoggle{cms@fullnote}%
+ {\usebibmacro{mag+date+issue}}%
+ {\ifnameundef{author}%
+ {\usebibmacro{date+issue}}%
+ {\usebibmacro{mag+date+issue}}}}
\newbibmacro*{date+issue}{%
\iffieldundef{issue}
@@ -3448,21 +3653,21 @@
{\usebibmacro{cms-in:}%
\printtext[maintitle]{%
\printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}
- {\printfield{volume}%
- \printfield{part}%
- \setunit{\addspace}
- \bibstring{ofseries}%
- \setunit{\addspace}
- \printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}}}
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
\newbibmacro*{crefmtitle+mstitle+vol+part+title+stitle}{%
\iffieldundef{booktitle}
@@ -3474,21 +3679,21 @@
{\iffieldundef{volume}
{\printtext[maintitle]{%
\printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}
- {\printfield{volume}%
- \printfield{part}%
- \setunit{\addspace}
- \bibstring{ofseries}%
- \setunit{\addspace}
- \printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}}}
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
\newbibmacro*{cmtitle+mstitle+vol+part+btitle+bstitle}{%
\usebibmacro{btitle+bstitle}%
@@ -3499,21 +3704,21 @@
{\usebibmacro{cms-in:}%
\printtext[maintitle]{%
\printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}
- {\printfield{volume}%
- \printfield{part}%
- \setunit{\addspace}
- \bibstring{ofseries}%
- \setunit{\addspace}
- \printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \setunit{\addcolon\addspace}%
- \printfield[noformat]{mainsubtitle}}%
- \newcunit
- \printfield{maintitleaddon}}}}
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
\newbibmacro{cite:postnote}{%
\iftoggle{cms@loccit}%
@@ -3608,6 +3813,94 @@
{\bibsentence}%
{\usebibmacro{prenote}}}
+\newbibmacro*{choose+surname}{%
+ \ifciteseen%
+ {}
+ {\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}%
+ {\printnames{labelname}%
+ \clearname{author}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{namea}}%
+ {\printnames[labelname]{namea}\newcunit%
+ \usebibmacro{parteditstrg}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}%
+ {\printnames{labelname}\newcunit%
+ \usebibmacro{editstrg}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{nameb}}%
+ {\printnames[labelname]{nameb}\newcunit%
+ \usebibmacro{parttransstrg}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}%
+ {\printnames{labelname}\newcunit%
+ \usebibmacro{transstrg}}%
+ {\ifboolexpr{%
+ not test {\ifnameundef{namec}}
+ and
+ togl {cms@usecompiler}
+ }%
+ {\printnames[labelname]{namec}\newcunit%
+ \usebibmacro{compilestrg}}%
+ {}}}}}}}}%
+
+\newbibmacro*{choose+labelname}{%
+ \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}%
+ {\printnames{labelname}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{namea}}%
+ {\printnames[labelname]{namea}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}%
+ {\printnames{labelname}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{nameb}}%
+ {\printnames[labelname]{nameb}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}%
+ {\printnames{labelname}}%
+ {\ifboolexpr{%
+ not test {\ifnameundef{namec}}
+ and
+ togl {cms@usecompiler}
+ }%
+ {\printnames[labelname]{namec}}%
+ {}}}}}}}%
+
+\DeclareLabelname{shortauthor,author,shorteditor,namea,%
+ editor,nameb,translator,namec}
+
+\DeclareDataInheritance{collection}{suppcollection}{%
+ \inherit{title}{title}
+ \inherit{subtitle}{subtitle}
+ \inherit{titleaddon}{titleaddon}}
+
+\DeclareSortingScheme{cms}{
+ \sort{
+ \field{presort}
+ }
+ \sort[final]{
+ \field{sortkey}
+ }
+ \sort{
+ \name{sortname}
+ \name{author}
+ \name{namea}
+ \name{editor}
+ \name{nameb}
+ \name{translator}
+ \name{namec}
+ \field{sorttitle}
+ \field{journaltitle}
+ \list{organization}
+ \field{title}
+ }
+ \sort{
+ \field{sorttitle}
+ \field{title}
+ }
+ \sort{
+ \field{sortyear}
+ \field{year}
+ }
+ \sort{
+ \field[padside=left,padwidth=4,padchar=0]{volume}
+ \literal{0000}
+ }
+}
+
\newbibmacro*{part+editor+translator}{%
\ifnameundef{namea}%
{\ifnameundef{nameb}%
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.bbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.bbx
new file mode 100644
index 00000000000..216e91b145b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.bbx
@@ -0,0 +1,2154 @@
+% $Id: chicago-notes15.bbx,v 0.9.7.13 2012/07/05 10:35:12 dfussner Exp $
+% This is a biblatex style file, adapted mainly from Lehman's standard.bbx
+% It provides the bibliography formatting for the Chicago notes +
+% bibliography style, _15th_ edition.
+
+
+\ProvidesFile{chicago-notes15.bbx}
+[2012/07/05 v 1.7 biblatex bibliography style]
+
+%%%% Initialize and format bibliography and los %%%%
+
+\DeclareFieldFormat{shorthandwidth}{#1}
+
+\newlength{\lositemsep}
+
+\defbibenvironment{bibliography}% New for 0.9a
+ {\list
+ {}
+ {\setlength{\leftmargin}{\bibhang}%
+ \setlength{\itemindent}{-\leftmargin}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}}}
+ {\endlist}
+ {\item}
+
+\defbibenvironment{shorthands}
+ {\list
+ {\printfield[shorthandwidth]{shorthand}}%
+ {\setlength{\labelwidth}{\shorthandwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\lositemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\AtBeginBibliography{%
+ \togglefalse{cms@headlessnote}%
+ \togglefalse{cms@shortnote}%
+ \togglefalse{cms@fullnote}%
+ \togglefalse{cms@allshort}%
+ }%
+
+\AtEveryBibitem{%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}%
+ \ifboolexpr{%
+ test {\iffieldundef{origyear}}
+ or
+ test {\iffieldundef{year}}
+ or
+ not test {\iffieldint{year}}
+ or
+ not test {\iffieldint{origyear}}
+ or
+ togl {cms@switchdates}
+ }%
+ {}%
+ {\ifboolexpr{%
+ test {\iffieldundef{endyear}}%
+ or
+ not test {\iffieldnum{endyear}}
+ }%
+ {\ifthenelse{\thefield{origyear}>\thefield{year}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}%
+ {\ifthenelse{\thefield{origyear}>\thefield{endyear}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}}}%
+
+\InitializeBibliographyStyle{%
+ \let\bbx@lasthash\undefined}
+
+%%%% Bibliography-specific bibstrings %%%%
+
+%% Now in *.lbx %%
+
+%%%% Author, Editor, Translator, and Compiler Macros %%%%
+
+\renewbibmacro*{name:last-first}[4]{%
+ \ifuseprefix
+ {\usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifblank{#3}{}{%
+ \ifcapital
+ {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+ {\mkbibnameprefix{#3}\isdot}%
+ \ifpunctmark{'}{}{\addhighpenspace}}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#2}{}{\addcomma\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}}
+ {\usebibmacro{name:delim}{#1}%
+ \usebibmacro{name:hook}{#1}%
+ \mkbibnamelast{#1}\isdot%
+ \ifblank{#2#3#4}{}{\addcomma}%
+ \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}%
+ \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}}}
+
+\renewbibmacro*{name:first-last}[4]{%
+ \usebibmacro{name:delim}{#2#3#1}%
+ \usebibmacro{name:hook}{#2#3#1}%
+ \ifblank{#2}{}{\mkbibnamefirst{#2}\isdot\addlowpenspace}%
+ \ifblank{#3}{}{%
+ \mkbibnameprefix{#3}\isdot
+ \ifpunctmark{'}
+ {}
+ {\ifuseprefix{\addhighpenspace}{\addlowpenspace}}}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#4}{}{%
+ \iftoggle{cms@jrcomma}%
+ {\ifnumeral{#4}%
+ {\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ {\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot%
+ \ifboolexpr{
+ test{\ifnumless{\value{listcount}}{\value{listtotal}}}
+ and
+ test{\ifnumless{\value{listcount}}{\value{maxnames}}}
+ }
+ {\addcomma}%
+ {}}}%
+ {\addlowpenspace\mkbibnameaffix{#4}\isdot}}}
+
+\newbibmacro*{author/editors/translators}{%
+ \ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}%
+ {\usebibmacro{author}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{namea}}%
+ {\usebibmacro{parteditor}}%
+ {\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}%
+ {\usebibmacro{editor}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{nameb}}%
+ {\usebibmacro{parttranslator}}%
+ {\ifthenelse{\ifusetranslator\AND\NOT\ifnameundef{translator}}%
+ {\usebibmacro{translator}}%
+ {\ifnameundef{namec}%
+ {\let\bbx@lasthash\undefined}%
+ {\usebibmacro{compiler}}}}}}}}
+
+\renewbibmacro*{author/editor}{%
+ \ifuseauthor%
+ {\usebibmacro{author}}%
+ {\ifuseeditor%
+ {\ifnameundef{namea}%
+ {\usebibmacro{moreeditor}}%
+ {\usebibmacro{parteditor}}}%
+ {\ifusetranslator%
+ {\ifnameundef{nameb}%
+ {\usebibmacro{moretranslator}}%
+ {\usebibmacro{parttranslator}}}%
+ {\iftoggle{cms@usecompiler}%
+ {\usebibmacro{compiler}}%
+ {\let\bbx@lasthash\undefined%
+ \settoggle{cms@usecompiler}{true}}}}}}
+
+\renewbibmacro*{author}{%
+ \iftoggle{cms@headlessnote}%
+ {\usebibmacro{justauthor}}%
+ {\usebibmacro{moreauthor}}}
+
+\newbibmacro*{allauthor}{%
+ \ifnameundef{author}%
+ {\ifnameundef{editor}%
+ {\ifnameundef{translator}%
+ {\ifnameundef{namec}%
+ {\let\bbx@lasthash\undefined}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames[sortname]{namec}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{compilestrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames[sortname]{translator}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{transstrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\space}
+ {\printnames{editor}\addcomma\space
+ \savefield{namehash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}%
+ {\ifthenelse{\iffieldequals{namehash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}
+ {\bibnamedash\addspace}}%
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{namehash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{namehash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{namehash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{justauthor}{%
+ \ifnameundef{author}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}
+ {\bibnamedash\addspace}}
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{fullhash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{moreauthor}{%
+ \ifnameundef{author}
+ {\usebibmacro{pickeditor}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\iffieldundef{nameaddon}%
+ {\bibnamedash\addperiod\addspace}
+ {\bibnamedash\addspace}}
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{author}\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{author}\addquestion\bibrightbracket%
+ \savefield{fullhash}{\bbx@lasthash}}%
+ {\printnames{author}%
+ \savefield{fullhash}{\bbx@lasthash}}}}}}
+
+\newbibmacro*{pickeditor}{%
+ \ifnameundef{namea}
+ {\usebibmacro{moreeditor}}%
+ {\usebibmacro{parteditor}}}
+
+\newbibmacro*{moreeditor}{%
+ \ifnameundef{editor}
+ {\usebibmacro{picktranslator}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\editordelim}%\addcomma\addspace
+ {\printnames{editor}\editordelim%\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}
+
+\renewbibmacro*{editor}{%
+ \ifnameundef{editor}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\editordelim}%\addcomma\addspace
+ {\printnames{editor}\editordelim%\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{editstrg}}}
+
+\newbibmacro*{parteditor}{%
+ \ifnameundef{namea}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{namea}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{parteditstrg}}}
+
+\newbibmacro*{picktranslator}{%
+ \ifnameundef{nameb}
+ {\usebibmacro{moretranslator}}%
+ {\usebibmacro{parttranslator}}}
+
+\newbibmacro*{moretranslator}{%
+ \ifnameundef{translator}
+ {\usebibmacro{compiler}}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{translator}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{transstrg}}}
+
+\newbibmacro*{parttranslator}{%
+ \ifnameundef{nameb}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{nameb}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{parttransstrg}}}
+
+\newbibmacro*{compiler}{%
+ \ifnameundef{namec}
+ {\let\bbx@lasthash\undefined}
+ {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}
+ {\bibnamedash\addcomma\addspace}
+ {\printnames[sortname]{namec}\addcomma\space
+ \savefield{fullhash}{\bbx@lasthash}}%
+ \usebibmacro{compilestrg}}}
+
+\renewcommand*{\revsdnamedelim}{\addcomma}
+
+\DeclareNameAlias{author}{sortname}% Needed in 0.9
+\DeclareNameAlias{editor}{sortname}
+\DeclareNameAlias{translator}{sortname}
+
+%%%% Drivers for Bibliography entries and Shorthands %%%%
+
+\DeclareBibliographyDriver{shorthands}{%
+ \ifnameundef{labelname}
+ {\iffieldequalstr{entrysubtype}{magazine}%
+ {\printtext[bibhyperref]{\printfield[journaltitle]{journaltitle}%
+ \newcunit}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printtext[bibhyperref]{\printlist{organization}\newcunit}}%
+ {}}}%
+ {\usebibmacro{author/editor}%
+ \setunit{\addcomma\space}}%
+ \printfield[lostitle]{title}%
+ \finentry}
+
+\DeclareBibliographyDriver{article}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{mag+news+author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{mag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{mag+news+date}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+ {\usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{mag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock% (changed for 0.7)??
+ \usebibmacro{journal+issue+year+pages}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{artwork}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{audio}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newcunit%\setunit{\addperiod\addspace}%
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printfield{ismn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditor+others}%
+ \usebibmacro{editorpunct}%\newcunit\newblock
+ \iftoggle{cms@bookpages}%
+ {}%
+ {\clearfield{pages}}%
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newcunit
+ \printlist[][-\value{listtotal}]{lista}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{bookinbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit\newblock
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{howpubl+loc+year}%
+ \newunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \usebibmacro{editorpunct}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \usebibmacro{editorpunct}%
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \usebibmacro{editorpunct}%
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bytranslator+others}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{customc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \newunit\newblock
+ \printfield{nameaddon}%
+ \setunit*{\addspace}%
+ \usebibmacro{italtitle+stitle}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{image}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%\bibsentence
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%\bibsentence
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\newunit\newblock
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{xref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\setunit{\addperiod\addspace}%
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{xref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifterm{\setunit{\addspace\bibsentence}}{\setunit{\addperiod\addspace}}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{inreference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}% need asterisk?
+ \usebibmacro{alt-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newcunit\newblock
+ \printlist[][-\value{listtotal}]{lista}%
+ \setunit{\addspace}%
+ \ifnameundef{author}%
+ {}%
+ {\printtext[parens]{%
+ \bibstring{by}%
+ \addspace%
+ \printnames[byauthor]{author}}}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{letter}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \printtext[title]{%
+ \printfield[noformat]{title}}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{letter+date}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%\bibsentence
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \printfield{pages}%
+% \newunit\newblock
+% \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+{\ifpunctmark{*}% Attempt to fix issues with n.d. Changed for 0.9.
+ {\setunit{\nopunct\addspace\bibsentence}}%
+ {}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{xref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}%
+{\ifpunctmark{*}% Likewise.
+ {\setunit{\nopunct\addspace\bibsentence}}%
+ {}%
+ \usebibmacro{chapincoll}%
+ \bibxrefcite{\thefield{crossref}}%
+ \usebibmacro{bibpostxref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{bibauthor+org}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{edition}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock%
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{misc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \iffieldundef{entrysubtype}%
+ {\usebibmacro{italtitle+stitle}}%
+ {\printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock%
+ \usebibmacro{unpubl+letter+date}}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \iffieldundef{entrysubtype}%
+ {\newcunit\newblock
+ \usebibmacro{date}}%
+ {}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{music}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \setunit*{\addperiod\addspace}
+ \printeventdate%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \newunit\newblock
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\newunit}% Fix customc?
+ {\newcunit}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{music+ser+num}%
+ \newunit
+ \usebibmacro{music+publisher}%
+% \setunit*{\addspace}%\newblock
+ \usebibmacro{date}%
+ \setunit*{\ifthenelse{\iffieldundef{howpublished}\AND%
+ \iffieldundef{pubstate}}%
+ {\addperiod\addspace}{\space\bibstring{by}\space}}%
+ \printlist{publisher}%
+ \newunit
+ \usebibmacro{institution+organization}%
+ \setunit*{\addcomma\addspace}\newblock
+ \printlist{location}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{iswc}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit\newblock
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{url+date}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author+holder}% + holder?
+ \newunit\newblock
+ \usebibmacro{title}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addperiod\addspace}%
+ \printfield{note}%
+ \setunit{\addperiod\addspace}%
+ \printfield{type}%
+ \setunit{\addspace}%
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newcunit\newblock
+ \printfield{version}%
+ \iffieldundef{origyear}%
+ {\iffieldundef{year}%
+ {}%
+ {\bibstring{patentfiled}\setunit{\addspace}% Issued -> filed
+ \printdate}}%
+ {\bibstring{patentfiled}\setunit{\addspace}%
+ \usebibmacro{cmsorigdate}%
+ \setunit{\addcomma\addspace\bibstring{and}%
+ \addspace\bibstring{patentissued}\addspace}%
+ \usebibmacro{date}}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newunit\newblock
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{periodical}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{periodical+date+issue}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock% (changed for 0.7)??
+ \usebibmacro{periodical+issue+year+pages}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{proceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{org+publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{reference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{italtitle+stitle}%
+ \newunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{part+editor+translator}%
+ \setunit*{\addperiod\addspace}% need asterisk?
+ \usebibmacro{alt-in:}%
+ \usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{editorpunct}
+ \usebibmacro{byeditor+others}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \printfield{type}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{inst+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isrn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{review}{%
+ \usebibmacro{bibindex}%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{mag+news+author}}%
+ {\usebibmacro{author/editor}}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \setunit{\addspace}%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock%
+ \usebibmacro{issuetitle}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iffieldequalstr{entrysubtype}{magazine}
+ {\usebibmacro{mag+news+date}%
+ \newcunit\newblock
+ \usebibmacro{chap+pag}}%
+ {\usebibmacro{journal+issue+year+pages}}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{suppbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{inforaft}%
+ \setunit{\addspace}\newblock
+ \usebibmacro{italtitle+stitle}%
+ \newunit
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \newcunit%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditor}%
+ \newcunit\newblock%\usebibmacro{editorpunct}
+ \usebibmacro{chap+pag}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyAlias{suppcollection}{suppbook}
+
+\DeclareBibliographyAlias{suppperiodical}{review}
+
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}%\newblock%
+ \usebibmacro{language+transtitle}%
+ \newcunit%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \printfield{note}%
+ \setunit{\addperiod\addspace}\newblock%
+ \usebibmacro{type+inst+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \newcunit%usebibmacro{byauthorpunct}% Why does this work? No idea.
+ \usebibmacro{byauthor}% Same in thesis type, as well.
+ \setunit{\addperiod\addspace}%
+ \printfield{howpublished}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printfield{note}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \printlist{location}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{date}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@url}
+ {\usebibmacro{url+date}}%
+ {}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{video}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newunit\newblock
+ \printtext[title]{%
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \iffieldundef{booktitle}% Comma after italics, period after quotes
+ {\newcunit}
+ {\newunit}%\setunit{\addspace}\newblock%
+ \printfield{titleaddon}%\usebibmacro{title+stitle}%
+ \setunit{\addspace}\newblock%\bibsentence
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{part+editor+translator}%
+ \setunit{\addperiod\addspace}%
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newunit
+ \printfield{type}%
+ \newunit% unit, not cunit?
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{byeditor+others}%
+ \newunit% ??? Editorpunct maybe not right here?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit\newblock
+ \printfield{pages}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{ser+num}%
+ \newunit\newblock
+ \usebibmacro{cmsorigdate}%\printorigdate%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publ+loc+year}%
+ \newunit\newblock
+ \printfield{addendum}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \usebibmacro{bib+doi+url}%
+ \newunit\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \usebibmacro{originally+published+as}%
+ \usebibmacro{finentry}}%
+
+%%%% Other Formatting Macros %%%%
+
+\newbibmacro*{bib+doi+url}{% For biblatex field exclusion
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \setunit*{\addcomma\addspace}\newblock%
+ \iftoggle{cms@url}%
+ {\usebibmacro{url+date}}%
+ {}}
+
+\newbibmacro*{bibpostxref}{%
+ \iffieldundef{postnote}%
+ {\iffieldundef{chapter}%
+ {\iffieldundef{pages}%
+ {}%
+ {\postnotedelim% Extra space?
+ \printfield{pages}}}%
+ {\postnotedelim%
+ \printfield{chapter}}}%
+ {\postnotedelim%
+ \printfield{postnote}}}
+
+\newbibmacro*{mtitle+mstitle+vol+part+title+stitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{mtitle+mstitle+vol+part+btitle+bstitle}{%
+ \usebibmacro{btitle+bstitle}%
+ \iffieldundef{booktitle}
+ {\setunit{\addperiod\addspace}}% Fix customc?
+ {\setunit{\addcomma\addspace}}%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{journal+issue+year+pages}{%
+ \usebibmacro{cjournal+ser+vol+num}%
+ \ifboolexpr{% 16th ed.
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{year}}
+ and
+ not togl {cms@switchdates}
+ }%
+ {\iffieldundef{number}%
+ {\setunit{\addcolon}\printfield{pages}}%
+ {\newcunit\printfield{pages}}}%
+ {\setunit{\addspace}%
+ \printtext[parens]{%
+ \iffieldundef{issue}
+ {\usebibmacro{number+or+month}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}%
+ \setunit{\addcolon\addspace}
+ \printfield{pages}}}
+
+\newbibmacro*{periodical+issue+year+pages}{%
+ \usebibmacro{cperiodical+ser+vol+num}%
+ \ifboolexpr{% 16th ed.
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{year}}
+ and
+ not togl {cms@switchdates}
+ }%
+ {\iffieldundef{number}%
+ {\setunit{\addcolon}\printfield{pages}}%
+ {\newcunit\printfield{pages}}}%
+ {\setunit{\addspace}%
+ \printtext[parens]{%
+ \iffieldundef{issue}
+ {\usebibmacro{number+or+month}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}%
+ \setunit{\addcolon\addspace}
+ \printfield{pages}}}
+
+\newbibmacro*{bycompiler}{%
+ \ifnameundef{namec}
+ {}
+ {\bibstring{bycompiler}\addspace
+ \printnames[bycompiler]{namec}}}
+
+\renewbibmacro*{byeditor}{%
+ \ifnameundef{editor}
+ {}
+ {\usebibmacro{bytypestrg}{editor}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{byeditorx}}
+
+\renewbibmacro*{byeditorx}{%
+ \ifnameundef{editora}
+ {}
+ {\usebibmacro{bytypestrg}{editora}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditora]{editora}%
+ \usebibmacro{editorpunct}}%
+ \ifnameundef{editorb}
+ {}
+ {\usebibmacro{bytypestrg}{editorb}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorb]{editorb}%
+ \usebibmacro{editorpunct}}%
+ \ifnameundef{editorc}
+ {}
+ {\usebibmacro{bytypestrg}{editorc}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorc]{editorc}%
+ \usebibmacro{editorpunct}}}
+
+\renewbibmacro*{byeditor+others}{%
+ \ifthenelse{\NOT\ifnameundef{editor}\AND
+ \(\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}\)}
+ {\def\@tempa{byeditor}%
+ \ifnamesequal{editor}{translator}
+ {\edef\@tempa{\@tempa tr}%
+ \clearname{translator}}
+ {}%
+ \ifnamesequal{editor}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{editor}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{editor}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{editor}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{editor}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{editor}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{byeditorx}}%
+ {\usebibmacro{byeditor}}%
+ \usebibmacro{bytranslator+others}}
+
+\renewbibmacro*{bytranslator+others}{%
+ \ifnameundef{translator}
+ {}
+ {\def\@tempa{bytranslator}%
+ \ifnamesequal{translator}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{translator}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{translator}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{translator}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{translator}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{translator}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bytranslator]{translator}%
+ \clearname{translator}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{bycompiler+others}}
+
+\newbibmacro*{bycompiler+others}{%
+ \ifnameundef{namec}
+ {}
+ {\def\@tempa{bycompiler}%
+ \ifnamesequal{namec}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{namec}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{namec}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{namec}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{namec}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bycompiler]{namec}%
+ \clearname{namec}%
+ \usebibmacro{editorpunct}}%
+ \usebibmacro{byothers}}
+
+\newbibmacro*{byothers}{% Changed for 0.9
+ \usebibmacro{bytranslator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{bycompiler}%
+ \usebibmacro{editorpunct}%
+% \usebibmacro{byredactor}%
+% \usebibmacro{editorpunct}%
+ \usebibmacro{withcommentator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withannotator}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withintroduction}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withforeword}%
+ \usebibmacro{editorpunct}%
+ \usebibmacro{withafterword}}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.cbx
new file mode 100644
index 00000000000..93a7d6ba6ec
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-notes15.cbx
@@ -0,0 +1,3757 @@
+% $Id: chicago-notes15.cbx,v 0.9.7.18 2012/07/05 10:35:21 dfussner Exp $
+% This is a biblatex citation style file, adapted from Lehman's
+% authortitle-cverb.cbx. It is heavily modified, with the intention
+% of providing footnote citations and a bibliography formatted
+% according to the specifications of the Chicago Manual of Style,
+% _15th_ edition.
+
+\ProvidesFile{chicago-notes15.cbx}[2012/07/05 v 1.7 biblatex citation style]
+
+%%%% Biblatex initialization + Chicago options + Toggles %%%%
+
+\providecommand*{\mkibid}[1]{#1}
+
+%\providetoggle{cms@oneyear}% Needed for author-date
+\providetoggle{cms@reprint}% ditto
+\providetoggle{cms@switchdates}% ditto
+
+\providetoggle{cms@jrcomma}% For comma before Jr./Sr.
+
+\providetoggle{cms@url}% These are for the field-exclusion options
+\providetoggle{cms@doi}
+\providetoggle{cms@isbn}
+\providetoggle{cms@numbermonth}
+\providetoggle{cms@bookpages}
+
+\providetoggle{cms@headlessnote}
+\providetoggle{cms@fullnote}
+\providetoggle{cms@shortnote}
+\providetoggle{cms@allshort}
+\providetoggle{cms@noibid}
+\providetoggle{cms@usecompiler}
+\providetoggle{cms@shorthandibid}
+\providetoggle{cms@printshhand}
+\providetoggle{cms@origpublished}
+\providetoggle{cms@loccit}
+\providetoggle{cms@annotation}
+\providetoggle{cms@postposit}
+
+\AtEveryCitekey{%
+ \iffieldundef{userc}%
+ {}%
+ {\nocite{\thefield{userc}}}%
+ \global\togglefalse{cms@loccit}%
+ \iffieldequalstr{pubstate}{reprint}%
+ {\toggletrue{cms@reprint}}%
+ {\togglefalse{cms@reprint}}%
+ \ifboolexpr{%
+ test {\iffieldundef{origyear}}
+ or
+ test {\iffieldundef{year}}
+ or
+ not test {\iffieldint{year}}
+ or
+ not test {\iffieldint{origyear}}
+ or
+ togl {cms@switchdates}
+ }%
+ {}%
+ {\ifboolexpr{%
+ test {\iffieldundef{endyear}}%
+ or
+ not test {\iffieldnum{endyear}}
+ }%
+ {\ifthenelse{\thefield{origyear}>\thefield{year}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}%
+ {\ifthenelse{\thefield{origyear}>\thefield{endyear}}%
+ {\toggletrue{cms@switchdates}}%
+ {}}}}%
+
+\DeclareBibliographyOption{annotation}[true]{%
+ \global\toggletrue{cms@annotation}}
+
+\DeclareBibliographyOption{noibid}[true]{%
+ \global\toggletrue{cms@noibid}}
+
+\DeclareBibliographyOption{short}[true]{%
+ \global\toggletrue{cms@allshort}}
+
+\DeclareBibliographyOption{shorthandibid}[true]{%
+ \global\toggletrue{cms@shorthandibid}}
+
+\DeclareBibliographyOption{usecompiler}[true]{%
+ \settoggle{cms@usecompiler}{#1}}
+
+\DeclareEntryOption{usecompiler}[true]{%
+ \settoggle{cms@usecompiler}{#1}}
+
+\DeclareBibliographyOption{juniorcomma}[true]{%
+ \settoggle{cms@jrcomma}{#1}}
+
+\DeclareEntryOption{juniorcomma}[true]{%
+ \settoggle{cms@jrcomma}{#1}}
+
+% The field-exclusion options %
+
+\DeclareBibliographyOption{isbn}[true]{%
+ \settoggle{cms@isbn}{#1}}
+\DeclareBibliographyOption{url}[true]{%
+ \settoggle{cms@url}{#1}}
+\DeclareBibliographyOption{doi}[true]{%
+ \settoggle{cms@doi}{#1}}
+\DeclareBibliographyOption{numbermonth}[true]{%
+ \settoggle{cms@numbermonth}{#1}}
+\DeclareBibliographyOption{bookpages}[true]{%
+ \settoggle{cms@bookpages}{#1}}
+\DeclareBibliographyOption{includeall}[true]{%
+ \settoggle{cms@isbn}{#1}%
+ \settoggle{cms@url}{#1}%
+ \settoggle{cms@doi}{#1}%
+ \settoggle{cms@numbermonth}{#1}%
+ \settoggle{cms@bookpages}{#1}}
+
+\DeclareEntryOption{isbn}[true]{%
+ \settoggle{cms@isbn}{#1}}
+\DeclareEntryOption{url}[true]{%
+ \settoggle{cms@url}{#1}}
+\DeclareEntryOption{doi}[true]{%
+ \settoggle{cms@doi}{#1}}
+\DeclareEntryOption{numbermonth}[true]{%
+ \settoggle{cms@numbermonth}{#1}}
+\DeclareEntryOption{bookpages}[true]{%
+ \settoggle{cms@bookpages}{#1}}
+
+\ExecuteBibliographyOptions{includeall}
+
+% For author-date compatibility %
+
+\DeclareEntryOption{switchdates}[true]{%
+ \settoggle{cms@switchdates}{#1}}
+
+\DeclareEntryOption{cmsdate}{}%
+
+\DeclareBibliographyOption{strict}[true]{%
+ \let\splitfootnoterule\footnoterule
+ \renewcommand\footnoterule{}%
+ \advance\skip\footins 4\p@\@plus2\p@\relax
+ \gdef\split@prev{0}
+ \let\pagefootnoterule\footnoterule
+ % \def\splitfootnoterule{\kern-3\p@ \hrule \kern2.6\p@}
+ \def\footnoterule{\relax
+ \ifnum\split@prev=\z@
+ \pagefootnoterule
+ \else
+ \splitfootnoterule
+ \fi
+ \xdef\split@prev{\the\insertpenalties}%
+ }}
+
+
+\protected\def\blx@newcunit{%
+ \global\let\blx@unitpunct\newcunitpunct
+ \global\toggletrue{blx@unit}}%
+
+\appto\blx@blxinit{%
+ \let\newcunit\blx@newcunit}
+
+\newcommand*{\newcunitpunct}{\addcomma\space}
+
+\def\mkbibcurdinal#1{%
+ \@tempcnta0#1 \the\@tempcnta}%
+
+\@ifpackagelater{biblatex}{2011/01/04}
+{}
+{\PackageError{biblatex}
+ {Outdated 'biblatex' package}
+ {The Chicago style requires biblatex v1.1 or later.\MessageBreak
+ You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak
+ This is a fatal error. I'm aborting now.}%
+ \endinput}
+
+%%%% Initialize and define bibstrings %%%%
+
+%%%% Now in cms-*.lbx %%%%
+
+%%%% Cite macros for use by the citation commands %%%%
+
+\newbibmacro*{cite:init}{%
+ \global\let\cbx@lastkey\undefined}
+
+\newbibmacro*{cite:save}{%
+ \savefield{entrykey}{\cbx@lastkey}}
+
+\newbibmacro*{cite}{%
+ \ifciteseen%
+ {\iffieldundef{shorthand}%
+ {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
+ {\usebibmacro{cite:ibid}}%
+ {\global\toggletrue{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}%
+ \usebibmacro{cite:short}%
+ \usebibmacro{cite:save}}}%
+ {\iftoggle{cms@shorthandibid}%
+ {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
+ {\usebibmacro{cite:ibid}}%
+ {\usebibmacro{cite:shorthand}%
+ \usebibmacro{cite:save}}}%
+ {\usebibmacro{cite:shorthand}%
+ \usebibmacro{cite:save}}}}%
+ {\iftoggle{cms@allshort}%
+ {\global\toggletrue{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}%
+ \global\toggletrue{cms@printshhand}%
+ \usebibmacro{cite:short}%
+ \usebibmacro{cite:save}}%
+ {\global\toggletrue{cms@fullnote}%
+ \global\togglefalse{cms@shortnote}%
+ \usebibmacro{cite:full}%
+ \usebibmacro{cite:save}}}}%
+
+\newbibmacro*{crosscite}{%
+ \ifciteseen
+ {\iffieldundef{shorthand}
+ {\ifthenelse{\iffieldequals{entrykey}{\cbx@lastkey}\AND
+ \NOT\iffirstonpage}
+ {\usebibmacro{cite:ibid}}%
+ {\global\toggletrue{cms@shortnote}%
+ \global\toggletrue{cms@fullnote}%
+ \usebibmacro{cite:short}%
+ \usebibmacro{fullpostnote}%
+ \usebibmacro{cite:save}}}%
+ {\global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}%
+ \usebibmacro{cite:shorthand}%
+ \usebibmacro{cite:init}}}%
+ {\iftoggle{cms@allshort}%
+ {\global\toggletrue{cms@shortnote}%
+ \usebibmacro{cite:short}%
+ \usebibmacro{fullpostnote}%
+ \usebibmacro{cite:save}}%
+ {\global\toggletrue{cms@fullnote}%
+ \usebibmacro{cite:crossfull}%
+ \usebibmacro{cite:save}}}}%
+
+\newbibmacro*{cite:full}{%
+ \printtext[bibhypertarget]{%
+ \usedriver
+ {\DeclareNameAlias{sortname}{default}\frenchspacing}
+ {cite:\thefield{entrytype}}%
+ \iffieldundef{shorthand}
+ {}%
+ {\usebibmacro{cms:shorthandintro}}}}
+
+\newbibmacro*{cite:crossfull}{%
+ \printtext[bibhypertarget]{%
+ \usedriver
+ {\DeclareNameAlias{sortname}{default}\frenchspacing}
+ {cite:crossfull}%
+ \iffieldundef{shorthand}
+ {}
+ {\usebibmacro{cms:shorthandintro}}}}
+
+\newbibmacro*{cite:short}{%
+ \ifthenelse{\ifnameundef{labelname}\OR%
+ \iffieldequalstr{entrytype}{inreference}\OR%
+ \iffieldequalstr{entrytype}{reference}}%
+ {\iffieldequalstr{entrysubtype}{magazine}% Simplify .bib creation
+ {\ifuseauthor%
+ {\printfield[journaltitle]{journaltitle}\isdot\newcunit}%
+ {}}%
+ {\iffieldequalstr{entrytype}{manual}%
+ {\printlist{organization}\isdot\newcunit}%
+ {}}}%
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{labelname}%
+ \bibrightbracket\classicpunct}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{labelname}?%
+ \bibrightbracket\classicpunct}%
+ {\printnames{labelname}%
+ \isdot\classicpunct}}}%
+ \ifboolexpr{%
+ togl {cms@allshort}%
+ or
+ test {\ifbibliography}
+ }%
+ {\printtext[bibhyperref]{%
+ \printfield[citetitle]{labeltitle}}}%
+ {\printtext[bibhyperlink]{%
+ \printfield[citetitle]{labeltitle}}}}%:\thefield{entrytype}?
+
+\newbibmacro*{cite:shorthand}{%
+ \iftoggle{cms@allshort}%
+ {\printtext[bibhyperref]{%
+ \printfield{shorthand}}}%
+ {\printtext[bibhyperlink]{%
+ \printfield{shorthand}}}}
+
+\newbibmacro*{cms:shorthandintro}{% For changing the citedas phrase
+ \iffieldundef{shorthandintro}%
+ {\addperiod\space%
+ \bibstring{citedas}\space%
+ \printfield{shorthand}}%
+ {\addperiod\space%
+ \printfield{shorthandintro}}}
+
+\newbibmacro*{cite:ibid}{%
+ \iftoggle{cms@noibid}
+ {\global\toggletrue{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}%
+ \usebibmacro{cite:short}%
+ \usebibmacro{cite:save}}%
+ {\iftoggle{cms@allshort}%
+ {\printtext[bibhyperref]{%
+ \bibstring[\mkibid]{ibidem}}}%
+ {\printtext[bibhyperlink]{%
+ \bibstring[\mkibid]{ibidem}}}%
+ \ifloccit
+ {\global\toggletrue{cms@loccit}}%
+ {}}}
+
+\newbibmacro*{cite:journal}{%
+ \ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}%
+ {\usebibmacro{cite:ibid}}%
+ {\iffieldundef{journaltitle}%
+ {\usebibmacro{cite:short}}%
+ {\iffieldequalstr{authortype}{anon}%
+ {\bibleftbracket\printnames{labelname}%
+ \bibrightbracket\newcunit}%
+ {\iffieldequalstr{authortype}{anon?}%
+ {\bibleftbracket\printnames{labelname}?%
+ \bibrightbracket\newcunit}%
+ {\printnames{labelname}%
+ \isdot\newcunit}}%
+ \printfield[journaltitle]{journaltitle}%
+ \iffieldundef{volume}%
+ {\iffieldundef{number}%
+ {\iffieldundef{issue}
+ {\newcunit%
+ \usebibmacro{number+or+month}}%
+ {\newcunit%
+ \printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}%
+ {\newcunit%
+ \printfield[journum]{number}}}%
+ {\toggletrue{cms@fullnote}%
+ \togglefalse{cms@shortnote}%
+ \setunit{\addspace}%
+ \printfield[jourvol]{volume}\setunit{\addcolon}}}}}
+
+%%%% Citation Commands, internal and external %%%%
+
+\DeclareCiteCommand{\cite}
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\xrefcite}
+ {}%\usebibmacro{clearalmostall}} (?)
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cms-in:}%
+ \ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT%
+ \(\iffieldequalstr{entrytype}{collection}\OR%
+ \iffieldequalstr{entrytype}{proceedings}\)}%
+ {\clearname{author}%
+ \clearname{shortauthor}%
+ \clearname{labelname}}%
+ {}%
+ \usebibmacro{crosscite}}
+ {}
+ {}%\usebibmacro{xrefpostnote}}
+
+\DeclareCiteCommand{\bibxrefcite}
+ {}%\usebibmacro{clearalmostall}} (?)
+ {\usebibmacro{cms-in:}%
+ \ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND\NOT%
+ \(\iffieldequalstr{entrytype}{collection}\OR%
+ \iffieldequalstr{entrytype}{proceedings}\)}%
+ {\clearname{author}%
+ \clearname{shortauthor}%
+ \clearname{labelname}}%
+ {}%
+ \toggletrue{cms@shortnote}%
+ \togglefalse{cms@fullnote}%
+ \usebibmacro{cite:short}}
+ {}
+ {}
+
+\DeclareCiteCommand*{\cite}
+ {\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \blx@ibidreset
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\parencite}[\mkbibparens]
+ {\usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\footcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}%\bibsentence
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\smartcite}
+ [\iffootnote{}{\mkbibfootnote}]
+ {\usebibmacro{prenote}}%\bibsentence
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareMultiCiteCommand{\smartcites}[\iffootnote{}{\mkbibfootnote}]%
+{\smartcite}{\multicitedelim}
+
+\DeclareCiteCommand{\footfullcite}[\mkbibfootnote]
+ {\usebibmacro{prenote}}%\bibsentence
+ {\usebibmacro{citeindex}%
+ \toggletrue{cms@fullnote}%
+ \togglefalse{cms@shortnote}%
+ \usebibmacro{cite:full}%
+ \usebibmacro{cite:save}}
+ {\multicitedelim}
+ {}
+
+\DeclareCiteCommand{\fullcite}
+ {\usebibmacro{prenote}}%\bibsentence
+ {\usebibmacro{citeindex}%
+ \toggletrue{cms@fullnote}%
+ \togglefalse{cms@shortnote}%
+ \usebibmacro{cite:full}
+ \usebibmacro{cite:save}}
+ {\multicitedelim}
+ {}
+
+\DeclareCiteCommand{\origfullcite}
+ {\ifhyperref%
+ {\hypertarget{cite.\the\c@refsection @\abx@field@entrykey}{}}%
+ {}%
+ \nopunct\unspace}% Put \nopunct and \unspace here for 0.8e.
+ {\usedriver
+ {\DeclareNameAlias{sortname}{default}\clearfield{postnote}
+ \clearname{author}\clearfield{userf}\toggletrue{cms@fullnote}%
+ \toggletrue{cms@headlessnote}\frenchspacing}%
+ {cite:\thefield{entrytype}}}%
+ {\multicitedelim}%
+ {\finentry}% Helps with annotated bibliographies (?)
+
+\DeclareCiteCommand{\origpublcite}% Similar to above, w/o title.
+ {\ifhyperref%
+ {\hypertarget{cite.\the\c@refsection @\abx@field@entrykey}{}}%
+ {}%
+ \nopunct\unspace}% Put \nopunct and \unspace here for 0.8e.
+ {\usedriver
+ {\DeclareNameAlias{sortname}{default}\clearfield{postnote}%
+ \usebibmacro{clearpublin}%
+ \toggletrue{cms@fullnote}\toggletrue{cms@headlessnote}%
+ \toggletrue{cms@origpublished}\frenchspacing}%
+ {cite:\thefield{entrytype}}}%
+ {\multicitedelim}%
+ {\finentry}
+
+\DeclareCiteCommand{\headlessfullcite}
+ {\usebibmacro{hlprenote}}%
+ {\printtext[bibhypertarget]{%
+ \usedriver
+ {\DeclareNameAlias{sortname}{default}\clearname{author}%
+ \toggletrue{cms@fullnote}\toggletrue{cms@headlessnote}%
+ \usebibmacro{cite:save}}%
+ {cite:\thefield{entrytype}}}}%
+ {\multicitedelim}%
+ {}%\usebibmacro{finentry}}
+
+\DeclareCiteCommand{\headlesscite}
+ {\usebibmacro{hlcprenote}}
+ {\usebibmacro{citeindex}%
+ \toggletrue{cms@headlessnote}%
+ \clearname{author}%
+ \clearname{shortauthor}%
+ \clearname{labelname}%
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{cite:postnote}}
+
+\DeclareCiteCommand{\shortcite}
+ {\usebibmacro{prenote}}
+ {\toggletrue{cms@shortnote}%
+ \togglefalse{cms@fullnote}%
+ \usebibmacro{citeindex}%
+ \usebibmacro{cite:short}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareCiteCommand{\citejournal}% Name?
+ {\usebibmacro{journalprenote}}
+ {\toggletrue{cms@shortnote}%
+ \togglefalse{cms@fullnote}%
+ \usebibmacro{citeindex}%
+ \usebibmacro{cite:journal}}
+ {\multicitedelim}
+ {\usebibmacro{fullpostnote}}
+
+\DeclareCiteCommand{\citeauthor}
+ {\boolfalse{citetracker}%
+ \boolfalse{pagetracker}%
+ \usebibmacro{prenote}}
+ {\toggletrue{cms@shortnote}%
+ \togglefalse{cms@fullnote}%
+ \ifciteindex
+ {\indexnames{labelname}}
+ {}%
+ \printnames{labelname}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
+\DeclareMultiCiteCommand{\citetitles}{citetitle}{\multicitedelim}
+
+%%%% Drivers for the Long Note Format %%%%
+
+\DeclareBibliographyDriver{cite:article}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{cmag+news+author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{cmag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%\newblock%
+ \usebibmacro{issuetitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cbyeditor+others}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{mag+news+date}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+ {\usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{cmag+news+title}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{issuetitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cbyeditor+others}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cjournal+issue+year+pages}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{cite:artwork}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit\newblock
+ \usebibmacro{cbyeditor+others}%
+ \newcunit\newblock
+ \printfield{howpublished}%
+ \newcunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{institution+organization}%
+ \newcunit\newblock
+ \printlist{location}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:audio}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \newcunit
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \newcunit
+ \printfield{type}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}%
+ \newcunit\newblock
+ \printfield{ismn}}%
+ {}%
+ \newcunit\newblock%
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \newcunit
+ \usebibmacro{cmtitle+mstitle+vol+part+title+stitle}%
+ \newcunit\newblock
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \iftoggle{cms@bookpages}%
+ {}%
+ {\clearfield{pages}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printlist[][-\value{listtotal}]{lista}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:bookinbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:booklet}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit\newblock
+ \usebibmacro{byauthor}%
+ \newcunit
+ \printfield{note}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \usebibmacro{howpubl+loc+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \usebibmacro{mtitle+mstitle+vol+part+title+stitle}%
+ \newcunit\newblock
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{cbytranslator+others}%
+ \newcunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:crossfull}{%
+ \usebibmacro{crefmtitle+mstitle+vol+part+title+stitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}}%
+
+\DeclareBibliographyDriver{cite:customc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \newcunit\newblock
+ \printfield{nameaddon}%
+ \setunit*{\addspace}%
+ \usebibmacro{italtitle+stitle}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:image}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{date}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit\newblock
+ \usebibmacro{cbyeditor+others}%
+ \newcunit\newblock
+ \printfield{howpublished}%
+ \newcunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{institution+organization}%
+ \newcunit\newblock
+ \printlist{location}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cpart+editor+translator}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock%
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cpart+editor+translator}%
+ \setunit{\addcomma\addspace}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}
+ {\usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}% All altered for 0.9c.
+ {\addcomma\addspace}% Perhaps need to alter it back
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{xref}}% Removed \addspace from each.
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}%
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}%
+ {\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{crossref}}%
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{cite:inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cpart+editor+translator}%
+ \setunit{\addcomma\addspace}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}
+ {\usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit\newblock
+ \usebibmacro{cbyeditor+others}%
+ \newcunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \usebibmacro{org+publ+loc+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}% See incollection
+ {\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{xref}}%
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}%
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}%
+ {\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{crossref}}%
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{cite:inreference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{alt-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{inreffullpostnote}%
+ \setunit{\addspace}%
+ \ifnameundef{author}%
+ {}%
+ {\printtext[parens]{%
+ \bibstring{by}%
+ \addspace%
+ \printnames{author}}}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:letter}{%
+ \usebibmacro{bibindex}%
+ \savefield{fullhash}{\bbx@lasthash}%
+ \printtext[title]{%
+ \printfield[noformat]{title}}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{letter+date}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock%
+ \usebibmacro{cpart+editor+translator}%
+ \setunit*{\addcomma\addspace}%
+ \iffieldundef{crossref}%
+ {\iffieldundef{xref}%
+ {\usebibmacro{chapincoll}%
+ \usebibmacro{cms-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubletter+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}%
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}%
+ {\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{xref}}%
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}%
+ {\ifterm{\iffieldundef{chapter}% New test needed to cope with
+ {\addspace\bibsentence}% new chapter citing system.
+ {\setunit{\addspace\bibsentence}}}%
+ {\addcomma\addspace}%
+ \usebibmacro{chapincoll}%
+ \xrefcite{\thefield{crossref}}%
+ \usebibmacro{xrefpostnote}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{cite:manual}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author+org}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock%
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \usebibmacro{edition}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{type}%
+ \newcunit
+ \printfield{note}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \usebibmacro{org+publ+loc+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:misc}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \iffieldundef{entrysubtype}%
+ {\usebibmacro{citaltitle+stitle}}%
+ {\printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock
+ \usebibmacro{unpubl+letter+date}}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit\newblock
+ \usebibmacro{cbyeditor+others}%
+ \newcunit\newblock
+ \printfield{howpublished}%
+ \newcunit\newblock
+ \printfield{type}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{institution+organization}%
+ \newcunit\newblock
+ \printlist{location}%
+ \iffieldundef{entrysubtype}%
+ {\newcunit\newblock
+ \usebibmacro{date}}%
+ {}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:music}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit
+ \printeventdate%
+ \newcunit\newblock
+ \usebibmacro{cpart+editor+translator}%
+ \newcunit
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{music+ser+num}%
+ \newcunit\newblock
+ \usebibmacro{music+publisher}%
+% \setunit*{\addspace}%\newblock
+ \usebibmacro{date}%
+ \setunit*{\ifthenelse{\iffieldundef{howpublished}\AND%
+ \iffieldundef{pubstate}}%
+ {\addcomma\addspace}{\addspace}}%
+ \printlist{publisher}%
+ \newcunit
+ \usebibmacro{institution+organization}%
+ \newcunit\newblock
+ \printlist{location}%
+ \newcunit\newblock
+ \printfield{type}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{iswc}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}%
+ \printlist{organization}%
+ \setunit{\addcomma\addspace}
+ \usebibmacro{date}%
+ \setunit{\addcomma\addspace}%
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{url+date}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author+holder}% +holder?
+ \newcunit\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}\newblock%
+ \printfield{note}%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newcunit\newblock
+ \printfield{version}%
+ \newcunit
+ \iffieldundef{origyear}%
+ {\iffieldundef{year}%
+ {}%
+ {\bibstring{patentfiled}\setunit{\addspace}% Changed to filed
+ \printdate}}%
+ {\bibstring{patentfiled}\setunit{\addspace}%
+ \usebibmacro{cmsorigdate}%
+ \setunit{\addcomma\addspace\bibstring{and}%
+ \addspace\bibstring{patentissued}\addspace}%
+ \usebibmacro{date}}%
+ \newcunit%
+ \printfield{addendum}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:periodical}{%
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%\newblock%
+ \usebibmacro{cbyeditor+others}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{periodical+date+issue}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}%
+ {\usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{issuetitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cbyeditor+others}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cperiodical+issue+year+pages}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}}
+
+\DeclareBibliographyDriver{cite:proceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock%
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \usebibmacro{cmtitle+mstitle+vol+part+title+stitle}%
+ \newcunit\newblock
+ \usebibmacro{cbytranslator+others}%
+ \newcunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \usebibmacro{org+publ+loc+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:reference}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit\newblock
+ \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{alt-in:}%
+ \usebibmacro{cmtitle+mstitle+vol+part+btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:report}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{type}%
+ \newcunit
+ \printfield{note}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \usebibmacro{inst+loc+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isrn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:review}{%
+ \usebibmacro{bibindex}%
+ \iffieldequalstr{entrysubtype}{magazine}
+ {\usebibmacro{cmag+news+author}}%
+ {\usebibmacro{author/editor}}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \printfield{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}%
+ \newcunit\newblock
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%\newblock%
+ \usebibmacro{issuetitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{cbyeditor+others}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addcomma\addspace}%
+ \iffieldequalstr{entrysubtype}{magazine}
+ {\usebibmacro{mag+news+date}}%
+ {\usebibmacro{cjournal+issue+year+pages}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{issn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:suppbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{inforaft}%
+ \setunit{\addspace}\newblock
+ \usebibmacro{citaltitle+stitle}%
+ \newcunit
+ \iffieldundef{maintitle}%
+ {\iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}%
+ \newcunit
+ \printfield{volumes}%
+ \clearfield{volumes}}}%
+ {}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \newcunit\newblock
+ \usebibmacro{cmtitle+mstitle+vol+part+title+stitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \usebibmacro{cbyeditor}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isbn}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyAlias{cite:suppcollection}{cite:suppbook}
+
+\DeclareBibliographyAlias{cite:suppperiodical}{cite:review}
+
+\DeclareBibliographyDriver{cite:thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addcomma\addspace}%
+ \printfield{note}%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \usebibmacro{type+inst+year}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \setunit{\addcomma\addspace}\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \setunit{\addcomma\addspace}%
+ \usebibmacro{byauthor}%
+ \setunit{\addspace}\newblock%
+ \printtext[parens]{%
+ \printfield{howpublished}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \printlist{location}%
+ \newcunit\newblock
+ \usebibmacro{date}}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@url}%
+ {\usebibmacro{url+date}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{cite:video}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{author/editor}%
+ \setunit{\addspace}%
+ \printfield{nameaddon}%
+ \newcunit\newblock
+ \usebibmacro{ctitle+stitle}%
+ \setunit{\addspace}\newblock%
+ \usebibmacro{language+transtitle}%
+ \newcunit
+ \usebibmacro{byauthor}%
+ \newcunit
+ \usebibmacro{cpart+editor+translator}%
+ \newcunit
+ \usebibmacro{chapinscore}%
+ \usebibmacro{btitle+bstitle}%
+ \newcunit
+ \iffieldundef{edition}%
+ {}%
+ {\usebibmacro{edition}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}%
+ \clearfield{volume}%
+ \clearfield{part}}%
+ {}%
+ \newcunit
+ \printfield{volumes}
+ \clearfield{volumes}}%
+ \newcunit
+ \printfield{type}%
+ \newcunit
+ \usebibmacro{bybookauthor}%
+ \usebibmacro{cbyeditor+others}%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}
+ \newcunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newcunit
+ \printfield{volumes}%
+ \newcunit\newblock
+ \usebibmacro{ser+num}%
+ \newcunit\newblock
+ \printfield{note}%
+ \newcunit\newblock
+ \usebibmacro{cpubl+loc+year}%
+ \usebibmacro{fullpostnote}%
+ \newcunit\newblock
+ \printfield{addendum}%
+ \newcunit\newblock
+ \iftoggle{cms@isbn}%
+ {\printfield{isan}}%
+ {}%
+ \newcunit\newblock
+ \usebibmacro{cite+doi+url}%
+ \newcunit\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+%%%% List Formats %%%%
+
+\DeclareListFormat{language}{%
+ \ifthenelse{\value{listcount}=1}%
+ {\bibleftbracket\bibstring{inlang}\addspace%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}%
+ \ifthenelse{\value{listtotal}=1}%
+ {\bibrightbracket}%
+ {}}%
+ {\ifthenelse{\value{listcount}=\value{listtotal}}%
+ {\multilangdelim%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}%
+ \bibrightbracket}%
+ {\multilangdelim%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{lang#1}
+ {\bibstring{lang#1}}
+ {#1}}}}%
+ \usebibmacro{langlist:andothers}}
+
+\DeclareListFormat{publisher}{%
+ \ifthenelse{\value{listtotal}<2}%
+ {#1\isdot}%
+ {\ifthenelse{\value{listcount}=1}%
+ {#1}%
+ {\multipubsdelim #1\isdot}}}
+
+\DeclareListFormat{periodplace}{\mkbibparens{#1}}
+
+\DeclareListFormat{lista}{%
+ \ifthenelse{\value{listtotal}<2}
+ {s\adddot v\adddot\addspace\mkbibquote{#1\isdot}}%
+ {\ifthenelse{\value{listcount}=1}%
+ {s\adddot vv\adddot\addspace \mkbibquote{#1\isdot}\addcomma}%
+ {\ifthenelse{\value{listcount}<\value{listtotal}}%
+ {\addspace\mkbibquote{#1\isdot}\addcomma}%
+ {\addspace\mkbibquote{#1\isdot}}}}}
+
+%%%% Field Formats -- Title, Citetitle, Lostitle %%%%
+
+
+\DeclareFieldFormat[article]{title}{%
+ \iffieldundef{title}%
+ {}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldFormat[article]{citetitle}{%
+ \iffieldundef{title}%
+ {#1\isdot}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldFormat[article]{lostitle}{%
+ \iffieldundef{title}%
+ {#1\isdot}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldFormat[artwork]{title}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {#1\isdot}}
+
+\DeclareFieldFormat[artwork]{citetitle}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {#1\isdot}}
+
+\DeclareFieldFormat[artwork]{lostitle}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {#1\isdot}}
+
+\DeclareFieldFormat[book]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[book]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[book]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[periodical]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[periodical]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[periodical]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldAlias[image]{title}[article]{title}
+
+\DeclareFieldAlias[image]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[image]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[incollection]{title}[article]{title}
+
+\DeclareFieldAlias[incollection]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[incollection]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat[letter]{title}{#1\isdot}
+
+\DeclareFieldFormat[letter]{citetitle}{#1\isdot}
+
+\DeclareFieldFormat[letter]{lostitle}{#1\isdot}
+
+\DeclareFieldAlias[inproceedings]{title}[article]{title}
+
+\DeclareFieldAlias[inproceedings]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[inproceedings]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[thesis]{title}[article]{title}
+
+\DeclareFieldAlias[thesis]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[thesis]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[patent]{title}[article]{title}
+
+\DeclareFieldAlias[patent]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[patent]{lostitle}[article]{lostitle}
+
+\DeclareFieldAlias[unpublished]{title}[article]{title}
+
+\DeclareFieldAlias[unpublished]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[unpublished]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat{postnote}{% Removed \isdots -- required
+ \iffieldundef{pagination}% elsewhere also?
+ {#1}%
+ {\mkpageprefix[pagination]{#1}}}
+
+\DeclareFieldFormat[inreference]{postnote}{%
+ \iffieldundef{pagination}%
+ {s\adddot v\adddot\addspace\mkbibquote{#1}}
+ {\mkpageprefix[pagination]{#1}}}% Removed \isdots here, also.
+
+\DeclareFieldFormat{pages}{%
+ \iffieldundef{bookpagination}%
+ {#1\isdot}%
+ {\mkpageprefix[bookpagination]{#1\isdot}}}
+
+\DeclareFieldFormat{edlang}{%
+ \ifbibstring{#1}
+ {\bibstring{#1}}
+ {\ifbibstring{ed#1}
+ {\bibstring{ed#1}}
+ {\ifcapital{\MakeCapital{#1}}{#1}}}}
+
+\DeclareFieldAlias[inbook]{title}[article]{title}
+
+\DeclareFieldAlias[inbook]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[inbook]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat[suppbook]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[suppbook]{citetitle}{%
+ \usebibmacro{inforaft}%
+ \addspace%
+ \mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[suppbook]{lostitle}{%
+ \usebibmacro{inforaft}%
+ \addspace%
+ \mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[customc]{title}{%
+ \iffieldundef{nameaddon}%
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ #1}%
+ {#1}}
+
+\DeclareFieldFormat[customc]{citetitle}{%
+ \iffieldundef{nameaddon}%
+ {\mkbibemph{\bibstring{see}}%
+ \addspace%
+ #1}%
+ {\printfield{nameaddon}\addspace #1}}
+
+\DeclareFieldAlias[suppcollection]{title}[suppbook]{title}
+
+\DeclareFieldAlias[suppcollection]{citetitle}[suppbook]{citetitle}
+
+\DeclareFieldAlias[suppcollection]{lostitle}[suppbook]{lostitle}
+
+\DeclareFieldFormat[booklet]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[booklet]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[booklet]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[manual]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[manual]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[manual]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[report]{title}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[report]{citetitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[report]{lostitle}{\mkbibemph{#1}\isdot}
+
+\DeclareFieldFormat[misc]{title}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {\ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}}
+
+\DeclareFieldFormat[misc]{citetitle}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {\ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}}
+
+\DeclareFieldFormat[misc]{lostitle}{%
+ \iffieldundef{entrysubtype}%
+ {\mkbibemph{#1}\isdot}%
+ {\ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}}
+
+\DeclareFieldFormat[review]{title}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}
+
+\DeclareFieldFormat[review]{citetitle}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}
+
+\DeclareFieldFormat[review]{lostitle}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}
+
+\DeclareFieldAlias[suppperiodical]{title}[review]{title}
+
+\DeclareFieldAlias[suppperiodical]{citetitle}[review]{citetitle}
+
+\DeclareFieldAlias[suppperiodical]{lostitle}[review]{lostitle}
+
+\DeclareFieldAlias[online]{title}[article]{title}
+
+\DeclareFieldAlias[online]{citetitle}[article]{citetitle}
+
+\DeclareFieldAlias[online]{lostitle}[article]{lostitle}
+
+\DeclareFieldFormat[video]{title}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{#1}\isdot}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldFormat[video]{citetitle}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{#1}\isdot}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldFormat[video]{lostitle}{%
+ \iffieldundef{booktitle}%
+ {\mkbibemph{#1}\isdot}%
+ {\mkbibquote{#1\isdot}}}
+
+\DeclareFieldAlias[music]{title}[video]{title}
+
+\DeclareFieldAlias[music]{citetitle}[video]{citetitle}
+
+\DeclareFieldAlias[music]{lostitle}[video]{lostitle}
+
+\DeclareFieldAlias[audio]{title}[video]{title}
+
+\DeclareFieldAlias[audio]{citetitle}[video]{citetitle}
+
+\DeclareFieldAlias[audio]{lostitle}[video]{lostitle}
+
+%%%% Other Field Formats %%%%
+
+\DeclareNumChars*{:}% For proper ibidem with multi-volume works.
+
+\DeclareFieldFormat{letterday}{\mkbibcurdinal{#1}}
+
+\DeclareFieldFormat{note}{%
+ \ifcapital{\MakeCapital{#1}}{#1}}%
+
+\DeclareFieldFormat[suppbook]{type}{%
+ \ifbibstring{#1}%
+ {\bibstring{#1}}%
+ {\ifcapital%
+ {\MakeCapital{#1\isdot}}%
+ {#1\isdot}}}
+
+\DeclareFieldFormat[artwork]{type}{%
+ \ifcapital%
+ {\MakeCapital{#1}}%
+ {#1}}
+
+\DeclareFieldAlias[image]{type}[artwork]{type}
+
+\DeclareFieldAlias[suppcollection]{type}[suppbook]{type}
+
+\DeclareFieldAlias[video]{type}[suppbook]{type}
+
+\DeclareFieldAlias[music]{type}[suppbook]{type}
+
+\DeclareFieldAlias[audio]{type}[suppbook]{type}
+
+\DeclareFieldFormat{url}{\url{#1}}
+
+\DeclareFieldFormat{doi}{%
+ \textrm{doi}\addcolon
+ \ifhyperref
+ {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}}
+
+\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1\bibsentence}}% ?!
+
+\DeclareFieldFormat[customc]{nameaddon}{% For cross-refs
+ \ifbibstring{#1}%
+ {\mkbibemph{\bibstring{#1}}}%
+ {#1}}
+
+\DeclareFieldFormat{edition}{% New in 0.8
+ \ifinteger{#1}
+ {\mkbibordinal{#1}~\bibstring{edition}}%
+ {\ifcapital
+ {\MakeCapital{#1\isdot}}%
+ {#1\isdot}}}
+
+\DeclareFieldFormat{year}{% To cope with abbreviation n.d.
+ \iftoggle{cms@fullnote}%
+ {#1\bibsentence}%
+ {#1\isdot}}% (?)
+
+\DeclareFieldFormat[misc]{year}{#1\isdot}
+
+\DeclareFieldFormat[article]{year}{% To cope with abbreviation n.d.
+ \iffieldequalstr{entrysubtype}{magazine}%
+ {#1\isdot}
+ {#1\bibsentence}}
+
+\DeclareFieldAlias[review]{year}[article]{year}
+
+\DeclareFieldAlias[periodical]{year}[article]{year}
+
+\DeclareFieldAlias[suppperiodical]{year}[article]{year}
+
+\DeclareFieldFormat{usere}{[#1]} % Better than mkbibbrackets?
+
+\DeclareFieldFormat{titleaddon}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}%\custpunctc?
+
+\DeclareFieldAlias{booktitleaddon}{titleaddon}
+
+\DeclareFieldAlias{maintitleaddon}{titleaddon}
+
+\DeclareFieldFormat{issuetitle}{\mkbibquote{#1\isdot}}
+
+\DeclareFieldFormat{jourser}{%
+ \ifinteger{#1}%
+ {\mkbibordinal{#1}%
+ \addnbspace%
+ \bibstring{jourser}}%
+ {\ifbibstring{#1}{\bibstring{#1}}{#1}}}
+
+\DeclareFieldFormat{journum}{% Revised for 0.9.5
+ \ifboolexpr{%
+ test {\ifnumerals{#1}}
+ and
+ not test {\ifnumeral{#1}}
+ }%
+ {\bibstring{numbers}\addspace #1}%
+ {\bibstring{number}\addspace #1}}
+
+\DeclareFieldFormat{sernum}{%
+ \ifnumeral{#1}%
+ {\addnbspace #1}%
+ {\addcomma\addspace #1}}
+
+\DeclareFieldFormat{series}{#1\isdot}
+
+\DeclareFieldFormat{addendum}{%
+ \ifcapital{\MakeCapital{#1\isdot}}{#1\isdot}}
+
+% This works better here than in the entrytail macro -- userf use is
+% no longer a problem, though the page breaking still isn't ideal.
+
+\DeclareFieldFormat{annotation}{\par\nobreak \vskip \bibitemsep #1}
+
+\DeclareFieldFormat{part}{\addcomma\bibstring{partvolume}~#1}
+
+\DeclareFieldAlias[review]{volume}[article]{volume}
+
+\DeclareFieldAlias[suppperiodical]{volume}[article]{volume}
+
+%%%% Commands, for users and internal %%%%
+
+\newcommand*{\cbytypeeditor}{%
+ \iffieldundef{editortype}
+ {\bibstring{cbytypeeditor}}
+ {\bibstring{cbytype\thefield{editortype}}}}
+
+\renewcommand*{\multicitedelim}{\addsemicolon\space}
+
+\newcommand{\custpunct}{%
+ \iftoggle{cms@fullnote}%
+ {\iffieldequalstr{type}{plain}%
+ {}
+ {\addcomma}}%
+ {\iftoggle{cms@shortnote}
+ {\iffieldundef{postnote}%
+ {\ifthenelse{\value{multicitecount} < \value{multicitetotal}}%
+ {}
+ {\addperiod}}%
+ {\addcomma}}%
+ {\addperiod}}}
+
+\newcommand{\custpunctb}{%
+ \iftoggle{cms@fullnote}%
+ {\iffieldequalstr{userb}{plain}%
+ {}
+ {\addcomma}}%
+ {\iftoggle{cms@shortnote}
+ {\iffieldundef{postnote}%
+ {\ifthenelse{\value{multicitecount} < \value{multicitetotal}}%
+ {}
+ {\addperiod}}%
+ {\addcomma}}%
+ {\addperiod}}}
+
+\newcommand{\classicpunct}{%
+ \ifthenelse{\iffieldequalstr{entrysubtype}{classical}\OR%
+ \iffieldequalstr{entrytype}{letter}}%
+ {\setunit*{\addspace}}%
+ {\setunit*{\addcomma\addspace}}}
+
+\newcommand{\reprintpunct}{%
+ \iftoggle{cms@fullnote}%
+ {\setunit*{\addsemicolon\addspace}}%
+ {\setunit*{\addperiod\addspace}}}
+
+\newcommand{\encypunct}{% for named entries in an encyclopedia
+ \iftoggle{cms@fullnote}%
+ {\iffieldequalstr{entrytype}{book}%
+ {\ifthenelse{\iffieldundef{addendum}\AND\iffieldundef{doi}\AND
+ \iffieldundef{isbn}\AND\iffieldundef{url}}%
+ {\ifthenelse{\value{multicitecount} < \value{multicitetotal}}%
+ {}%
+ {\addperiod}}%
+ {\addcomma}}%
+ {\ifnameundef{author}%
+ {\ifthenelse{\iffieldundef{addendum}\AND\iffieldundef{doi}\AND
+ \iffieldundef{isbn}\AND\iffieldundef{url}}%
+ {\ifthenelse{\value{multicitecount} < \value{multicitetotal}}%
+ {}%
+ {\addperiod}}%
+ {\addcomma}}%
+ {}}}%
+ {\iffieldequalstr{entrytype}{book}%
+ {\addperiod}%
+ {\ifnameundef{author}%
+ {\addperiod}%
+ {}}}}
+
+\newcommand{\parttrans}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbytranslator}\space}%
+ {\bibstring{bytranslator}\space}}
+
+\newcommand{\partedit}{%
+ \iftoggle{cms@postposit}% Kludge to make it work in French.
+ {\iftoggle{cms@fullnote}%
+ {\bibstring{cbyeditoralt}\addspace}%
+ {\bibstring{byeditoralt}\addspace}}%
+ {\iftoggle{cms@fullnote}%
+ {\bibstring{cbyeditor}\addspace}%
+ {\bibstring{byeditor}\addspace}}}
+
+\newcommand{\partcomp}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbycompiler}\space}%
+ {\bibstring{bycompiler}\space}}
+
+\newcommand{\parteditandcomp}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbyeditorcp}\space}%
+ {\bibstring{byeditorcp}\space}}
+
+\newcommand{\parttransandcomp}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbytranslatorcp}\space}%
+ {\bibstring{bytranslatorcp}\space}}
+
+\newcommand{\partedittransandcomp}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbyeditortrcp}\space}%
+ {\bibstring{byeditortrcp}\space}}
+
+\newcommand{\parteditandtrans}{%
+ \iftoggle{cms@fullnote}%
+ {\bibstring{cbyeditortr}\space}%
+ {\bibstring{byeditortr}\space}}
+
+\newcommand{\reprint}{%
+ \iftoggle{cms@fullnote}%
+ {\bibsstring{reprint}}%
+ {\bibstring{reprint}}}
+
+\newcommand*{\multipubsdelim}{\addnbspace/\addspace}
+
+\newcommand*{\multilocsdelim}{%
+ \ifthenelse{\value{listcount}<\value{liststop}}%
+ {\ifthenelse{\numexpr\value{listcount}+1<\value{liststop}}%
+ {\addcomma\addspace}%
+ {\ifthenelse{\value{liststop}>2}%
+ {\addcomma\addspace\bibstring{and}\addspace}%
+ {\addspace\bibstring{and}\addspace}}}%
+ {}}
+
+\newcommand*{\multilangdelim}{%
+ \ifthenelse{\value{listtotal}<3}%
+ {\addspace\bibstring{and}\addspace}%
+ {\ifthenelse{\value{listcount}<\value{listtotal}}%
+ {\addcomma\addspace}%
+ {\addcomma\addspace\bibstring{and}\addspace}}}
+
+\renewcommand*{\postnotedelim}{%
+ \iftoggle{cms@shortnote}%
+ {\iffieldequalstr{entrysubtype}{classical}%
+ {\NumCheckSetup{\DeclareNumChars*{abcdeABCDE}}% Makes classical
+ \iffieldpages{postnote}% test more accurate. See 17.253.
+ {\addspace}%
+ {\addcomma\addspace}}%
+ {\iffieldundef{volumes}%
+ {\addcomma\addspace}%
+ {\addspace}}}%
+ {\iftoggle{cms@fullnote}%
+ {\ifthenelse{\(\iffieldequalstr{entrytype}{article}\OR
+ \iffieldequalstr{entrytype}{review}\OR
+ \iffieldequalstr{entrytype}{periodical}\OR
+ \iffieldequalstr{entrytype}{suppperiodical}\)\AND\NOT
+ \iffieldequalstr{entrysubtype}{magazine}}%
+ {\addcolon\addspace}%
+ {\addcomma\addspace}}%
+ {\addcomma\addspace}}}%
+
+\newcommand*{\editordelim}{% Otherwise you get a spurious comma.
+ \iffieldequalstr{editortype}{none}%
+ {\addperiod\addspace}%
+ {\addcomma\addspace}}
+
+\newcommand*{\lbx@cfromlang}{% Needed to eliminate "by" after "trans."
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{cfrom\thefield{origlanguage}}}}%
+ {\unspace}}
+
+\@ifpackagelater{biblatex}{2011/11/12}
+{\renewcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}
+{\@ifpackagelater{biblatex}{2011/07/28}
+ {\newcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}%
+ {\renewcommand*{\lbx@fromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibstring{from\thefield{origlanguage}}}}%
+ {\unspace}}}}
+
+\renewcommand*{\lbx@lfromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\biblstring{from\thefield{origlanguage}}}}%
+ {\unspace}}
+
+\renewcommand*{\lbx@sfromlang}{%
+ \iffieldundef{userf}
+ {\iffieldundef{origlanguage}
+ {\unspace}
+ {\bibsstring{from\thefield{origlanguage}}}}%
+ {\unspace}}
+
+%%%% Formatting macros, called both by cbx and bbx %%%%
+
+\newbibmacro*{finentry}{%{\finentry} To make annotated bibliography
+ \togglefalse{cms@switchdates}
+ \ifbibliography
+ {\usebibmacro{entrytail}}
+ {}%
+ \finentry}
+
+\newbibmacro*{entrytail}{% From reading.bbx, for annotated bibliography
+ \newunit\newblock
+ \iftoggle{cms@annotation}
+ {\usebibmacro{annotation}%
+ \newunit\newblock}
+ {}}%
+
+\newbibmacro*{author+holder}{%
+ \ifnameundef{author}
+ {}
+ {\printnames{author}%
+ \ifthenelse{\ifnameundef{holder}\OR
+ \ifnamesequal{author}{holder}}
+ {}
+ {\setunit{\addspace}%
+ \printtext[parens]{\printnames{holder}}}}}
+
+\renewbibmacro*{byauthor}{%
+ \ifthenelse{\ifuseauthor\OR
+ \ifnameundef{author}}
+ {}
+ {\bibstring{by}\addspace
+ \printnames[byauthor]{author}}}
+
+\newbibmacro*{byauthorpunct}{%
+ \ifthenelse{\ifuseauthor\OR\ifnameundef{author}}%
+ {\addperiod\addspace}%
+ {\newcunit}}
+
+\renewbibmacro*{bybookauthor}{%
+ \ifnameundef{bookauthor}
+ {}
+ {\ifnamesequal{author}{bookauthor}
+ {}
+ {\bibstring{by}\addspace\printnames[default]{bookauthor}%
+ \newcunit\newblock}}}
+
+\newbibmacro*{editorpunct}{%
+ \ifthenelse{\(\iffieldundef{booktitle}\AND\iffieldundef{maintitle}\)%
+ \OR\iffieldsequal{booktitle}{title}% Changed these for crossrefed
+ \OR\iffieldsequal{maintitle}{title}}% entries. Create problems?
+ {\iffieldequalstr{entrytype}{video}% Change for Video type? Appears
+ {\newcunit\newblock}% to treat italicized title as booktitle in
+ {\newunit\newblock}}% available examples.
+ {\newcunit\newblock}}
+
+\newbibmacro*{edition}{%
+ \printfield{edition}%
+ \clearfield{edition}}%
+
+\newbibmacro*{inforaft}{%
+ \ifnameundef{introduction}%
+ {\ifnameundef{afterword}%
+ {\ifnameundef{foreword}%
+ {\printfield{type}}%
+ {\bibstring{forewordto}}}%
+ {\bibstring{afterwordto}}}%
+ {\bibstring{introductionto}}}
+
+\newbibmacro*{langlist:andothers}{%
+ \ifthenelse{\value{listcount}=\value{liststop}\AND
+ \ifmoreitems}
+ {\ifnum\value{liststop}>1 \finalandcomma\fi
+ \andmoredelim\bibstring{andmore}\bibrightbracket}
+ {}}
+
+\newbibmacro*{mag+news+author}{%
+ \ifnameundef{author}%
+ {\ifthenelse{\iffieldequals{journaltitle}{\bbx@lasthash}\AND\NOT
+ \iffirstonpage}%
+ {\bibnamedash\addperiod\addspace}%
+ {\usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \savefield{journaltitle}{\bbx@lasthash}}}%
+ {\ifuseauthor%
+ {\usebibmacro{author}}%
+ {}}}
+
+\newbibmacro*{cmag+news+author}{%
+ \ifnameundef{author}%
+ {\usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}}%
+ {\ifuseauthor%
+ {\usebibmacro{author}}%
+ {}}}
+
+\newbibmacro*{type+inst+year}{%
+ \printfield{type}
+ \newcunit
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{cmsyear}}
+
+\newbibmacro*{institution+organization}{%
+ \iflistundef{organization}%
+ {\iflistundef{institution}%
+ {}%
+ {\printlist{institution}}}%
+ {\printlist{organization}%
+ \newcunit%
+ \printlist{institution}}}
+
+\newbibmacro*{bibauthor+org}{%
+ \ifnameundef{author}%
+ {\ifnameundef{editor}%
+ {\iflistundef{organization}%
+ {}%
+ {\ifboolexpr{
+ test {\iflistequals{organization}{\bbx@lasthash}}
+ and
+ not test {\iffirstonpage}
+ }%
+ {\bibnamedash\addperiod\addspace}%
+ {\printlist{organization}%
+ \savelist{organization}{\bbx@lasthash}}}}%
+ {\usebibmacro{editor}}}%
+ {\usebibmacro{author/editor}}}
+
+\newbibmacro*{author+org}{%
+ \ifnameundef{author}%
+ {\ifnameundef{editor}%
+ {\iflistundef{organization}%
+ {}%
+ {\printlist{organization}}}%
+ {\usebibmacro{editor}}}%
+ {\usebibmacro{author/editor}}}
+
+\newbibmacro*{cbytypestrg}[2]{%
+ \iffieldundef{#1type}
+ {\bibstring{cby#2}}
+ {\bibstring{cby\thefield{#1type}}}}
+
+\newbibmacro*{cbyeditor}{%
+ \ifnameundef{editor}
+ {}
+ {\usebibmacro{cbytypestrg}{editor}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditor]{editor}%
+ \newcunit}%
+ \usebibmacro{cbyeditorx}}
+
+\newbibmacro*{cbyeditorx}{%
+ \ifnameundef{editora}
+ {}
+ {\usebibmacro{cbytypestrg}{editora}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditora]{editora}%
+ \newcunit}%
+ \ifnameundef{editorb}
+ {}
+ {\usebibmacro{cbytypestrg}{editorb}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorb]{editorb}%
+ \newcunit}%
+ \ifnameundef{editorc}
+ {}
+ {\usebibmacro{cbytypestrg}{editorc}{editor}%
+ \setunit{\addspace}%
+ \printnames[byeditorc]{editorc}%
+ \newcunit}}
+
+\newbibmacro*{cbytranslator}{%
+ \ifnameundef{translator}
+ {}
+ {\bibstring{cbytranslator}%
+ \addspace
+ \printnames[bytranslator]{translator}}}
+
+\newbibmacro*{cbycompiler}{%
+ \ifnameundef{namec}
+ {}
+ {\bibstring{cbycompiler}\addspace
+ \printnames[bycompiler]{namec}}}
+
+\newbibmacro*{cbyredactor}{%
+ \ifnameundef{redactor}
+ {}
+ {\bibstring{cbyredactor}\addspace
+ \printnames[byredactor]{redactor}}}
+
+\newbibmacro*{cwithcommentator}{%
+ \ifnameundef{commentator}
+ {}
+ {\bibsstring{withcommentator}\addspace
+ \printnames[withcommentator]{commentator}}}
+
+\newbibmacro*{cwithannotator}{%
+ \ifnameundef{annotator}
+ {}
+ {\bibsstring{withannotator}\addspace
+ \printnames[withannotator]{annotator}}}
+
+\newbibmacro*{cwithintroduction}{%
+ \ifnameundef{introduction}
+ {}
+ {\bibstring{withintroduction}\addspace
+ \printnames[withintroduction]{introduction}}}
+
+\newbibmacro*{cwithforeword}{%
+ \ifnameundef{foreword}
+ {}
+ {\bibstring{withforeword}\addspace
+ \printnames[withforeword]{foreword}}}
+
+\newbibmacro*{cwithafterword}{%
+ \ifnameundef{afterword}
+ {}
+ {\bibstring{withafterword}\addspace
+ \printnames[withafterword]{afterword}}}
+
+\newbibmacro*{cbyeditor+others}{%
+ \ifthenelse{\NOT\ifnameundef{editor}\AND
+ \(\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}\)}
+ {\def\@tempa{cbyeditor}%
+ \ifnamesequal{editor}{translator}
+ {\edef\@tempa{\@tempa tr}%
+ \clearname{translator}}
+ {}%
+ \ifnamesequal{editor}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{editor}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{editor}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{editor}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{editor}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{editor}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ \newcunit%
+ \usebibmacro{cbyeditorx}}%
+ {\usebibmacro{cbyeditor}}%
+ \usebibmacro{cbytranslator+others}}
+
+\newbibmacro*{cbytranslator+others}{%
+ \ifnameundef{translator}
+ {}
+ {\def\@tempa{cbytranslator}%
+ \ifnamesequal{translator}{namec}
+ {\edef\@tempa{\@tempa cp}%
+ \clearname{namec}}
+ {}%
+ \ifnamesequal{translator}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{translator}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{translator}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{translator}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{translator}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bytranslator]{translator}%
+ \clearname{translator}%
+ \newcunit}%
+ \usebibmacro{cbycompiler+others}}
+
+\newbibmacro*{cbycompiler+others}{%
+ \ifnameundef{namec}
+ {}
+ {\def\@tempa{cbycompiler}%
+ \ifnamesequal{namec}{commentator}
+ {\edef\@tempa{\@tempa co}%
+ \clearname{commentator}}
+ {\ifnamesequal{namec}{annotator}
+ {\edef\@tempa{\@tempa an}%
+ \clearname{annotator}}
+ {}}%
+ \ifnamesequal{namec}{introduction}
+ {\edef\@tempa{\@tempa in}%
+ \clearname{introduction}}
+ {\ifnamesequal{namec}{foreword}
+ {\edef\@tempa{\@tempa fo}%
+ \clearname{foreword}}
+ {\ifnamesequal{namec}{afterword}
+ {\edef\@tempa{\@tempa af}%
+ \clearname{afterword}}
+ {}}}%
+ \bibstring{\@tempa}\space
+ \printnames[bycompiler]{namec}%
+ \clearname{namec}%
+ \newcunit}%
+ \usebibmacro{cbyothers}}
+
+\newbibmacro*{cbyothers}{%
+ \usebibmacro{cbytranslator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cbycompiler}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cbyredactor}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithcommentator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithannotator}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithintroduction}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithforeword}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{cwithafterword}}
+
+\newbibmacro*{cms-in:}{% Fix for 0.9a compat.
+ \iftoggle{cms@origpublished}%
+ {}
+ {\bibstring{in}
+ \setunit{\addspace}}}
+
+\newbibmacro*{alt-in:}{%
+ \iffieldundef{booktitle}%
+ {}
+ {\bibstring{in}%
+ \setunit{\addspace}}}
+
+\newbibmacro*{chapincoll}{%
+ \iffieldundef{chapter}%
+ {}
+ {\printfield{chapter}\addspace%
+ \clearfield{chapter}}}
+
+\newbibmacro*{chapinscore}{%
+ \iffieldundef{chapter}%
+ {}
+ {\printfield{chapter}%
+ \addspace\bibstring{of}\setunit{\addspace}%
+ \clearfield{chapter}}}
+
+\newbibmacro*{ser+num}{%
+ \printfield{series}%
+ \printfield[sernum]{number}%
+ \newunit}
+
+\newbibmacro*{music+ser+num}{%
+ \iffieldundef{series}%
+ {\iffieldundef{number}%
+ {}%
+ {\printfield{number}}}
+ {\printfield{series}%
+ \setunit{\addspace}%
+ \printfield{number}}}%
+
+\newbibmacro*{music+publisher}{%
+ \iffieldundef{howpublished}%
+ {\iffieldundef{pubstate}%
+ {\newcunit}%
+ {\printfield{pubstate}\setunit{\addspace}}}%
+ {\printfield{howpublished}\setunit{\addspace}}}%
+
+\newbibmacro*{ctitle+stitle}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit{\addcomma\addspace}\newblock%
+ \printfield{titleaddon}}%
+% \setunit{\addspace}}%
+% \usebibmacro{language+transtitle}%
+% \setunit*{\addcomma}\newblock}
+
+\newbibmacro*{citaltitle+stitle}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \newcunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newcunit\newblock}
+
+\newbibmacro*{title+stitle}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \newunit%\setunit{\addspace}\newblock%
+ \printfield{titleaddon}}%
+% \setunit{\addspace}}%
+% \usebibmacro{language+transtitle}%
+% \newunit\newblock}
+
+\newbibmacro*{italtitle+stitle}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \newunit\newblock%
+ \printfield{titleaddon}%
+ \setunit{\addspace}%
+ \usebibmacro{language+transtitle}%
+ \newunit\newblock}
+
+\newbibmacro*{mag+news+title}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \newunit%\setunit{\addcomma\addspace}
+ \printfield{titleaddon}%
+ }%\newcunit\newblock}
+
+\newbibmacro*{cmag+news+title}{%
+ \printtext[title]{%:\thefield{entrytype}]{%(Changed for 0.7 to work)
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit{\addcomma\addspace}%
+ \printfield{titleaddon}%
+ }%\newcunit\newblock}
+
+\newbibmacro*{language+transtitle}{%
+ \iffieldundef{usere}%
+ {\printlist[][-\value{listtotal}]{language}}%
+ {\printfield{usere}}}
+
+\newbibmacro*{issuetitle}{%
+ \iffieldundef{issuetitle}%
+ {}
+ {\ifthenelse{\iffieldequalstr{entrytype}{article}\OR%
+ \iffieldequalstr{entrytype}{review}\OR%
+ \iffieldequalstr{entrytype}{suppperiodical}}% This test is for
+ {\usebibmacro{cms-in:}}% periodical entries
+ {}%
+ \printtext[issuetitle]{%
+ \printfield[noformat]{issuetitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{issuesubtitle}}}}
+
+\newbibmacro*{btitle+bstitle}{%
+ \iffieldundef{booktitle}
+ {}
+ {\printtext[booktitle]{%
+ \printfield[noformat]{booktitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{booksubtitle}}%
+ \newcunit
+ \printfield{booktitleaddon}}}
+
+\newbibmacro*{publ+loc+year}{% Revised for reprint
+ \ifboolexpr{
+ togl{cms@reprint}
+ and
+ not test {\iffieldequalstr{entrytype}{video}}
+ }%
+ {\bibstring{reprint}%
+ \newcunit}%
+ {}%
+ \printlist{location}%
+ \iflistundef{publisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{date}%
+}
+
+\newbibmacro*{howpubl+loc+year}{% Revised for reprint
+ \usebibmacro{cmsorigdate}%
+ \reprintpunct%
+ \iftoggle{cms@reprint}%
+ {\reprint\newcunit}%
+ {}%
+ \printlist{location}%
+ \iffieldundef{howpublished}%
+ {\setunit*{\addcomma\space}}%
+ {\setunit*{\addcolon\space}}%
+ \printfield{howpublished}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+}
+
+\newbibmacro*{inst+loc+year}{% Revised for reprint
+ \usebibmacro{cmsorigdate}%
+ \reprintpunct%
+ \iftoggle{cms@reprint}%
+ {\reprint\newcunit}%
+ {}%
+ \printlist{location}%
+ \iflistundef{institution}%
+ {\setunit*{\addcomma\space}}%
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+}%
+
+\newbibmacro*{cpubl+loc+year}{% Revised for reprint
+ \ifboolexpr{
+ test {\iflistundef{location}}
+ and
+ test {\iflistundef{publisher}}
+ and
+ test {\iffieldundef{year}}
+ and
+ not togl {cms@reprint}
+ }%
+ {}%
+ {\setunit{\addspace}%
+ \printtext[parens]{%
+ \usebibmacro{cmsorigdate}%\printfield{origyear}%
+ \setunit*{\addsemicolon\addspace}%
+ \ifboolexpr{
+ togl {cms@reprint}
+ and
+ not test{\iffieldequalstr{entrytype}{video}}
+ }%
+ {\bibsstring{reprint}%
+ \newcunit}%
+ {}%
+ \printlist{location}%
+ \iflistundef{publisher}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{publisher}%
+ \setunit{\addcomma\space}%
+ \usebibmacro{date}}}}%
+
+\newbibmacro*{cpubletter+loc+year}{%
+ \setunit{\addspace}%
+ \printtext[parens]{%
+ \printlist{location}%
+ \iflistundef{publisher}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{publisher}%
+ \setunit{\addcomma\space}%
+ \usebibmacro{date}}}% Changed for 0.9
+
+\newbibmacro*{originally+published+as}{% Punctuation fix now in
+ \iffieldundef{userf}% \origfullcite for 0.8e.
+ {\iffieldundef{reprinttitle}%
+ {}
+ {\bibstring{origpublin}%
+ \origpublcite{\thefield{reprinttitle}}%
+ \newunit}}
+ {\iffieldundef{origlanguage}%
+ {\bibstring{origpub}%
+ \origfullcite{\thefield{userf}}
+ \newunit}%
+ {\iftoggle{cms@postposit}%
+ {\bibstring{origedition}%
+ \setunit{\addspace}%
+ \printfield[edlang]{origlanguage}%
+ \addcolon%
+ \origfullcite{\thefield{userf}}%
+ \newunit}%
+ {\printfield[edlang]{origlanguage}%
+ \setunit{\addspace}%
+ \bibstring{origedition}%
+ \origfullcite{\thefield{userf}}
+ \newunit}}}}
+
+\newbibmacro*{org+publ+loc+year}{% What was wrong with \ifthenelse here?
+ \usebibmacro{cmsorigdate}%
+ \reprintpunct%
+ \iftoggle{cms@reprint}% Revised for reprint
+ {\reprint\newcunit}%
+ {}%
+ \printlist{location}%
+ \iflistundef{organization}%
+ {\iflistundef{publisher}%
+ {\setunit*{\addcomma\addspace}}%
+ {\setunit*{\addcolon\addspace}}}%
+ {\setunit*{\addcolon\addspace}}%
+ \printlist{organization}%
+ \setunit*{\addcomma\space}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\addspace}%
+ \usebibmacro{date}}
+
+\newbibmacro*{year+in+parens}{%
+ \iffieldundef{volume}%
+ {noformat}%
+ {parens}}
+
+\newbibmacro*{cjournal+issue+year+pages}{%
+ \usebibmacro{cjournal+ser+vol+num}%
+ \ifboolexpr{% 16th ed.
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{year}}
+ and
+ not togl {cms@switchdates}
+ }%
+ {\iffieldundef{number}%
+ {\setunit{\addcolon}}%
+ {\addcomma\addspace}}% w/setunit colon appears
+ {\setunit{\addspace}%
+ \printtext[parens]{% parens is the default here
+ \iffieldundef{issue}
+ {\usebibmacro{number+or+month}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}}}
+
+\newbibmacro*{cperiodical+issue+year+pages}{% For periodicals,
+ \usebibmacro{cperiodical+ser+vol+num}% subtype article
+ \ifboolexpr{% 16th ed.
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{year}}
+ and
+ not togl {cms@switchdates}
+ }%
+ {\iffieldundef{number}%
+ {\setunit{\addcolon}}%
+ {\addcomma\addspace}}%
+ {\setunit{\addspace}%
+ \printtext[parens]{% parens is the default here
+ \iffieldundef{issue}
+ {\usebibmacro{number+or+month}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}}}
+
+\newbibmacro*{letter+date}{% New for 0.9
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
+ \iftoggle{cms@switchdates}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {}%
+ {\cms@datelongalt}}%
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}}%
+ {}%
+ {\cms@datelong}}}
+
+\newbibmacro*{unpubl+letter+date}{% For Misc entries
+ \iflistundef{origlocation}%
+ {}%
+ {\printlist{origlocation}%
+ \newcunit\newblock}%
+ \iftoggle{cms@switchdates}%
+ {\ifthenelse{\iffieldundef{year}\AND\iffieldundef{month}}%
+ {}%
+ {\cms@datelongalt}}%
+ {\ifthenelse{\iffieldundef{origyear}\AND\iffieldundef{origmonth}}%
+ {\printdate}% For interviews and other dated non-letters.
+ {\cms@datelong}}}
+
+\renewbibmacro*{date}{% New for 0.9
+ \iftoggle{cms@switchdates}%
+ {\printorigdate}%
+ {\printdate}}
+
+\newbibmacro*{cmsorigdate}{% New for 0.9
+ \iftoggle{cms@switchdates}%
+ {\printdate}%
+ {\printorigdate}}
+
+\newbibmacro*{cmsyear}{%
+ \iftoggle{cms@switchdates}%
+ {\printfield{origyear}}%
+ {\printfield{year}}}
+
+\newbibmacro*{number+or+month}{%
+ \iffieldundef{number}%
+ {\usebibmacro{date}}%
+ {\iftoggle{cms@numbermonth}%
+ {\usebibmacro{date}}%
+ {\usebibmacro{cmsyear}}}}
+
+\newcommand*{\cms@datelong}{% Modified for 0.9
+ \iffieldundef{origmonth}%
+ {\printfield{origyear}}%
+ {\printfield[letterday]{origday}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{origmonth}}\setunit{\nobreakspace}%
+ \printfield{origyear}}}%
+
+\newcommand*{\cms@datelongalt}{% Modified for 0.9
+ \iffieldundef{month}%
+ {\printfield{year}}%
+ {\printfield[letterday]{day}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{month}}\setunit{\nobreakspace}%
+ \printfield{year}}}%
+
+\newcommand*{\letterdatelong}{% Modified for 0.9
+ \iftoggle{cms@switchdates}% This one for users
+ {\iffieldundef{year}% Previous two for internal use
+ {}%
+ {\iffieldundef{month}%
+ {\printfield{year}}%
+ {\printfield[letterday]{day}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{month}}\setunit{\nobreakspace}%
+ \printfield{year}}}}%
+ {\iffieldundef{origyear}%
+ {}%
+ {\iffieldundef{origmonth}%
+ {\printfield{origyear}}%
+ {\printfield[letterday]{origday}\setunit{\nobreakspace}%
+ \mkbibmonth{\thefield{origmonth}}\setunit{\nobreakspace}%
+ \printfield{origyear}}}}}%
+
+\newbibmacro*{cjournal+ser+vol+num}{%
+ \usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newcunit
+ \printfield[jourser]{series}%
+ \newcunit}%\setunit*{\addspace}?
+ \printfield[jourvol]{volume}%
+ \setunit{\addcomma\addspace}% need * here?
+ \printfield[journum]{number}%
+ \setunit{\addcomma\addspace}%
+ \printfield{eid}%
+ \newunit}
+
+\newbibmacro*{cperiodical+ser+vol+num}{% For periodical entries,
+ \printtext[title]{% article subtype
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newcunit
+ \printfield[jourser]{series}%
+ \newcunit}%\setunit*{\addspace}?
+ \printfield[jourvol]{volume}%
+ \setunit{\addcomma\addspace}% need * here?
+ \printfield[journum]{number}%
+ \setunit{\addcomma\addspace}%
+ \printfield{eid}%
+ \newunit}
+
+\newbibmacro*{journal+sub}{%
+ \iffieldundef{journaltitle}
+ {}
+ {\printtext[journaltitle]{%
+ \printfield[noformat]{journaltitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{journalsubtitle}}}}
+
+\newbibmacro*{cite+doi+url}{%
+ \iftoggle{cms@doi}%
+ {\printfield{doi}}%
+ {}%
+ \newcunit\newblock
+ \iftoggle{cms@url}%
+ {\usebibmacro{url+date}}%
+ {}}
+
+\newbibmacro*{url+date}{% Changed for 0.9
+ \printfield{url}%
+ \iffieldundef{urlyear}
+ {}
+ {\setunit{\addspace}%
+ \printtext[urldate]{\printurldate}}}
+
+\newbibmacro*{chap+pag}{%
+ \printfield{chapter}%
+ \setunit*{\addcomma\space}%
+ \printfield{pages}}
+
+\newbibmacro*{mag+news+date}{%
+ \ifnameundef{author}%
+ {\usebibmacro{date+issue}}%
+ {\usebibmacro{mag+date+issue}}}
+
+\newbibmacro*{date+issue}{%
+ \iffieldundef{issue}
+ {\iffieldundef{number}%
+ {\usebibmacro{date}}%
+ {\iftoggle{cms@numbermonth}% For exclusion of month
+ {\usebibmacro{date}}%
+ {\usebibmacro{cmsyear}}%
+ \setunit{\addcomma\addspace}%
+ \printfield[journum]{number}}}%
+ {\printfield{issue}%
+ \setunit{\addspace}%
+ \usebibmacro{cmsyear}}}
+
+\newbibmacro*{mag+date+issue}{%
+ \usebibmacro{journal+sub}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \newcunit\newblock
+ \printfield{usera}% For network ID and possible section of newspaper.
+ \newcunit\newblock
+ \usebibmacro{date+issue}}
+
+\newbibmacro*{periodical+date+issue}{% For periodical type &
+ \printtext[title]{% magazine subtype
+ \printfield[noformat]{title}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{subtitle}}%
+ \setunit*{\addspace}%
+ \printlist[periodplace]{location}%
+ \newcunit\newblock
+ \printfield{usera}% For network ID and possible section of newspaper.
+ \newcunit\newblock
+ \usebibmacro{date+issue}}
+
+\newbibmacro*{cmtitle+mstitle+vol+part+title+stitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{crefmtitle+mstitle+vol+part+title+stitle}{%
+ \iffieldundef{booktitle}
+ {\usebibmacro{citaltitle+stitle}}%
+ {\usebibmacro{btitle+bstitle}}%
+ \newcunit% need this?
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro*{cmtitle+mstitle+vol+part+btitle+bstitle}{%
+ \usebibmacro{btitle+bstitle}%
+ \newcunit
+ \iffieldundef{maintitle}
+ {}
+ {\iffieldundef{volume}
+ {\usebibmacro{cms-in:}%
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}
+ {\printfield{volume}%
+ \printfield{part}%
+ \setunit{\addspace}
+ \bibstring{ofseries}%
+ \setunit{\addspace}
+ \printtext[maintitle]{%
+ \printfield[noformat]{maintitle}%
+ \setunit{\addcolon\addspace}%
+ \printfield[noformat]{mainsubtitle}}%
+ \newcunit
+ \printfield{maintitleaddon}}}}
+
+\newbibmacro{cite:postnote}{%
+ \iftoggle{cms@loccit}%
+ {}%
+ {\usebibmacro{postnote}}}
+
+\renewbibmacro*{postnote}{%
+ \iftoggle{cms@fullnote}%
+ {\global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}
+ {\iftoggle{cms@printshhand}
+ {\iffieldundef{postnote}%
+ {\iffieldundef{shorthand}
+ {\global\togglefalse{cms@printshhand}%
+ \global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}
+ {\usebibmacro{cms:shorthandintro}%
+ \global\togglefalse{cms@printshhand}%
+ \global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}}
+ {\iffieldundef{shorthand}
+ {\postnotedelim%
+ \printfield{postnote}%
+ \global\togglefalse{cms@printshhand}%
+ \global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}
+ {\postnotedelim%
+ \printfield{postnote}%
+ \usebibmacro{cms:shorthandintro}%
+ \global\togglefalse{cms@printshhand}%
+ \global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}}}
+ {\iffieldundef{postnote}%
+ {\global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}
+ {\postnotedelim%
+ \printfield{postnote}%
+ \global\togglefalse{cms@shortnote}%
+ \global\togglefalse{cms@fullnote}}}}}%
+
+\newbibmacro*{fullpostnote}{%
+ \iffieldundef{postnote}%
+ {\iffieldundef{chapter}%
+ {\iffieldundef{pages}%
+ {}%
+ {\postnotedelim%
+ \printfield{pages}}}%
+ {\postnotedelim%
+ \printfield{chapter}}}%
+ {\postnotedelim%
+ \printfield{postnote}}}
+
+\newbibmacro*{inreffullpostnote}{%
+ \iffieldundef{postnote}%
+ {\iffieldundef{chapter}%
+ {\iffieldundef{pages}%
+ {\newcunit%\addcomma\addspace% Change to axe spurious comma
+ \printlist[][-\value{listtotal}]{lista}}%
+ {\postnotedelim%
+ \printfield{pages}}}%
+ {\postnotedelim%
+ \printfield{chapter}}}%
+ {\postnotedelim%
+ \printfield{postnote}}}
+
+\newbibmacro*{xrefpostnote}{% Only for crossrefed (or xrefed) InCollection,
+ \iffieldundef{postnote}% InProceedings, or CustomA entries
+ {\iffieldundef{chapter}%
+ {\iffieldundef{pages}%
+ {}%
+ {\addcomma\addspace%
+ \printfield{pages}}}%
+ {\addcomma\addspace%
+ \printfield{chapter}}}%
+ {}}% The postnote field already shows up because of the fullpostnote
+ % call.
+
+\newbibmacro*{hlprenote}{% Removes spurious comma after prenote in
+ \iffieldundef{prenote}% \headlessfullnote citations.
+ {}
+ {\printfield{prenote}%
+ \nopunct}}% Do we need \unspace here?
+
+\newbibmacro*{hlcprenote}{% As previous, but for generalized \headlesscite
+ \iffieldundef{prenote}% command, rather than \headlessfullcite.
+ {\bibsentence}% Needed for Ibid to be capitalized.
+ {\printfield{prenote}%
+ \ifciteseen{\addspace}{\nopunct}}}% Do we need \unspace here?
+
+\newbibmacro*{journalprenote}{%
+ \iffieldundef{prenote}%
+ {\bibsentence}%
+ {\usebibmacro{prenote}}}
+
+\newbibmacro*{part+editor+translator}{%
+ \ifnameundef{namea}%
+ {\ifnameundef{nameb}%
+ {}
+ {\bibstring{bytranslator}\space%
+ \printnames[bytranslator]{nameb}}}%
+{\ifnamesequal{namea}{nameb}%
+ {\bibstring{byeditortr}\space%
+ \printnames[byeditor]{namea}}%
+ {\bibstring{byeditor}\space%
+ \printnames[byeditor]{namea}%
+ \ifnameundef{nameb}%
+ {}
+ {\newunit
+ \bibstring{bytranslator}\space%
+ \printnames[bytranslator]{nameb}}}}}
+
+\newbibmacro*{cpart+editor+translator}{%
+ \ifnameundef{namea}%
+ {\ifnameundef{nameb}%
+ {}
+ {\bibstring{cbytranslator}\space%
+ \printnames[bytranslator]{nameb}}}%
+{\ifnamesequal{namea}{nameb}%
+ {\bibstring{cbyeditortr}\space%
+ \printnames[byeditor]{namea}}%
+ {\bibstring{cbyeditor}\space% Need this \space here?
+ \printnames[byeditor]{namea}%
+ \ifnameundef{nameb}%
+ {}
+ {\newcunit
+ \bibstring{cbytranslator}\space%
+ \printnames[bytranslator]{nameb}}}}}
+
+\newbibmacro*{compilestrg}{%
+ \ifthenelse{\value{namec}>1\OR\ifandothers{namec}}
+ {\bibstring{compilers}}
+ {\bibstring{compiler}}
+ \clearname{namec}}
+
+\newbibmacro*{transstrg}{%
+ \ifthenelse{\value{translator}>1\OR\ifandothers{translator}}
+ {\ifnamesequal{translator}{namec}%
+ {\bibstring{transcompilers}%
+ \clearname{namec}}%
+ {\bibstring{translators}}}%
+ {\ifnamesequal{translator}{namec}%
+ {\bibstring{transcompiler}%
+ \clearname{namec}}%
+ {\bibstring{translator}}}
+ \clearname{translator}}
+
+\newbibmacro*{parttransstrg}{%
+ \ifthenelse{\value{nameb}>1\OR\ifandothers{nameb}}
+ {\ifnamesequal{nameb}{namec}%
+ {\bibstring{transcompilers}%
+ \clearname{namec}}%
+ {\bibstring{translators}}}%
+ {\ifnamesequal{nameb}{namec}%
+ {\bibstring{transcompiler}%
+ \clearname{namec}}%
+ {\bibstring{translator}}}
+ \clearname{nameb}}
+
+\newbibmacro*{editstrg}{% Test added for 0.9
+ \ifthenelse{\iffieldundef{editortype}\OR
+ \iffieldequalstr{editortype}{editor}}
+ {\ifthenelse{\value{editor}>1\OR\ifandothers{editor}}
+ {\ifthenelse{\ifnamesequal{editor}{translator}\AND
+ \ifnamesequal{editor}{namec}}
+ {\bibstring{editortranscompilers}%
+ \clearname{translator}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{namec}%
+ {\bibstring{editorcompilers}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{translator}%
+ {\bibstring{editortranslators}%
+ \clearname{translator}}%
+ {\bibstring{editors}}}}}%
+ {\ifthenelse{\ifnamesequal{editor}{translator}\AND
+ \ifnamesequal{editor}{namec}}
+ {\bibstring{editortranscompiler}%
+ \clearname{translator}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{namec}%
+ {\bibstring{editorcompiler}%
+ \clearname{namec}}%
+ {\ifnamesequal{editor}{translator}%
+ {\bibstring{editortranslator}%
+ \clearname{translator}}%
+ {\bibstring{editor}}}}}}%
+ {\ifthenelse{\value{editor}>1\OR\ifandothers{editor}}
+ {\bibstring{\thefield{editortype}s}}
+ {\bibstring{\thefield{editortype}}}}
+ \clearname{editor}}
+
+\newbibmacro*{parteditstrg}{%
+ \ifthenelse{\value{namea}>1\OR\ifandothers{namea}}
+ {\ifthenelse{\ifnamesequal{namea}{nameb}\AND
+ \ifnamesequal{namea}{namec}}
+ {\bibstring{editortranscompilers}%
+ \clearname{nameb}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{namec}%
+ {\bibstring{editorcompilers}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{nameb}%
+ {\bibstring{editortranslators}%
+ \clearname{nameb}}%
+ {\bibstring{editors}}}}}%
+ {\ifthenelse{\ifnamesequal{namea}{nameb}\AND
+ \ifnamesequal{namea}{namec}}
+ {\bibstring{editortranscompiler}%
+ \clearname{nameb}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{namec}%
+ {\bibstring{editorcompiler}%
+ \clearname{namec}}%
+ {\ifnamesequal{namea}{nameb}%
+ {\bibstring{editortranslator}%
+ \clearname{nameb}}%
+ {\bibstring{editor}}}}}%
+ \clearname{namea}}
+
+\newbibmacro*{clearpublin}{%
+ \clearname{author}%
+ \clearname{namea}%
+ \clearname{nameb}%
+ \clearfield{nameaddon}%
+ \clearfield{title}%
+ \clearfield{subtitle}%
+ \clearfield{titleaddon}%
+ \clearfield{reprinttitle}%
+ \clearfield{usere}%
+ \clearlist{language}%
+}
+
+\endinput
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 85b918eb7c7..c3ee6e682d5 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,6 @@
-% $Id: cms-american.lbx,v 0.10.1.23 2011/09/28 17:27:05 dfussner Exp $
+% $Id: cms-american.lbx,v 0.10.1.27 2012/07/05 11:08:46 dfussner Exp $
-\ProvidesFile{cms-american.lbx}[2011/09/28 v 1.6 biblatex localization]
+\ProvidesFile{cms-american.lbx}[2012/07/05 v 1.7 biblatex localization]
\InheritBibliographyExtras{american}
@@ -193,6 +193,7 @@
\NewBibliographyString{origpub}
\NewBibliographyString{origpublin}
\NewBibliographyString{origpubyear}
+\NewBibliographyString{origpubyearalt}
\NewBibliographyString{origreleaseyear}
\NewBibliographyString{origshownyear}
\NewBibliographyString{origedition}
@@ -293,6 +294,8 @@
{orig\adddot\ pub\adddot\addspace in\addspace}},
origpubyear = {{originally published in\addspace}%
{orig\adddot\ pub\adddot\addspace}},
+ origpubyearalt = {{first published\addspace}%
+ {first pub\adddot\addspace}},
origreleaseyear = {{originally released in\addspace}%
{orig\adddot\ released\addspace}},
origshownyear = {{originally shown in\addspace}%
@@ -811,7 +814,12 @@
{\csuse{mkbibdate#1}{}{#2month}{#2day}}
{\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
\iffieldundef{#2endyear}
- {}
+ {\iffieldundef{#2endmonth}
+ {}
+ {\bibdatedash
+ \iffieldsequal{#2month}{#2endmonth}
+ {\csuse{mkbibdate#1}{}{}{#2endday}}
+ {\csuse{mkbibdate#1}{}{#2endmonth}{#2endday}}}}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}
{\bibdatedash
@@ -828,7 +836,7 @@
\iffieldsequal{#2year}{#2endyear}
{\csuse{mkbibdate#1}{}{#2month}{#2day}}
{\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}%
- \iffieldundef{#2endyear}
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}
{}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}
@@ -840,7 +848,7 @@
{}%
{\printtext{%
\csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
- \iffieldundef{#2endyear}
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}
{}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-french.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-french.lbx
index 628d4dbfa5b..9555cc2fad9 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-french.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-french.lbx
@@ -1,6 +1,6 @@
-% $Id: cms-french.lbx,v 0.9.5.15 2011/09/28 17:26:22 dfussner Exp $
+% $Id: cms-french.lbx,v 0.9.5.20 2012/07/05 11:08:56 dfussner Exp $
-\ProvidesFile{cms-french.lbx}[2011/09/28 v 1.6 biblatex localization]
+\ProvidesFile{cms-french.lbx}[2012/07/05 v 1.7 biblatex localization]
% STATUS OF THIS FILE
% - Some strings still missing
@@ -200,16 +200,20 @@
\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{recorded}
\NewBibliographyString{numbers}
\NewBibliographyString{nodate}
\NewBibliographyString{pseudonym}
@@ -264,6 +268,7 @@
partvolume = {{\unspace}{\unspace}},
by = {{par}{par}},
of = {{de}{de}},
+ on = {{sur}{sur}},
compiler = {{comp\adddot}{comp\adddot}},
compilers = {{comp\adddot}{comp\adddot}},
transcompiler = {{trad\adddot\ et comp\adddot}{trad\adddot\ et comp\adddot}},
@@ -297,12 +302,17 @@
{origin\adddot\ publ\adddot\ dans}},
origpubyear = {{originellement publi\'e en\addspace}%
{origin\adddot\ publ\adddot\addspace}},
+ origpubyearalt = {{originellement publi\'e en\addspace}%
+ {origin\adddot\ publ\adddot\addspace}},
origreleaseyear = {{originellement sorti en\addspace}%
{origin\adddot\ sorti\addspace}},
origshownyear = {{originellement diffus\'ee en\addspace}%
{origin\adddot\ diffus\'ee\addspace}},
origedition = {{\'edition}{\'edition}},
- revisededition = {{\'ed\adddot\ r\'ev\adddot}{\'ed\adddot\ r\'ev\adddot}},
+ revisededition = {{\'ed\adddot\ r\'ev\adddot}{\'ed\adddot\
+ r\'ev\adddot}},
+ broadcast = {{diffus\'ee}{diffus\'ee}},
+ recorded = {{enregistr\'e}{enregistr\'e}},
numbers = {{n\textsuperscript{os}}{n\textsuperscript{os}}},% ?
nodate = {{{}s\adddot d\adddot}{{}s\adddot d\adddot}},% ?
pseudonym = {{pseudonym}{pseudonym}},% ?
@@ -773,8 +783,22 @@
}
\protected\gdef\lbx@cms@mkbibrangetrunc#1#2{% DATE FIX
- \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}%
- {}
+ \iffieldundef{#2year}%
+ {\iffieldundef{#2month}
+ {}
+ {\printtext{%
+ \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}}}}}}
{\printtext{%
\iffieldsequal{#2year}{#2endyear}
{\iffieldsequal{#2month}{#2endmonth}
@@ -793,7 +817,7 @@
{}%
{\printtext{%
\csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
- \iffieldundef{#2endyear}
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}
{}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-german.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-german.lbx
index 9f5f7c72ecd..ccbeb71d6ba 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-german.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-german.lbx
@@ -1,6 +1,6 @@
-% $Id: cms-german.lbx,v 0.9.5.16 2011/09/28 17:25:59 dfussner Exp $
+% $Id: cms-german.lbx,v 0.9.5.20 2012/07/05 11:09:04 dfussner Exp $
-\ProvidesFile{cms-german.lbx}[2011/09/28 v 1.6 biblatex localization]
+\ProvidesFile{cms-german.lbx}[2012/07/05 v 1.7 biblatex localization]
% STATUS OF THIS FILE
% - Translated strings and formatting decisions need review by native
@@ -202,16 +202,20 @@
\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{recorded}
\NewBibliographyString{numbers}
\NewBibliographyString{nodate}
\NewBibliographyString{pseudonym}
@@ -266,6 +270,7 @@
partvolume = {{\addspace T\adddot}{\addspace T\adddot}},
by = {{von}{von}},
of = {{von}{von}},
+ on = {{auf}{auf}},
compiler = {{Hrsg\adddot}{Hrsg\adddot}},% Same as editor, following
compilers = {{Hrsg\adddot}{Hrsg\adddot}},% german.lbx
transcompiler = {{Hrsg\adddot\addabbrvspace und \"Ubers\adddot}%
@@ -304,6 +309,8 @@
{urspr\adddot\ ver\"offtl\adddot\ in}},
origpubyear = {{urspr\"unglich ver\"offentlicht im Jahr\addspace}%
{urspr\adddot\ ver\"offtl\adddot\addspace}},
+ origpubyearalt = {{urspr\"unglich ver\"offentlicht im Jahr\addspace}%
+ {urspr\adddot\ ver\"offtl\adddot\addspace}},
origreleaseyear = {{urspr\"unglich freigegeben\addspace}%
{urspr\adddot\ freigegeben\addspace}},
origshownyear = {{urspr\"unglich gezeigt\addspace}%
@@ -312,6 +319,8 @@
{Aufl\adddot\addcolon}},
revisededition = {{\"uberarb\adddot\space Aufl\adddot}%
{\"uberarb\adddot\space Aufl\adddot}},
+ broadcast = {{\"ubertragen}{\"ubertragen}},
+ recorded = {{aufgenommen}{aufgenommen}},
numbers = {{Nrn\adddot}{Nrn\adddot}},
nodate = {{{}o\adddot Dat\adddot}{{}o\adddot Dat\adddot}},% ?
pseudonym = {{Pseud\adddot}{Pseud\adddot}},
@@ -934,8 +943,22 @@
}
\protected\gdef\lbx@cms@mkbibrangetrunc#1#2{% DATE FIX
- \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}%
- {}
+ \iffieldundef{#2year}%
+ {\iffieldundef{#2month}
+ {}
+ {\printtext{%
+ \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}}}}}}
{\printtext{%
\iffieldsequal{#2year}{#2endyear}
{\iffieldsequal{#2month}{#2endmonth}
@@ -954,7 +977,7 @@
{}%
{\printtext{%
\csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
- \iffieldundef{#2endyear}
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}
{}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-ngerman.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-ngerman.lbx
index 3e01b98075d..49861be8f5e 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-ngerman.lbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-ngerman.lbx
@@ -1,6 +1,6 @@
-% $Id: cms-ngerman.lbx,v 0.9.5.16 2011/09/28 17:25:59 dfussner Exp $
+% $Id: cms-german.lbx,v 0.9.5.20 2012/07/05 11:09:04 dfussner Exp $
-\ProvidesFile{cms-ngerman.lbx}[2011/09/28 v 1.6 biblatex localization]
+\ProvidesFile{cms-ngerman.lbx}[2012/07/05 v 1.7 biblatex localization]
% STATUS OF THIS FILE
% - Translated strings and formatting decisions need review by native
@@ -202,16 +202,20 @@
\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{recorded}
\NewBibliographyString{numbers}
\NewBibliographyString{nodate}
\NewBibliographyString{pseudonym}
@@ -266,6 +270,7 @@
partvolume = {{\addspace T\adddot}{\addspace T\adddot}},
by = {{von}{von}},
of = {{von}{von}},
+ on = {{auf}{auf}},
compiler = {{Hrsg\adddot}{Hrsg\adddot}},% Same as editor, following
compilers = {{Hrsg\adddot}{Hrsg\adddot}},% german.lbx
transcompiler = {{Hrsg\adddot\addabbrvspace und \"Ubers\adddot}%
@@ -304,6 +309,8 @@
{urspr\adddot\ ver\"offtl\adddot\ in}},
origpubyear = {{urspr\"unglich ver\"offentlicht im Jahr\addspace}%
{urspr\adddot\ ver\"offtl\adddot\addspace}},
+ origpubyearalt = {{urspr\"unglich ver\"offentlicht im Jahr\addspace}%
+ {urspr\adddot\ ver\"offtl\adddot\addspace}},
origreleaseyear = {{urspr\"unglich freigegeben\addspace}%
{urspr\adddot\ freigegeben\addspace}},
origshownyear = {{urspr\"unglich gezeigt\addspace}%
@@ -312,6 +319,8 @@
{Aufl\adddot\addcolon}},
revisededition = {{\"uberarb\adddot\space Aufl\adddot}%
{\"uberarb\adddot\space Aufl\adddot}},
+ broadcast = {{\"ubertragen}{\"ubertragen}},
+ recorded = {{aufgenommen}{aufgenommen}},
numbers = {{Nrn\adddot}{Nrn\adddot}},
nodate = {{{}o\adddot Dat\adddot}{{}o\adddot Dat\adddot}},% ?
pseudonym = {{Pseud\adddot}{Pseud\adddot}},
@@ -934,8 +943,22 @@
}
\protected\gdef\lbx@cms@mkbibrangetrunc#1#2{% DATE FIX
- \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}%
- {}
+ \iffieldundef{#2year}%
+ {\iffieldundef{#2month}
+ {}
+ {\printtext{%
+ \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}}}}}}
{\printtext{%
\iffieldsequal{#2year}{#2endyear}
{\iffieldsequal{#2month}{#2endmonth}
@@ -954,7 +977,7 @@
{}%
{\printtext{%
\csuse{mkbibdate#1}{#2year}{#2month}{#2day}%
- \iffieldundef{#2endyear}
+ \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}}
{}
{\iffieldequalstr{#2endyear}{}
{\mbox{\bibdatedash}}