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 | |
parent | 394db27879e3e1a46733cafc5aa3c9612b767fdd (diff) |
biblatex-nature (13mar16)
git-svn-id: svn://tug.org/texlive/trunk@40016 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf | bin | 379798 -> 380288 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex | 5 | ||||
-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 |
4 files changed, 23 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf Binary files differindex 49ff4a55500..eeb6ee263d1 100644 --- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex index 91092b1c5e8..92f05928fcc 100644 --- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex +++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex @@ -23,8 +23,8 @@ \href{mailto:joseph.wright@morningstar2.co.uk} {\texttt{joseph.wright@morningstar2.co.uk}}}} \title{The \pkg{nature} bibliography style for \pkg{biblatex}% - \footnote{This file describes v1.2f, last revised 2016/03/10.}} -\date{Released 2016/03/10} + \footnote{This file describes v1.2g, last revised 2016/03/13.}} +\date{Released 2016/03/13} \providecommand*{\opt}[1]{\texttt{#1}} \providecommand*{\pkg}[1]{\textsf{#1}} @@ -82,6 +82,7 @@ be sent by e-mail to \changes{v1.2e}{2013/05/20}{Include article title for \texttt{inproceedings} entries when the \opt{articletitle} option is \opt{true}} \changes{v1.2f}{2016/03/10}{Track \pkg{biblatex} changes} +\changes{v1.2g}{2016/03/13}{Ensure style works with both backends} \PrintChanges 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} |