diff options
author | Karl Berry <karl@freefriends.org> | 2015-05-15 21:48:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-05-15 21:48:43 +0000 |
commit | 2c7a6785c0a4df0f309e8266036fdd503ace4c29 (patch) | |
tree | 3d613f1367ccdfcd4f0dfe09c93c2047d348b0c3 /Master/texmf-dist/tex/latex/biblatex-source-division | |
parent | 4d401c525d61b9b3c1523cfc58d9f6b5e94f6cfa (diff) |
biblatex-source-division (15may15)
git-svn-id: svn://tug.org/texlive/trunk@37414 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.sty | 14 |
1 files changed, 12 insertions, 2 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 ad8b728c4c1..aa4a6e7bc25 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,9 +15,17 @@ % This work consists of the file biblatex-source-division.sty \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-source-division}[2015/05/12 v2.2.2 source division for biblatex] +\ProvidesPackage{biblatex-source-division}[2015/05/15 v2.3.0 source division for biblatex] \RequirePackage{xpatch} +% The options +\RequirePackage{kvoptions} +\SetupKeyvalOptions{family=@biblatexsourcedivision@,prefix=biblatexsourcedivision@} +\DeclareStringOption[maintitle]{after} +\ProcessKeyvalOptions* +% + + % Test if the package biblatex-true-citepages-omit is loaded \@ifpackageloaded{biblatex-true-citepages-omit}{\PackageError{biblatex-true-citepages-omit}{You must load biblatex-true-citepages-omit AFTER biblatex-source-division}{}}{} % Prepare in the case of <x>volcite commands @@ -35,7 +43,9 @@ \iffieldundef{postnote}{}{% \global\undef\volpostnote% \usefield{\getsourcedivision@}{postnote}% - \iffieldundef{maintitle}{\restorefield{titleaddon}{\titleaddon}}{\restorefield{maintitleaddon}{\titleaddon}}% + \ifboolexpr{test {\iffieldundef{maintitle}} or test{\ifdefstring{\biblatexsourcedivision@after}{title}}}% + {\restorefield{titleaddon}{\titleaddon}} + {\restorefield{maintitleaddon}{\titleaddon}}% \ifdefempty{\postnote}% {\clearfield{postnote}}% {\restorefield{postnote}{\postnote}}% |