From d5ed5159ad88fd8409397a5467835268039b8a6a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 Mar 2017 21:42:07 +0000 Subject: biblatex-opcit-booktitle (27mar17) git-svn-id: svn://tug.org/texlive/trunk@43621 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-opcit-booktitle.sty | 27 ++++++++++++++++------ 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty') 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 -- cgit v1.2.3