Article View: comp.text.tex
Article #1612Re: Skipping sections of input
From: Denys Duchier
Date: Mon, 28 May 1990 15:36
Date: Mon, 28 May 1990 15:36
19 lines
1009 bytes
1009 bytes
It is truly remarkable how many times I have answered this question in
the recent past. Anyway, here goes again:
{\catcode`\{= 12 \catcode`\}= 12 \catcode`\@=11
\catcode`\[=1 \catcode`]=2
\catcode`\|=0 \catcode`\\=12
|global|long|def|@comment#1\end{comment}[|end[comment]]
|global|def|comment[|let|do|@makeother|dospecials|@comment]]
Use it as follows:
\begin{comment}
...
\end{comment}
no nesting, sorry!
--Denys
Technical Details
Message-ID:
<DUCHIER.90May28113604@albania.cs.yale.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!think!yale!quasi-eli!cs.yale.edu!newsbase!duchierReferences:
<2544@media-lab.MEDIA.MIT.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!think!yale!quasi-eli!cs.yale.edu!newsbase!duchier From: duchier@cs.yale.edu (Denys Duchier) Newsgroups: comp.text.tex Subject: Re: Skipping sections of input Message-ID: <DUCHIER.90May28113604@albania.cs.yale.edu> Date: 28 May 90 15:36:04 GMT References: <2544@media-lab.MEDIA.MIT.EDU> Sender: news@cs.yale.edu Reply-To: duchier-denys@cs.yale.edu Organization: Computer Science, Yale University, New Haven, CT 06520-2158 Lines: 19 In-reply-to: djs@media-lab.MEDIA.MIT.EDU's message of 28 May 90 04:01:54 GMT