From 5619aebdeaef5aa948fad537f8406c40d9bd2f1e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 25 Sep 2016 21:04:31 +0000 Subject: biblatex-nature git-svn-id: svn://tug.org/texlive/trunk@42146 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-nature/nature.bbx | 22 ++++++++++------------ .../tex/latex/biblatex-nature/nature.cbx | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx index 44242ae19cf..91b79eaf7cf 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/13 v1.2g biblatex bibliography style] +\ProvidesFile{nature.bbx}[2016/09/13 v1.2h biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -21,12 +21,13 @@ % Alter settings that carry through from biblatex \ExecuteBibliographyOptions{ - articletitle , - giveninits , - maxnames = 5 , - maxcitenames = 2 , - punctfont , - useprefix + articletitle , + giveninits , + maxnames = 5 , + maxcitenames = 2 , + punctfont , + urldate = year , + useprefix , } % Modify the name format @@ -71,6 +72,7 @@ }% } \DeclareFieldFormat{url}{\textless\url{#1}\textgreater} +\DeclareFieldFormat{urldate}{\mkbibparens{#1}} \DeclareFieldFormat*{volume}{\mkbibbold{#1}} \DeclareFieldFormat[book]{volume}{#1} @@ -556,11 +558,7 @@ {\usebibmacro{eprint}} {}% \newunit\newblock - \printfield{url} - \setunit*{\addspace}% - \iffieldundef{year} - {\printfield[parens]{urlyear}} - {\printfield[parens]{year}}% + \usebibmacro{url+urldate}% \newunit\newblock \usebibmacro{addendum+pubstate}% \setunit{\bibpagerefpunct}\newblock diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx index 694552abad7..1355993d42c 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/13 v1.2g biblatex citation style] +\ProvidesFile{nature.cbx}[2016/09/13 v1.2h biblatex citation style] \RequireCitationStyle{numeric-comp} -- cgit v1.2.3