summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx44
1 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx
index 809bcbf8c7b..c1db18e73e8 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate-trad.cbx
@@ -1,10 +1,11 @@
-% $Id: chicago-authordate-trad.cbx,v 0.8.1.27 2012/12/06 11:45:44 dfussner Exp $
+% $Id: chicago-authordate-trad.cbx,v 0.8.1.32 2013/03/12 12:40:45 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, 16th edition.
-\ProvidesFile{chicago-authordate.cbx}[2012/12/06 v 2.4 biblatex citation style]
+\ProvidesFile{chicago-authordate-trad.cbx}[2013/03/12 v 2.5 biblatex
+citation style]
%%%% Biblatex initialization + Chicago options + Toggles %%%%
@@ -739,9 +740,9 @@
\iftoggle{cms@switchdates}%
{\usebibmacro{cite:labelyear+extrayear}}
{\iffieldundef{origyear}%
- {\usebibmacro{cite:labelyear+extrayear}}%
+ {\clearfield{extrayear}\usebibmacro{cite:labelyear+extrayear}}%
{\printtext[bibhyperref]{%
- \printfield{origyear}}}}}
+ \usebibmacro{origyear+endyear}}}}}
\newbibmacro*{cite:bothyear+oldstyle}{%
\iftoggle{cms@switchdates}%
@@ -749,12 +750,15 @@
\bibopenparen%
\usebibmacro{cite:labelyear+extrayear}%
\bibcloseparen%
- \addspace\printfield{origyear}}}%
+ \addspace\usebibmacro{origyear+endyear}}}%
{\iffieldundef{origyear}%
- {\usebibmacro{cite:labelyear+extrayear}}%
+ {\clearfield{extrayear}\usebibmacro{cite:labelyear+extrayear}}%
{\printtext[bibhyperref]{%
- \printfield[parens]{origyear}%
- \addspace\printfield{labelyear}}}}}
+ \bibopenparen%
+ \usebibmacro{origyear+endyear}%
+ \bibcloseparen%
+ \clearfield{extrayear}\addspace%
+ \usebibmacro{cite:labelyear+extrayear}}}}}
\newbibmacro*{cite:save}{%
\savefield{entrykey}{\cbx@lastkey}}
@@ -1033,7 +1037,7 @@
\DeclareFieldFormat{pages}{%
\iffieldundef{bookpagination}%
{#1\isdot}%
- {\mkpageprefix[bookpagination]{#1\isdot}}}
+ {\mkpageprefix[bookpagination]{#1}}}
\DeclareFieldFormat{bibnote}{\MakeCapital{#1}}
@@ -1175,6 +1179,14 @@
{\MakeCapital{#1}}%
{#1}}
+\DeclareFieldAlias[patent]{type}[suppbook]{type}
+
+\DeclareFieldAlias[manual]{type}[suppbook]{type}
+
+\DeclareFieldAlias[thesis]{type}[suppbook]{type}
+
+\DeclareFieldAlias[report]{type}[suppbook]{type}
+
\DeclareFieldAlias[image]{type}[artwork]{type}
\DeclareFieldAlias[suppcollection]{type}[suppbook]{type}
@@ -1422,13 +1434,13 @@
\newbibmacro*{finentry}{%{\finentry} To make annotated bibliography
\ifbibliography
- {\usebibmacro{entrytail}}
+ {\usebibmacro{entrytail}}%
{}%
\finentry}
\newbibmacro*{entrytail}{% From reading.bbx, for annotated bibliography
\newunit\newblock
- \iftoggle{cms@annotation}
+ \iftoggle{cms@annotation}%
{\usebibmacro{annotation}%
\newunit\newblock}
{}}%
@@ -1464,7 +1476,8 @@
\newcunit\newblock}}}
\newbibmacro*{editorpunct}{%
- \ifthenelse{\(\iffieldundef{booktitle}\AND\iffieldundef{maintitle}\)%
+ \ifthenelse{\(\iffieldundef{booktitle}\AND%
+ \iffieldundef{maintitle}\AND\iffieldundef{issuetitle}\)%
\OR\iffieldsequal{booktitle}{title}% Changed these for crossrefed
\OR\iffieldsequal{maintitle}{title}}% entries. Create problems?
{\iffieldequalstr{entrytype}{video}%
@@ -2086,13 +2099,6 @@
\setunit{\addcolon\addspace}%
\printfield[noformat]{journalsubtitle}}}}
-% \newbibmacro*{url+date}{% Changed for 0.9: No longer used?
-% \printfield{url}%
-% \iffieldundef{urlyear}
-% {}
-% {\setunit{\addspace}%
-% \printtext[urldate]{\printurldate}}}
-
\newbibmacro*{chap+pag}{%
\printfield{chapter}%
\setunit*{\addcomma\space}%