diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-13 21:18:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-13 21:18:46 +0000 |
commit | 832e5c26b093b4be243706bf9ca83010edf49321 (patch) | |
tree | 3b57c608d43de7416cce292e81867d008938f7cc /Master/texmf-dist/tex/latex/biblatex-nature | |
parent | 394db27879e3e1a46733cafc5aa3c9612b767fdd (diff) |
biblatex-nature (13mar16)
git-svn-id: svn://tug.org/texlive/trunk@40016 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-nature')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx | 29 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx | 2 |
2 files changed, 20 insertions, 11 deletions
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} |