summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-21 21:47:11 +0000
committerKarl Berry <karl@freefriends.org>2013-07-21 21:47:11 +0000
commite084e4f8235d8fa63be506f6a53b9cf7cdedc2cf (patch)
tree507901689b52219883362f45809c37c1d6eb29d2 /Master/texmf-dist
parent3738f8dc8f88f44be7bbd74d9fb3a31aba4a48f8 (diff)
biblatex-publist (21jul13)
git-svn-id: svn://tug.org/texlive/trunk@31258 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-publist/README5
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdfbin100608 -> 101083 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex9
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx23
4 files changed, 25 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-publist/README b/Master/texmf-dist/doc/latex/biblatex-publist/README
index a8638647d93..636f1240879 100644
--- a/Master/texmf-dist/doc/latex/biblatex-publist/README
+++ b/Master/texmf-dist/doc/latex/biblatex-publist/README
@@ -42,9 +42,12 @@ instructions.
== CHANGES ==
+* V. 0.6 (2013-07-21):
+ - Fix numbering with recent biblatex versions.
+
* V. 0.5 (2013-05-03):
- Fix numbering if \printbibliography is used multiple
- times within the same or without any refsection.
+ times without refsection.
* V. 0.4 (2012-10-30):
- More robust name parsing (especially for names with
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 af529cfa3c7..eb2ad4e5534 100644
--- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.pdf
Binary files 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 382e067c854..c07e5c555db 100644
--- a/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-publist/biblatex-publist.tex
@@ -25,6 +25,8 @@
\def\condbreak#1{%
\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}
+\renewcommand{\lstlistingname}{Listing}
+
\begin{document}
\title{biblatex-publist}
@@ -35,7 +37,7 @@
}}
-\date{Version 0.5, 03/05/2013}
+\date{Version 0.6, 21/07/2013}
\maketitle
\begin{abstract}
The \bpl\ package provides a \emph{biblatex bibliography style file}
@@ -292,6 +294,11 @@ of diverse type and authors, specify:
\section{Change Log}
\begin{description}
+\item [{V.~0.6~(2013-07-21):}]~
+
+\begin{itemize}
+\item Fix numbering with recent \bibltx\ versions.
+\end{itemize}
\item [{V.~0.5~(2013-05-03):}]~
\begin{itemize}
diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx
index 4427c866d8b..60549436043 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{0.5}
-\def\bpl@rdate{2013/05/03}
+\def\bpl@version{0.6}
+\def\bpl@rdate{2013/07/21}
\ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space
biblatex bibliography style (JSP)]
@@ -108,20 +108,22 @@
\csnumgdef{bbx@itemtotal}{0}
\csnumgdef{bbx@currentitem}{0}
\csnumgdef{bbx@saverefsection}{0}
-\newbool{started}
+\newbool{newsection}
+
+\preto\blx@refsection{\global\setbool{newsection}{true}}
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
- \printfield{prefixnumber}%
- \printfield{labelnumber}}}
+ \printfield{prefixnumber}%
+ \printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
- \renewcommand*{\makelabel}[1]{\hss##1}}
+ \renewcommand*{\makelabel}[1]{\hss##1}}%
{\endlist
\ifnumgreater{\c@refsection}{\bbx@saverefsection}%
{\csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}+\csuse{bbx@currentitem}}}{}%
@@ -130,10 +132,11 @@
{\item}
\DeclareFieldFormat{labelnumber}{%
- \ifbool{started}{}{%
- % Assure we really start at 0.
- \csnumgdef{bbx@itemtotal}{-#1+1}%
- \global\setbool{started}{true}}%
+ \ifbool{newsection}{%
+ % Fix start counter value
+ \csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}-#1+1}%
+ \global\setbool{newsection}{false}%
+ }{}%
\mkbibdesc{#1}%
\csnumgdef{bbx@currentitem}{#1}%
}