summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-02 22:10:51 +0000
committerKarl Berry <karl@freefriends.org>2015-07-02 22:10:51 +0000
commita55a0c408532e7d4dbeb629215c40b9a29b1f98d (patch)
tree259c411ae6c4f1d0526845c6dba345b328422204 /Master/texmf-dist/tex
parent259d9c46b0d3fc75257ea21d2aaa26f093263f4c (diff)
biblatex-opcit-booktitle (2jul15)
git-svn-id: svn://tug.org/texlive/trunk@37733 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.sty33
1 files changed, 16 insertions, 17 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 6e4e60fdec9..0a1f524a728 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,17 +15,17 @@
%
% The Current Maintainer of this work is Maïeul Rouquette
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biblatex-opcit-booktitle}[2015/06/18 v1.1.0 Manage op. cit. when using subentry]
+\ProvidesPackage{biblatex-opcit-booktitle}[2015/07/02 v1.1.1 Manage op. cit. when using subentry]
\RequirePackage{xpatch}
\newbibmacro*{cite:seen:related}{%
- {\xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}
- {}
+ {\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}
- {#2}
+ \xifinlistcs{\thefield{crossref}}{blx@bsee@\the\c@refsection}%
+ {#2}%
{#1}}
\xpatchbibmacro{cite}%
@@ -37,34 +37,33 @@
\newbibmacro*{cite:test:ifrelated}%
- {\ifboolexpr {
- test {\iffieldundef{crossref}}
- or not ( test {\ifentrytype{inbook}}
- or test {\ifentrytype{incollection}}
- or test {\ifentrytype{inproceedings}}
- or test {\ifentrytype{bookinbook}} ) }
+ {\ifboolexpr {%
+ test {\iffieldundef{crossref}}%
+ or not (test {\ifentrytype{inbook}}%
+ or test {\ifentrytype{incollection}}%
+ or test {\ifentrytype{inproceedings}}%
+ or test {\ifentrytype{bookinbook}})}%
{\usebibmacro{cite:full}%
- \usebibmacro{cite:save}}
- {\ifrelatedunseen
+ \usebibmacro{cite:save}}%
+ {\ifrelatedunseen%
{\usebibmacro{cite:seen:related}%
\usebibmacro{cite:full}%
- \usebibmacro{cite:save}}
+ \usebibmacro{cite:save}}%
{\usebibmacro{related:info}}}}
\newbibmacro*{related:info}{%
% Here an hack to use the short form of the booktitle without recurring to a .dbx file in order to define new fields (because recurring to a .dbx file for such feature is complex for a little feature)
- \entrydata{\thefield{crossref}}{\savefield{shorttitle}{\shortbooktitle}}
+ \entrydata{\thefield{crossref}}{\savefield{shorttitle}{\shortbooktitle}}%
\ifdef{\shortbooktitle}%
{%
\restorefield{booktitle}{\shortbooktitle}%
\clearfield{booksubtitle}%
}%
{}%
- % And of the hack
\usebibmacro{cite:full:citepages}%
\usedriver%
{\DeclareNameAlias{sortname}{default}}%
- {inbook:rel}
+ {inbook:rel}%
}
\DeclareBibliographyDriver{inbook:rel}{%