texlive[47379] Master/texmf-dist: biblatex-publist (8apr18)
commits+karl at tug.org
commits+karl at tug.org
Sun Apr 8 22:05:49 CEST 2018
Revision: 47379
http://tug.org/svn/texlive?view=revision&revision=47379
Author: karl
Date: 2018-04-08 22:05:48 +0200 (Sun, 08 Apr 2018)
Log Message:
-----------
biblatex-publist (8apr18)
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-04-08 20:05:34 UTC (rev 47378)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/README 2018-04-08 20:05:48 UTC (rev 47379)
@@ -45,6 +45,12 @@
== CHANGES ==
+* V. 1.10 (2018-04-08):
+ - Extend option "plnumbered" with "plnumbered=reset".
+ This allows to restart the numbering of the publication list items
+ at \refsection's.
+ - Documentation improvements.
+
* V. 1.9 (2018-03-01):
- Add option "plnumbered" to switch of numbering in bibliography.
- Documentation improvements.
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-04-08 20:05:34 UTC (rev 47378)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex 2018-04-08 20:05:48 UTC (rev 47379)
@@ -33,15 +33,22 @@
\lstset{basicstyle={\ttfamily}}
\usepackage{babel}
\usepackage{url}
-\usepackage[
- unicode=true,
- bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
- breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false
- ]{hyperref}
+\usepackage[svgnames]{xcolor}
+\usepackage[unicode=true]{hyperref}
\hypersetup{%
pdftitle={The biblatex-publist manual},
pdfauthor={J\xFCrgen Spitzm\xFCller},
pdfkeywords={biblatex,publication list}
+ bookmarks=true,
+ bookmarksnumbered=false,
+ bookmarksopen=false,
+ breaklinks=false,
+ backref=false,
+ colorlinks,
+ linkcolor=black,
+ filecolor=Maroon,
+ urlcolor=Maroon,
+ citecolor=black
}
% Some semantic markup
@@ -195,11 +202,16 @@
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}.
+\item [{\joption{plnumbered{[}=true|false|reset{]}}}] default: \emph{true}.
-By default, the publication list is numbered. If you want to omit the numbers,
-set this option to \joption{false}.
+By default, the publication list is numbered continuously. If you divide your publication list into sections by means of
+\jfcsmacro{refsection}s (as documented in section~\ref{sec:example}), you will thus get a global numbering over all sections.
+If you prefer the numbering to start from 1 at each section instead, set this option to \joption{reset}.
+
+If you do not want to have any numbers at all, set this option to \joption{false}.
+
+
\end{description}
\subsection{Auxiliary macros and lengths}\label{sec:auxmacros}
@@ -271,6 +283,8 @@
languages: English, French and German.%
\footnote{Please send suggestions for other languages to the package author.}
+\clearpage
+
\section{Further Extensions}
The following extensions of standard \bibltx\ features are provided.
@@ -302,7 +316,8 @@
Publication lists are usually categorized by genre (monographs, articles,
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.
+suggested. Other possibilities were not tested extensively and might fail (in particular as far as the numbering of the items
+is concerned).
The suggested procedure is to maintain separate bib files for each
category, say \emph{mymonographs.bib}, \emph{myarticles.bib}, \emph{myproceedings.bib}.%
@@ -323,11 +338,9 @@
\usepackage[style=publist]{biblatex}
\plauthorname[John]{Doe}
-\addbibresource{%
- mymonographs.bib,
- myarticles.bib,
- myproceedings.bib
-}
+\addbibresource{mymonographs.bib}
+\addbibresource{myarticles.bib}
+\addbibresource{myproceedings.bib}
\begin{document}
@@ -399,6 +412,8 @@
\printbibliography[heading=none,filter=mine,type=article]
\end{lstlisting}
\end{quote}
+%
+Note that several reruns of \texttt{latex} might be required to fix the numbering.
\section{Sorting\label{sec:sorting}}
@@ -430,9 +445,19 @@
\end{lstlisting}
\end{quote}
+\clearpage
+
\section{Revision Log}
\begin{description}
+ \item [{V.~1.10 (2018-04-08):}]~
+ \begin{itemize}
+ \item Extend option \joption{plnumbered} with \joption{plnumbered=reset}.
+ This allows to restart the numbering of the publication list items at
+ \jcsmacro{refsection}s.
+ \item Documentation improvements.
+ \end{itemize}
+
\item [{V.~1.9 (2018-03-01):}]~
\begin{itemize}
\item New option \joption{plnumbered} that allows to omit the numbering
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2018-04-08 20:05:34 UTC (rev 47378)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx 2018-04-08 20:05:48 UTC (rev 47379)
@@ -25,8 +25,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{1.9}
-\def\bpl at rdate{2018/03/01}
+\def\bpl at version{1.10}
+\def\bpl at rdate{2018/04/08}
\ProvidesFile{publist.bbx}[\bpl at rdate\space v.\bpl at version\space
biblatex bibliography style (JSP)]
@@ -86,7 +86,7 @@
\newif\if at bplnumbered\@bplnumberedtrue
\DeclareBibliographyOption{plnumbered}[true]{%
- \ifstrequal{#1}{false}{%
+ \ifstrequal{#1}{false}{% 1. "false"
\defbibenvironment{bibliography}
{\list
{}
@@ -96,7 +96,27 @@
\setlength{\parsep}{\bibparsep}}%
}
{\endlist}
- {\item}}{}
+ {\item}}{% else: 2. "reset"
+ \ifstrequal{#1}{reset}{%
+ \defbibenvironment{bibliography}
+ {\addtolength{\labelnumberwidth}{\extralabelnumberwidth}%
+ \list
+ {\printtext[labelnumberwidth]{%
+ \printfield{labelprefix}%
+ \printfield{labelnumber}}}
+ {\setlength{\labelwidth}{\labelnumberwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}}}%
+ {\endlist
+ \csnumdef{blx at labelnumber@\the\c at refsection}{0}%
+ }
+ {\item}
+ }{% else: "true" (default: nothing to do here)
+ }% end of clause
+ }
}
% Check if users have defined different base styles
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2018-04-08 20:05:34 UTC (rev 47378)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx 2018-04-08 20:05:48 UTC (rev 47379)
@@ -26,8 +26,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\bpl at version{1.9}
-\def\bpl at rdate{2018/03/01}
+\def\bpl at version{1.10}
+\def\bpl at rdate{2018/04/08}
\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