From e12651f0b24eaca0b680ae784477d369ceef1742 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 14 Jun 2021 20:28:31 +0000 Subject: biblatex-publist (14jun21) git-svn-id: svn://tug.org/texlive/trunk@59586 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-publist/README | 4 +++ .../latex/biblatex-publist/biblatex-publist.pdf | Bin 361529 -> 371313 bytes .../latex/biblatex-publist/biblatex-publist.tex | 13 ++++++++- .../tex/latex/biblatex-publist/publist.bbx | 29 ++++++++++++++------- .../tex/latex/biblatex-publist/publist.cbx | 4 +-- 5 files changed, 37 insertions(+), 13 deletions(-) diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README index 7bee9d60abb..c8c1af7ad1e 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/README +++ b/Master/texmf-dist/doc/latex/biblatex-publist/README @@ -45,6 +45,10 @@ instructions. == CHANGES == +* V. 1.22 (2021-06-14) + - Add option "pubstateextra". + - Use \revsdnamepunct rather than hardcoded comma. + * V. 1.21 (2020-09-21) - Add option "reversenumbering". - Add \citeitem command. diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf index 4aa3135ec1b..39d0ab83e8c 100644 Binary files a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf and b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf differ diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex index 3b04d6a83a4..54f9a1709d1 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex +++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex @@ -102,7 +102,7 @@ \thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}% } -\date{Version 1.21, 2020/09/21} +\date{Version 1.22dev, 2020/09/25} \maketitle \begin{abstract} @@ -246,6 +246,11 @@ By default, the year (or pubstate, if no year is given) is printed in bold face. To prevent this, pass the option \joption{boldyear=false} to \bibltx. +\item [{\joption{pubstateextra{[}=true|false{]}}}] default: \emph{false}. + +If this is \texttt{true}, the extradate marker (a, b etc.) is also appended to pubstates if there are multiple +indentical pubstates (e.\,g., \emph{Forthcoming(a)}, \emph{Forthcoming(b)}) + \item [{\joption{marginyear{[}=true|false{]}}}] default: \emph{false}. With this option set to \joption{true}, the publication year (or pubstate) will @@ -662,6 +667,12 @@ or \begin{description} + \item [{V. 1.22 (2021-06-14):}]~ + \begin{itemize} + \item Add option \jfoption{pubstateextra}. See sec.~\ref{sec:addopts}. + \item Use \jcsmacro{revsdnamepunct} rather than hardcoded comma. + \end{itemize} + \item [{V. 1.21 (2020-09-21):}]~ \begin{itemize} \item Add option \jfoption{reversenumbering}. See sec.~\ref{sec:addopts}. diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index 59c81cfb227..6a2fe0d93ac 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{1.21} -\def\bpl@rdate{2020/09/21} +\def\bpl@version{1.22} +\def\bpl@rdate{2021/06/14} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -77,6 +77,11 @@ \ifstrequal{#1}{false}{\@unboldyeartrue}{\@unboldyearfalse} } +\newif\if@pubstateextra\@pubstateextrafalse +\DeclareBibliographyOption{pubstateextra}[true]{% + \ifstrequal{#1}{true}{\@pubstateextratrue}{\@pubstateextrafalse} +} + \newif\if@hlauthor\@hlauthorfalse \DeclareBibliographyOption{plauthorhandling}[omit]{% \ifstrequal{#1}{highlight}{\@hlauthortrue}{\@hlauthorfalse} @@ -692,8 +697,8 @@ {\namepartprefix\addspace}% \namepartfamily% \ifgiveninits - {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}% - {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}% + {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}% + {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}% \fi }% \ifnumequal{\value{listcount}}{\value{liststop}}{}{\usebibmacro{bpl:name:andothers}}% @@ -713,8 +718,8 @@ {\namepartprefix\addspace}% \namepartfamily% \ifgiveninits - {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}% - {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}% + {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}% + {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}% \fi }% \usebibmacro{bpl:name:andothers}% @@ -788,8 +793,8 @@ \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}% \namepartfamily% \ifgiveninits - {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}% - {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}% + {\ifdefvoid{\namepartgiveni}{}{\revsdnamepunct\addspace\namepartgiveni\addspace}}% + {\ifdefvoid{\namepartgiven}{}{\revsdnamepunct\addspace\namepartgiven\isdot\addspace}}% \fi \ifthenelse{\value{listcount}<\value{liststop}} {\ifnumless{\value{listcount}}{\value{liststop}-1}% @@ -933,13 +938,17 @@ } \fi - \newbibmacro*{bpl:date:makedate}{% \printtext{% \iffieldundef{year}{% \iffieldundef{pubstate}% {} - {\printfield{pubstate}}% + {% + \printfield{pubstate}% + \if@pubstateextra + \printfield{extradate}% + \fi% + }% }{% \iffieldundef{month}% {\printdateextra}% diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx index f0e9cd47c23..24789a8b1d2 100644 --- a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx @@ -26,8 +26,8 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\bpl@version{1.21} -\def\bpl@rdate{2020/09/21} +\def\bpl@version{1.22} +\def\bpl@rdate{2021/06/14} \ProvidesFile{publist.cbx}[\bpl@rdate\space v.\bpl@version\space biblatex citation style (JSP)] -- cgit v1.2.3