summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-13 21:18:46 +0000
committerKarl Berry <karl@freefriends.org>2016-03-13 21:18:46 +0000
commit832e5c26b093b4be243706bf9ca83010edf49321 (patch)
tree3b57c608d43de7416cce292e81867d008938f7cc
parent394db27879e3e1a46733cafc5aa3c9612b767fdd (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.pdfbin379798 -> 380288 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex5
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx29
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx2
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
index 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
Binary files differ
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}