summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx b/Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx
index f15eb243000..d9cd4f60307 100644
--- a/Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-bookinother/bookinother.bbx
@@ -14,7 +14,7 @@
%0. Preamble
\ProvidesFile{bookinother.bbx}
-[2016/04/16 v2.0.0a biblatex bibliography style to have entry type for book edited in other entry type (MR)]
+[2016/06/06 v2.1.0 biblatex bibliography style to have entry type for book edited in other entry type (MR)]
\RequireBiber
\RequirePackage{xpatch}
@@ -23,6 +23,7 @@
{\RequireBibliographyStyle{verbose}}
+
% 1. The drivers
\DeclareBibliographyDriver{inarticle}{%
\usebibmacro{bibindex}%
@@ -283,17 +284,20 @@
}
% 3.b Booinkeditor
+
+\newcommand{\bookinother@patch@failed}[1]{\PackageError{bookinother}{Unable to patch #1 driver}}
+
\xpatchbibdriver{incollection}%
{\usebibmacro{byauthor}}
{\usebibmacro{byauthor}\newunit\usebibmacro{bybookineditor}}
{}
- {}
+ {\bookinother@patch@failed{incollection}}
\xpatchbibdriver{inproceedings}%
{\usebibmacro{byauthor}}
{\usebibmacro{byauthor}\newunit\usebibmacro{bybookineditor}}
{}
- {}
+ {\bookinother@patch@failed{inproceedings}}
\newbibmacro*{bybookineditor}{%
\ifnameundef{bookineditor}
@@ -312,7 +316,7 @@
{}%
}
{}
- {}
+ {\bookinother@patch@failed{article}}
% 4. The formats for classical fields