[comp.text.tex] UPLOAD: version.sty--LaTeX macros for excluding or including portions

DHOSEK@HMCVAX.CLAREMONT.EDU (Don Hosek) (05/23/91)

version.sty has been installed on ymir.claremont.edu in
[anonymous.tex.inputs.latex-contrib]. The following is from the documentation:

% Version control macros. These let you define environments whose contents
% will be optionally added to or deleted from the text when you run LaTeX.
% Usage: place either of the following near the start of your file:
%     \includeversion{NAME}
%     \excludeversion{NAME}
% Here, "NAME" is any name you choose. The first one indicates that text
% between \begin{NAME} and \end{NAME} will be processed in the normal way.
% The second indicates that text between \begin{NAME} and \end{NAME} will
% be totally deleted.
% You can define environments for as many versions as you want.
% A ``comment'' environment has already been pre-defined for you with
% \excludeversion{comment}; you can override this using \includeversion.
%
% Example:
%   \includeversion{abridged}\excludeversion{unabridged}
%   Text for the
%   \begin{abridged}
%      short
%   \end{abridged}
%   \begin{unabridged}
%      long and really longwinded, opaque and boring
%   \end{unabridged}
%   version of the paper. Punctuation works correctly\begin{unabridged}
%   because sphack is used\end{unabridged}.
%   \begin{comment} This is deleted by default. \end{comment}

The macros are attributed to Stephen Bellanton and were posted to
comp.text.tex on 12 May 1991.

-dh

Don Hosek                  | To retrieve files from ymir via the mailserver,
dhosek@ymir.claremont.edu  | send a message to mailserv@ymir.claremont.edu
Quixote Digital Typography | with a line saying send [DIRECTORY]FILENAME
714-625-0147               | where DIRECTORY is the FTP directory (sans
---------------------------+ "anonymous") and FILENAME is the filename, e.g.
"send [tex]00readme.txt". There is a list of files in each directory under the
name 00files.txt. Binary files are not available by this technique.