[comp.text.tex] Comments for latex

pys@info.ucl.ac.be (Pierre-Yves Schobbens) (06/26/91)

Does anybody have a macro for producing macros for commenting out text?
I would like e.g. a macro
\newcomment#1
such that using \newcomment{proof}
will make all text between \begin{proof} .. \end{proof}
disappear from the output of TeX -- knowing
that this can be a very large piece of text. 

I know some macros for just commenting, but I don't know
how to generalize them to comment out any environment at will.

Many thanks in advance,
------------------------------------------------------------------------
Pierre-Yves Schobbens

Unite d'Informatique			eMail:	schobbens@info.ucl.ac.be
Universite Catholique de Louvain	Phone:	+32 10 47 24 15
Place Sainte-Barbe, 2			Telex:	59037 ucl b
B-1348	Louvain-La-Neuve		Fax:	+32 10 45 03 45
------------------------------------------------------------------------