summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-science
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-13 21:18:59 +0000
committerKarl Berry <karl@freefriends.org>2016-03-13 21:18:59 +0000
commitf367977ac9ac03c7003bf053c3649ead7de266ca (patch)
treea5aac12c64b0657986a5116f4a76a600224e38cf /Master/texmf-dist/tex/latex/biblatex-science
parentf8ff19b14a7b341d0834a677a1b824917d310ddb (diff)
biblatex-science (13mar16)
git-svn-id: svn://tug.org/texlive/trunk@40018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-science')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-science/science.bbx31
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-science/science.cbx2
2 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.bbx b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
index 5901ba851bd..fb183f5e55c 100644
--- a/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{science.bbx}[2016/03/10 v1.1e biblatex bibliography style]
+\ProvidesFile{science.bbx}[2016/03/13 v1.1f biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -29,15 +29,24 @@
}
% Modify the name format
-\DeclareNameFormat{default}{%
- \nameparts{#1}%
- \usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}%
- \usebibmacro{name:andothers}%
-}
+\@ifpackageloaded{biblatex_legacy}
+ {
+ \DeclareNameFormat{default}{%
+ \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
+ {
+ \DeclareNameFormat{default}{%
+ \nameparts{#1}%
+ \usebibmacro{name:given-family}
+ {\namepartfamily}
+ {\namepartgiveni}
+ {\namepartprefix}
+ {\namepartsuffix}%
+ \usebibmacro{name:andothers}%
+ }
+ }
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
@@ -574,7 +583,7 @@
}
%%
-%% Copyright (C) 2010-2013,2016,2016 by
+%% Copyright (C) 2010-2013,2016 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.cbx b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
index f9e52d02bac..26896e38df8 100644
--- a/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{science.cbx}[2016/03/10 v1.1e biblatex citation style]
+\ProvidesFile{science.cbx}[2016/03/13 v1.1f biblatex citation style]
\RequireCitationStyle{numeric-comp}