blob: 6d4eb0c5f7a45f8c6e584cfdb7c5105ac911238f (
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
|
% $Id: debug.cbx,v 1.3 2011/03/14 18:25:44 lehman stable $
\ProvidesFile{debug.cbx}
[\abx@cbxid $Id: debug.cbx,v 1.3 2011/03/14 18:25:44 lehman stable $]
\ExecuteBibliographyOptions{autocite=plain}
\DeclareUrlCommand{\cbx@citekey}{\urlstyle{citekey}}
\def\url@citekeystyle{\def\UrlFont{\ttfamily}}
\DeclareFieldFormat{key}{\cbx@citekey{#1}}
\DeclareFieldFormat{pre}{\texttt{pre=\detokenize{#1}}}
\DeclareFieldFormat{post}{\texttt{post=\detokenize{#1}}}
\DeclareFieldFormat{meta}{\texttt{#1}}
\renewbibmacro*{multiprenote}{%
\printtext[meta]{[multi}%
\setunit{\addspace}%
\printfield[pre]{multiprenote}%
\setunit{\addspace}%
\printfield[post]{multipostnote}%
\setunit{\addspace}}
\renewbibmacro*{multipostnote}{%
\printtext[meta]{]}}
\newbibmacro*{begin}[1]{%
\printtext[meta]{[#1}%
\setunit{\addspace}%
\printfield[pre]{prenote}%
\setunit{\addspace}%
\printfield[post]{postnote}%
\setunit{\addspace}%
\printtext[meta]{key=}}
\newbibmacro*{end}{%
\printtext[meta]{]}}
\newbibmacro*{key}{%
\printtext[bibhyperref]{\printfield[key]{entrykey}}}
\newbibmacro*{next}{%
\printtext[meta]{\addcomma}%
\setunit{\addspace}}
\DeclareCiteCommand{\cite}
{\usebibmacro{begin}{cite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\parencite}
{\usebibmacro{begin}{parencite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\footcite}
{\usebibmacro{begin}{footcite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\footcitetext}
{\usebibmacro{begin}{footcitetext}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]
{\usebibmacro{begin}{smartcite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\textcite}
{\usebibmacro{begin}{textcite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareCiteCommand{\supercite}
{\usebibmacro{begin}{supercite}}
{\usebibmacro{key}}
{\usebibmacro{next}}
{\usebibmacro{end}}
\DeclareMultiCiteCommand{\cites}{\cite}{\addspace}
\DeclareMultiCiteCommand{\parencites}{\parencite}{\addspace}
\DeclareMultiCiteCommand{\footcites}{\footcite}{\addspace}
\DeclareMultiCiteCommand{\footcitetexts}{\footcitetext}{\addspace}
\DeclareMultiCiteCommand{\supercites}{\supercite}{\addspace}
\DeclareMultiCiteCommand{\textcites}{\textcite}{\addspace}
\endinput
|