diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-10 23:20:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-10 23:20:36 +0000 |
commit | 41f724b3302213df79b8bedd68983d9b7eae7b15 (patch) | |
tree | e8c86c678adb84c75b59755bf3f2077c79b5668b /Master/texmf-dist/tex/latex | |
parent | 17325f0c0eea49faba70f0b8aaadf824bc525942 (diff) |
biblatex-morenames (7jun16)
git-svn-id: svn://tug.org/texlive/trunk@41356 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx | 17 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx b/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx index d9964672402..ad970f67929 100644 --- a/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.bbx @@ -13,7 +13,7 @@ % The Current Maintainer of this work is Maïeul Rouquette % This work consists of the files realauthor.dbx, realauthor.bbx \ProvidesFile{morenames.bbx} -[2016/04/06 v1.0.0 biblatex bibliography style to have more name fields (MR)] +[2016/06/07 v1.1.0 biblatex bibliography style to have more name fields (MR)] %0. Preamble @@ -119,6 +119,11 @@ % 3.2 Patching maintitle+title in order to add the maineditor in @incollection (original was defined in standard.bbx) % + +\newcommand{\morenames@failpatch@macro}[1]{% + \PackageError{biblatex-morenames}{Fail to patch `#1` macro}{}% +} + \newbibmacro*{bymaineditor+others}{% \ifnameundef{maineditor} {} @@ -136,21 +141,25 @@ \usebibmacro{bymaineditor+others}% } {} - {} + {\morenames@failpatch@macro{maintitle+booktitle}} % 3.3 Patching @inbook and @article drivers in order to add the ineditor +\newcommand{\morenames@failpatch@driver}[1]{% + \PackageError{biblatex-morenames}{Fail to patch `#1` driver}{}% +} + \xpatchbibdriver{inbook}% {\usebibmacro{byauthor}} {\usebibmacro{byauthor}\newunit\usebibmacro{byineditor}} {} - {} + {\morenames@failpatch@driver{inbook}} \xpatchbibdriver{article}% {\usebibmacro{byauthor}} {\usebibmacro{byauthor}\newunit\usebibmacro{byineditor}} {} - {} + {\morenames@failpatch@driver{article}} \DeclareNameAlias{bookineditor}[byeditor]{ineditor} diff --git a/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx b/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx index 970680af3b7..3ceaec400b0 100644 --- a/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx +++ b/Master/texmf-dist/tex/latex/biblatex-morenames/morenames.dbx @@ -13,7 +13,7 @@ % The Current Maintainer of this work is Maïeul Rouquette % This work consists of the files realauthor.dbx, realauthor.bbx \ProvidesFile{morenames.dbx} -[2016/04/06 v1.0.0 biblatex bibliography style to have more name fields (MR)] +[2016/06/07 v1.1.0 biblatex bibliography style to have more name fields (MR)] %1. New fields \DeclareDatamodelFields[type=list,datatype=name]{ |