From 798a00f49ea498ec77e2bc560317007b0315dea8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 May 2015 22:36:53 +0000 Subject: biblatex-source-division (12may15) git-svn-id: svn://tug.org/texlive/trunk@37358 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-source-division/biblatex-source-division.sty | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-source-division') diff --git a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty index 178daee67cb..ad8b728c4c1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty +++ b/Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty @@ -15,7 +15,7 @@ % This work consists of the file biblatex-source-division.sty \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-source-division}[2014/06/28 v2.2.1 source division for biblatex] +\ProvidesPackage{biblatex-source-division}[2015/05/12 v2.2.2 source division for biblatex] \RequirePackage{xpatch} % Test if the package biblatex-true-citepages-omit is loaded @@ -36,7 +36,9 @@ \global\undef\volpostnote% \usefield{\getsourcedivision@}{postnote}% \iffieldundef{maintitle}{\restorefield{titleaddon}{\titleaddon}}{\restorefield{maintitleaddon}{\titleaddon}}% - \restorefield{postnote}{\postnote}% + \ifdefempty{\postnote}% + {\clearfield{postnote}}% + {\restorefield{postnote}{\postnote}}% }% } @@ -58,7 +60,7 @@ \gdef\postnote{{\volvol}{#2}}% }{% \iftoggle{volcite}{% - \volgetsourcedivision@#2% + \volgetsourcedivision@#2% }% {% \gdef\titleaddon{#1}% @@ -69,7 +71,9 @@ \newrobustcmd*{\volgetsourcedivision@}[2]{% \gdef\volpostnote{#2}% \gdef\volvol{#1}% - \restorefield{volpostnote}{\volpostnote}% + \ifdefempty{volpostnote}% + {\clearfield{volpostnote}}% + {\restorefield{volpostnote}{\volpostnote}}% \usefield{\getsourcedivision@}{volpostnote}% } -- cgit v1.2.3