summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/rgk-inline.bbx
blob: 5e119ddd5cbc413be27adf225567d9b2728403b4 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
%%
%% This is file `rgk-inline.bbx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% biblatex-archaeology.dtx  (with options: `rgkinlineBBX,rgksharedBBX,noarticlesubtitlepunct')
%% 

\ProvidesFile{rgk-inline.bbx}
[2019/12/30 v2.2 biblatex-archaeology bibliography style (IB)]
\RequireBibliographyStyle{authoryear-archaeology}
\def\archaeobibstyletitle{\blxarch@style@rgkinline}
\ExecuteBibliographyOptions{
    dashed=true,
    ibidtracker=false,
    idemtracker=false,
    loccittracker=false,
    repeatlabel=true,
    mergedate=false,
    maxbibnames=500,
    maxcitenames=2,
    mincitenames=1,
    sorting=lnyvc,
}
\setlength{\bibitemsep}{\baselineskip}
\renewcommand*{\bibnamedash}{\printtext{\bibstring[\mkbiblistnamefamily]{idem\thefield{gender}}}}
\renewcommand*{\mkbiblistnamefamily}[1]{\textsc{#1}}
\renewcommand*{\mkbiblistnameprefix}[1]{\textsc{#1}}
\ExecuteBibliographyOptions{
    doi=false,
    eprint=false,
    giveninits=true,
    maxbibnames=500,
    maxcitenames=2,
    maxitems=2,
    mincitenames=1,
    minitems=1,
    notetype=foot+end,
    url=false,
    editionsuperscript=posttitle,
    giveninitligatures={Ch,Ph,St,Th},
    idemincitation=false,
    injournal=false,
    journallocation=false,
    maxbooknames=500,
    minbooknames=3,
    minrealdatediff=\blxarch@maxnumber,
    nothesistitlepunct=true,
    notitlepunct=true,
    origfields=true,
    pagesfirst=false,
    positionlabeldate=location,
    preservelastauthor=false,
    shortform=false,
    shortjournal=true,
    shortseries=true,
    subseries=true,
    summarytitle=false,
    tabbedlabeldate=false,
    titlebrackets=false,
    titlenote=false,
    useeventdate=false,
    useeventnumber=true,
    usefestschriftaddon=false,
    useinstitution=false,
    uselocation=true,
    usemultivenue=false,
    usesourceeditor=true,
    usepublisher=false,
    useunpublishedthesis=true,
    volumeafterseries=false,
}
\DeclareStyleSourcemap{
    \maps[datatype=bibtex]{
       \map[
            overwrite,
            foreach={location, multivenue}
        ]{
            \step[
                fieldsource=\regexp{$MAPLOOP},
                matchi={([a-z])\/([a-z])},
                replace={$1 / $2},
            ]
        }
        \map[
            overwrite
        ]{
            \step[
                fieldsource=venue,
                matchi={([a-z])\/([a-z])},
                replace={$1 / $2},
            ]
        }
        \map[
            overwrite=true,
        ]{
            \step[
                fieldsource=eventtype,
                matchi=\regexp{exhib},
                notfield=options,
            ]
            \step[
                fieldset=options,
                fieldvalue={titlenote=true,titlebrackets=true},
            ]
        }
        \map[
            overwrite=true,
        ]{
            \step[
                fieldsource=date,
                notmatchi=\regexp{\btitlenote\b},
                final,
            ]
            \step[
                fieldsource=eventtype,
                matchi=\regexp{exhib},
                fieldset=options,
                fieldvalue={,titlenote=true,titlebrackets=true},
                append=true,
            ]
        }
    }
}
\DeclareNameAlias{bookauthor}{given-family}
\DeclareNameAlias{sortname}{given-family}
\renewcommand*{\multinamedelim}{\addspace\slash\space}
\renewcommand*{\finalnamedelim}{\addspace\slash\space}
\renewcommand*{\mkbiblistnamefamily}[1]{\textsc{#1}}
\renewcommand*{\mkbiblistnameprefix}[1]{\textsc{#1}}
\renewcommand*{\labelnamepunct}{\addcomma\space}
\renewcommand*{\booklabelnamepunct}{\addcomma\space}
\DeclareFieldFormat[inreference]{dictionary}{\midsentence\bibstring{subverbum}\space#1}
\renewcommand*{\seriespunct}{\addspace}
\DeclareFieldFormat*{seriesparens}{#1}
\renewcommand*{\volumenumberdelim}{\addcomma\space}
\DeclareFieldFormat*{realdateparens}{\mkbibparens{#1}}
\DeclareFieldFormat*{origrealdateparens}{\mkbibparens{#1}}
\DeclareFieldFormat*{pages}{#1}
\DeclareFieldFormat*{volume}{\addspace#1}
\DeclareFieldFormat*{journaldateparens}{#1}
\DeclareFieldFormat[thesis]{thesis}{\mkbibparens{#1}}
\DeclareFieldFormat[thesis]{locationdateparens}{#1}
\DeclareFieldFormat*{missingfield}{\mkbibbrackets{#1}}
\renewcommand*{\bibpagespunct}{%
    \iffieldundef{journaltitle}
        {\addspace}
        {\addcomma\space}}
\DeclareFieldFormat*{reprintparens}{\addsemicolon\space#1}
\renewcommand*{\multicitedelim}{\addsemicolon\space}
\DeclareFieldFormat*{url}{\url{#1}}
\let\blxarch@buffer@url\url
\renewcommand*{\url}[1]{\textless\blxarch@buffer@url{#1}\textgreater}
\renewcommand*{\articlesubtitlepunct}{\subtitlepunct}
\endinput
%%
%% End of file `rgk-inline.bbx'.