summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/biocon/COPYING (renamed from Master/texmf-dist/source/latex/biocon/COPYING)0
-rw-r--r--Master/texmf-dist/doc/latex/biocon/INSTALL (renamed from Master/texmf-dist/source/latex/biocon/INSTALL)0
-rw-r--r--Master/texmf-dist/doc/latex/biocon/biocon.nw (renamed from Master/texmf-dist/source/latex/biocon/biocon.nw)0
-rw-r--r--Master/texmf-dist/doc/latex/biocon/literature.bib (renamed from Master/texmf-dist/bibtex/bib/biocon/literature.bib)0
-rw-r--r--Master/texmf-dist/doc/latex/biocon/manual-old.pdfbin0 -> 126695 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biocon/manual-old.tex77
-rw-r--r--Master/texmf-dist/doc/latex/biocon/manual.dvibin22552 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biocon/manual.pdfbin0 -> 144300 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biocon/source.dvibin8864 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biocon/source.pdfbin0 -> 135415 bytes
-rw-r--r--Master/texmf-dist/tex/latex/biocon/biocon-old.sty125
11 files changed, 202 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/biocon/COPYING b/Master/texmf-dist/doc/latex/biocon/COPYING
index f7437cb0a1f..f7437cb0a1f 100644
--- a/Master/texmf-dist/source/latex/biocon/COPYING
+++ b/Master/texmf-dist/doc/latex/biocon/COPYING
diff --git a/Master/texmf-dist/source/latex/biocon/INSTALL b/Master/texmf-dist/doc/latex/biocon/INSTALL
index 9ab7ca1f436..9ab7ca1f436 100644
--- a/Master/texmf-dist/source/latex/biocon/INSTALL
+++ b/Master/texmf-dist/doc/latex/biocon/INSTALL
diff --git a/Master/texmf-dist/source/latex/biocon/biocon.nw b/Master/texmf-dist/doc/latex/biocon/biocon.nw
index 7505700a78c..7505700a78c 100644
--- a/Master/texmf-dist/source/latex/biocon/biocon.nw
+++ b/Master/texmf-dist/doc/latex/biocon/biocon.nw
diff --git a/Master/texmf-dist/bibtex/bib/biocon/literature.bib b/Master/texmf-dist/doc/latex/biocon/literature.bib
index 3ed48ed7779..3ed48ed7779 100644
--- a/Master/texmf-dist/bibtex/bib/biocon/literature.bib
+++ b/Master/texmf-dist/doc/latex/biocon/literature.bib
diff --git a/Master/texmf-dist/doc/latex/biocon/manual-old.pdf b/Master/texmf-dist/doc/latex/biocon/manual-old.pdf
new file mode 100644
index 00000000000..9167d07895d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biocon/manual-old.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biocon/manual-old.tex b/Master/texmf-dist/doc/latex/biocon/manual-old.tex
new file mode 100644
index 00000000000..5310ea6ab3a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biocon/manual-old.tex
@@ -0,0 +1,77 @@
+\documentclass[a4paper]{article}
+\bibliographystyle{apalike}
+
+\usepackage{biocon}
+\newanimal{Homo sapiens}{}
+\newplant{Arabidopsis thaliana}{}
+
+\newcommand{\biocon}{{\tt biocon.sty}}
+
+\title{The \biocon\ package}
+\author{Pieter Edelman}
+
+\begin{document}
+ \maketitle
+
+ \begin{abstract}
+ \emph{Warning: this documentation is in an early state. Though usable, it is not very good at the moment.}
+ The \biocon\ package attempts to automate the typesetting of biological entities. At the moment only species typesetting is done (very basic at the moment). Section \ref{secSpeciesIntro} handles with the conventions on species typesetting, and how this package may help, while section \ref{secSpeciesCommands} handles the commands to properly typeset species.
+ \end{abstract}
+
+ \tableofcontents
+
+ \section{Introduction}
+ As a biologist (to-be, that is), I often have to write papers in which species are used. To write the scientific name of a species follows a strict convention, which can tell you a lot about the species (``can'', not ``will''). So it is very important that such a name is typeset correctly (and of course it is nice). That is why I am writing the \biocon---biological conventions---package.
+
+ I believe that the use macro's has some advantages. First of all, it can save a lot of typing (``can'', not ``will''). Second, you are sure every instance is typeset correctly.
+
+ Currently, the \biocon\ package does not follow all the conventions, but the basics are there. Besides species, also genes and their associated products should be typeset, and maybe even more.
+ %end{Introduction}
+
+ \section{Typesetting species}
+ \subsection{On species conventions}\label{secSpeciesIntro}
+ \emph{Note: knowledge of this section is not required for using the package and can be skipped.}
+
+ Typesetting biological species follows strict rules, laid down in \cite{ICBN} There is quite some discrepancy between typesetting of different kingdoms\footnote{``Kingdom'' is the lowest biosystematic branche existing. Although arbitary, the kingdoms exist of the Bacteria, Fungi, Planta and Animalia}, but there is one common factor, which is the basic species.
+
+ Species names are \emph{always} built up of the name of the genus\footnote{``Genus'' is the taxonomical branch direct between the species} and is followed by the species-specific epiteton (often referred to as species name, which is, strictly spoken wrong, because the species name is the full construction described here). This is followed by the abbreviatiated name of the person who first described the species.
+
+ For example, our own species, the human, has the scientific name ... In this, \emph{Homo} is the genus, \emph{sapiens} is the epiteton, and ... is the author.
+
+ But that's not all folks. The first letter of the genus is always capitalized, while the rest is in lowercase. The epiteton is in lowercase only. This construction should be {\it italic}, but the author not.
+
+ So, is that all folks?---No, of course it is not. In biological papers, it is not really nice to read the full name of a species, not even if the author is omitted. Instead, an abbreviated form is prefferd, consisting either of the first letter of the genus followed by the epiteton, or just the genus. And, of course, depending on the nature of the paper, somewhere the full name has to be used.
+
+ Got it all? If ``no'', that's ok, because the \biocon\ package is here (this does not mean the package is useless if you got it). This package will help you with typesetting the species properly.
+ %end{On species conventions}
+ \subsection{The commands}\label{secSpeciesCommands}
+ \subsubsection{Setting parameters}
+ \begin{description}
+ \item{{\tt $\backslash$newbacterium[Abbr]\{Genus epiton\}\{Author\}}, {{\tt $\backslash$newfungus[Abbr]\{Genus epiton\}\{Author\}}}, {{\tt $\backslash$newplant[Abbr]\{Genus epiton\}\{Author\}}}, {{\tt $\backslash$newanimal[Abbr]\{Genus epiton\}\{Author\}}}}\\
+ These commands are used to create new species names. Although a bit arbritary, four different classes of species are distinguished. This is because typesetting of these can differ.
+
+ Every species of course has a genus and epiteton, and these have to be given as the first mandatory argument. If the case is not correct, the \biocon\ package automatically corrects this. If the epiteton is not known, or if more members of af a genus are targeted, fill in respectively ``sp.'' and ``spp.'' for the genus. \emph{Don't forget the ``.''{!}}
+
+ The second mandatory argument is the author who first described the species. This field may be left blank if it is not going to be used (just write ``{\tt\{\}}'').
+
+ Every species of a given group has an unique identifier, by which the user can refer to it. By default, the capitalized first letter of the genus followed by the lowercase first letter of the epiteton is chosen (e.g. for \animal{Hs} this becomes ``Hs''). The optional argument speciefies another name. Please note that an identifier only has to be unique within a group, so a bacterium with the identifier ``Hs'' may exist besides an animal with the identifier ``Hs''.
+
+ \item{{\tt $\backslash$setabbreviation\{s|g\}}}\\
+ This command specifies how a species name is abbreviated. If ``{\tt s}'' (standard) is chosen (which is the default), a species name is abbreviated to G.~epiteton (e.g. \plant[ad]{At}). Otherwise if ``{\tt g}'' (genus) is chosen, then the genus name is used as abbreviation (e.g. \plant[gd]{At}).
+ \end{description}
+ %End{Setting parameters}
+ \subsubsection{Using parameters}
+ \begin{description}
+ \item{{\tt $\backslash$bacterium[a|g|l|e(d)]\{Abbr\}}, {\tt $\backslash$fungus[a|g|l|e(d)]\{Abbr\}}, {\tt $\backslash$plant[a|g|l|e(d)]\{Abbr\}}, {\tt $\backslash$animal[a|g|l|e(d)]\{Abbr\}}}\\
+ This command is used to actually display a species name. In its simplest form, just the identifier is given. It then depends on the situation what output is given; if a species name is used the first time in the document, the full name (Genus epiteton). If it is used for the second time or more, it is abbreviated according to how it is specified with {\tt $\backslash$setabbreviation}.
+
+ However, with the optional arguments, other modes can be forced. ``{\tt a}'' stands for ``abbreviated''. When this option is invoked, a name is always abbreviated to the abbreviation defined with {\tt $\backslash$setabbreviation}. ``{\tt g}'' stand for ``genus'' and with this option, only the genus name is displayed. When ``{\tt s}'' is used the name is abbreviated in the standard way (G. epiteton). With ``{\tt l}'' which stands for ``long'', the full name (Genus epiteton) can be forced. And with ``{\tt e}'' for ``extended'', the complete name inclusive author can be specified.
+ \end{description}
+ %end{Using parameters}
+ %end{The commands}
+ %end{Typesetting species}
+
+ \bibliography{Bibliography}
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/biocon/manual.dvi b/Master/texmf-dist/doc/latex/biocon/manual.dvi
deleted file mode 100644
index df564e1c54b..00000000000
--- a/Master/texmf-dist/doc/latex/biocon/manual.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biocon/manual.pdf b/Master/texmf-dist/doc/latex/biocon/manual.pdf
new file mode 100644
index 00000000000..4ffc95743ec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biocon/manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biocon/source.dvi b/Master/texmf-dist/doc/latex/biocon/source.dvi
deleted file mode 100644
index 28c4dc0c8e0..00000000000
--- a/Master/texmf-dist/doc/latex/biocon/source.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biocon/source.pdf b/Master/texmf-dist/doc/latex/biocon/source.pdf
new file mode 100644
index 00000000000..d859466ce0f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biocon/source.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/biocon/biocon-old.sty b/Master/texmf-dist/tex/latex/biocon/biocon-old.sty
new file mode 100644
index 00000000000..09f5a811b24
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biocon/biocon-old.sty
@@ -0,0 +1,125 @@
+%BioCon.sty: Biological Conventions.
+%
+%This package tries to automatically typeset some biological entities. Currently (v0.04), only
+%species are supported, but plans are to include genes and their products (and maybe even more).
+%
+%Although, it is not a real convention, this package gives the full name of a species the first
+%time it is used in a document. After that, it uses the abbreviated form consisting of the
+%first letter of the genus followed by the epiteton.
+%The species name is written emphasized.
+%
+%The workings of this package are fairly simple. To introduce a new species, use the
+%\newspecies[optional identifier]{Genus epiteton} command. If no identifier is given, the first
+%letter of the genus in capital followed by the first letter of the epiteton in lowercase are used.
+%For example, to introduce Drosophilla melanogaster, type \newspecies[Dros]{Drosophilla melanogaster}
+%or \newspecies{Drosophila melanogaster}.
+%Then, every time you want to use this species, type \species{Abbreviation}. In the above
+%example this would be \species{Dm}.
+%
+%Of course, long or short names can be forced. This is done through an optional parameter.
+%This can be "n" for normal, "l" for long, and "s" for short. Furthermore, the type it was about
+%to use by appending a "d" (for "delay") to this.
+%
+%In the above example, suppose you want to use the full name in the title, and then the first
+%time it occurs in the text. In the last sentence, the full name has also to be used:
+%\title{The HOX-genes of \species[ld]{Dm}} ([nd] can also be used)
+%....
+%....
+%As a conclusion: Time flies like an arrow and fruit flies like a banana, and so does
+%\species[l]{Dm}.
+%
+%This package is written by Pieter Edelman (PEdelman@dds.nl). Please send me any comments,
+%requests and/or suggestions.
+%
+%This package is released under the GNU General Public License.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{biocon}[2000/08/11 Typesets Biological Statements, v.0.04 (stable)]
+
+%global defs:
+\newcounter{Option}
+\newcommand\ShowHow{n}
+\newcommand\Short{s}
+\newcommand\Long{l}
+\newcommand\Normal{n}
+\newcommand\LongDelay{ld}
+\newcommand\ShortDelay{sd}
+\newcommand\NormalDelay{nd}
+\newcommand\isEmpty{}
+
+%These are used to store intermediate variables:
+\newcommand\GenusFirst{}
+\newcommand\Genus{}
+\newcommand\EpitetonFirst{}
+\newcommand\Epiteton{}
+\newcommand\AbName{}
+\newcommand\useDefault{}
+
+%These define how a long and a short name should look like.
+\newcommand\FullName[1]{\csname#1Genus\endcsname\ \csname#1Epiteton\endcsname}
+\newcommand\ShortName[1]{\csname#1GenusFirst\endcsname. \csname#1Epiteton\endcsname}
+
+\def\setSpeciesParams(#1#2 #3#4){% This sets the various variables using their intermediates.
+ \uppercase{\renewcommand{\GenusFirst}{#1}}%
+ \lowercase{\renewcommand{\EpitetonFirst}{#3}}%
+ \renewcommand{\Genus}{\uppercase{#1}\lowercase{#2}}%
+ \lowercase{\renewcommand{\Epiteton}{#3#4}}%
+}
+
+\newcommand{\newspecies}[2][]{%
+ \setSpeciesParams(#2)%
+ \renewcommand{\useDefault}{#1}%
+ \ifx \useDefault\isEmpty% Find out if abbreviation is provided.
+ \renewcommand{\AbName}{\GenusFirst\EpitetonFirst}%
+ \else%
+ \renewcommand{\AbName}{#1}%
+ \fi%
+ \expandafter\newcounter\expandafter{\AbName}% Set new counter using the abbreviated name
+ \expandafter\let\csname\AbName GenusFirst\endcsname=\GenusFirst% Set intermediates to real values
+ \expandafter\let\csname\AbName Genus\endcsname=\Genus%
+ \expandafter\let\csname\AbName Epiteton\endcsname=\Epiteton%
+}
+
+\newcommand{\LineInput}[1]{%
+ \renewcommand\ShowHow{#1}%
+ \ifx\ShowHow\Short%
+ \setcounter{Option}{1}%
+ \fi%
+ \ifx\ShowHow\Long%
+ \setcounter{Option}{3}%
+ \fi%
+ \ifx\ShowHow\Normal%
+ \setcounter{Option}{5}%
+ \fi%
+ \ifx\ShowHow\ShortDelay%
+ \setcounter{Option}{0}%
+ \fi%
+ \ifx\ShowHow\LongDelay%
+ \setcounter{Option}{2}%
+ \fi%
+ \ifx\ShowHow\NormalDelay%
+ \setcounter{Option}{4}%
+ \fi%
+}
+
+\newcommand{\species}[2][n]{%
+ \LineInput{#1}%
+ %
+ \ifnum\value{Option}>3% If name is normal
+ \ifnum\value{#2}=0% If name is used for the first time
+ \emph{\FullName{#2}}%
+ \else% If name is used for another time
+ \emph{\ShortName{#2}}%
+ \fi%
+ \else%
+ \ifnum\value{Option}<2% If name is short
+ \emph{\ShortName{#2}}%
+ \else% If name is long
+ \emph{\FullName{#2}}%
+ \fi%
+ \fi%
+ %
+ \ifodd\value{Option}%
+ \stepcounter{#2}%
+ \fi%
+}