texlive[56159] Master/texmf-dist: biblatex-publist

commits+karl at tug.org commits+karl at tug.org
Sun Aug 23 22:40:58 CEST 2020


Revision: 56159
          http://tug.org/svn/texlive?view=revision&revision=56159
Author:   karl
Date:     2020-08-23 22:40:58 +0200 (Sun, 23 Aug 2020)
Log Message:
-----------
biblatex-publist

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

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-publist/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-publist/README	2020-08-23 20:39:30 UTC (rev 56158)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README	2020-08-23 20:40:58 UTC (rev 56159)
@@ -45,6 +45,11 @@
 
 == CHANGES ==
 
+* V 1.19 (2020-08-21)
+	- Fix parsing of name with initials (#24).
+	- Fix output of et al. in byeditor lists.
+	- Do not omit names in related entries.
+
 * V. 1.18 (2020-07-31)
 	- Support name truncation via maxnames.
 	- Fix mine filter with author lists longer than maxnames.

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	2020-08-23 20:39:30 UTC (rev 56158)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex	2020-08-23 20:40:58 UTC (rev 56159)
@@ -102,7 +102,7 @@
 \thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}%
 }
 
-\date{Version 1.18, 2020/07/31}
+\date{Version 1.19, 2020/08/21}
 \maketitle
 
 \begin{abstract}
@@ -617,6 +617,14 @@
 \section{Revision Log}
 
 \begin{description}
+
+	\item [{V. 1.19 (2020-08-21):}]~
+	\begin{itemize}
+		\item Fix parsing of names with initials.
+		\item Fix output of \emph{et al.} in \texttt{byeditor} lists.
+		\item Do not omit names in related entries.
+	\end{itemize}
+
 	\item [{V. 1.18 (2020-07-31):}]~
 	\begin{itemize}
 		\item Support name truncation via \jfoption{maxnames}. See sec.~\ref{sec:trunc}.

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2020-08-23 20:39:30 UTC (rev 56158)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2020-08-23 20:40:58 UTC (rev 56159)
@@ -25,8 +25,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.18}
-\def\bpl at rdate{2020/07/31}
+\def\bpl at version{1.19}
+\def\bpl at rdate{2020/08/21}
 
 \ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
                            biblatex bibliography style (JSP)]
@@ -225,8 +225,7 @@
 % and normalize spaces
 \def\bpl at normalize#1#2{%
     \begingroup
-    \def\bibnamedelima{ }%
-    \def\bibnamedelimb{ }%
+    \blx at indexnamesetup%
     \def\IeC##1{##1}%
     \protected at edef\@tempa{#1}%
     \gdef\@gtempa{}%
@@ -477,6 +476,12 @@
 
 \DeclareIndexNameFormat[inbook,inproceedings,incollection]{editorfiltered}{}%
 
+\DeclareDelimFormat{bpl:unfiltered:finalnamedelim}{%
+   \ifnumless{\value{listcount}}{\value{liststop}}%
+            {\multinamedelim}%
+            {\finalnamedelim}%
+}%
+
 \DeclareDelimFormat[author]{bplfinalnamedelim}{%
     \ifnumgreater{\value{nonplauthors}}{2}{\finalandcomma}{}%
     \addspace\bibstring{and}\space}
@@ -582,12 +587,21 @@
     }%
 }
 
+% Add hook to check whether we are in a related entry.
+% This is to prevent author omission in such cases.
+\newtoggle{isinrelated}
+\apptocmd{\abx at macro@begrelated}{\global\toggletrue{isinrelated}}{}%
+         {\PackageWarning{biblatex-publist}{Patching begrelated failed!}}
+\apptocmd{\abx at macro@endrelated}{\global\toggletrue{isinrelated}}{}%
+         {\PackageWarning{biblatex-publist}{Patching endrelated failed!}}
+
 % Omission/highlighting routine
 % (common code for authors and editors)
 % \usebibmacro{bpl:handlenames}[author|editor]
 \newbibmacro{bpl:handlenames}[1][author]{%
     \bpl at ifplauthor{\namepartgiven}{\namepartprefix}{\namepartfamily}%
-       {\global\toggletrue{isplauthor}\stepcounter{pl#1}}%
+       {\iftoggle{isinrelated}{\togglefalse{isplauthor}}%
+                              {\global\toggletrue{isplauthor}\stepcounter{pl#1}}}%
        {\global\togglefalse{isplauthor}}%
     %
     % Calculate real list stop
@@ -619,7 +633,7 @@
                         {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}%
                 \fi
             }%
-            \ifnumequal{\value{listcount}}{\value{liststop}}{}{\usebibmacro{name:andothers}}%
+            \ifnumequal{\value{listcount}}{\value{liststop}}{}{\usebibmacro{bpl:name:andothers}}%
         }{%
            \ifnumgreater{\value{listcount}}{\value{realliststop}}{}{%
              \if at givenfirst% given name first
@@ -640,7 +654,7 @@
                     {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\isdot\addspace}}%
              \fi
            }%
-           \usebibmacro{name:andothers}%
+           \usebibmacro{bpl:name:andothers}%
         }%
     %
     % Second case: plauthorhandling=omit
@@ -670,7 +684,8 @@
                            \ifnumgreater{\value{listcount}}{\value{realliststop}}{}{%
                               \ifnumless{\value{nonpl#1}}{\value{nonpl#1s}}%
                                  {\multinamedelim}%
-                                 {\printdelim[#1]{bplfinalnamedelim}}%
+                                 {\iftoggle{isinrelated}{\printdelim{bpl:unfiltered:finalnamedelim}}%
+                                                        {\printdelim[#1]{bplfinalnamedelim}}}%
                             }%
                          }%
                    }%
@@ -684,7 +699,7 @@
              }%
             }% <- end FALSE condition
         %
-        \usebibmacro{name:andothers}%
+        \usebibmacro{bpl:name:andothers}%
         \ifthenelse{\value{nonpl#1s}>0\AND\value{listcount}=\value{liststop}}%
             {\unspace\bibcloseparen}%
             {}%
@@ -824,7 +839,7 @@
     \fi% end of \if at hlauthor else condition
 }
 
-\renewbibmacro*{name:andothers}{%
+\newbibmacro*{bpl:name:andothers}{%
     \ifthenelse{\value{listcount}=\value{liststop}\AND\value{liststop}>\value{realliststop}}
         {%
          \ifboolexpr{

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2020-08-23 20:39:30 UTC (rev 56158)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2020-08-23 20:40:58 UTC (rev 56159)
@@ -26,8 +26,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.18}
-\def\bpl at rdate{2020/07/31}
+\def\bpl at version{1.19}
+\def\bpl at rdate{2020/08/21}
 
 \ProvidesFile{publist.cbx}[\bpl at rdate\space v.\bpl at version\space
                            biblatex citation style (JSP)]



More information about the tex-live-commits mailing list.