summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx26
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx b/Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx
index 701b92c46f4..d88a9a92e95 100644
--- a/Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-archaeology/authoryear-icomp-archaeology.bbx
@@ -6,8 +6,9 @@
%%
%% biblatex-archaeology.dtx (with options: `authoryearicompBBX,authoryearsharedBBX')
%%
+
\ProvidesFile{authoryear-icomp-archaeology.bbx}
-[2018/06/10 v2.0 biblatex-archaeology bibliography style (IB)]
+[2018/11/20 v2.1 biblatex-archaeology bibliography style (IB)]
\RequireBibliographyStyle{authoryear-icomp}
\def\archaeobibstyletitle{\blxarch@style@ayic}
\def\blxarch@fork@authordate{}
@@ -15,15 +16,17 @@
\ExecuteBibliographyOptions{
mergedate=false,
labeldate=true,
- sorting=nyvt,
+ sorting=nyvc,
+ uniquename=init,
+ uniquelist=false,
}
\def\blxarch@settabbedlabeldate#1{%
\xpatchbibdriver{#1}{\setunit{\printdelim{nametitledelim}}\newblock}
{\setunit{\printdelim{nametitledelim}}%
\iftabbedlabeldate{&}{\newblock}}
-{}{Patching driver '#1' failed (a)}
+ {}{Patching driver '#1' failed (a)}
\xapptobibdriver{#1}{\end{tabbedlabeldate}}
-{}{Patching driver '#1' failed (b)}
+ {}{Patching driver '#1' failed (b)}
}
\blxarch@settabbedlabeldate{article}
\blxarch@settabbedlabeldate{book}
@@ -38,6 +41,15 @@
\DeclareNameAlias{sortname}{family-given/given-family}
\xpretobibmacro{begentry}{%
\csuse{blxarch@issuedate}%
+ \iffieldequalstr{labelnamesource}{anonstring}
+ {\ifrepeatlabel{false}
+ {\ifbibliography
+ {\savename*{anonstring}{\blxarch@field@anonstring}%
+ \restorename{author}{\blxarch@field@anonstring}%
+ }
+ {}}
+ {}}
+ {}%
}{}{Patching bibmacro 'begentry' failed (1)}
\xpretobibmacro{finentry}{%
\restorebibmacro{issue+date}%
@@ -47,7 +59,7 @@
{\printtext{%
\bibstring{idem\thefield{gender}}}}
{\usebibmacro{sortnamelist}{author}}}
-{}{Patching bibmacro 'author' failed (1)}
+ {}{Patching bibmacro 'author' failed (1)}
\xpatchbibmacro{author}{\usebibmacro{date+extradate}}{\usebibmacro{labeldate+edition}}
{}{Patching bibmacro 'author' failed (2)}
\xpatchbibmacro{bbx:editor}{\printnames{editor}}{%
@@ -55,13 +67,13 @@
{\printtext{%
\bibstring{idem\thefield{gender}}}}
{\usebibmacro{sortnamelist}{editor}}}
-{}{Patching bibmacro 'bbx:editor' failed (1)}
+ {}{Patching bibmacro 'bbx:editor' failed (1)}
\xpatchbibmacro{bbx:translator}{\printnames{translator}}{%
\ifidemincitation
{\printtext{%
\bibstring{idem\thefield{gender}}}}
{\usebibmacro{sortnamelist}{translator}}}
-{}{Patching bibmacro 'bbx:translator' failed}
+ {}{Patching bibmacro 'bbx:translator' failed}
\xpatchbibmacro{bbx:editor}{\usebibmacro{date+extradate}}{\usebibmacro{labeldate+edition}}
{}{Patching bibmacro 'bbx:editor' failed (2)}
\xpatchbibmacro{bbx:translator}{\usebibmacro{date+extradate}}{\usebibmacro{labeldate+edition}}