diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx index 318c5f68121..3cc6554a665 100644 --- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.cbx @@ -1,11 +1,11 @@ -% $Id: chicago-authordate15.cbx,v 0.8.1.21 2013/10/21 14:51:16 dfussner Exp $ +% $Id: chicago-authordate15.cbx,v 0.8.1.22 2014/08/14 14:11:29 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} -[2013/10/21 v 2.8 biblatex citation style] +[2014/08/15 v 2.9a biblatex citation style] %%%% Biblatex initialization + Chicago options + Toggles %%%% @@ -22,6 +22,7 @@ \providetoggle{cms@switchdates} \providetoggle{cms@los} \providetoggle{cms@nodates} +\providetoggle{cms@datedash} \providetoggle{cms@url}% These are for the field-exclusion options \providetoggle{cms@doi} @@ -161,6 +162,10 @@ {\ExecuteBibliographyOptions{labeldate=true}}% {\ExecuteBibliographyOptions{labelyear=true}}% +\@ifpackagelater{biblatex}{2014/02/20}% For biblatex 2.9 ff. +{\global\toggletrue{cms@datedash}}% +{\global\togglefalse{cms@datedash}}% + \DeclareDataInheritance{collection}{suppcollection}{% \inherit{title}{title} \inherit{subtitle}{subtitle} @@ -623,7 +628,11 @@ \printfield{extrayear}}% \iffieldundef{urlendyear}% {}% - {\iffieldequalstr{urlendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{urlendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}}% {}}}% {\printfield{labelyear}% @@ -633,7 +642,11 @@ \printfield{extrayear}}% \iffieldundef{origendyear}% {}% - {\iffieldequalstr{origendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{origendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}}% {}}}} {\printfield{labelyear}% @@ -643,7 +656,11 @@ \printfield{extrayear}}% \iffieldundef{eventendyear}% {}% - {\iffieldequalstr{eventendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{eventendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}}% {}}}} {\printfield{labelyear}% @@ -653,7 +670,11 @@ \printfield{extrayear}}% \iffieldundef{endyear}% DATE FIX {}% - {\iffieldequalstr{endyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{endyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}}% {}}}}}} |