diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-23 22:05:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-23 22:05:11 +0000 |
commit | a0dae79da4d3a6fc4760702f913cffe11d738b0a (patch) | |
tree | 3b3c6affadae774ede9bc22369b31b02e1e3997d /Master | |
parent | 982bd62af967c6d0b2b31ee09085915ca1addfc5 (diff) |
biblatex-nature (23oct16)
git-svn-id: svn://tug.org/texlive/trunk@42338 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf | bin | 380832 -> 380617 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx | 37 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx | 2 |
4 files changed, 37 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf Binary files differindex 5e2f4f9668c..7fd057a743b 100644 --- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf +++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf 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 786552e75e4..b6024b0e4a7 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.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 @@ standard articles in \emph{Nature} use these but \emph{Letters to the Editor} 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 @@ be sent by e-mail to \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 diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx index 91b79eaf7cf..20b347fa7fd 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/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,14 +33,12 @@ useprefix , } +\@ifpackagelater{biblatex}{2016/03/27} + {\ExecuteBibliographyOptions{giveninits}} + {\ExecuteBibliographyOptions{firstinits}} + % Modify the name format -\@ifpackageloaded{biblatex_legacy} - { - \DeclareNameFormat{default}{% - \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% - \usebibmacro{name:andothers}% - } - } +\@ifpackagelater{biblatex}{2016/03/27} { \DeclareNameFormat{default}{% \nameparts{#1}% @@ -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 diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx index 1355993d42c..8fe9493cbbe 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/09/13 v1.2h biblatex citation style] +\ProvidesFile{nature.cbx}[2016/10/23 v1.3 biblatex citation style] \RequireCitationStyle{numeric-comp} |