summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-06-09 20:32:56 +0000
committerKarl Berry <karl@freefriends.org>2021-06-09 20:32:56 +0000
commit586b2d598545dae1594b62d3d9b6021d7afe906d (patch)
treeb5af12fb5d9ac4f2a130260795cf9f46f6706b1c /Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
parentcdd9cecfd76d306563b2bb748b17b177e3adbf3f (diff)
biblatex-ext (9jun21)
git-svn-id: svn://tug.org/texlive/trunk@59532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx41
1 files changed, 39 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
index 0d2005dc273..e9e9526fd10 100644
--- a/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
@@ -1,9 +1,9 @@
-% biblatex-ext v0.12b (2021-04-22)
+% biblatex-ext v0.13 (2021-06-08)
% Maintainer: Moritz Wemheuer
% Licence: LaTeX Project Public License v1.3c or later
%
\ProvidesFile{ext-standard.bbx}
- [2021/04/22 v0.12b extended biblatex standard style (MW)]
+ [2021/06/08 v0.13 extended biblatex standard style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
@@ -1268,6 +1268,43 @@
\setunit*{\pubdatedelim}%
\printdate}}}
+% -------------------------------------------------------------------
+% Compatibility code for older biblatex
+% -------------------------------------------------------------------
+
+% fixed related:default will be in biblatex v3.17
+% it was added 2021-06-07, so that's the date we test against
+\@ifpackagelater{biblatex}{2021/06/07}
+ {}
+ {\renewbibmacro*{related:default}[1]{%
+ \entrydata*{#1}{%
+ \usedriver
+ {\ifnameundef{savedauthor}
+ {\ifnameundef{savededitor}
+ {}
+ {\ifnamesequal{editor}{savededitor}
+ {\clearname{editor}}
+ {}}}
+ {\ifnamesequal{author}{savedauthor}
+ {\clearname{author}}
+ {}}%
+ \DeclareNameAlias{sortname}{default}%
+ % from authortitle and authoryear
+ \ifbibmacroundef{bbx:dashcheck}
+ {}
+ {\renewbibmacro*{bbx:dashcheck}[2]{##2}}%
+ % authoryear
+ \ifbibmacroundef{labeltitle}
+ {}
+ {\renewbibmacro*{labeltitle}{}}%
+ \ifbibmacroundef{date+extradate}
+ {}
+ {\renewbibmacro*{date+extradate}{}%
+ \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}}%
+ \renewbibmacro*{pageref}{}%
+ \renewbibmacro*{related:init}{}}
+ {\thefield{entrytype}}}}}
+
\endinput
% Copyright 2017-2021 Moritz Wemheuer