From 39c47e5a59097c8599121dc74796d2abd5b5858f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 Apr 2018 20:05:48 +0000 Subject: biblatex-publist (8apr18) git-svn-id: svn://tug.org/texlive/trunk@47379 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-publist/README | 6 +++ .../latex/biblatex-publist/biblatex-publist.pdf | Bin 301681 -> 302728 bytes .../latex/biblatex-publist/biblatex-publist.tex | 53 +++++++++++++++------ .../tex/latex/biblatex-publist/publist.bbx | 28 +++++++++-- .../tex/latex/biblatex-publist/publist.cbx | 4 +- 5 files changed, 71 insertions(+), 20 deletions(-) diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README index 144fdb96332..b948847df23 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/README +++ b/Master/texmf-dist/doc/latex/biblatex-publist/README @@ -45,6 +45,12 @@ instructions. == 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. 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 6328cb12cbb..894f619e5cc 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 0beae10cbae..11e31503d32 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex +++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex @@ -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ürgen Spitzmüller}, 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,10 +202,15 @@ be printed in the margin once a new year starts. The option also has 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 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}. -By default, the publication list is numbered. If you want to omit the numbers, -set this option to \joption{false}. \end{description} @@ -271,6 +283,8 @@ Currently, these additional localization keys are available in the following 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 @@ on what ``related entries'' are and how to use them. 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 @@ Then a typical file would look like example~\ref{example} (p.~\pageref{example}) \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 @@ of diverse type and authors, specify: \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 @@ That is, to sort your talks in descending order by full date in your CV, use: \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index f891f663b45..2cbef41b6d4 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.9} -\def\bpl@rdate{2018/03/01} +\def\bpl@version{1.10} +\def\bpl@rdate{2018/04/08} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -86,7 +86,7 @@ \newif\if@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@labelnumber@\the\c@refsection}{0}% + } + {\item} + }{% else: "true" (default: nothing to do here) + }% end of clause + } } % Check if users have defined different base styles diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx index a5bb95fdb7c..1db29b775f1 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.9} -\def\bpl@rdate{2018/03/01} +\def\bpl@version{1.10} +\def\bpl@rdate{2018/04/08} \ProvidesFile{publist.cbx}[\bpl@rdate\space v.\bpl@version\space biblatex citation style (JSP)] -- cgit v1.2.3