blob: 20bca56a1d6491f09629345b25809b34b233c3af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
% $Id: cms-british.lbx,v 0.7 2013/10/29 14:13:55 dfussner Exp $
\ProvidesFile{cms-british.lbx}[2013/10/29 v 2.8 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}}
{\ifthenelse{\iffieldundef{#2month}\AND\iffieldundef{#2day}}%
{\csuse{mkbibdate#1}{#2year}{}{}%
\clearfield{#2endyear}}% Clear up inheritance problem ???
{\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}}%
{}%
{\ifthenelse{\iffieldsequal{#2year}{#2endyear}\AND%
\iffieldundef{#2month}\AND\iffieldundef{#2day}}%
{\clearfield{#2endyear}}% Clear up inheritance problem ???
{}%
\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
|