package the right way?



Hello,

I've been a user of LaTeX for many years and am looking at doing
something a bit more structured than I have in the past and want to
see if I'm thinking about things correctly.

I'm compiling a bunch of notes I have on various plants. For each
species, I'll have things listed like scientific name, common name(s),
leaf type, leaf shape, etc. I hope to grow the # of species to a
moderately large number over several years but want to maintain
consistent formatting.

So, is the right approach here to create a new package, say "plants"
and for each chapter or section in my notes I'd have something like:

\begin{species}{Acer negundo}

% list of common names
\cname{boxelder}
\cname{ashleaf maple}
\cname{Manitoba maple}

% list of identifying attributes. Not all may be listed
\leaftype{pinnately compound}
\leafmargin{lobed}
\leafscar{.....}
\stipularscar{....}
\description{\species\ is a species of maple native to North
America. More detailed description here}

\end{species}


Then my species package would spit out all the information in the
order and formatting I want.

Is this the "right" way or best practices way to go about this (write
a package and define a new environment to let me identify data as
being of a particular type)? If not, is there a better way? Any good
pointers to a nice "starter" package to look at to learn from?

My goal is to spend time on compiling the information and not a lot of
time reformatting things manually to maintain consistency.

Thanks
-Dan
.



Relevant Pages

  • Re: package the right way?
    ... I'm compiling a bunch of notes I have on various plants. ... species, I'll have things listed like scientific name, common name, ... So, is the right approach here to create a new package, say "plants" ... you're following this sort of markup strictly then just about anything ...
    (comp.text.tex)
  • Re: List of System Algebraic Packages ??
    ... MATLAB, MAPLE II, etc. ... Probably, you won't have to learn python at all, just install it. ... because sage is new & free and the others are not?? ... "sage" sounds like a good package, ...
    (sci.math.num-analysis)
  • Re: The old "Galactic Federation" meme
    ... An understanding of science and mathematics. ... An interest in avoiding "existential risks" to the entire species. ... The Package contains everything from an axiomatic physics completely ... templates for likely medical breakthroughs in common body plans ...
    (rec.arts.sf.science)
  • Re: Visualizing a curved space
    ... They are the Tensorial 4.0 package for tensor calculus and the DrawGraphics package for making diagrams and animations. ... alternative approach which will probably be more convenient and will certainly be significantly cheaper, at least for readers who are registered university students or who already own Mathematica or Maple. ... I am not affiliated in any way with the GRTensorII team, BTW, but I have used this software extensively and know that it is convenient and very easy to learn and use. ...
    (sci.physics.research)
  • Re: Anglo-Saxon Plant-Name Survey
    ... it is not an native species ... Nut tree ... mapultreow (maple) and sicomorus/sycomer ... are Heord and Hlin additional names or other ...
    (soc.history.medieval)