🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1523

Re: Ignoring text in LaTeX

#1523
From: Fred Douglis
Date: Wed, 11 Apr 1990 05:49
25 lines
1093 bytes
I got this from Ed Wang a while ago...  works for me.

Fred

% comment.sty
% 25-Oct-89
% By Ed -- modified from verbatim in /usr/loca/lib/tex82/latex.tex

% \begin{comment}
% \end{comment}

\makeatletter

\begingroup \catcode `|=0 \catcode `[= 1
\catcode`]=2 \catcode `\{=12 \catcode `\}=12
\catcode`\\=12 |gdef|@xcomment#1\end{comment}[|end[comment]]
|endgroup

\def\@comment{\let\do\@makeother \dospecials\catcode`\^^M=10\def\par{}}

\def\begincomment{\@comment\@xcomment}

\makeatother

\newenvironment{comment}{\begincomment}{}
Technical Details
Message-ID: <23890@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!kvetching.Berkeley.EDU!douglis
References: <7147@cps3xx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!kvetching.Berkeley.EDU!douglis
From: douglis@kvetching.Berkeley.EDU (Fred Douglis)
Newsgroups: comp.text.tex
Subject: Re: Ignoring text in LaTeX
Keywords: LaTeX, comments, styles
Message-ID: <23890@pasteur.Berkeley.EDU>
Date: 11 Apr 90 05:49:06 GMT
References: <7147@cps3xx.UUCP>
Sender: news@pasteur.Berkeley.EDU
Reply-To: douglis@kvetching.Berkeley.EDU (Fred Douglis)
Organization: U.C. Berkeley Sprite Project
Lines: 25