texlive[42338] Master/texmf-dist: biblatex-nature (23oct16)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 24 00:05:11 CEST 2016
Revision: 42338
http://tug.org/svn/texlive?view=revision&revision=42338
Author: karl
Date: 2016-10-24 00:05:11 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
biblatex-nature (23oct16)
Modified Paths:
--------------
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.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-10-23 22:04:51 UTC (rev 42337)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex 2016-10-23 22:05:11 UTC (rev 42338)
@@ -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.2h, last revised 2016/09/13.}}
-\date{Released 2016/09/13}
+ \footnote{This file describes v1.3, last revised 2016/10/23.}}
+\date{Released 2016/10/23}
\providecommand*{\opt}[1]{\texttt{#1}}
\providecommand*{\pkg}[1]{\textsf{#1}}
@@ -54,6 +54,11 @@
do not. To control this behaviour, the boolean option \opt{articletitle}
is provided; this is set \opt{true} as standard.
+\DescribeOption{intitl}
+The boolean option \opt{intitle} determines whether the title of books
+is printed for \texttt{inbook} and \texttt{incollection} entries. It is
+set \opt{false} as standard.
+
Suggestions for improvement and bug reports can be logged in the package
issue database, found at
\url{https://github.com/josephwright/biblatex-nature/issues}, or can
@@ -84,6 +89,7 @@
\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}
+\changes{v1.3}{2016/10/22}{New \opt{intitle} option}
\PrintChanges
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx 2016-10-23 22:04:51 UTC (rev 42337)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx 2016-10-23 22:05:11 UTC (rev 42338)
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{nature.bbx}[2016/09/13 v1.2h biblatex bibliography style]
+\ProvidesFile{nature.bbx}[2016/10/23 v1.3 biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -18,8 +18,11 @@
\DeclareBibliographyOption{articletitle}[true]{%
\settoggle{bbx:articletitle}{#1}%
}
+\newtoggle{bbx:intitle}
+\DeclareBibliographyOption{intitle}[false]{%
+ \settoggle{bbx:intitle}{#1}%
+}
-% Alter settings that carry through from biblatex
\ExecuteBibliographyOptions{
articletitle ,
giveninits ,
@@ -30,16 +33,14 @@
useprefix ,
}
+\@ifpackagelater{biblatex}{2016/03/27}
+ {\ExecuteBibliographyOptions{giveninits}}
+ {\ExecuteBibliographyOptions{firstinits}}
+
% Modify the name format
-\@ifpackageloaded{biblatex_legacy}
+\@ifpackagelater{biblatex}{2016/03/27}
{
\DeclareNameFormat{default}{%
- \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}%
- }
- }
- {
- \DeclareNameFormat{default}{%
\nameparts{#1}%
\usebibmacro{name:family-given}
{\namepartfamily}
@@ -49,6 +50,12 @@
\usebibmacro{name:andothers}%
}
}
+ {
+ \DeclareNameFormat{default}{%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+ }
+ }
% Field formats for the bibliography environment
\DeclareFieldFormat{labelnumberwidth}{#1\adddot}
@@ -413,6 +420,12 @@
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
+ \iftoggle{bbx:intitle}
+ {%
+ \usebibmacro{title}%
+ \newblock
+ }
+ {}%
\usebibmacro{in:}%
\usebibmacro{bybookauthor}%
\setunit*{\newunitpunct}\newblock
@@ -455,6 +468,12 @@
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
+ \iftoggle{bbx:intitle}
+ {%
+ \usebibmacro{title}%
+ \newblock
+ }
+ {}%
\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}%
\newunit\newblock
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx 2016-10-23 22:04:51 UTC (rev 42337)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx 2016-10-23 22:05:11 UTC (rev 42338)
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{nature.cbx}[2016/09/13 v1.2h biblatex citation style]
+\ProvidesFile{nature.cbx}[2016/10/23 v1.3 biblatex citation style]
\RequireCitationStyle{numeric-comp}
More information about the tex-live-commits
mailing list