summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-source-division
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-12 22:36:53 +0000
committerKarl Berry <karl@freefriends.org>2015-05-12 22:36:53 +0000
commit798a00f49ea498ec77e2bc560317007b0315dea8 (patch)
tree9ada105d68b5cebb880d6a6fb4402a92e2751c94 /Master/texmf-dist/tex/latex/biblatex-source-division
parent2cd0abe17ecaf0b3cc5a67e3fc8a9bf977ba12ac (diff)
biblatex-source-division (12may15)
git-svn-id: svn://tug.org/texlive/trunk@37358 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-source-division')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-source-division/biblatex-source-division.sty12
1 files changed, 8 insertions, 4 deletions
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}%
}