diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-18 22:29:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-18 22:29:05 +0000 |
commit | 9422fc520291ceb7eb36aaacb2b97c08bdb02c9e (patch) | |
tree | f9aa98cb24fb2f56941fa7773eba010804383254 /Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx | |
parent | 389e6d20a6f1b1e09d2e129c21dbad563c233a56 (diff) |
biblatex-chicago (18aug14)
git-svn-id: svn://tug.org/texlive/trunk@34969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx | 68 |
1 files changed, 62 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx index 7364ef99492..5c6563948d0 100644 --- a/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate15.bbx @@ -1,11 +1,11 @@ -% $Id: chicago-authordate15.bbx,v 0.8.1.17 2013/10/21 14:51:44 dfussner Exp $ +% $Id: chicago-authordate15.bbx,v 0.8.1.18 2014/08/14 14:11:21 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} -[2013/10/21 v 2.8 biblatex bibliography style] +[2014/08/15 v 2.9a biblatex bibliography style] %%%% Initialize and format bibliography and los %%%% @@ -36,6 +36,19 @@ {\endlist} {\item} +\defbibenvironment{shorthand} + {\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}}% @@ -346,6 +359,33 @@ \printfield[lostitle]{title}% \finentry}}} +\DeclareBibliographyDriver{shorthand}{% + \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}% @@ -2129,7 +2169,11 @@ \printfield{extrayear}}% \iffieldundef{urlendyear}% {\clearfield{urlyear}}% - {\iffieldequalstr{urlendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{urlendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}% \clearfield{urlyear}}% {\iffieldundef{urlmonth}% @@ -2144,7 +2188,11 @@ \printfield{extrayear}}% \iffieldundef{origendyear}% {\clearfield{origyear}}% - {\iffieldequalstr{origendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{origendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}% \clearfield{origyear}}% {\iffieldundef{origmonth}% @@ -2159,7 +2207,11 @@ \printfield{extrayear}}% \iffieldundef{eventendyear}% {\clearfield{eventyear}}% - {\iffieldequalstr{eventendyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{eventendyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}% \clearfield{eventyear}}% {\iffieldundef{eventmonth}% @@ -2174,7 +2226,11 @@ \printfield{extrayear}}% \iffieldundef{endyear}% DATE FIX {\clearfield{year}}% - {\iffieldequalstr{endyear}{}% + {\ifboolexpr{ + test {\iffieldequalstr{endyear}{}}% + and + not togl {cms@datedash}% + } {\mbox{\bibdatedash}% \clearfield{year}}% {\iffieldundef{month}% |