summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
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