summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx30
1 files changed, 18 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
index af9e32c7413..7e955db1509 100644
--- a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl@version{2.7}
-\def\bpl@rdate{2023/10/07}
+\def\bpl@version{2.8}
+\def\bpl@rdate{2024/03/08}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -72,8 +72,7 @@
% Valid options
%
-% We use l3keys here since (1) LaTeX2e keys are rather
-% new and (2) do not provide for choice keys yet.
+% We use l3keys here since we use l3 within the definitions anyway.
\ExplSyntaxOn
\keys_define:nn { bpl }
{
@@ -1159,27 +1158,34 @@
\newbibmacro*{bpl:omissiondelim}[1][author]
{%
\ifthenelse{\value{listcount}=1}{\global\togglefalse{plnameafteromission}}{%
+ % listcount > 1
\ifnumless{\value{listcount}}{\value{liststop}}%
- {%
+ {% listcount < liststop
\ifnumgreater{\value{listcount}}{\value{realliststop}}{%
- \iftoggle{plnameomitted}{%
+ % listcount > realliststop
+ \iftoggle{plnameomitted}{% [...] precedes
\multinamedelim\iftoggle{isplauthor}{\plnameomission\global\togglefalse{plnameomitted}%
\global\toggletrue{plnameafteromission}}{}%
- }{%
+ }{% an author name precedes
\ifnumless{\value{pl#1}}{\value{pl#1s}}{%
+ % more plauthors left
\iftoggle{isplauthor}
{\multinamedelim\plnameomission\global\togglefalse{plnameomitted}}
{\global\toggletrue{plnameomitted}}%
- }{}%
+ }{% last plauthor
+ \iftoggle{isplauthor}
+ {\multinamedelim}
+ {}%
+ }%
}%
- }{%
+ }{% listcount >= realliststop
\multinamedelim\global\togglefalse{plnameomitted}%
}%
- }{%
- \ifnumgreater{\value{listcount}}{\value{realliststop}}{%
+ }{% listcount >= liststop
+ \ifnumgreater{\value{listcount}}{\value{realliststop}}{% listcount > realliststop
\iftoggle{isplauthor}{\iftoggle{plnameomitted}{\multinamedelim\plnameomission}{}%
\finalnamedelim\global\togglefalse{plnameomitted}}{}%
- }{%
+ }{% listcount =< realliststop
\iftoggle{plnameomitted}{%
\ifnumequal{\value{listcount}}{\value{liststop}}%
{\finalnamedelim}