summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-29 23:22:56 +0000
committerKarl Berry <karl@freefriends.org>2015-12-29 23:22:56 +0000
commit43dd8ba2c7d907713ae884348a465635e6cfaf56 (patch)
tree5e70bad0227c49cd99dd8f296e0ad0e437a71f10 /Master/texmf-dist
parentee249cd54ebe341b124574c6d7b6d6f08c659a84 (diff)
ecobiblatex (29dec15)
git-svn-id: svn://tug.org/texlive/trunk@39233 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/ecobiblatex/README.txt8
-rw-r--r--Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.bib29
-rw-r--r--Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.pdfbin0 -> 451194 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.tex178
-rw-r--r--Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.bbx151
-rw-r--r--Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.cbx5
6 files changed, 371 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ecobiblatex/README.txt b/Master/texmf-dist/doc/latex/ecobiblatex/README.txt
new file mode 100644
index 00000000000..f3c1669235a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ecobiblatex/README.txt
@@ -0,0 +1,8 @@
+ecobiblatex - A set of biblatex Global Ecology and Biogeography Journal BibLaTex styles
+==========================================================================================
+
+The `ecobiblatex` package is a set of styles for creating
+bibliographies using `biblatex` in the style of the Global Ecology and Biogeography journal. The bundle comprises the style based on the
+ conventions of the John Wiley & Sons Ltd
+and Global Ecology and Biogeography Conventions. It therefore covers the journal
+styles, included in-text citations and complete formatting of Bibliography and Reference List.
diff --git a/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.bib b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.bib
new file mode 100644
index 00000000000..3c2fc540fa4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.bib
@@ -0,0 +1,29 @@
+%% Created using Papers on Tue, 29 Dec 2015.
+%% http://papersapp.com/papers/
+
+@article{Phadtare:2009dkba,
+author = {Phadtare, Amruta and Bahmani, Anu and Shah, Anand and Pietrobon, Ricardo},
+title = {{Scientific writing: a randomized controlled trial comparing standard and on-line instruction}},
+journal = {BMC Medical Education},
+year = {2009}
+}
+
+@book{Ratnayake:2016dtba,
+author = {Ratnayake, Udani and Hill, Rachel Anne},
+title = {{Studies on the Effects Prenatal Immune Activation on Postnatal Behavior: Models of Developmental Origins of Schizophrenia}},
+year = {2016}
+}
+
+@article{Erren:2007hlba,
+author = {Erren, Thomas C. and Cullen, Paul and Erren, Michael and Bourne, Philip E},
+title = {{Ten simple rules for doing your best research, according to Hamming.}},
+journal = {PLoS computational biology},
+year = {2007}
+}
+
+@article{Hall:2014dbba,
+author = {Hall, Neil},
+title = {{The Kardashian index: a measure of discrepant social media profile for scientists.}},
+journal = {Genome biology},
+year = {2014}
+}
diff --git a/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.pdf b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.pdf
new file mode 100644
index 00000000000..df130ed901e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.tex b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.tex
new file mode 100644
index 00000000000..ccc7703d082
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ecobiblatex/ecobiblatex.tex
@@ -0,0 +1,178 @@
+%% ---------------------------------------------------------------
+%% ecobiblatex --- Global Ecology and Biogeography Journal
+%% BibLaTex styles
+%% Maintained by Norbert Balak
+%% E-mail: norbert.balak@outlook.com
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\documentclass[a4paper]{ltxdoc}
+\usepackage{csquotes,lmodern}
+\usepackage[T1]{fontenc}
+\usepackage[final]{microtype}
+\usepackage{hyperref}
+
+\hypersetup{hidelinks}
+
+\author{Norbert Balak\thanks{E-mail:
+ \href{mailto:norbert.balak@outlook.com}
+ {\texttt{norbert.balak@outlook.com}}}}
+\title{\pkg{ecobiblatex} -- A set of \pkg{biblatex} Global Ecology and Biogeography Journal BibLaTex styles%
+ \footnote{This file describes v1.0, last revised 2015/12/28.}}
+\date{Released 2018/12/28}
+
+\providecommand*{\opt}[1]{\texttt{#1}}
+\providecommand*{\pkg}[1]{\textsf{#1}}
+
+\let\DescribeOption\DescribeEnv
+
+\RecordChanges
+
+\begin{document}
+
+\maketitle
+
+\begin{abstract}
+ The \pkg{ecobiblatex} bundle is a set of styles for creating bibliographies
+ using \pkg{biblatex} in the style of the Global Ecology and Biogeography journal. The
+ package comprises styles based on the conventions of John Wiley \& Sons Ltd and \emph{Global Ecology and Biogeography Conventions} \copyright. It, therefore, covers the journal styles of, for example:
+ \begin{itemize}
+ \item \emph{Global Ecology and Biogeography (Standardised Harvard-style referencing)}
+ \end{itemize}
+ \end{abstract}
+
+\section{Introduction}
+
+The \pkg{biblatex} package introduces a completely new method for controlling
+the creation of bibliographies using \BibTeX{}. This makes a great deal of
+flexibility available when creating bibliographies, most of which is much more
+difficult with traditional \BibTeX{} styles.
+
+In order to use \pkg{biblatex}, an entirely new set of appropriate supporting
+styles are needed. This package provides the styles needed to include references according to the Global Ecology and Biogeography Journal requirements which is a standardised Harvard-style referencing format,
+following the rules of one of the most important journals in the field.
+
+In order to benefit from the advantages of BibLaTex and this style package, it is highly recommended to use the Biber backend.\\
+E.g.:
+\begin{verbatim} \usepackage{biblatex}[backend=biber, style=ecobiblatex] \end{verbatim}
+
+\section{The style}
+
+The package currently contains four \pkg{biblatex} style files:
+\begin{itemize}
+ \item The {\pkg{ecobiblatex}} style,
+ which covers the Global Ecology and Biogeography journal.
+ \end{itemize}
+
+The style can be used to follow the current layout rules of the Global Ecology and Biogeography journal
+published by Wiley which is most often the preferred referencing style of many universities at all levels.
+
+The styles use the standard \pkg{biblatex} database requirements. This means
+that a database designed for traditional \pkg{biblatex} use may need some
+editing for optimal output. The accompanying example database
+\texttt{ecobiblatex.bib} shows examples of all of the supported entry types
+with common fields filled in.
+
+\section{Style options}
+
+All of the styles here add a small number of package options to the standard
+set provided by \pkg{biblatex}. This allows the styles to cover the variations
+seen between different journals without needing a very large number of files:
+the American Chemical Society in particular varies the exact details between
+journals.
+
+\DescribeOption{doi}
+\DescribeOption{eprint}
+\DescribeOption{isbn}
+\DescribeOption{url}
+The standard style options \opt{doi}, \opt{eprint} \opt{isbn} and
+\opt{eprint}, as described in the \pkg{biblatex} manual. However, these
+options are turned off as standard by the styles in the \pkg{ecobiblatex}
+bundle. This reflects the fact that these entries may be present in reference
+databases but are not generally included in published bibliographies. Note
+that \textsc{doi} values are printed for journal articles with no pages
+given, even if the \opt{doi} option is \opt{false}
+
+\DescribeOption{subentry}
+In common with the standard \pkg{biblatex} numeric styles, all of the styles
+in the bundle support the boolean \texttt{subentry} option. With this set
+\opt{true}, entries of type \texttt{set} are given individual labels within
+the bibliography.
+
+\DescribeOption{articletitle}
+The use of article titles varies between individual journals. The
+boolean option \opt{articletitle} is available and controls this behaviour.
+
+\section{Use of the \pkg{ecobiblatex} package}
+EcoBibLATEXtest file:\\ \newline
+This is a book as \verb|\parencite{}| [2], and as \verb|\textcite{}| Elton [4]. This is a citation from a book chapter [3].
+This is a paper as parencite [8], and as textcite Anderson et al. [1].
+This is a citation command with two papers by the same author [11, 12]. This is a citation command with more than two papers by the same author, on the same year $[5-7]$.
+This is a citation of a paper with only two authors in parencite [9], and another one in textcite Yang and Rannala [13].
+This is a reference to R [10]. This is a reference to non-consecutive entries $[3$,$ 5$-$7$,$ 13]$.\\ \newline
+\textbf{References}\newline
+[1] M. J. Anderson et al. $"$Navigating the multiple meanings of beta diversity: a roadmap for the
+practicing ecologist.$"$ In: \emph{Ecology Letters} 14.1 (2011), pp. 19$-$28.\\ \newline
+[2] C. Darwin. \emph{On the origin of species by means of natural selection, or the preservation of favoured
+races in the struggle for life.} New York: D. Appleton, 1859.\\ \newline
+[3] J. A. Dunne. "The network structure of food webs". In: \emph{Ecological Networks: Linking Structure to
+Dynamics in Food Webs.} Ed. by M. Pascual and J. A. Dunne. Oxford: Oxford University Press, 2006,
+pp. 27$-$86.\\ \newline
+[4] S. A. Frank. "Coevolutionary genetics of plants and pathogens". In: \emph{Evolutionary Ecology} 7.1
+(1993), pp. 45$-$75.\\ \newline
+
+\noindent\textbf{Example (Author-year style)}\\
+\begin{verbatim}
+\usepackage[backend=biber,style=ecobiblatex]{biblatex}
+\addbibresource{SampleLibrary.bib}
+\renewcommand*{\nameyeardelim}{\addcomma\space}
+...
+\printbibliography[title=References]
+\end{verbatim}
+\section{New styles}
+
+The current set of styles here is intended to form a strong base for ecologists, biologists, university and PhD students and biochemists.
+However, there will be the need for other styles to be created. The package
+author welcomes suggestions for other styles for inclusion. It would also be
+good to keep all ecology- and biology-related \pkg{biblatex} styles in one bundle. Others
+working on ecology styles for \pkg{biblatex} are welcome to send them to the
+bundle maintainer so they can be incorporated here.
+
+\section{Errors and omissions}
+
+Suggestions for improvement and bug reports can be logged by sending an e-mail to
+\href{mailto:norbert.balak@outlook.com}
+ {\texttt{norbert.balak@outlook.com}}.\\
+
+\subsubsection*{Version history}
+\emph{{v1.0}{2015/12/28} {First stable release}
+ of \texttt{ecobiblatex} package.}
+
+
+
+\end{document}
+
+%%
+%% Copyright (C) 2010-2014 by
+%% Norbert Balak <norbert.balak@outlook.com>
+%%
+%% 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 files ecobiblatex.bib,
+%% ecobiblatex.tex,
+%% ecobiblatex.bbx,
+%% ecobiblatex.cbx,
+%% and the derived file ecobiblatex.pdf
+%%
+%%
+%% End of file `biblatex-chem.tex'. \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.bbx b/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.bbx
new file mode 100644
index 00000000000..4862c6ed936
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.bbx
@@ -0,0 +1,151 @@
+\ProvidesFile{ecobiblatex.bbx}[biblatex style for Global Ecology and Biogeography]
+
+%% We build on the original author-year comp
+\RequireBibliographyStyle{standard}
+\RequireBibliographyStyle{authoryear-comp}
+
+%% General options to match the ELE requirements
+\ExecuteBibliographyOptions
+ {
+ doi = false ,
+ eprint = false ,
+ firstinits = true ,
+ isbn = false ,
+ maxcitenames = 2 ,
+ mincitenames = 1 ,
+ url = false ,
+ dashed = false ,
+ sorting = nyt
+ }
+
+%% Only the year is important
+\AtEveryBibitem{%
+ \clearfield{day}%
+ \clearfield{month}%
+ \clearfield{endday}%
+ \clearfield{endmonth}%
+}
+
+%% Titles are in upright, no quotes
+\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1\isdot}
+
+%% Articles have no page number indication
+\DeclareFieldFormat[article]{pages}{#1}
+\DeclareFieldFormat[article]{volume}{\textbf{#1}}
+
+%% Last author is separated by an ampersand
+\renewcommand*{\finalnamedelim}{\addspace\&\space}
+
+%% Authors are Name, F.S.
+\DeclareNameAlias{sortname}{last-first}
+
+%% The initials are separated by a thin space, as per Bringhurst
+\renewcommand*{\mkbibnamefirst}[1]{{\let~\,#1}}
+
+
+\DeclareNameFormat{default}{%
+ \renewcommand*{\multinamedelim}{\addsemicolon\addspace}%
+ \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}%
+ \usebibmacro{name:andothers}%
+}
+
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \addspace
+ \usebibmacro{title}%
+ \newunit
+ \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\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal},%
+ \setunit*{\addspace}%
+ \usebibmacro{volume+number+eid}%
+ \newunit
+}
+
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \setunit*{\addspace}%
+ \printfield{eid}%
+}
+
+\DeclareFieldFormat[book,inbook,incollection]{booktitle}{\emph{#1}}
+
+\renewbibmacro*{publisher+location+date}{%
+ \printfield{edition}%
+ \setunit{\addcomma\space}%
+ \printlist{publisher}%
+ \setunit{\addcomma\space}%
+ \printlist{location}%
+}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \addspace
+ \printfield{title}%
+ \newunit\newblock%
+ \usebibmacro{publisher+location+date}%
+ \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
+ \usebibmacro{title}
+ \newunit\newblock
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \printfield{booktitle}\addspace%
+ \printtext[parens]{%
+ ed.~by%
+ \addspace%
+ \printnames[byeditor]{editor}%
+ \clearname{editor}%
+ }%
+ \newunit\newblock
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ .\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}%
+}
+
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.cbx b/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.cbx
new file mode 100644
index 00000000000..8aee83a4034
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ecobiblatex/ecobiblatex.cbx
@@ -0,0 +1,5 @@
+\ProvidesFile{ecobiblatex.cbx}[biblatex style for Global Ecology and Biogegraphy]
+
+\RequireCitationStyle{authoryear-comp}
+
+\endinput \ No newline at end of file