From 5555ff2ea4569008e29412e2e5eac0b264483855 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Sep 2011 22:18:20 +0000 Subject: biblatex-nature 1.2 (14sep11) git-svn-id: svn://tug.org/texlive/trunk@23952 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/biblatex-nature/nature.bbx | 19 +++++++++++++++---- .../texmf-dist/tex/latex/biblatex-nature/nature.cbx | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-nature') diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx index 41747bf33eb..b4a7c6a5390 100644 --- a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx @@ -8,18 +8,25 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{nature.bbx}[2011/03/11 v1.1a biblatex bibliography style] +\ProvidesFile{nature.bbx}[2011/09/13 v1.2 biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} +% New options +\newtoggle{bbx:articletitle} +\DeclareBibliographyOption{articletitle}[true]{% + \settoggle{bbx:articletitle}{#1}% +} + % Alter settings that carry through from biblatex \ExecuteBibliographyOptions{ + articletitle , firstinits , maxnames = 5 , maxcitenames = 2 , punctfont , - useprefix , + useprefix } % Modify the name format @@ -263,8 +270,12 @@ \usebibmacro{begentry}% \usebibmacro{author/translator+others}% \setunit{\labelnamepunct}\newblock - \usebibmacro{title}% - \newblock + \iftoggle{bbx:articletitle} + {% + \usebibmacro{title}% + \newblock + } + {}% \printlist{language}% \newunit\newblock \usebibmacro{byauthor}% diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx index 9b31b5d8460..f36332c4f90 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}[2011/03/11 v1.1a biblatex citation style] +\ProvidesFile{nature.cbx}[2011/09/13 v1.2 biblatex citation style] \RequireCitationStyle{numeric-comp} -- cgit v1.2.3