summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-source-division
diff options
context:
space:
mode:
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}%
}