diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-25 21:04:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-25 21:04:31 +0000 |
commit | 5619aebdeaef5aa948fad537f8406c40d9bd2f1e (patch) | |
tree | fe40cd5499d5519e7b16e63aded2e0460e99b9b4 /Master/texmf-dist/tex/latex/biblatex-nature | |
parent | 4e2c49b545d6bd344083408b7fe48186142135a0 (diff) |
biblatex-nature
git-svn-id: svn://tug.org/texlive/trunk@42146 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 | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx | 2 |
2 files changed, 11 insertions, 13 deletions
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} |