summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-publist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-10 21:49:04 +0000
committerKarl Berry <karl@freefriends.org>2013-05-10 21:49:04 +0000
commit049250b1a55842e421185fa6d5705c37d7331310 (patch)
tree050db8b2b69d902e8f0d9c915f2deaeba93dec1c /Master/texmf-dist/tex/latex/biblatex-publist
parente18a84aa7d12601df09474a38c880ee8c0f29b46 (diff)
biblatex-publist (10may13)
git-svn-id: svn://tug.org/texlive/trunk@30382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-publist')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-publist/publist.bbx11
1 files changed, 8 insertions, 3 deletions
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}{%