diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-14 22:18:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-14 22:18:20 +0000 |
commit | 5555ff2ea4569008e29412e2e5eac0b264483855 (patch) | |
tree | 6f1d39c78122346ae8b5d0bf63a33d9a029ce1e4 /Master/texmf-dist/tex/latex/biblatex-nature | |
parent | 5d579a8961d5fa255cd4271a9f0eb8d3d03aba8f (diff) |
biblatex-nature 1.2 (14sep11)
git-svn-id: svn://tug.org/texlive/trunk@23952 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-nature')
-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} |