summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-14 22:18:20 +0000
committerKarl Berry <karl@freefriends.org>2011-09-14 22:18:20 +0000
commit5555ff2ea4569008e29412e2e5eac0b264483855 (patch)
tree6f1d39c78122346ae8b5d0bf63a33d9a029ce1e4
parent5d579a8961d5fa255cd4271a9f0eb8d3d03aba8f (diff)
biblatex-nature 1.2 (14sep11)
git-svn-id: svn://tug.org/texlive/trunk@23952 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdfbin357675 -> 358717 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex15
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx19
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx2
4 files changed, 28 insertions, 8 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
index 7efd8cefaec..9fc2c66f882 100644
--- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf
+++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.pdf
Binary files differ
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 eba6ba60576..35d78587fe8 100644
--- a/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-nature/biblatex-nature.tex
@@ -15,7 +15,7 @@
\usepackage{csquotes,lmodern}
\usepackage{hyperref}
-\hypersetup{pdfborder = 0 0 0}
+\hypersetup{hidelinks}
\addbibresource{biblatex-nature.bib}
@@ -23,12 +23,14 @@
\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.1a, last revised 2011/03/11.}}
-\date{Released 2011/03/11}
+ \footnote{This file describes v1.2, last revised 2011/03/11.}}
+\date{Released 2011/09/13}
\providecommand*\opt[1]{\texttt{#1}}
\providecommand*\pkg[1]{\textsf{#1}}
+\let\DescribeOption\DescribeEnv
+
\RecordChanges
\begin{document}
@@ -46,6 +48,12 @@ The References section of this document demonstrates the format
generated by the package using the \texttt{biblatex-nature.bib} database
of example citations.
+\DescribeOption{articletitle}
+Article titles are not always included in the bibliography: for example,
+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.
+
Suggestions for improvement and bug reports can be logged in the package
issue database, found at
\url{https://bitbucket.org/josephwright/biblatex-nature/issues}, or can
@@ -64,6 +72,7 @@ be sent by e-mail to
long-term maintenance}
\changes{v1.1}{2011/02/27}{Print location for all cases where relevant}
\changes{v1.1a}{2011/03/11}{Change log updates}
+\changes{v1.2}{2011/09/13}{New \opt{articletitle} 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 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}