diff options
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. |