summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-11 23:40:46 +0000
committerKarl Berry <karl@freefriends.org>2016-03-11 23:40:46 +0000
commiteb4289c0948631c7e94b75f1917b4cc218ed58a7 (patch)
treead3873f1582e0da0eacff2ebafb63395a70ed60f /Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
parentcc55deed0e400e599906d8edb07221035b795b4d (diff)
biblatex-realauthor (11mar16)
git-svn-id: svn://tug.org/texlive/trunk@40005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
index bd2d1e05c1c..3f2bdaae653 100644
--- a/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-realauthor/realauthor.bbx
@@ -1,4 +1,4 @@
-%% Copyright 2014 Maïeul Rouquette
+%% Copyright 2014-… Maïeul Rouquette
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -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{realauthor.dbx}
-[2016/02/28 v2.2.1 biblatex bibliography style (MR)]
+[2016/03/11 v2.3.0 biblatex bibliography style (MR)]
\ifdef{\biblatexmultipledm@bibstyle}
{\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
@@ -45,15 +45,16 @@
% A format which could be overrided
\DeclareNameFormat{realauthor}{%
+ \nameparts{#1}%
\mkbibrealauthor{%
\ifboolexpr{test {\ifbibliography} and test {\ifnameundef{author}}}%
- {\iffirstinits%
- {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}%
- {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}%
+ {\ifgiveninits%
+ {\usebibmacro{name:family-given}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}%
+ {\usebibmacro{name:family-given}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}}%
}%
- {\iffirstinits%
- {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}%
- {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}%
+ {\ifgiveninits%
+ {\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}%
+ {\usebibmacro{name:given-family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}}%
}%
\usebibmacro{name:andothers}}}