summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx
blob: 311ab7e91b94ad219fccfc3f05f96d8872e581d6 (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
%%
%% This is file `dguf-apa.cbx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% biblatex-archaeology.dtx  (with options: `dgufapaCBX,barecitations')
%% 
\ProvidesFile{dguf-apa.cbx}
[2018/06/10 v2.0 biblatex-archaeology citation style (IB)]
\RequireCitationStyle{authoryear-archaeology}
\def\archaeocitestyletitle{\blxarch@style@dgufapa}
\xpatchbibmacro{cite}{\printnames{labelname}}{%
    \ifboolexpr{
        not test {\ifciteseen}
        and
        test {\ifnumcomp{6}{>}{\value{labelname}}}
    }
        {\printnames[][-\value{listtotal}]{labelname}}
        {\printnames{labelname}}%
}{}{Patching bibmacro 'cite' failed}
\xpatchbibmacro{textcite}{\printnames{labelname}}{%
    \ifboolexpr{
        not test {\ifciteseen}
        and
        test {\ifnumcomp{6}{>}{\value{labelname}}}
    }
        {\printnames[][-\value{listtotal}]{labelname}}
        {\printnames{labelname}}%
}{}{Patching bibmacro 'textcite' failed}
\DeclareFieldFormat*{postnote}{\mknormrange{#1}}
\DeclareFieldFormat*{multipostnote}{\mknormrange{#1}}
\DeclareFieldFormat*{volcitevolume}{#1}
\DeclareFieldFormat*{volcitepages}{\mknormrange{#1}}
\endinput
%%
%% End of file `dguf-apa.cbx'.