summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/verbose-archaeology.cbx
blob: 8a6fcb365841a1860c332af909b50452df56a4fa (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
%%
%% This is file `verbose-archaeology.cbx',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% biblatex-archaeology.dtx  (with options: `verboseCBX,verbosesharedCBX')
%% 

\ProvidesFile{verbose-archaeology.cbx}
[2019/12/30 v2.2 biblatex-archaeology citation style (IB)]
\def\archaeocitestyletitle{\blxarch@style@v}
\RequireCitationStyle{verbose}
\providebibmacro*{cite:short}{}
\renewbibmacro*{cite:short}{%
    \printnames{labelname}%
    \setunit*{\printdelim{nametitledelim}}%
    \printtext[bibhyperlink]{%
    \iftoggle{archbool:citeshortin}
        {\ifboolexpr{
            not test {\iffieldundef{journaltitle}}
            or
            ( not test {\ifshortform{false}}
              and
              not test {\iffieldundef{shortform}}
            )
         }
         {\usebibmacro{cite:short:in}}
         {\printfield[citetitle]{labeltitle}}%
        }
        {\printfield[citetitle]{labeltitle}}}%
}
\newbibmacro*{cite:short:in}{%
    \savebibmacro{extendeddate}%
    \renewbibmacro*{extendeddate}[2]{}%
    \iffieldundef{journaltitle}
        {\iffieldundef{shortform}
            {\printfield[citetitle]{labeltitle}}
            {\usebibmacro{in:}%
             \printfield{shortform}%
             \setunit{\addspace}%
             \printfield[shortformvolume]{volume}%
             \setunit{\addspace}%
             \usebibmacro{bibliographydate}%
            }
        }
        {\usebibmacro{journal+issuetitle}}%
    \restorebibmacro{extendeddate}%
}
\endinput
%%
%% End of file `verbose-archaeology.cbx'.