texlive[74558] Master/texmf-dist: biblatex-publist (10mar25)
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 10 21:06:20 CET 2025
Revision: 74558
https://tug.org/svn/texlive?view=revision&revision=74558
Author: karl
Date: 2025-03-10 21:06:20 +0100 (Mon, 10 Mar 2025)
Log Message:
-----------
biblatex-publist (10mar25)
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/lbx/UKenglish-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/USenglish-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/american-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/australian-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/austrian-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/british-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/canadian-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/english-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/french-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/german-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/naustrian-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/newzealand-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/ngerman-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/nswissgerman-publist.lbx
trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/swissgerman-publist.lbx
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 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README 2025-03-10 20:06:20 UTC (rev 74558)
@@ -46,6 +46,13 @@
== CHANGES ==
+* V. 2.14 (2025-03-10):
+ - Add support for linktitles=eprint.
+ - Add option to print (potentially linked) open-access symbol in
+ the right margin.
+ - Fix alignment of year in margin if the biblatex-ext-oa package
+ is used to print open-access symbols in the right margin.
+
* V. 2.13 (2024-08-21):
- Add basic support for author annotations.
- Add support for information about number of citations.
@@ -297,4 +304,3 @@
* V. 0.2 (2012-10-21): Initial release to CTAN.
-
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 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex 2025-03-10 20:06:20 UTC (rev 74558)
@@ -115,7 +115,7 @@
\thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}%
}
-\date{Version 2.13, 2024/08/21}
+\date{Version 2.14, 2025/03/10}
\maketitle
\begin{abstract}
@@ -350,7 +350,11 @@
(see section~\ref{sec:openaccess}), will be appended to the entries. With \joption{verbose}, different OpenAccess strategies
(\enquote*{gold}, \enquote*{green}) will be differentiated in the output.
+\item [{\joption{oasymbol{[}=true|false{]}}}] default: \emph{false}.
+If this option is \joption{true}, a (possibly linked) open-access symbol is printed in the right margin for entries which
+have a non-empty \texttt{openaccess} field (see section~\ref{sec:openaccess}).
+
\item [{\joption{prinfo{[}=true|false{]}}}] default: \emph{true}.
If this option is \joption{true}, peer review information, as specified via the \texttt{peerreview} field
@@ -362,9 +366,11 @@
\begin{description}
-\item [{\joption{linktitles={[}all|doi|url|isbn|issn|none{]}}}] default: \emph{none}.
+\item [{\joption{linktitles={[}all|eprint|doi|url|isbn|issn|none{]}}}] default: \emph{none}.
-Turns the title (and subtitle, if available) into a clickable hyperlink to either the DOI, the URL, the ISBN,
+Turns the title (and subtitle, if available) into a clickable hyperlink to either the DOI, the URL, an eprint location%
+\footnote{Note that \bpl\ is able to generate URLs for the standard eprint types supported by \bibltx\ (arxiv, hdl, jstor, and pubmed).
+ See sec.~\ref{sec:clicktitles} for how to add support for more types or customize an eprint location.}, the ISBN,
or the ISSN (the latter two via customizable search provider), if any of these is available.\footnote{%
Up to v.\,1.27, \bpl\ provided a range of boolean options for this task. These are still supported, but considered deprecated.
} The option \joption{all} activates all these targets, \joption{none} deactivates them.
@@ -736,7 +742,7 @@
as is (and not localized).
-\subsubsection{OpenAccess Strategies}\label{sec:openaccess}
+\subsubsection{OpenAccess Strategies and Marks}\label{sec:openaccess}
Some people also want, or need, to indicate whether and which (some of) their publications have
been published \enquote*{OpenAccess}, that is, free of charges and other access barriers.
@@ -757,6 +763,17 @@
the shorthands, you can also enter arbitrary text to the \texttt{openaccess} field, which is then output
as is (and not localized).
+Independent of the aforementioned options, you can also print an open-access symbol in the right margin by setting the option
+\joption{oasymbol=true}. All entries with a non-empty \texttt{openaccess} field will get the symbol.
+If \textsf{hyperref} is loaded, this symbol is linked with the \texttt{doi}, \texttt{url}, or \texttt{eprint} entry%
+\footnote{Note that \bpl\ is able to generate URLs for the standard eprint types supported by \bibltx\ (arxiv, hdl, jstor, and pubmed).
+ See sec.~\ref{sec:clicktitles} for how to add support for more types or customize an eprint location.}
+if given.
+This is inspired by the \textsf{biblatex-ext-oa} package, but currently, only one symbol (the PloS open-access symbol drawn
+by \textsf{pict2e}) is provided. You can employ the \textsf{biblatex-ext-oa} package for more
+advanced usages.
+
+
\section{Customization}
\subsection{Auxiliary Macros and Lengths}\label{sec:auxmacros}
@@ -867,6 +884,15 @@
%
where \verb|#1| is a placeholder for the ISBN or ISSN, respectively.
+With eprint, \bpl\ is able to generate an URL for the standard eprint types supported by \bibltx\
+(viz. \texttt{arxiv}, \texttt{hdl}, \texttt{jstor}, and \texttt{pubmed}). If you want to use a different eprint type,
+or overwrite the URL of an existing one, you can do so by using
+\begin{lstlisting}[moretexcs={[1]{DefineEPrintURL}}]
+\DefineEPrintURL{<eprinttype>}{<URL>}
+\end{lstlisting}
+%
+with \texttt{<URL>} being the base URL up to the ID (including all possible separators such as slashes).
+
Note that the \joption{linktitles} option does not have any affect on whether URLs, DOIs, ISBNs and ISSNs
are printed, so you might get redundant output. To control (e.\,g., omit) them, use the \joption{url},
\joption{doi} and \joption{isbn} biblatex options.
@@ -1162,6 +1188,14 @@
\section{Revision Log}
\begin{description}
+ \item [{V. 2.14 (2025/03/10):}]~
+ \begin{itemize}
+ \item Add support for \joption{linktitles=eprint}.
+ \item Add option to print (potentially linked) open-access symbol in the right margin
+ (see sec.~\ref{sec:openaccess}).
+ \item Fix alignment of year in margin if the \textsf{biblatex-ext-oa package} is used
+ to print open-access symbols in the right margin.
+ \end{itemize}
\item [{V. 2.13 (2024/08/21):}]~
\begin{itemize}
\item Add basic support for author annotations (see sec.~\ref{sec:annotations}).
@@ -1169,7 +1203,7 @@
\item Add support for \jcsmacro{citesecitem} and \jcsmacro{citesecitem*} in descending
order.
\item Fix \jcsmacro{citeitem} in first refsection.
- \end{itemize}
+ \end{itemize}
\item [{V. 2.12 (2024/07/16):}]~
\begin{itemize}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/UKenglish-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/UKenglish-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/UKenglish-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{UKenglish-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist UK English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/USenglish-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/USenglish-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/USenglish-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{USenglish-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist US English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/american-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/american-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/american-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{american-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist US English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/australian-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/australian-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/australian-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{australian-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist AU English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/austrian-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/austrian-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/austrian-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{austrian-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist Austrian localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/british-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/british-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/british-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{british-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist UK English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/canadian-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/canadian-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/canadian-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{canadian-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist CDN English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/english-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/english-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/english-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{english-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/french-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/french-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/french-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{french-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist French localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/german-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/german-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/german-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{german-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist German localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/naustrian-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/naustrian-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/naustrian-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{naustrian-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist Austrian localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/newzealand-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/newzealand-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/newzealand-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{newzealand-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist NZ English localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/ngerman-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/ngerman-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/ngerman-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{ngerman-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist German localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/nswissgerman-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/nswissgerman-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/nswissgerman-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{nswissgerman-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist Swiss German localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/swissgerman-publist.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/swissgerman-publist.lbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/lbx/swissgerman-publist.lbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -23,8 +23,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{swissgerman-publist.lbx}[\bpl at rdate\space v.\bpl at version\space
biblatex-publist Swiss German localisation (JSP)]
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
biblatex bibliography style (JSP)]
@@ -61,6 +61,7 @@
\newtoggle{bpl at linktitleissn}
\newtoggle{bpl at linktitleurl}
\newtoggle{bpl at linktitledoi}
+\newtoggle{bpl at linktitleeprint}
\newtoggle{bpl at citinfo}
\newtoggle{bpl at jifinfo}
\newtoggle{bpl at prinfo}
@@ -67,6 +68,7 @@
\toggletrue{bpl at prinfo}
\newtoggle{bpl at oainfo}
\newtoggle{bpl at oainfosimple}
+\newtoggle{bpl at oasymbol}
\newif\if at bpl@reversenum\@bpl at reversenumfalse
\def\bpl at annots{}
@@ -201,6 +203,7 @@
\toggletrue{bpl at linktitleissn}
\toggletrue{bpl at linktitleurl}
\toggletrue{bpl at linktitledoi}
+ \toggletrue{bpl at linktitleeprint}
\toggletrue{bpl at linktitle}
},
% Link no titles
@@ -210,6 +213,7 @@
\togglefalse{bpl at linktitleissn}
\togglefalse{bpl at linktitleurl}
\togglefalse{bpl at linktitledoi}
+ \togglefalse{bpl at linktitleeprint}
\togglefalse{bpl at linktitle}
},
% Link titles with URL
@@ -224,6 +228,12 @@
\toggletrue{bpl at linktitledoi}
\toggletrue{bpl at linktitle}
},
+ % Link titles with eprint
+ linktitles / eprint.code:n =
+ {
+ \toggletrue{bpl at linktitleeprint}
+ \toggletrue{bpl at linktitle}
+ },
% Link titles with ISBN
linktitles / isbn.code:n =
{
@@ -280,6 +290,18 @@
\togglefalse{bpl at oainfosimple}
},
oainfo.default:n = { simple },
+ % oasymbol=<true|false>
+ % Output OpenAccess symbol
+ oasymbol.code:n =
+ {
+ \str_if_eq:nnTF { #1 } { true }
+ {
+ \toggletrue{bpl at oasymbol}
+ }{
+ \togglefalse{bpl at oasymbol}
+ }
+ },
+ oasymbol.default:n = { true },
% prinfo=<true|false>
% Output peer-review information
prinfo.code:n =
@@ -353,6 +375,7 @@
\toggletrue{bpl at linktitleissn}
\toggletrue{bpl at linktitleurl}
\toggletrue{bpl at linktitledoi}
+ \toggletrue{bpl at linktitleeprint}
\toggletrue{bpl at linktitle}
}{
\togglefalse{bpl at linktitleisbn}
@@ -359,6 +382,7 @@
\togglefalse{bpl at linktitleissn}
\togglefalse{bpl at linktitleurl}
\togglefalse{bpl at linktitledoi}
+ \togglefalse{bpl at linktitleeprint}
\togglefalse{bpl at linktitle}
}
},
@@ -453,6 +477,7 @@
\DeclareBibliographyOption{pubstateextra}[true]{\ExecutePublistOptions{pubstateextra=#1}}
\DeclareBibliographyOption{jifinfo}[true]{\ExecutePublistOptions{jifinfo=#1}}
\DeclareBibliographyOption{oainfo}[simple]{\ExecutePublistOptions{oainfo=#1}}
+\DeclareBibliographyOption{oasymbol}[true]{\ExecutePublistOptions{oasymbol=#1}}
\DeclareBibliographyOption{prinfo}[true]{\ExecutePublistOptions{prinfo=#1}}
\DeclareBibliographyOption{citinfo}[true]{\ExecutePublistOptions{citinfo=#1}}
@@ -1768,7 +1793,23 @@
\fi%
}
+% The biblatex-ext-oa package writes a symbol in the margin
+% which shifts the marginyear. Adjust this if needed.
+\def\fix at extblx@oa{}
+\AddToHook{package/biblatex-ext-oa/after}{%
+ \renewbibmacro*{oamark}{%
+ \iffieldundef{bestoaurl}
+ {\def\fix at extblx@oa{}}
+ {\extblx at oa@marginmark%
+ \def\fix at extblx@oa{%
+ \kern-\dimexpr\dp\strutbox+\ht%
+ \strutbox\relax\strut}%
+ }%
+ }%
+}
+
\newbibmacro*{bpl:marginyear}{%
+ \usebibmacro{bpl:oamark}%
\if at marginyear%
\iffieldundef{year}{%
\iffieldundef{pubstate}%
@@ -1776,7 +1817,12 @@
{\iffieldequals{pubstate}{\bbx at lasthash}%
{}%
{%
- \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{pubstate}}}}%
+ \printtext{%
+ \marginpar{%
+ \fix at extblx@oa%
+ \plmarginyear{\bibsentence\printfield{pubstate}}%
+ }%
+ }%
\if at fixyear\else\savefield{pubstate}{\bbx at lasthash}\fi%
}%
}%
@@ -1784,7 +1830,12 @@
\iffieldequals{year}{\bbx at lasthash}%
{}%
{%
- \printtext{\marginpar{\small\plmarginyear{\bibsentence\printfield{year}}}}%
+ \printtext{%
+ \marginpar{%
+ \fix at extblx@oa%
+ \plmarginyear{\bibsentence\printfield{year}}%
+ }%
+ }%
\if at fixyear\else\savefield{year}{\bbx at lasthash}\fi%
}%
}%
@@ -2208,11 +2259,13 @@
\ifboolexpr{ test {\ifhyperref} and not test {\ifentrytype{online}} }
{\iffieldundef{doi}
{\iffieldundef{url}
- {\iffieldundef{isbn}
+ {\iffieldundef{eprint}
+ {\iffieldundef{isbn}
{\iffieldundef{issn}
{#1}
{\iftoggle{bpl at linktitleissn}{\href{\plissnlink{\thefield{issn}}}{#1}}{#1}}}
{\iftoggle{bpl at linktitleisbn}{\href{\plisbnlink{\thefield{isbn}}}{#1}}{#1}}}
+ {\iftoggle{bpl at linktitleeprint}{\usebibmacro{bpl:eprint:url}{\href}{#1}}{#1}}}
{\iftoggle{bpl at linktitleurl}{\href{\thefield{url}}{#1}}{#1}}}
{\iftoggle{bpl at linktitledoi}{\href{https://doi.org/\thefield{doi}}{#1}}{#1}}}
{#1}%
@@ -2222,7 +2275,104 @@
\newcommand*\plisbnlink[1]{https://www.worldcat.org/search?qt=worldcat_org_all&q=#1}
\newcommand*\plissnlink[1]{https://www.worldcat.org/search?qt=worldcat_org_all&q=#1}
+% Link titles if so requested
+\AtEndOfPackage{%
+ \iftoggle{bpl at linktitle}{%
+ \DeclareFieldInputHandler{title}{\def\NewValue{\usebibmacro{bpl:linked}{#1}}}
+ \DeclareFieldInputHandler{subtitle}{\def\NewValue{\usebibmacro{bpl:linked}{#1}}}
+ }{}
+}
+% Determine eprint URL
+\newbibmacro{bpl:eprint:url}[2]{%
+ \iffieldundef{eprinttype}%
+ {#1{\thefield{eprint}}{#2}}
+ {\ifcsdef{bpl at eprint@url@\thefield{eprinttype}}
+ {#1{\csuse{bpl at eprint@url@\thefield{eprinttype}}\thefield{eprint}}{#2}}
+ {\iffieldequalstr{eprinttype}{jstor}%
+ {#1{http://www.jstor.org/stable/\thefield{eprint}}{#2}}
+ {\iffieldequalstr{eprinttype}{hdl}%
+ {#1{http://hdl.handle.net/\thefield{eprint}}{#2}}
+ {\iffieldequalstr{eprinttype}{pubmed}%
+ {#1{http://www.ncbi.nlm.nih.gov/pubmed/\thefield{eprint}}{#2}}
+ {\iffieldequalstr{eprinttype}{arxiv}
+ {#1{https://arxiv.org/\abx@arxivpath/\thefield{eprint}}{#2}}
+ {#1{\thefield{eprint}}{#2}}%
+ }%
+ }%
+ }%
+ }%
+ }%
+}
+
+% Define URL for unknown eprinttype
+\newcommand*\DefineEPrintURL[2]{\csdef{bpl at eprint@url@#1}{#2}}
+
+
+% Generate open-access symbols in the right margin
+% Adapted from biblatex-ext-oa
+
+\newcommand*\mk at oamark[2]{#2}
+\AddToHook{package/hyperref/after}%
+ {\renewcommand*\mk at oamark[2]{\ifhyperref{\href{#1}{#2}}{#2}}}
+
+\newbibmacro*{bpl:oamark}{%
+ \iffieldundef{openaccess}%
+ {\def\fix at extblx@oa{}}
+ {\strut\vadjust{%
+ \vbox to 0pt{%
+ \kern-\dimexpr\dp\strutbox+\ht\strutbox\relax
+ \strut
+ \hfill
+ \rlap{\kern1em
+ \iffieldundef{url}%
+ {\iffieldundef{doi}%
+ {\iffieldundef{eprint}%
+ {\bpl at oa@symbol}%
+ {\usebibmacro{bpl:eprint:url}{\mk at oamark}{\bpl at oa@symbol}}%
+ }%
+ {\mk at oamark{https://doi.org/\thefield{doi}}{\bpl at oa@symbol}}%
+ }
+ {\mk at oamark{\thefield{url}}{\bpl at oa@symbol}}%
+ }
+ \vss
+ }%
+ }%
+ \def\fix at extblx@oa{%
+ \kern-\dimexpr\dp\strutbox+\ht%
+ \strutbox\relax\strut}%
+ }%
+}%
+
+\AtEndOfPackage{%
+ \iftoggle{bpl at oasymbol}{
+ % Symbol definizion taken from biblatex-ext-oa
+ % The symbol itself is the PLoS Open Access symbol based on
+ % https://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg
+ % public domain/CC0 by PLoS & Wikipedia users Nina, Beao and JakobVoss
+ \RequirePackage{pict2e,xcolor}
+ \definecolor{bpl at oasymb@orange}{HTML}{f68212}
+ \newcommand*{\bpl at oa@symbol}{%
+ \begingroup
+ \setlength{\unitlength}{.1pt}%
+ \begin{picture}(64,99)
+ \color{bpl at oasymb@orange}%
+ \moveto(47,73)\circlearc{32}{73}{15}{000}{180}%
+ \lineto(6,73)\circlearc{32}{73}{26}{180}{0}%
+ \moveto(47,47)\lineto(58,47)\lineto(58,73)\lineto(47,73)\closepath
+ \moveto(64,32)
+ \circlearc{32}{32}{32}{000}{360}%
+ \circlearc{32}{32}{21}{360}{000}%
+ \moveto(41,32)
+ \circlearc{32}{32}{09}{000}{360}%
+ \fillpath
+ \end{picture}%
+ \endgroup
+ }
+ }{\newcommand*{\bpl at oa@symbol}{}}
+}
+
+
%
% Mappings (biber)
%
@@ -2293,15 +2443,6 @@
}
}
-% Link titles if so requested
-\AtBeginDocument{%
- \iftoggle{bpl at linktitle}{%
- \DeclareFieldInputHandler{title}{\def\NewValue{\usebibmacro{bpl:linked}{#1}}}
- \DeclareFieldInputHandler{subtitle}{\def\NewValue{\usebibmacro{bpl:linked}{#1}}}
- }{}
-}
-
-
%
% Deprecated stuff
%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -26,8 +26,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{2.13}
-\def\bpl at rdate{2024/08/21}
+\def\bpl at version{2.14}
+\def\bpl at rdate{2025/03/10}
\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 2025-03-10 20:06:05 UTC (rev 74557)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.dbx 2025-03-10 20:06:20 UTC (rev 74558)
@@ -1,5 +1,5 @@
% publist.dbx, biblatex data model specification for the biblatex-publist
-% package, version 2.13 (2024/08/21).
+% package, version 2.14 (2025/03/10).
%
% 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.