summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/dguf-apa.cbx
blob: 470024b16fa341bfab9942377eae66177e138829 (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
%%
%% 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}
[2017/11/16 v1.3 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}}%
}{}{}
\xpatchbibmacro{textcite}{\printnames{labelname}}{%
    \ifboolexpr{
        not test {\ifciteseen}
        and
        test {\ifnumcomp{6}{>}{\value{labelname}}}
    }
        {\printnames[][-\value{listtotal}]{labelname}}
        {\printnames{labelname}}%
}{}{}
\DeclareFieldFormat*{postnote}{#1}
\DeclareFieldFormat*{volcitevolume}{#1}
\DeclareFieldFormat*{volcitepages}{#1}
\endinput
%%
%% End of file `dguf-apa.cbx'.