diff options
author | Karl Berry <karl@freefriends.org> | 2012-12-08 17:16:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-12-08 17:16:40 +0000 |
commit | d5550a5b1dfc527de0b394ca1af3dff46548c6e3 (patch) | |
tree | c75e4296b600e2d2effb0dd168a9c3e6aacf229d /Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx | |
parent | d70e4e2f7daa386b9f77c0ff1d5a61b0c2c4b7f3 (diff) |
biblatex-chicago (6dec12)
git-svn-id: svn://tug.org/texlive/trunk@28472 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx new file mode 100644 index 00000000000..cb4b5511806 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-chicago/cms-british.lbx @@ -0,0 +1,73 @@ +% $Id: cms-british.lbx,v 0.4 2012/12/06 12:10:09 dfussner Exp $ + +\ProvidesFile{cms-british.lbx}[2012/12/06 v 2.4 biblatex localization] + +\InheritBibliographyExtras{british} + +\DeclareBibliographyExtras{% + \savecommand\cms@datelong + \savecommand\cms@datelongalt + \savecommand\mkbibrangecomp + \savecommand\mkbibrangeterse + \savecommand\mkbibrangefull + \protected\def\mkbibrangecomp{% + \lbx@cms@mkbibrangetrunc{long}}% + \protected\def\mkbibrangeterse{% + \lbx@cms@mkbibrangetrunc{short}}% + \protected\def\mkbibrangefull{% + \lbx@cms@mkbibrangefull} + \def\cms@datelong{\printorigdate}% + \def\cms@datelongalt{\printdate}}% + +\UndeclareBibliographyExtras{% + \restorecommand\cms@datelong + \restorecommand\cms@datelongalt + \restorecommand\mkbibrangecomp% + \restorecommand\mkbibrangefull% + \restorecommand\mkbibrangeterse}% + +\InheritBibliographyStrings{cms-american} + +\protected\gdef\lbx@cms@mkbibrangetrunc#1#2{% DATE FIX + \iffieldundef{#2year}% + {\iffieldundef{#2month} + {} + {\printtext[#2date]{% + \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[#2date]{% + \iffieldsequal{#2year}{#2endyear} + {\iffieldsequal{#2month}{#2endmonth} + {\csuse{mkbibdate#1}{}{}{#2day}} + {\csuse{mkbibdate#1}{}{#2month}{#2day}}} + {\csuse{mkbibdate#1}{#2year}{#2month}{#2day}}% + \iffieldundef{#2endyear} + {} + {\iffieldequalstr{#2endyear}{} + {\mbox{\bibdatedash}} + {\bibdatedash + \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}} + +\protected\gdef\lbx@cms@mkbibrangefull#1#2{% + \ifthenelse{\iffieldundef{#2year}\AND\iffieldundef{#2month}}% + {}% + {\printtext[#2date]{% + \csuse{mkbibdate#1}{#2year}{#2month}{#2day}% + \ifthenelse{\iffieldundef{#2endyear}\AND\iffieldundef{#2endmonth}} + {} + {\iffieldequalstr{#2endyear}{} + {\mbox{\bibdatedash}} + {\bibdatedash + \csuse{mkbibdate#1}{#2endyear}{#2endmonth}{#2endday}}}}}} + +\endinput |