summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx
blob: 240917b4cb737b9a6d43855c4bd5a2bb7594a886 (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
%%
%% 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}
[2019/12/30 v2.2 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'.