summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-05-10 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2024-05-10 03:00:55 +0000
commit889ef8595dafee235cb1106ec4efbdd3169481c2 (patch)
tree45863693da937beb703aee0e4407cc51cfc9956b /macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
parent1feed955eca29818ea536dba591c12b7b3b55003 (diff)
CTAN sync 202405100300
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx41
1 files changed, 39 insertions, 2 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
index 7e955db150..c7d385b452 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-publist/publist.bbx
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl@version{2.8}
-\def\bpl@rdate{2024/03/08}
+\def\bpl@version{2.9}
+\def\bpl@rdate{2025/05/09}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -1105,6 +1105,43 @@
\defbibfilter{mine}{category=filtered}
+%
+% bibchecks
+%
+% check to exclude submitted work (which is under review)
+% from publist
+\defbibcheck{nosubmitted}{%
+ \edef\tmpps{\bibstring{submitted}}%
+ \iffieldequals{pubstate}{\tmpps}{\skipentry}{}%
+}
+
+% check to exclude work in preparation
+% from publist
+\defbibcheck{noprepared}{%
+ \edef\tmpps{\bibstring{inpreparation}}%
+ \iffieldequals{pubstate}{\tmpps}{\skipentry}{}%
+}
+
+% check to exclude all work which is not (pre-)published
+\defbibcheck{onlypublished}{%
+ \iffieldundef{pubstate}{}{%
+ \edef\tmpps{\bibstring{prepublished}}%
+ \iffieldequals{pubstate}{\tmpps}{}{\skipentry}%
+ }%
+}
+
+% check to exclude all work which is not accepted or published
+\defbibcheck{onlyaccepted}{%
+ \iffieldundef{pubstate}{}{%
+ \edef\tmpps{\bibstring{prepublished}}%
+ \edef\tmppss{\bibstring{forthcoming}}%
+ \iffieldequals{pubstate}{\tmpps}{}{%
+ \iffieldequals{pubstate}{\tmppss}{}{%
+ \skipentry}%
+ }%
+ }%
+}
+
%
% Count non-plauthors