:comment a block 

> Hi, I'd like to comment a whole block of text in a tex file.
> The '%' only work for a single line.  How to it for multilines,
> whithout placing a % in front of each line?

you could make the text into a command

\newcommand{\dumpa}{
omit omit omit omit
}

Now to actually see this, you must say \dumpa

If you don't say \dumpa, you don't see it.

:comment a block 

I define

\newcommand{\empty}[1]{}

and then use it as follows:

\empty{
text text text text text text text text text text
text text text text text text text text text text
text text text text text text text text text text
text text text text text text text text text text
}

Works only when you don't have to use it a lot :-) Otherwise, use \includeonly

Herman.Bruyninckx

:comment a block 

\usepackage{comment}   % from CTAN
...
\begin{comment}
...  Nothing here will be typeset
\end{comment}

Peter W.

:comment a block 

If you are using LaTeX then you can use the verbatim package and then use

\begin{comment}
\end{comment}

(But they can't be nested).

Jeffrey Goldberg

documented on: 2000.11.25 Sat 16:22:12