summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx19
1 files changed, 15 insertions, 4 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}%