diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-04-21 20:32:20 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-04-21 20:32:20 +0000 |
commit | f45f3999601c5df722ce7074890782ee8bb59134 (patch) | |
tree | 16cff072264bad0efdf71c6220d8d8339975f287 /Master/texmf-dist/doc/latex/biocon | |
parent | abdbc0b319c8a00500136f9d4b6d7e036503399d (diff) |
biocon: pdf documentation, some files moved
git-svn-id: svn://tug.org/texlive/trunk@12781 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biocon')
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/COPYING | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/INSTALL | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/biocon.nw | 349 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/literature.bib | 43 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/manual-old.pdf | bin | 0 -> 126695 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/manual-old.tex | 77 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/manual.dvi | bin | 22552 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/manual.pdf | bin | 0 -> 144300 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/source.dvi | bin | 8864 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/biocon/source.pdf | bin | 0 -> 135415 bytes |
10 files changed, 500 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biocon/COPYING b/Master/texmf-dist/doc/latex/biocon/COPYING new file mode 100644 index 00000000000..f7437cb0a1f --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/COPYING @@ -0,0 +1,16 @@ +Biocon Package Licensing +======================== + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU Library General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place - Suite 330, Boston, MA 02111-1307, USA, or look at +http://www.gnu.org/copyleft/gpl.html. diff --git a/Master/texmf-dist/doc/latex/biocon/INSTALL b/Master/texmf-dist/doc/latex/biocon/INSTALL new file mode 100644 index 00000000000..9ab7ca1f436 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/INSTALL @@ -0,0 +1,15 @@ +Installation +============ + +The installation of LaTeX packages is quite simple, although different formats +for distributing are used. For the biocon package, only the file biocon.sty is +needed. It needs to be placed somewhere in the path where LaTeX can find it, +which depends on your system. See the TeX FAQ: +http://www.tex.ac.uk/cgi-bin/texfaq2html?keyword=install&question=94 +Then, you should "tell" LaTeX that you installed a new package. The way too do +this also depends on your system: +http://www.tex.ac.uk/cgi-bin/texfaq2html?keyword=install&question=93 + +If you want to LaTeX a document which was written using the biocon package +before august 2001, you should download the file biocon-old.sty and rename it +to biocon.sty, and then install it in the way described above. diff --git a/Master/texmf-dist/doc/latex/biocon/biocon.nw b/Master/texmf-dist/doc/latex/biocon/biocon.nw new file mode 100644 index 00000000000..7505700a78c --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/biocon.nw @@ -0,0 +1,349 @@ +\documentclass{article} +\usepackage{noweb} +\usepackage{hyperref} +\usepackage[a4paper,margin=1.5cm]{geometry} + +\newcommand{\biocon}{\texttt{biocon}} + +\title{The \biocon\ package} +\author{Pieter Edelman} + +\bibliographystyle{plain} + +\begin{document} +@ +\maketitle + +\begin{abstract} +The \biocon\ package handles the typesetting of scientific species names. There are different modes of showing these names. Multiple occurances in the same document are taken care of. +\end{abstract} +\tableofcontents +\section{The built-up of the package} +According to \cite{Goossens1994}, each package foolows a standard built-up, which is: +<<biocon.sty>>= +<<Identification part>> +<<Declaration of options>> +<<Execution of options>> +<<Package loading>> +<<Main code>> +@ +The identification part is easy. This package is designed exclusively for \LaTeXe, and it provides the \biocon\ package. +<<Identification part>>= +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{biocon}[2001/08/18] +@ +\section{The user interface} +\subsection{Brief syntax} +<<Main code>>= +<<Declarations>> +<<The user interface>> +<<Internal workings>> +@ +The \biocon\ package automates the process of typesetting biological species names. Different conventions are followed for animals, bacteria, plants and fungi (the latter two follow the same conventions). These four main groups are used in this package. The amount of information the user provides is variable, for example the user should be able to typeset the full name with genus, old genus, author etc., but also just the normal binomial name. + +Two kinds of commands are provided to reach this goal, the first is for quick-n-dirty use-only-once names. The other is a set of commands were first the species is declared, and then used throughout the document. + +The quick-n-dirty commands look like: +\begin{itemize} + \item\verb!\plantlike [!\textit{how}\verb!]{!\textit{parameters}\verb!}! + \item\verb!\funguslike[!\textit{how}\verb!]{!\textit{parameters}\verb!}! + \item\verb!\animallike[!\textit{how}\verb!]{!\textit{parameters}\verb!}! + \item\verb!\bactlike [!\textit{how}\verb!]{!\textit{parameters}\verb!}! +\end{itemize} + +The declaration commands look like: +\begin{itemize} + \item\verb!\newplant {!\textit{identifier}\verb!}{!\textit{parameters}\verb!}! + \item\verb!\newfungus{!\textit{identifier}\verb!}{!\textit{parameters}\verb!}! + \item\verb!\newanimal{!\textit{identifier}\verb!}{!\textit{parameters}\verb!}! + \item\verb!\newbact {!\textit{identifier}\verb!}{!\textit{parameters}\verb!}! +\end{itemize} + +Declarated species can be used with +\begin{itemize} + \item\verb!\plant [!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\fungus[!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\animal[!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\bact [!\textit{how}\verb!]{!\textit{identifier}\verb!}! +\end{itemize} + +In these commands, \textit{parameters} define the actual species. They can consist of genus, oldgenus, epithet, oldepithet, author, year, oldauthor, and oldyear, and follow a \verb!key=value! syntax. Furthermore, more parameters can be defined by the user. The \textit{identifier} is the identifier by which a species is recognized by the user. The commands to declare species are discussed below, while the commands to use them are discussed later. + +The declaration commands are all piped through a single command. The quick-n-dirty commands also declare a new species, but always with the same identifier. This command is the \verb!\n@wsp@cies{!\textit{type}\verb!}{!\textit{identifier}\verb!}{!\textit{parameters}\verb!}! command, where \textit{type} is P, F, A, B for plant, fungus, animal or bacterium. +\subsection{The implementation for the declaration part} +As described above, all the declaration commands are piped through a single command (the quick-n-dirty commands don't get a \textit{type} identifier, only a single identifier is needed): +<<The user interface>>= +\newcommand{\newplant}[2]{\n@wsp@cies{P}{#1}{#2}} +\newcommand{\newfungus}[2]{\n@wsp@cies{F}{#1}{#2}} +\newcommand{\newanimal}[2]{\n@wsp@cies{A}{#1}{#2}} +\newcommand{\newbact}[2]{\n@wsp@cies{B}{#1}{#2}} + +\newcommand{\plantlike}[2][] + {\n@wsp@cies{}{Q@D}{#2}\plant[#1]{Q@D}\expandafter\Q@DCleanup\Q@DCleanList+} +\newcommand{\funguslike}[2][] + {\n@wsp@cies{}{Q@D}{#2}\fungus[#1]{Q@D}\expandafter\Q@DCleanup\Q@DCleanList+} +\newcommand{\animallike}[2][] + {\n@wsp@cies{}{Q@D}{#2}\animal[#1]{Q@D}\expandafter\Q@DCleanup\Q@DCleanList+} +\newcommand{\bactlike}[2][] + {\n@wsp@cies{}{Q@D}{#2}\bact[#1]{Q@D}\expandafter\Q@DCleanup\Q@DCleanList+} +@ +\section{The internal workings} +For now, we ignore the commands to use the declared species, and instead define the internal workings of the \verb!\n@wsp@cies! command. + +Since the \verb!key=value! syntax is used, the \texttt{keyval} package is needed: +<<Package loading>>= +\RequirePackage{keyval} +@ +The \verb!\n@wsp@cies! command creates a command for all the different parameters it gets, which name is of \textit{TypeIdentifier@Parametername}, for example, if the command would be \verb!\n@wsp@cies{A}{Hs}{genus=homo,epithet=sapiens}!, it would define the commands \verb!\AHs@genus! and \verb!\AHs@epiteth!. +<<Internal workings>>= +<<The n@wsp@cies command>> +@ +<<The n@wsp@cies command>>= +\newcommand{\n@wsp@cies}[3]{% +@ +First this function determines what the first part of all the commands should be. It stores this in a parameter called \verb!\curr@ntid!. +<<Declarations>>= +\newcommand{\curr@ntid}{} +@ +<<The n@wsp@cies command>>= +\renewcommand{\curr@ntid}{#1#2@}% +@ +This command also adds a counter with name \textit{Curr@ntID}\verb!counter!, which will be used to track whether this command has been used before (0 for no, 1 for yes) (for Q@D an exception is made). +<<Declarations>>= +\newcounter{Q@D@counter} +@ +The \verb!\n@wsp@cies! command uses the \texttt{ifthen} package. +<<Package loading>>= +\RequirePackage{ifthen} +@ +<<The n@wsp@cies command>>= +\ifthenelse{\equal{#2}{Q@D}}% + {\relax}% + {\newcounter{\curr@ntid counter}}% +\setcounter{\curr@ntid counter}{0}% +@ +Then it goes forth by processing all the parameters. According to \cite{Carlisle1999}, for every key an apart function should exist. For the quick-n-dirty commands a \verb!\Q@DCleanList! command is created to which holds all the possible keys with \verb!\relax! associated. The \verb!\Q@DCleanup! commands sets these keys (this is to prevent old values from being used when a value is not given). +<<Internal workings>>= +<<The key=value functions>> +@ +<<The key=value functions>>= +\def\Q@DCleanup#1+{\n@wsp@cies{}{Q@D}{#1}} + +\newcommand{\add@species@key}[2]{% + \define@key{SpeciesParams}{#1}{#2} + \expandafter\ifx\csname Q@DCleanList\endcsname\relax% + \def\Q@DCleanList{#1=\relax}% + \else% + \edef\Q@DCleanList{\Q@DCleanList,#1=\relax}% + \fi% +} +@ +<<The n@wsp@cies command>>= +\setkeys{SpeciesParams}{#3}% +} +@ +The handler for the genus should make sure it is written capitalized. Therefore a function is made which splits the first letter of a word. It used more often in this package. +<<Declarations>>= +\newcommand{\T@mpFirst}{} +\newcommand{\T@mpRest}{} +<<The key=value functions>>= +\def\SplitG@nusL@tters(#1#2){% + \uppercase{\renewcommand{\T@mpFirst}{#1}}\lowercase{\renewcommand{\T@mpRest}{#2}}} +@ +Then the genus is processed and stored in the right way. +<<The key=value functions>>= +\add@species@key{genus}{% + \SplitG@nusL@tters(#1)% + \expandafter\edef\csname\curr@ntid genus\endcsname{\T@mpFirst\T@mpRest}% +} +@ +Of course, this also goes for the old genus. +<<The key=value functions>>= +\add@species@key{oldgenus}{% + \SplitG@nusL@tters(#1)% + \expandafter\edef\csname\curr@ntid oldgenus\endcsname{\T@mpFirst\T@mpRest}% +} +@ +The epithet and old epithet all have to be completely lowercase. +<<The key=value functions>>= +\add@species@key{epithet}{\lowercase{\expandafter\edef\csname\curr@ntid epithet\endcsname{#1}}} +\add@species@key{oldepithet}{\lowercase{\expandafter\edef\csname\curr@ntid oldepithet\endcsname{#1}}} +@ +And there are the author, old author year and the old year. +<<The key=value functions>>= +\add@species@key{author}{\expandafter\edef\csname\curr@ntid author\endcsname{#1}} +\add@species@key{year}{\expandafter\edef\csname\curr@ntid year\endcsname{#1}} +\add@species@key{oldauthor}{\expandafter\edef\csname\curr@ntid oldauthor\endcsname{#1}} +\add@species@key{oldyear}{\expandafter\edef\csname\curr@ntid oldyear\endcsname{#1}} +@ +As mentioned, the user should also be able to add own taxonomical structures. Herefore a the \verb!\newtaxon{!\textit{name}\verb!}! is used. +<<Internal workings>>= +\newcommand{\newtaxon}[1]{\add@species@key{#1}{\expandafter\edef\csname\curr@ntid #1\endcsname{##1}}} +@ +Two special keys are for the default full style and the default abbreviation. +<<The key=value functions>>= +\define@key{SpeciesParams}{fullstyle} + {\expandafter\def\csname\curr@ntid fullstyle\endcsname{\csname Sp@cies#1\endcsname}} +\define@key{SpeciesParams}{abbrstyle} + {\expandafter\def\csname\curr@ntid abbrstyle\endcsname{\csname Sp@cies#1\endcsname}} +@ +\subsection{The implementation for the use part part} +There's a lot to do with the actual showing of a species. This package was born from the the desire to automagically show \textit{Genus epithet} the first time a species was used, but us \textit{G. epithet} all subsequent times. However, sometimes an abbreviation should just be \textit{Genus}, and someimes the full name is required. Even more, writing the complete species names with subspecies and old genus stuff etc. is better left to the computer. By default, four different modes of typesetting are provided; the \textit{how} parameter specifies how the name should be typeset, this can be \textbf{e}xtended, which gives all available information, \textbf{l}ong, which gives genus and epithet, \textbf{a}bbreviated, which gives the first letter of the genus followed by the epithet, and \textbf{g}enus, which gives the genus only. It is also possible for the user to create typesetting schemes, and to set the default full name and abbreviation per species or globally. + +Let's start with the commands used to write out the names stored in \LaTeX' memory. These are accesible by the user and are already discussed: +\begin{itemize} + \item\verb!\plant [!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\fungus[!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\animal[!\textit{how}\verb!]{!\textit{identifier}\verb!}! + \item\verb!\bact [!\textit{how}\verb!]{!\textit{identifier}\verb!}! +\end{itemize} +These command use ``style'' commands to do the actual typesetting. A ``style'' command contains text and \\\verb!\taxon{!\textit{pre}\verb+!+\textit{name}\verb+!+\textit{post}\verb!}! commands. Text is shown verbatim. The \verb!\taxon! command shows the taxon \textit{name} for the current species enclosed by \textit{pre} and \textit{post} if this taxon exists. So the typesetting is done by \verb!\plant!/\verb!Fungus!/\verb!Animal!/\verb!Bact!$\rightarrow$\textit{style command}$\rightarrow$\verb!\taxon!. Besides the \verb!Taxon! command, there is a similar \verb!FirstTaxon! command, which shows only the first letter of that taxon. +<<Internal workings>>= +<<The Taxon commands>> +@ +Both the \verb!\taxon! and the \verb!\taxonfirst! command pipe through a single \verb!\Sh@wTax@n! command, which takes its argument in the form of \verb!+(!\textit{pre}\verb.!.\textit{name}\verb.!.\textit{post}\verb!)+!\textit{how}\verb!+!. The unique enclosures are needed to prevent interference with the \textit{pre} and \textit{post} from the user. \textit{how} is either \textit{n} for normal or \textit{a} for abbreviated (first letter only). +@ +<<The Taxon commands>>= +\newcommand{\taxon}[1]{\Sh@wTax@n+(#1)+n+} +\newcommand{\taxonfirst}[1]{\Sh@wTax@n+(#1)+a+} + +\def\Sh@wTax@n+(#1!#2!#3)+#4+{% +@ +\verb!\curr@ntid! is the ID of the species currently treated. This will be discussed later. +<<The Taxon commands>>= + \expandafter\ifx\csname\curr@ntid#2\endcsname% + \relax% +@ +If the taxon exist, the function checks if it should display normal, and if this is the case it should display \textit{pre}, the taxon, and \textit{post}. +<<The Taxon commands>>= + \else% + \ifthenelse{\equal{#4}{n}}{% + #1\csname\curr@ntid#2\endcsname#3% +@ +Otherwise, only the first letter should be displayed. This is done by expanding the current taxon into the macro \verb!\T@mpTax@n! which is used as argument for the lettersplitting function. +<<The Taxon commands>>= + }{% + \edef\T@mpTax@n{\csname\curr@ntid#2\endcsname}% + #1\expandafter\Sh@wFirst\T@mpTax@n+#3% + }% + \fi% +} + +\def\Sh@wFirst#1#2+{#1} +@ +New style can be created with the \verb!\newtaxastyle{!\textit{name}\verb!}{!\textit{style}\verb!}! command, where \textit{name} is an identifier for that style, and \textit{style} is, well, the style. +<<The user interface>>= +<<The newtaxastyle command>> +@ +<<The newtaxastyle command>>= +\newcommand{\newtaxastyle}[2]{\expandafter\def\csname Sp@cies#1\endcsname{#2}} +@ +It is often the case that some names should be printed in italics if the rest of the text is upright, or vice versa. Herefore the command \verb!\taxit{}! is provided, which is the same as \verb!\em! in \verb!latex.ltx!. +<<Internal workings>>= +\DeclareRobustCommand\taxitalics + {\@nomath\em \ifdim \fontdimen\@ne\font >\z@ + \upshape \else \itshape \fi} +\DeclareTextFontCommand{\taxit}{\taxitalics} +@ +Using this, the default type can be implemented. +<<Internal workings>>= +\newtaxastyle{ePlant} + {\taxit{\taxon{!genus!}\taxon{ !epithet!}}\taxon{ (!oldauthor!)}\taxon{ !author!}} +\newtaxastyle{eAnimal} + {\taxit{\taxon{!genus!}\taxon{ (!oldgenus!)}\taxon{ !epithet!}}\taxon{ (!oldauthor!}% + \taxon{, !oldyear!)}\taxon{!author!}\taxon{, !year!}} +\newtaxastyle{f} + {\taxit{\taxon{!genus!}\taxon{ !epithet!}}} +\newtaxastyle{a} + {\taxit{\taxonfirst{!genus!.}\taxon{ !epithet!}}} +\newtaxastyle{g} + {\taxit{\taxon{!genus!}}} +@ +Now the default styles can be set. +<<Declarations>>= +\newcommand{\Gl@balF@llStyle}{} +\newcommand{\Gl@bal@bbrStyle}{} +\newcommand{\Gl@balPE@llStyle}{} +\newcommand{\Gl@balFE@llStyle}{} +\newcommand{\Gl@balAE@llStyle}{} +\newcommand{\Gl@balBE@llStyle}{} +@ +<<The user interface>>= +\newcommand{\defaultplante}[1] + {\renewcommand{\Gl@balPE@llStyle}{\csname Sp@cies#1\endcsname}} +\newcommand{\defaultfunguse}[1] + {\renewcommand{\Gl@balFE@llStyle}{\csname Sp@cies#1\endcsname}} +\newcommand{\defaultanimale}[1] + {\renewcommand{\Gl@balAE@llStyle}{\csname Sp@cies#1\endcsname}} +\newcommand{\defaultbacte}[1] + {\renewcommand{\Gl@balBE@llStyle}{\csname Sp@cies#1\endcsname}} +\newcommand{\defaultfull}[1] + {\renewcommand{\Gl@balF@llStyle}{\csname Sp@cies#1\endcsname}} +\newcommand{\defaultabbr}[1] + {\renewcommand{\Gl@bal@bbrStyle}{\csname Sp@cies#1\endcsname}} +@ +<<Internal workings>>= +\defaultplante{ePlant} +\defaultfunguse{ePlant} +\defaultanimale{eAnimal} +\defaultbacte{eAnimal} +\defaultfull{f} +\defaultabbr{a} +@ +The calling commands fisrt set \verb!\curr@ntid! to the current ID (duh!). Furthermore, they have a decision tree: if no style is provided, then it is determined whether or not this is the first use in the document, and action is taken appropiately. This is all done using the \verb!\sh@wsp@cies{!\textit{type}\verb!}{!\textit{ID}\verb!}{!\textit{how}\verb!}!. +<<The user interface>>= +<<The calling commands>> +@ +<<The calling commands>>= +\newcommand{\plant}[2][]{\sh@wsp@cies{P}{#2}{#1}} +\newcommand{\fungus}[2][]{\sh@wsp@cies{F}{#2}{#1}} +\newcommand{\animal}[2][]{\sh@wsp@cies{A}{#2}{#1}} +\newcommand{\bact}[2][]{\sh@wsp@cies{B}{#2}{#1}} +@ +First, the command sets \verb!\curr@ntid! (if it's Q@D no \textit{type} should be set). +<<Internal workings>>= +<<The sh@wsp@cies command>> +@ +<<The sh@wsp@cies command>>= +\newcommand{\sh@wsp@cies}[3]{% + \ifthenelse{\equal{#2}{Q@D}}% + {\renewcommand{\curr@ntid}{#2@}}% + {\renewcommand{\curr@ntid}{#1#2@}}% +@ +Then there is checked for a provided style. +<<The sh@wsp@cies command>>= + \ifthenelse{\equal{#3}{}}{% + \ifnum\value{\curr@ntid counter}=0% +@ +If this is not the case, it is checked whether this is the first time the species is used. Of it is, for default full style is checked and used. +<<The sh@wsp@cies command>>= + \setcounter{\curr@ntid counter}{1}% + \expandafter\ifx\csname\curr@ntid fullstyle\endcsname\relax% + \csname Gl@balF@llStyle\endcsname% + \else% + \csname\curr@ntid fullstyle\endcsname % + \fi% +@ +Otherwise, the default abbreviation is checked and used. +<<The sh@wsp@cies command>>= + \else% + \expandafter\ifx\csname\curr@ntid abbrstyle\endcsname\relax% + \csname Gl@bal@bbrStyle\endcsname% + \else% + \csname\curr@ntid abbrstyle\endcsname% + \fi% + \fi% +@ +If a style is provided, use this style. If this style is ``extended'', select the appropiate style for the kingdom. +<<The sh@wsp@cies command>>= + }{% + \ifthenelse{\equal{#3}{e}}{% + \csname Gl@bal#1E@llStyle\endcsname% + }{% + \csname Sp@cies#3\endcsname% + }% + }% +} +@ +\bibliography{literature} +\end{document} diff --git a/Master/texmf-dist/doc/latex/biocon/literature.bib b/Master/texmf-dist/doc/latex/biocon/literature.bib new file mode 100644 index 00000000000..3ed48ed7779 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/literature.bib @@ -0,0 +1,43 @@ +@comment{This file has been generated by Pybliographer} + + +@Misc{Plants, + Author = {{W. Greuter} and {F. R. Barrie} and {H. M. Burdet} and + {W. G. Chaloner} and {V. Demoulin} and {D. L. + Hawksworth} and {P. M. J\o{}rgensen} and {D. H. + Nicolson} and {P. C. Silva} and {P. Trehane} and {J. + McNeill}}, + Title = {International {C}ode of {B}otanical {N}omenclature}, + Note = {\url{http://www.bgbm.fu-berlin.de/iapt/nomenclature/code/tokyo-e/default.htm}}, + year = 1993, + month = aug, +} + +@Book{Goossens1994, + Author = {Goossens, Michel and Samarin, Alexander and + Mittelbach, Frank}, + Title = {The {\LaTeX} comapanion}, + Publisher = {Addison-Wesley}, + year = 1994, +} + +@Manual{Carlisle1999, + Title = {The keyval package}, + Author = {Carlisle, David}, + year = 1999, + month = {16 } # mar, +} + +@Misc{Bacteria, + Author = {{P.H.A. Sneath}}, + Title = {International {C}ode of {N}omenclature of {B}acteria}, + year = 1992, +} + +@Misc{Animals, + Title = {International {C}ode of {Z}oological {N}omenclature}, + Note = {\url{http://www.iczn.org/code.htm}}, + year = 1999, + month = aug, +} + diff --git a/Master/texmf-dist/doc/latex/biocon/manual-old.pdf b/Master/texmf-dist/doc/latex/biocon/manual-old.pdf Binary files differnew file mode 100644 index 00000000000..9167d07895d --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/manual-old.pdf 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 Binary files differdeleted file mode 100644 index df564e1c54b..00000000000 --- a/Master/texmf-dist/doc/latex/biocon/manual.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/biocon/manual.pdf b/Master/texmf-dist/doc/latex/biocon/manual.pdf Binary files differnew file mode 100644 index 00000000000..4ffc95743ec --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/manual.pdf diff --git a/Master/texmf-dist/doc/latex/biocon/source.dvi b/Master/texmf-dist/doc/latex/biocon/source.dvi Binary files differdeleted file mode 100644 index 28c4dc0c8e0..00000000000 --- a/Master/texmf-dist/doc/latex/biocon/source.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/biocon/source.pdf b/Master/texmf-dist/doc/latex/biocon/source.pdf Binary files differnew file mode 100644 index 00000000000..d859466ce0f --- /dev/null +++ b/Master/texmf-dist/doc/latex/biocon/source.pdf |