From 77b2f02d23f8f97c8c131011f8ce1bc82c58a360 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 8 Feb 2017 22:18:48 +0000 Subject: biblatex-opcit-booktitle (8feb17) git-svn-id: svn://tug.org/texlive/trunk@43168 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-opcit-booktitle.sty | 32 ++++++++++++++++++---- 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-opcit-booktitle') 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 8f8994b1d61..dbf1b6d17ef 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,7 +15,7 @@ % % The Current Maintainer of this work is Maïeul Rouquette \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biblatex-opcit-booktitle}[2016/09/08 v1.6.0 Manage op. cit. when using subentry] +\ProvidesPackage{biblatex-opcit-booktitle}[2017/02/08 v1.7.0 Manage op. cit. when using subentry] \RequirePackage{xpatch} % Declaration of the entry concerned. Some package could have already add their own entry @@ -33,14 +33,34 @@ \newbibmacro*{cite:seen:related}{% - {\xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}% - {}% - {\listcsxadd{blx@bsee@\the\c@refsection}{\thefield{crossref}}}}} + \ifboolexpr{test{\ifdefequal{\blx@imc@ifciteseen}{\blx@ifciteseen@context}} and togl{blx@footnote}}%Mode context + footnote? + {% + \xifinlistcs{\thefield{crossref}}{blx@fsee@\the\c@refsection}% + {}% + {\listcsxadd{blx@fsee@\the\c@refsection}{\thefield{crossref}}}% + }% + {% + \xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}% + {}% + {\listcsxadd{blx@bsee@\the\c@refsection}{\thefield{crossref}}}% + }% +}% + \newcommand{\ifrelatedunseen}[2]{% - \xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}% + \ifboolexpr{test{\ifdefequal{\blx@imc@ifciteseen}{\blx@ifciteseen@context}} and togl{blx@footnote}}%Mode context + footnote? + {% + \xifinlistcs{\thefield{crossref}}{blx@fsee@\the\c@refsection}% {#2}% - {#1}} + {#1}% + }% + {% + \xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}% + {#2}% + {#1}% + }% +}% + \RequirePackage{ltxcmds} -- cgit v1.2.3