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.bbx18
1 files changed, 17 insertions, 1 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 d88a9a92e95..7de8ccc9739 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
@@ -8,7 +8,7 @@
%%
\ProvidesFile{authoryear-icomp-archaeology.bbx}
-[2018/11/20 v2.1 biblatex-archaeology bibliography style (IB)]
+[2019/12/30 v2.2 biblatex-archaeology bibliography style (IB)]
\RequireBibliographyStyle{authoryear-icomp}
\def\archaeobibstyletitle{\blxarch@style@ayic}
\def\blxarch@fork@authordate{}
@@ -39,6 +39,13 @@
\xpatchbibdriver{inreference}{{finentry}}{{finentry}\end{tabbedlabeldate}}
{}{Patching driver 'inreference' failed (1)}
\DeclareNameAlias{sortname}{family-given/given-family}
+\renewbibmacro*{labeltitle}{%
+ \iffieldundef{label}
+ {\iffieldundef{shorttitle}
+ {\printfield{title}%
+ \clearfield{title}}
+ {\printfield[label]{shorttitle}}}
+ {\printfield{label}}}
\xpretobibmacro{begentry}{%
\csuse{blxarch@issuedate}%
\iffieldequalstr{labelnamesource}{anonstring}
@@ -50,6 +57,15 @@
{}}
{}}
{}%
+ \ifentrytype{periodical}
+ {\ifboolexpr{
+ test {\ifcitation}
+ or
+ not test {\ifrepeatlabel{false}}
+ }
+ {\clearfield{shorttitle}}
+ {}}
+ {}%
}{}{Patching bibmacro 'begentry' failed (1)}
\xpretobibmacro{finentry}{%
\restorebibmacro{issue+date}%