From 832e5c26b093b4be243706bf9ca83010edf49321 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 13 Mar 2016 21:18:46 +0000 Subject: biblatex-nature (13mar16) git-svn-id: svn://tug.org/texlive/trunk@40016 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-nature/nature.bbx | 29 ++++++++++++++-------- .../tex/latex/biblatex-nature/nature.cbx | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx index f032c9e379e..44242ae19cf 100644 --- a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{nature.bbx}[2016/03/10 v1.2f biblatex bibliography style] +\ProvidesFile{nature.bbx}[2016/03/13 v1.2g biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -30,15 +30,24 @@ } % Modify the name format -\DeclareNameFormat{default}{% - \nameparts{#1}% - \usebibmacro{name:family-given} - {\namepartfamily} - {\namepartgiveni} - {\namepartprefix} - {\namepartsuffix}% - \usebibmacro{name:andothers}% -} +\@ifpackageloaded{biblatex_legacy} + { + \DeclareNameFormat{default}{% + \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% + \usebibmacro{name:andothers}% + } + } + { + \DeclareNameFormat{default}{% + \nameparts{#1}% + \usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}% + \usebibmacro{name:andothers}% + } + } % Field formats for the bibliography environment \DeclareFieldFormat{labelnumberwidth}{#1\adddot} diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx index 9648e83f0b2..694552abad7 100644 --- a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{nature.cbx}[2016/03/10 v1.2f biblatex citation style] +\ProvidesFile{nature.cbx}[2016/03/13 v1.2g biblatex citation style] \RequireCitationStyle{numeric-comp} -- cgit v1.2.3