summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty17
1 files changed, 10 insertions, 7 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
index 37bb08b981..060060ae4e 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-tabular}
- [2021/02/27 v0.12 tabular bibliographies for biblatex (MW)]
+ [2021/04/22 v0.12b tabular bibliographies for biblatex (MW)]
% Code based on Audrey's
% (https://tex.stackexchange.com/users/4483/audrey)
@@ -60,13 +60,13 @@
{\extblxtab@printbibtabular}
{\extblxtab@printbibtabular[]}}
-\def\extblxtab@key@env#1{%
- \ifcsundef{extblxtab@env@#1}
+\def\extblxtab@key@env#1#2{%
+ \ifcsundef{extblxtab@env@#2}
{\extblxtab@error
- {Environment '#1' not found}
- {The environment '#1' could not be found.\MessageBreak
+ {Environment '#2' not found}
+ {The environment '#2' could not be found.\MessageBreak
Use \string\defbibtabular\space to define it}}
- {\def\blx@theenv{#1}}}
+ {\def#1{#2}}}
\def\extblxtab@printbibtabular[#1]{%
\toggletrue{blx@tempa}%
@@ -183,6 +183,10 @@
% break out of the first cell as soon as the row format has a & in it
% since the assignment will be counted as being in the first cell
\def\do##1{%
+ \begingroup
+ \blx@getdata{##1}%
+ \blx@setdefaultrefcontext{##1}%
+ \endgroup
\gdef\extblxtab@tabrow@entrykey{##1}%
\csuse{extblxtab@tabrow@format@\blx@theenv}}%
\csuse{extblxtab@env@\blx@theenv}%
@@ -233,7 +237,6 @@
\def\extblxtab@tab@item@driver#1#2{%
\begingroup
\blx@getdata{#1}%
- \blx@setdefaultrefcontext{#1}%
\blx@setoptions@type\abx@field@entrytype
\blx@setoptions@entry
\blx@thelabelnumber