diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx | 19 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx | 2 |
2 files changed, 16 insertions, 5 deletions
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} |