diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-15 21:31:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-15 21:31:31 +0000 |
commit | 976ae3e04c523075e8fea26c04fe5cc8253604d5 (patch) | |
tree | 41590baa61b53ff92d179e6b03b6d9749d719d48 /Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty | |
parent | 22da77d512a3339e8c347c1632c42a9126af57bf (diff) |
biblatex-ext (15mar20)
git-svn-id: svn://tug.org/texlive/trunk@54327 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty b/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty index 7ffd71b79ba..85500743cc0 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty +++ b/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty @@ -1,5 +1,5 @@ \ProvidesPackage{biblatex-ext-tabular} - [2019/11/30 v0.8c tabular bibliographies for biblatex (MW)] + [2020/03/15 v0.8d tabular bibliographies for biblatex (MW)] % Code based on Audrey's % (https://tex.stackexchange.com/users/4483/audrey) @@ -96,7 +96,6 @@ % underlying macros \def\extblxtab@bibtabular#1{% - \blx@langstrings \blx@bibheading\blx@theheading\blx@thetitle \blx@bibnote\blx@theprenote \begingroup @@ -244,7 +243,7 @@ % appropriate \newbibmacro*{tabular:sortname}{% \ifnameundef{labelname} - {\usebibmacro{labeltitle}} + {\usebibmacro{tabular:labeltitle}} {\printnames[sortname]{labelname}% \iffieldequalstr{labelnamesource}{editor} {\setunit{\printdelim{editortypedelim}}% @@ -261,6 +260,20 @@ {} {\clearname{\thefield{labelnamesource}}}} +% as it turns out 'labeltitle' is only defined in authoryear.bbx +% so we need a replacement if we can't have it +\ifbibmacroundef{labeltitle} + {\newbibmacro*{tabular:labeltitle}{% + \iffieldundef{label} + {\iffieldundef{shorttitle} + {\printfield{title}% + \clearfield{title}} + {\printfield[title]{shorttitle}}} + {\printfield{label}}}} + {\ifundef\letbibmacro + {\newbibmacro*{tabular:labeltitle}{\usebibmacro{labeltitle}}} + {\letbibmacro{tabular:labeltitle}{labeltitle}}} + \endinput % % This file is part of the biblatex-ext bundle. |