texlive[71216] Master/texmf-dist: biblatex-publist (9may24)
commits+karl at tug.org
commits+karl at tug.org
Thu May 9 21:23:32 CEST 2024
Revision: 71216
https://tug.org/svn/texlive?view=revision&revision=71216
Author: karl
Date: 2024-05-09 21:23:32 +0200 (Thu, 09 May 2024)
Log Message:
-----------
biblatex-publist (9may24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-publist/README
trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.dbx
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-publist/README 2024-05-09 05:59:42 UTC (rev 71215)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README 2024-05-09 19:23:32 UTC (rev 71216)
@@ -46,6 +46,9 @@
== CHANGES ==
+* V. 2.9 (2025-05-09):
+ - Add bibchecks to exclude (specific kinds of) unpublished work.
+
* V. 2.8 (2024-03-08):
- Fix delimiter with plauthor second in a truncated author list (#50).
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex 2024-05-09 05:59:42 UTC (rev 71215)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex 2024-05-09 19:23:32 UTC (rev 71216)
@@ -115,7 +115,7 @@
\thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}%
}
-\date{Version 2.8, 2024/03/08}
+\date{Version 2.9, 2025/05/09}
\maketitle
\begin{abstract}
@@ -862,6 +862,28 @@
Note that this method sometimes requires several reruns of \texttt{latex}
to fix the numbering.
+Sometimes you might also want to omit some publications from the list which are not yet
+published or not yet accepted (e.g., because they are under blind review and you do not
+want to reveal your identity yet). To this end, \bpl\ features some \joption{bibchecks}
+(for the concept, please refer to \cite[sec.~3.8.2]{bibltx}). Bibchecks can be activated
+by passing \joption{check=<bibcheck>} to the optional argument of \jfcsmacro{printbibliography}.
+
+The following bibchecks are available:
+\begin{itemize}
+ \item \joption{nosubmitted}: omits all entries with pubstate \joption{submitted}.
+ \item \joption{noprepared}: omits all entries with pubstate \joption{inpreparation}.
+ \item \joption{onlypublished}: omits all unpublished entries (i.e., entries that have
+ a pubstate) with the exception of \joption{prepublished} entries.
+ \item \joption{onlyaccepted}: omits all unpublished entries (i.e., entries that have
+ a pubstate) with the exception of \joption{prepublished} and \joption{forthcoming}
+ (and thus accepted) entries.
+\end{itemize}
+%
+Several of these bibchecks might be used in a row, e.g.:
+\begin{lstlisting}[moretexcs={[1]{printbibliography}}]
+\printbibliography[heading=none,filter=mine,check=nosubmitted,check=noprepared]
+\end{lstlisting}
+
\section{Sorting\label{sec:sorting}}
@@ -942,6 +964,11 @@
\section{Revision Log}
\begin{description}
+ \item [{V. 2.9 (2025/05/09):}]~
+ \begin{itemize}
+ \item Add bibchecks to exclude (specific kinds of) unpublished work
+ (see sec.~\ref{sec:filtering}).
+ \end{itemize}
\item [{V. 2.8 (2024/03/08):}]~
\begin{itemize}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2024-05-09 05:59:42 UTC (rev 71215)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2024-05-09 19:23:32 UTC (rev 71216)
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.8}
-\def\bpl at rdate{2024/03/08}
+\def\bpl at version{2.9}
+\def\bpl at rdate{2025/05/09}
\ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
biblatex bibliography style (JSP)]
@@ -1105,7 +1105,44 @@
\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
%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2024-05-09 05:59:42 UTC (rev 71215)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2024-05-09 19:23:32 UTC (rev 71216)
@@ -26,8 +26,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.8}
-\def\bpl at rdate{2024/03/08}
+\def\bpl at version{2.9}
+\def\bpl at rdate{2025/05/09}
\ProvidesFile{publist.cbx}[\bpl at rdate\space v.\bpl at version\space
biblatex citation style (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.dbx 2024-05-09 05:59:42 UTC (rev 71215)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.dbx 2024-05-09 19:23:32 UTC (rev 71216)
@@ -1,5 +1,5 @@
% publist.dbx, biblatex data model specification for the biblatex-publist
-% package, version 2.8 (2024/03/08).
+% package, version 2.9 (2025/05/09).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
More information about the tex-live-commits
mailing list.