summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-opcit-booktitle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-08 22:18:48 +0000
committerKarl Berry <karl@freefriends.org>2017-02-08 22:18:48 +0000
commit77b2f02d23f8f97c8c131011f8ce1bc82c58a360 (patch)
treebac9b0dd71f6b56a40334fc7be10a78d1669ff76 /Master/texmf-dist/tex/latex/biblatex-opcit-booktitle
parent83c8e21bfbd97d8d8bd8bbd2ae0b4d43218790e7 (diff)
biblatex-opcit-booktitle (8feb17)
git-svn-id: svn://tug.org/texlive/trunk@43168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-opcit-booktitle')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-opcit-booktitle/biblatex-opcit-booktitle.sty32
1 files changed, 26 insertions, 6 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 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}