From 049250b1a55842e421185fa6d5705c37d7331310 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 May 2013 21:49:04 +0000 Subject: biblatex-publist (10may13) git-svn-id: svn://tug.org/texlive/trunk@30382 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx b/Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx index 83da09a55a7..4427c866d8b 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.4} -\def\bpl@rdate{2012/10/30} +\def\bpl@version{0.5} +\def\bpl@rdate{2013/05/03} \ProvidesFile{publist.bbx}[\bpl@rdate\space v.\bpl@version\space biblatex bibliography style (JSP)] @@ -107,6 +107,7 @@ % \csnumgdef{bbx@itemtotal}{0} \csnumgdef{bbx@currentitem}{0} +\csnumgdef{bbx@saverefsection}{0} \newbool{started} \defbibenvironment{bibliography} @@ -121,7 +122,11 @@ \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} - {\endlist\csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}+\csuse{bbx@currentitem}}} + {\endlist + \ifnumgreater{\c@refsection}{\bbx@saverefsection}% + {\csnumgdef{bbx@itemtotal}{\csuse{bbx@itemtotal}+\csuse{bbx@currentitem}}}{}% + \csnumgdef{bbx@saverefsection}{\c@refsection}% + } {\item} \DeclareFieldFormat{labelnumber}{% -- cgit v1.2.3