summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-03-27 21:42:07 +0000
committerKarl Berry <karl@freefriends.org>2017-03-27 21:42:07 +0000
commitd5ed5159ad88fd8409397a5467835268039b8a6a (patch)
tree925e1dd281860fd6a133b77d60bec1c1bfa83208 /Master/texmf-dist/tex
parent6f45b2761a22e0c67c2fa2872c37e01c5ed3a011 (diff)
biblatex-opcit-booktitle (27mar17)
git-svn-id: svn://tug.org/texlive/trunk@43621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty27
1 files changed, 20 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
index dbf1b6d17ef..04f3b58428a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
+++ b/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty
@@ -15,9 +15,10 @@
%
% The Current Maintainer of this work is Maïeul Rouquette
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-opcit-booktitle}[2017/02/08 v1.7.0 Manage op. cit. when using subentry]
+\ProvidesPackage{biblatex-opcit-booktitle}[2017/03/27 v1.8.0 Manage op. cit. when using subentry]
\RequirePackage{xpatch}
+\def\opcit@booktitle@entrytypes@novolume{}
% Declaration of the entry concerned. Some package could have already add their own entry
\listadd\opcit@booktitle@entrytypes{inbook}
\listadd\opcit@booktitle@entrytypes{incollection}
@@ -159,8 +160,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
\newunit%
\restorefield{entrytype}{\bookentrytype}%
@@ -200,8 +205,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
\newunit%
\restorefield{entrytype}{\bookentrytype}%
@@ -238,8 +247,12 @@
\usebibmacro{byeditor+others}%
\newunit%
\iffieldundef{maintitle}%
- {\printfield{volume}%
- \printfield{part}}
+ {\xifinlist{\thefield{entrytype}}{\opcit@booktitle@entrytypes@novolume}%
+ {}%
+ {%
+ \printfield{volume}%
+ \printfield{part}}%
+ }%
{}%
}%
\newunit\newblock