texlive[42146] Master/texmf-dist: biblatex-nature

commits+karl at tug.org commits+karl at tug.org
Sun Sep 25 23:04:31 CEST 2016


Revision: 42146
          http://tug.org/svn/texlive?view=revision&revision=42146
Author:   karl
Date:     2016-09-25 23:04:31 +0200 (Sun, 25 Sep 2016)
Log Message:
-----------
biblatex-nature

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib
    trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf
    trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex
    trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
    trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib	2016-09-25 21:04:19 UTC (rev 42145)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.bib	2016-09-25 21:04:31 UTC (rev 42146)
@@ -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}
 }
 

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex	2016-09-25 21:04:19 UTC (rev 42145)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex	2016-09-25 21:04:31 UTC (rev 42146)
@@ -23,8 +23,8 @@
   \href{mailto:joseph.wright at morningstar2.co.uk}
   {\texttt{joseph.wright at 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,8 +83,8 @@
   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
 
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx	2016-09-25 21:04:19 UTC (rev 42145)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx	2016-09-25 21:04:31 UTC (rev 42146)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx	2016-09-25 21:04:19 UTC (rev 42145)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx	2016-09-25 21:04:31 UTC (rev 42146)
@@ -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}
 



More information about the tex-live-commits mailing list