texlive[46775] Master/texmf-dist: biblatex-publist (1mar18)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 2 00:29:32 CET 2018


Revision: 46775
          http://tug.org/svn/texlive?view=revision&revision=46775
Author:   karl
Date:     2018-03-02 00:29:32 +0100 (Fri, 02 Mar 2018)
Log Message:
-----------
biblatex-publist (1mar18)

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	2018-03-01 23:29:17 UTC (rev 46774)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README	2018-03-01 23:29:32 UTC (rev 46775)
@@ -45,6 +45,10 @@
 
 == CHANGES ==
 
+* V. 1.9 (2018-03-01):
+	- Add option "plnumbered" to switch of numbering in bibliography.
+	- Documentation improvements.
+
 * V. 1.8 (2017-11-14):
 	- Adapt to biblatex 3.8. This version is now required.
 	- Rename some macros, using pseudo-namespaces:

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	2018-03-01 23:29:17 UTC (rev 46774)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex	2018-03-01 23:29:32 UTC (rev 46775)
@@ -79,7 +79,7 @@
 \thanks{Please report issues via \protect\url{https://github.com/jspitz/biblatex-publist}.}%
 }
 
-\date{Version 1.8, 2017/11/14}
+\date{Version 1.9, 2018/03/01}
 \maketitle
 
 \begin{abstract}
@@ -195,6 +195,11 @@
 the effect that all marginpars are printed ``reversed'', i.\,e.
 on the left side in one-sided documents (via \jfcsmacro{reversemarginpar}).
 
+\item [{\joption{plnumbered{[}=true|false{]}}}] default: \emph{true}.
+
+By default, the publication list is numbered. If you want to omit the numbers,
+set this option to \joption{false}.
+
 \end{description}
 
 \subsection{Auxiliary macros and lengths}\label{sec:auxmacros}
@@ -296,7 +301,7 @@
 \section{An example}\label{sec:example}
 
 Publication lists are usually categorized by genre (monographs, articles,
-book chapters, etc.). For this task, the use of \jfmacro{refsections} is
+book chapters, etc.). For this task, the use of \jfmacro{refsections} (see \cite[sec 3.7.4]{bibltx} for details) is
 suggested. Other possibilities were not tested extensively and might fail.
 
 The suggested procedure is to maintain separate bib files for each
@@ -428,6 +433,13 @@
 \section{Revision Log}
 
 \begin{description}
+	\item [{V.~1.9 (2018-03-01):}]~
+	\begin{itemize}
+		\item New option \joption{plnumbered} that allows to omit the numbering
+		      of the publication list items
+		\item Documentation improvements.
+	\end{itemize}
+
 	\item [{V.~1.8 (2017-11-14):}]~
 	\begin{itemize}
 		\item Adapt to \bibltx\ 3.8. This version is now required.
@@ -447,7 +459,6 @@
 	\item Output marginyear before the author list. This prevents it from being vertically
 	      shifted in case of long author lists.
     \end{itemize}
-\clearpage
 	\item [{V.~1.6 (2017-04-02):}]~
 	    \begin{itemize}
 		    \item New option \joption{nameorder} that allows to change the ordering of author and editor

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2018-03-01 23:29:17 UTC (rev 46774)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx	2018-03-01 23:29:32 UTC (rev 46775)
@@ -25,8 +25,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.8}
-\def\bpl at rdate{2017/11/14}
+\def\bpl at version{1.9}
+\def\bpl at rdate{2018/03/01}
 
 \ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
                            biblatex bibliography style (JSP)]
@@ -84,6 +84,21 @@
     \ifstrequal{#1}{given-family}{\@givenfirsttrue}{\@givenfirstfalse}
 }
 
+\newif\if at bplnumbered\@bplnumberedtrue
+\DeclareBibliographyOption{plnumbered}[true]{%
+    \ifstrequal{#1}{false}{%
+	\defbibenvironment{bibliography}
+	  {\list
+	    {}
+	    {\setlength{\leftmargin}{\bibhang}%
+	     \setlength{\itemindent}{-\leftmargin}%
+	     \setlength{\itemsep}{\bibitemsep}%
+	     \setlength{\parsep}{\bibparsep}}%
+	  }
+	  {\endlist}
+	  {\item}}{}
+}
+
 % Check if users have defined different base styles
 % If not, use authoryear.
 \newif\ifbpl at standardbasestyle\bpl at standardbasestylefalse
@@ -318,41 +333,41 @@
       and
       ( test { \ifdefstrequal{\bpl at evonpart}{\bpl at tvonpart} } or test { \ifdefstring{\bpl at ovonpart}{} }) }
           {\toggletrue{ismyself}}{\togglefalse{ismyself}}%
-      \ifthenelse{\value{listcount}=1}{}{%
-         \ifnumless{\value{listcount}}{\value{liststop}}%
-            {\multinamedelim}%
-            {\finalnamedelim}%
-      }%
-      \iftoggle{ismyself}{\plauthorhl{%
-         \if at givenfirst% given name first
-            \ifgiveninits
-                {\ifdefvoid{\namepartgiveni}{}{\namepartgiveni\addspace}}%
-                {\ifdefvoid{\namepartgiven}{}{\namepartgiven\addspace}}%
-             \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
-             \namepartfamily%
-          \else% family name first
-             \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
-             \namepartfamily%
-             \ifgiveninits
-                {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
-                {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\addspace}}%
-         \fi
-      }}{%
-        \if at givenfirst% given name first
-            \ifgiveninits
-                {\ifdefvoid{\namepartgiveni}{}{\namepartgiveni\addspace}}%
-                {\ifdefvoid{\namepartgiven}{}{\namepartgiven\addspace}}%
-             \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
-             \namepartfamily%
-          \else% family name first
-             \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
-             \namepartfamily%
-             \ifgiveninits
-                {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
-                {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\addspace}}%
-         \fi
-      }%
-      \usebibmacro{name:andothers}%
+   \ifthenelse{\value{listcount}=1}{}{%
+       \ifnumless{\value{listcount}}{\value{liststop}}%
+          {\multinamedelim}%
+          {\finalnamedelim}%
+   }%
+   \iftoggle{ismyself}{\plauthorhl{%
+      \if at givenfirst% given name first
+         \ifgiveninits
+             {\ifdefvoid{\namepartgiveni}{}{\namepartgiveni\addspace}}%
+             {\ifdefvoid{\namepartgiven}{}{\namepartgiven\addspace}}%
+          \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
+          \namepartfamily%
+       \else% family name first
+          \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
+          \namepartfamily%
+          \ifgiveninits
+             {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
+             {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\addspace}}%
+      \fi
+   }}{%
+     \if at givenfirst% given name first
+         \ifgiveninits
+             {\ifdefvoid{\namepartgiveni}{}{\namepartgiveni\addspace}}%
+             {\ifdefvoid{\namepartgiven}{}{\namepartgiven\addspace}}%
+          \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
+          \namepartfamily%
+       \else% family name first
+          \ifdefvoid{\namepartprefix}{}{\namepartprefix\addspace}%
+          \namepartfamily%
+          \ifgiveninits
+             {\ifdefvoid{\namepartgiveni}{}{\addcomma\addspace\namepartgiveni\addspace}}%
+             {\ifdefvoid{\namepartgiven}{}{\addcomma\addspace\namepartgiven\addspace}}%
+      \fi
+   }%
+   \usebibmacro{name:andothers}%
  \else% \if at hlauthor false
    \ifthenelse{\value{listcount}=1}{\ifthenelse{\value{author}>1}{\bibopenparen\bibstring{with}\addspace}{}}{}%
    % Exclude omitted author

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2018-03-01 23:29:17 UTC (rev 46774)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx	2018-03-01 23:29:32 UTC (rev 46775)
@@ -26,8 +26,8 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\def\bpl at version{1.8}
-\def\bpl at rdate{2017/11/14}
+\def\bpl at version{1.9}
+\def\bpl at rdate{2018/03/01}
 
 \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