summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx69
1 files changed, 58 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx b/Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx
index 9f65776118f..51f6d64bb2f 100644
--- a/Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx
+++ b/Master/texmf-dist/tex/latex/archaeologie/archaeologie.cbx
@@ -11,7 +11,7 @@
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
\ProvidesFile{archaeologie.cbx}%
- [2016/07/15 v2.03 archaeologie --
+ [2016/09/20 v2.1 archaeologie --
biblatex for archaeologists,
historians and philologists, cbx-Datei]
%-----------------------
@@ -192,11 +192,23 @@
ibidtracker=true,%
opcittracker=true,%
loccittracker=true,%
- labeldate=true,%
+ alldates=comp,%
+ dateuncertain=true,
+ datecirca=true,
citeauthorformat=initials,%
uniquename=minfull,%
}
%-----------------------
+\renewbibmacro*{citeindex}{%
+ \ifciteindex%
+ {\ifboolexpr{%
+ bool {cbx:ancient}%
+ or bool {cbx:frgancient}}%
+ {}%
+ {\indexnames{labelname}}}%
+ {}%
+}
+%-----------------------
\renewbibmacro*{postnote}{%
\iffieldundef{postnote}%
{}%
@@ -231,7 +243,9 @@
\newbibmacro*{cite:year}{%
\iffieldundef{labelyear}%
{}%
- {{\printtext[citeyear]{\printfield{labelyear}\printfield{extrayear}}}}}
+ {\printtext[citeyear]{\usebibmacro{cite:labelyear+extrayear}}}%
+ % {{\printtext[citeyear]{\printfield{labelyear}\printfield{extrayear}}}}
+}
%-----------------------
\newbibmacro*{cite:lexikon}{%
\printfield{booktitle}%
@@ -327,11 +341,37 @@
{\printtext[bibhyperref]{\printfield{label}}}}
%-----------------------
\newbibmacro*{cite:labelyear+extrayear}{%
- \iffieldundef{labelyear}%
- {}%
- {\printtext[bibhyperref]{%
- \printfield{labelyear}%
- \printfield{extrayear}}}}
+ \iffieldundef{labelyear}
+ {}
+ {\printtext[bibhyperref]{%
+ \ifdefstring\blx@dateformat@labeldate{edtf}
+ {}
+ {\datecircaprint}%
+ \dateeraprintpre{labelyear}%
+ \iffieldnums{labelyear}
+ {\mkyearzeros{\thefield{labelyear}}}
+ {\printfield{labelyear}}%
+ \printfield{extrayear}%
+ \iffieldsequal{labeldateera}{labelenddateera}{}
+ {\dateeraprint{labelyear}}%
+ \dateuncertainprint%
+ \ifdefstring\blx@dateformat@labeldate{edtf}
+ {\datecircaprintedtf}
+ {}%
+ \iffieldundef{labelendyear}
+ {}
+ {\iffieldsequal{labelyear}{labelendyear}{}
+ {\ifdefstring\blx@dateformat@labeldate{edtf}
+ {\slash}% strict EDTF
+ {\bibdaterangesep
+ \enddatecircaprint}%
+ \dateeraprintpre{labelendyear}%
+ \mkyearzeros{\thefield{labelendyear}}%
+ \enddateuncertainprint
+ \ifdefstring\blx@dateformat@labeldate{edtf}
+ {\enddatecircaprintedtf}
+ {}%
+ \dateeraprint{labelendyear}}}}}}
%-----------------------
\newbibmacro*{textcite:postnote}{%
\iffieldundef{postnote}%
@@ -402,9 +442,7 @@
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\addspace\bibstring{and}\space}%
\usebibmacro{prenote}}%
- {\ifciteindex%
- {\indexnames{labelname}}%
- {}%
+ {\usebibmacro{citeindex}%
\ifboolexpr{%
test {\ifbool{bbx:inreferences}}%
and %
@@ -414,6 +452,15 @@
{\printtext[bibhyperref]}%
{\printnames[citeauthor]{labelname}}}%
{\multicitedelim}%
+ {\usebibmacro{postnote}}
+%-----------------------
+\DeclareCiteCommand*{\citeauthor}
+ {\boolfalse{citetracker}%
+ \boolfalse{pagetracker}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \printnames[][1-1]{labelname}}
+ {\multicitedelim}
{\usebibmacro{postnote}}
%-----------------------
\DeclareCiteCommand{\citetitle} %