From b55a0f78a2c701b8bf4835d2881af9640d1f3137 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Mar 2018 23:29:32 +0000 Subject: biblatex-publist (1mar18) git-svn-id: svn://tug.org/texlive/trunk@46775 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/biblatex-publist/README | 4 + .../latex/biblatex-publist/biblatex-publist.pdf | Bin 301316 -> 301681 bytes .../latex/biblatex-publist/biblatex-publist.tex | 17 +++- .../tex/latex/biblatex-publist/publist.bbx | 89 ++++++++++++--------- .../tex/latex/biblatex-publist/publist.cbx | 4 +- 5 files changed, 72 insertions(+), 42 deletions(-) diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README index 3d1112a12a0..144fdb96332 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.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: 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 382c5be9993..6328cb12cbb 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 d233c19a20a..0beae10cbae 100644 --- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex +++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex @@ -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 @@ 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}. + +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 @@ on what ``related entries'' are and how to use them. \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 @@ That is, to sort your talks in descending order by full date in your CV, use: \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 @@ That is, to sort your talks in descending order by full date in your CV, use: \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index a1c08941451..f891f663b45 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.8} -\def\bpl@rdate{2017/11/14} +\def\bpl@version{1.9} +\def\bpl@rdate{2018/03/01} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -84,6 +84,21 @@ \ifstrequal{#1}{given-family}{\@givenfirsttrue}{\@givenfirstfalse} } +\newif\if@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@standardbasestyle\bpl@standardbasestylefalse @@ -318,41 +333,41 @@ and ( test { \ifdefstrequal{\bpl@evonpart}{\bpl@tvonpart} } or test { \ifdefstring{\bpl@ovonpart}{} }) } {\toggletrue{ismyself}}{\togglefalse{ismyself}}% - \ifthenelse{\value{listcount}=1}{}{% - \ifnumless{\value{listcount}}{\value{liststop}}% - {\multinamedelim}% - {\finalnamedelim}% - }% - \iftoggle{ismyself}{\plauthorhl{% - \if@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@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@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@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@hlauthor false \ifthenelse{\value{listcount}=1}{\ifthenelse{\value{author}>1}{\bibopenparen\bibstring{with}\addspace}{}}{}% % Exclude omitted author diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.cbx index fb3dae51d05..a5bb95fdb7c 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.8} -\def\bpl@rdate{2017/11/14} +\def\bpl@version{1.9} +\def\bpl@rdate{2018/03/01} \ProvidesFile{publist.cbx}[\bpl@rdate\space v.\bpl@version\space biblatex citation style (JSP)] -- cgit v1.2.3