summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-25 21:04:31 +0000
committerKarl Berry <karl@freefriends.org>2016-09-25 21:04:31 +0000
commit5619aebdeaef5aa948fad537f8406c40d9bd2f1e (patch)
treefe40cd5499d5519e7b16e63aded2e0460e99b9b4
parent4e2c49b545d6bd344083408b7fe48186142135a0 (diff)
biblatex-nature
git-svn-id: svn://tug.org/texlive/trunk@42146 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib9
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdfbin380288 -> 380832 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex6
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx22
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx2
5 files changed, 19 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib
index a085978408f..ace681ef885 100644
--- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib
+++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib
@@ -78,9 +78,10 @@
}
@Online{Corina2006,
- title = {CORINA: Generation of 3D coordinates},
- url = {http://www.molecular-networks.com/software/corina/index.html},
- year = {2006}
+ title = {CORINA: Generation of 3D coordinates},
+ url = {http://www.molecular-networks.com/software/corina/index.html},
+ year = {2006},
+ urlyear = {2006}
}
@Book{Coghill2006,
@@ -263,7 +264,7 @@
title = {Alkylation of boron trifluoride with
pentafluorophenyl Grignard reagent},
year = {2003},
- urlyear = {2008-10-08},
+ urldate = {2008-10-08},
url = {http://www.syntheticpages.org/pages/215}
}
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 eeb6ee263d1..5e2f4f9668c 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 92f05928fcc..786552e75e4 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.2g, last revised 2016/03/13.}}
-\date{Released 2016/03/13}
+ \footnote{This file describes v1.2h, last revised 2016/09/13.}}
+\date{Released 2016/09/13}
\providecommand*{\opt}[1]{\texttt{#1}}
\providecommand*{\pkg}[1]{\textsf{#1}}
@@ -83,7 +83,7 @@ be sent by e-mail to
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}
-
+\changes{v1.2h}{2016/09/13}{Work properly with \texttt{urldate} option}
\PrintChanges
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}