diff options
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} |