summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-28 00:22:40 +0000
committerKarl Berry <karl@freefriends.org>2011-02-28 00:22:40 +0000
commit07f721bd6214de1972b4d2565fc2c25bd6efa4e1 (patch)
tree92c975fbdee9b7dbd2316f74b03b188b245a2416 /Master/texmf-dist/tex/latex
parentae5810874a478061bc2cbb94877ff00f07d905b2 (diff)
biblatex-nature 1.1 (27feb11)
git-svn-id: svn://tug.org/texlive/trunk@21535 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/bbx/nature.bbx567
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/cbx/nature.cbx8
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx621
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx42
4 files changed, 663 insertions, 575 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/bbx/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/bbx/nature.bbx
deleted file mode 100644
index 7007c4a34bc..00000000000
--- a/Master/texmf-dist/tex/latex/biblatex-nature/bbx/nature.bbx
+++ /dev/null
@@ -1,567 +0,0 @@
-\ProvidesFile{nature.bbx}
-[2011/010/10 v1.0a biblatex bibliography style]
-
-\ExecuteBibliographyOptions{labelnumber,maxbibnames=5,useprefix=true}
-
-\newbibmacro*{begentry}{}
-\newbibmacro*{finentry}{\finentry}
-
-% The standard aliases
-
-\DeclareNameAlias{author}{default}
-\DeclareNameAlias{editor}{default}
-
-% Some basic formatting
-
-\DeclareFieldFormat{bibentrysetcount}{%
- \mkbibparens{\mknumalph{#1}}}
-\DeclareFieldFormat{booktitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{doi}{%
- doi\addcolon
- \let\UrlFont\normalfont
- \ifhyperref
- {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldFormat{labelnumberwidth}{#1\adddot\midsentence}
-\DeclareFieldFormat{maintitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{pages}{#1}
-\DeclareFieldFormat{parens}{\mkbibparens{#1}}
-\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}}
-\DeclareFieldFormat{title}{\mkbibemph{#1}}
-\DeclareFieldFormat[article]{title}{#1\adddot}
-\DeclareFieldFormat[collection]{title}{\mkbibemph{#1}}
-\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}}
-\DeclareFieldFormat[patent]{type}{\ifbibstring{#1}{%
- \mkbibemph{\bibstring{#1}}}{\mkbibemph{#1}}}
-\DeclareFieldFormat{url}{\let\UrlFont\normalfont<\url{#1}>}
-\DeclareFieldFormat[article]{volume}{\textbf{#1}}
-\DeclareFieldFormat[periodical]{volume}{\textbf{#1}}
-\DeclareFieldFormat{year}{#1}
-\DeclareFieldFormat[article]{year}{\mkbibparens{#1}}
-\DeclareFieldFormat[inproceedings]{year}{\mkbibparens{#1}}
-\DeclareFieldFormat[patent]{year}{\mkbibparens{#1}}
-\DeclareFieldFormat[proceedings]{year}{\mkbibparens{#1}}
-\DeclareFieldFormat[unpublished]{year}{\mkbibparens{#1}}
-
-\DeclareNameFormat{default}{%
- \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
- \usebibmacro{name:andothers}}
-
-\renewcommand*{\thebibitem}{\item}
-\renewcommand*{\thelositem}{\item}
-\renewcommand*{\finalnamedelim}{\addspace\&\addspace}
-\renewcommand*{\mkbibnameaffix}[1]{\addspace#1}
-\renewcommand*{\newunitpunct}{\addspace}
-
-% The environments are set up correctly
-
-\renewenvironment*{thebibliography}
- {\list
- {\printfield[labelnumberwidth]{labelnumber}}
- {\setlength{\labelwidth}{\labelnumberwidth}%
- \setlength{\leftmargin}{\labelwidth}%
- \setlength{\labelsep}{\biblabelsep}%
- \addtolength{\leftmargin}{\labelsep}%
- \setlength{\itemsep}{\bibitemsep}%
- \setlength{\parsep}{\bibparsep}}%
- \renewcommand*{\makelabel}[1]{\hss##1}}
- {\endlist}
-
-\renewenvironment*{theshorthands}
- {\list
- {\printfield[shorthandwidth]{shorthand}}
- {\setlength{\labelwidth}{\shorthandwidth}%
- \setlength{\leftmargin}{\labelwidth}%
- \setlength{\labelsep}{\biblabelsep}%
- \addtolength{\leftmargin}{\labelsep}%
- \setlength{\itemsep}{\bibitemsep}%
- \setlength{\parsep}{\bibparsep}%
- \renewcommand*{\makelabel}[1]{\hss##1}}}
- {\endlist}
-
-% Some altered strings, in English at least
-
-\DefineBibliographyStrings{english}{%
- editor = {ed},
- editors = {eds},
- patentus = {US Patent}
-}
-
-% New and altered bibliography macros
-
-\newbibmacro*{chapter+pages}{%
- \printfield{chapter}%
- \newunit
- \printfield{pages}%
- \newunit}
-
-\renewbibmacro*{editor}{%
- \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}
- {\printtext[parens]{%
- \usebibmacro{editorstrg}%
- \newunit
- \printnames{editor}}%
- \clearname{editor}}
- {}}
-
-\newbibmacro{in}{%
- \bibstring{in}%
- \newunit}
-
-\newbibmacro*{institution+year}{%
- \ifthenelse{\iffieldundef{year}\AND
- \iffieldundef{institution}}
- {}
- {\printtext[parens]{%
- \printlist{institution}%
- \setunit*{\addcomma\addspace}%
- \printfield{year}%
- }}%
- \newunit}
-
-\newbibmacro*{journal+volume+note}{%
- \usebibmacro{journal}%
- \newunit
- \printfield{volume}%
- \setunit*{\textbf{\addcomma}\addspace}%
- \iffieldundef{note}
- {}
- {\printfield{note}%
- \newunit}}
-
-\renewbibmacro*{maintitle}{%
- \ifthenelse{\iffieldundef{maintitle}\AND
- \iffieldundef{mainsubtitle}}
- {}
- {\printtext[maintitle]{%
- \printfield[noformat]{maintitle}%
- \addspace
- \printfield[parens]{mainsubtitle}}%
- \newunit}%
- \printfield{maintitleaddon}%
- \newunit}
-
-\newbibmacro*{maintitle/booktitle}{%
- \iffieldundef{maintitle}
- {\usebibmacro{booktitle}}
- {\usebibmacro{maintitle}}}
-
-\newbibmacro*{maintitle+title}{%
- \iffieldsequal{maintitle}{title}
- {\clearfield{maintitle}%
- \clearfield{mainsubtitle}%
- \clearfield{maintitleaddon}}
- {\iffieldundef{maintitle}
- {}
- {\usebibmacro{maintitle}%
- \setunit*{\addcomma\addspace}}}%
- \usebibmacro{title}%
- \newunit}
-
-\newbibmacro*{maintitle/title}{%
- \iffieldsequal{maintitle}{title}
- {\clearfield{maintitle}%
- \clearfield{mainsubtitle}%
- \clearfield{maintitleaddon}}
- {}%
- \iffieldundef{maintitle}
- {\usebibmacro{title}}
- {\usebibmacro{maintitle}}%
- \newunit}
-
-\renewbibmacro*{name:andothers}{%
- \ifthenelse{\value{listcount}=\value{liststop}\AND
- \ifmorenames}
- {\ifnum\value{liststop}>1 \finalandcomma\fi
- \andothersdelim\mkbibemph{\bibstring{andothers}}}
- {}}
-
-\renewbibmacro*{name:last-first}[4]{%
- \ifuseprefix
- {\usebibmacro{name:delim}{#3#1}%
- \usebibmacro{name:hook}{#3#1}%
- \ifblank{#3}{}
- {\mkbibnameprefix{#3\isdot}%
- \ifpunctmark{'}{}{\addhighpenspace}}%
- \mkbibnamelast{#1\isdot}%
- \ifblank{#2}{}
- {\addcomma\addlowpenspace
- \mkbibnamefirst{#2}\isdot}%
- \ifblank{#4}{}
- {\addlowpenspace
- \mkbibnameaffix{#4}\isdot}}
- {\usebibmacro{name:delim}{#1}%
- \usebibmacro{name:hook}{#1}%
- \mkbibnamelast{#1}\isdot
- \ifblank{#2#3}{}{\addcomma}%
- \ifblank{#2}{}
- {\addlowpenspace
- \mkbibnamefirst{#2}\isdot}%
- \ifblank{#3}{}
- {\addlowpenspace
- \mkbibnameprefix{#3}\isdot}%
- \ifblank{#4}{}
- {\addlowpenspace
- \mkbibnameaffix{#4}\isdot}}}
-
-\newbibmacro*{organization+year}{%
- \ifthenelse{\iffieldundef{year}\AND
- \iffieldundef{organization}}
- {}
- {\printtext[parens]{%
- \printlist{organization}%
- \setunit*{\addcomma\addspace}%
- \printfield{year}%
- }}%
- \newunit}
-
-\newbibmacro*{pages/doi}{%
- \iffieldundef{pages}
- {\printfield{doi}}
- {\printfield{pages}}}
-
-\newbibmacro*{publisher+year}{%
- \printtext[parens]{%
- \printlist{publisher}%
- \setunit*{\addcomma\addspace}%
- \printfield{year}%
- \newunit}}
-
-% Drivers, edited from the standard versions, some quite heavily
-
-\DeclareBibliographyDriver{article}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{title}%
- \newunit
- \usebibmacro{journal+volume+note}%
- \usebibmacro{pages/doi}%
- \newunit
- \printfield{year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{book}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{maintitle+title}%
- \printfield{edition}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{pages}%
- \newunit
- \usebibmacro{publisher+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{collection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{maintitle+title}%
- \printfield{edition}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{pages}%
- \newunit
- \usebibmacro{publisher+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{inbook}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{in}%
- \usebibmacro{bybookauthor}%
- \newunit
- \usebibmacro{maintitle/booktitle}%
- \printfield{edition}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{pages}%
- \newunit
- \usebibmacro{publisher+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{incollection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{in}%
- \usebibmacro{bybookauthor}%
- \newunit
- \usebibmacro{maintitle/booktitle}%
- \printfield{edition}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{pages}%
- \newunit
- \usebibmacro{publisher+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{inproceedings}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{in}%
- \usebibmacro{booktitle}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{venue}%
- \newunit
- \printfield{note}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \printfield{year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{manual}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{title}%
- \newunit
- \printfield{edition}%
- \newunit
- \printfield{type}%
- \newunit
- \printfield{version}%
- \newunit
- \printfield{note}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \printfield{url}%
- \newunit
- \usebibmacro{organization+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{misc}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{title}%
- \newunit
- \printfield{howpublished}%
- \newunit
- \printfield{type}%
- \newunit
- \printfield{version}%
- \newunit
- \printfield{note}%
- \newunit
- \printlist{organization+location+date}%
- \newunit
- \printfield{doi}%
- \newunit
- \printfield{url}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{online}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{title}%
- \newunit
- \printfield{version}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{url}%
- \newunit
- \usebibmacro{organization+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{patent}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \printfield{type}%
- \newunit
- \printfield{number}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{periodical}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \printfield{issuetitle}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{edition}%
- \newunit
- \printfield{title}%
- \newunit
- \printfield{volume}%
- \setunit*{\textbf{\addcomma}\addspace}%
- \printfield{note}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \usebibmacro{publisher+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{proceedings}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{maintitle/title}%
- \newunit
- \usebibmacro{editor}%
- \newunit
- \printfield{venue}%
- \newunit
- \printfield{note}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \printfield{year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{report}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \usebibmacro{title}%
- \newunit
- \printfield{type}%
- \newunit
- \printfield{number}%
- \newunit
- \printfield{version}%
- \newunit
- \printfield{note}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \usebibmacro{institution+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{thesis}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \printfield{title}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{type}%
- \newunit
- \usebibmacro{chapter+pages}%
- \newunit
- \usebibmacro{institution+year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-\DeclareBibliographyDriver{unpublished}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author}%
- \newunit
- \printfield{journaltitle}%
- \newunit
- \printfield{howpublished}%
- \newunit
- \printfield{note}%
- \newunit
- \printfield{url}%
- \newunit
- \printfield{year}%
- \newunit
- \printfield{addendum}%
- \setunit{\bibpagerefpunct}%
- \usebibmacro{pageref}%
- \usebibmacro{finentry}}
-
-% Some aliases
-
-\DeclareBibliographyAlias{review}{article}
-\DeclareBibliographyAlias{reference}{collection}
-\DeclareBibliographyAlias{inreference}{incollection}
-\DeclareBibliographyAlias{suppbook}{inbook}
-\DeclareBibliographyAlias{suppcollection}{incollection}
-\DeclareBibliographyAlias{suppperiodical}{article}
-
-\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/cbx/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/cbx/nature.cbx
deleted file mode 100644
index 93a3ba463ea..00000000000
--- a/Master/texmf-dist/tex/latex/biblatex-nature/cbx/nature.cbx
+++ /dev/null
@@ -1,8 +0,0 @@
-\ProvidesFile{chem-nature.cbx}
-[2010/11/20 v1.0 biblatex citation style]
-
-\RequireCitationStyle{numeric-comp}
-\ExecuteBibliographyOptions{%
- autocite=superscript,autopunct=false,sorting=none}
-
-\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
new file mode 100644
index 00000000000..79c35a62bdf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-nature/nature.bbx
@@ -0,0 +1,621 @@
+%% ---------------------------------------------------------------
+%% biblatex-nature --- A biblatex implementation of the Nature
+%% bibliography style
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{nature.bbx}[2011/02/27 v1.1 biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+\RequireBibliographyStyle{numeric-comp}
+
+% Alter settings that carry through from biblatex
+\ExecuteBibliographyOptions{
+ firstinits ,
+ maxnames = 5 ,
+ maxcitenames = 2 ,
+ punctfont ,
+ useprefix ,
+}
+
+% Modify the name format
+\DeclareNameFormat{default}{%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+}
+
+% Field formats for the bibliography environment
+\DeclareFieldFormat{labelnumberwidth}{#1\adddot}
+
+% Custom field formats
+\DeclareFieldFormat*{booktitle}{\mkbibemph{#1}\nopunct}
+\DeclareFieldFormat{doi}{%
+ doi\addcolon
+ \ifhyperref
+ {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}}
+ {\nolinkurl{#1}}%
+}
+\DeclareFieldFormat*{pages}{#1}
+\DeclareFieldFormat[book,collection]{number}{\mkbibbold{#1}}
+\DeclareFieldFormat*{series}{\mkbibemph{#1}\nopunct}
+\DeclareFieldFormat*{title}{\mkbibemph{#1}\nopunct}
+\DeclareFieldFormat[article]{title}{#1}
+\DeclareFieldFormat[patent]{type}{%
+ \mkbibemph{%
+ \ifbibstring{#1}{\bibstring{#1}}{#1}%
+ }%
+}
+\DeclareFieldFormat{url}{<\url{#1}>}
+\DeclareFieldFormat*{volume}{\mkbibbold{#1}}
+\DeclareFieldFormat[book]{volume}{#1}
+
+% Simple modifications to punctuation, etc.
+\renewcommand*\finalnamedelim{\addspace\&\addspace}
+\renewcommand*\intitlepunct{\addspace}
+
+% Bibliography strings
+\DefineBibliographyStrings{english}{
+ editor = ed ,
+ editors = eds ,
+ patentus = US Patent ,
+}
+
+% Bibliography macros
+\renewbibmacro*{byeditor+others}{%
+ \ifnameundef{editor}
+ {}
+ {%
+ \nopunct
+ \printtext[parens]{\usebibmacro{editor}}%
+ \clearname{editor}%
+ \nopunct
+ }%
+ \usebibmacro{byeditorx}%
+ \usebibmacro{bytranslator+others}%
+}
+
+\renewbibmacro*{chapter+pages}{%
+ \iffieldundef{pages}
+ {\printfield{chapter}}
+ {}%
+ \setunit{\bibpagespunct}%
+ \printfield{pages}%
+ \newunit
+}
+
+\newbibmacro*{editor}{%
+ \ifboolexpr{
+ test \ifuseeditor
+ and
+ not test {\ifnameundef{editor}}
+ }
+ {%
+ \midsentence
+ \usebibmacro{editorstrg}%
+ \setunit{\addspace}%
+ \printnames{editor}%
+ \clearname{editor}%
+ }
+ {}%
+}
+
+\newbibmacro*{editor+others}{%
+ \ifboolexpr{
+ test \ifuseeditor
+ and
+ not test {\ifnameundef{editor}}
+ }
+ {%
+ \nopunct
+ \printtext[parens]{\usebibmacro{editor}}
+ \clearname{editor}%
+ \nopunct
+ }
+ {}%
+}
+
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {%
+ \printfield{venue}%
+ \setunit*{\addcomma\space}%
+ \printeventdate
+ }%
+ \newunit
+}
+
+\newbibmacro*{in:}{%
+ \printtext{\biblcstring{in}\intitlepunct}%
+}
+
+\renewbibmacro*{institution+location+date}{%
+ \nopunct
+ \printtext[parens]{%
+ \printlist{institution}%
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ }%
+}
+
+\renewbibmacro*{issue+date}{%
+ \iffieldundef{year}
+ {}
+ {%
+ \iffieldundef{issue}
+ {\printtext[parens]{\usebibmacro{date}}}
+ {%
+ \printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \usebibmacro{date}%
+ }%
+ }%
+ }%
+ \newunit
+}
+
+\newbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {%
+ \newunit
+ \printfield{series}%
+ \setunit{\addspace}%
+ }%
+ \printfield{volume}%
+ \newunit
+ \usebibmacro{issue}%
+ \newunit
+}
+
+\renewbibmacro*{name:andothers}{%
+ \ifboolexpr
+ {
+ test {\ifnumequal{\value{listcount}}{\value{liststop}}}
+ and
+ test \ifmorenames
+ }
+ {
+ \ifnumgreater{\value{liststop}}{1}
+ {\finalandcomma}
+ {}%
+ \andothersdelim
+ \mkbibemph{\bibstring{andothers}}%
+ }
+ {}%
+}
+
+\renewbibmacro*{name:last-first}[4]{%
+ \ifuseprefix
+ {%
+ \usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifblank{#3}{}
+ {%
+ \ifcapital
+ {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+ {\mkbibnameprefix{#3}\isdot}%
+ \ifpunctmark{'}{}{\addhighpenspace}%
+ }%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#2}
+ {}{\addcomma\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ }
+ {%
+ \usebibmacro{name:delim}{#1}%
+ \usebibmacro{name:hook}{#1}%
+ \mkbibnamelast{#1}\isdot
+ \ifblank{#2#3}{}{\addcomma}%
+ \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}%
+ \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}%
+ \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}%
+ }%
+}
+
+\renewbibmacro*{publisher+location+date}{%
+ \nopunct
+ \printtext[parens]{%
+ \printlist{publisher}%
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ }%
+}
+
+\renewbibmacro*{series+number}{%
+ \iffieldundef{number}
+ {}
+ {%
+ \printfield{series}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \newunit
+ }%
+}
+
+\newbibmacro*{title+volume}{%
+ \printfield{title}%
+ \setunit*{\addspace}%
+ \printfield{volume}%
+ \newunit
+}
+
+% New bibliography drivers, using the required order of fields. These
+% are mainly copied from standard.bbx then modified.
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \usebibmacro{journal+issuetitle}%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \usebibmacro{note+pages}%
+ \newunit
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \iffieldundef{pages}
+ {\usebibmacro{doi+eprint+url}}
+ {}%
+ \setunit{\addspace}\newblock
+ \usebibmacro{issue+date}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \setunit{\addspace}%
+ \printfield{edition}%
+ \newunit\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{collection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \usebibmacro{editor+others}%
+ \setunit{\labelnamepunct}\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{incollection}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{event+venue+date}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{online}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit\newblock
+ \printfield{url}
+ \setunit*{\addspace}%
+ \iffieldundef{year}
+ {\printfield[parens]{urlyear}}
+ {\printfield[parens]{year}}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{patent}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \nopunct
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{type}%
+ \setunit*{\addspace}%
+ \printfield{number}%
+ \iflistundef{location}
+ {}
+ {\setunit*{\addspace}%
+ \printtext[parens]{%
+ \printlist[][-\value{listtotal}]{location}}}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \nopunct
+ \printfield[parens]{year}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\DeclareBibliographyDriver{periodical}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \printfield{issuetitle}%
+ \setunit{\addspace}%
+ \printfield{edition}%
+ \newunit\newblock
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{title+volume}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \iffieldundef{year}
+ {\usebibmacro{doi+eprint+url}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+%%
+%% Copyright (C) 2010,2011 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the file biblatex-nature.bib,
+%% biblatex-nature.tex,
+%% nature.bbx and
+%% nature.cbx,
+%% and the derived file biblatex-nature.pdf.
+%%
+%%
+%% End of file `nature.bbx'. \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx
new file mode 100644
index 00000000000..e0babb80df5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-nature/nature.cbx
@@ -0,0 +1,42 @@
+%% ---------------------------------------------------------------
+%% biblatex-nature --- A biblatex implementation of the Nature
+%% bibliography style
+%% Maintained by Joseph Wright
+%% E-mail: joseph.wright@morningstar2.co.uk
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{nature.cbx}[2011/02/27 v1.1 biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions{
+ autocite = superscript ,
+ autopunct = false ,
+ sorting = none ,
+}
+
+%%
+%% Copyright (C) 2010,2011 by
+%% Joseph Wright <joseph.wright@morningstar2.co.uk>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the file biblatex-nature.bib,
+%% biblatex-nature.tex,
+%% nature.bbx and
+%% nature.cbx,
+%% and the derived file biblatex-nature.pdf.
+%%
+%%
+%% End of file `nature.cbx'.