CTAN Comprehensive TeX Archive Network

CTAN update: version.sty

Date: September 16, 2009 10:01:10 AM CEST
Donald Arseneau <asnd at triumf.ca> wrote: > I just rewrote version.sty as I see fit and uploaded it > to UK. thanks; i've installed the new version of version (aargh), and updated the catalogue entry. > You guys can decide whether to have the existing versions.sty > or this rewrite to take over the slot for version.sty. i don't make public quality judgements in my ctan work ;-) (i leave that for the faq...) > License: permissive free (very short MIT/X11/BSD style) interpreted (as is standard, now) as "other-free". > Here are the (end)notes on the new "version". > > % Donald Arseneau produced this version because Stephen Bellantoni had no > % permissions explicitly stated in his version. DA has tried to remain > % compatible but has indulged in "upgrades" (bloat) which might not be > % proper. > % > % Although the code is entirely rewritten, there are a few principal > % differences with version 2: > % > % Verbatim catcoding of braces (to scan over unbalanced braces) is > % still applied, but is not required to be effective: the \end{NAME} > % will be detected whether the catcode changes are effective or not. > % > % Verbatim catcode for & is set to allow skipping rows of a tabular. > % > % Definitions of existing environments are now retained by \includeversion, > % unless the existing definition is the one made by \excludeversion. > % > % Added optional argument for \excludeversion for a textual tag to > % replace the excluded content. users may view the package catalogue entry at http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/version.html or the package itself at http://www.tex.ac.uk/tex-archive/macros/latex/contrib/misc/version.sty the catalogue entry will be slightly changed, in a moment, at some stage overnight Robin Fairbairns For the CTAN team

version – Conditionally include text

Defines macros \includeversion{NAME} and \excludeversion{NAME}, each of which defines an environment NAME whose text is to be included or excluded from compilation.

Although the command syntax is very similar to that of comment, comment.sty is to be preferred to version.sty for documents where significant chunks of text may be excluded.

Packageversion
Version2.0
MaintainerDonald Arseneau
Stephen Bellantoni

Announcements

more

Guest Book Sitemap Contact Contact Author