🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1660

Re: Skipping sections of input

#1660
From: sommer
Date: Fri, 01 Jun 1990 09:56
17 lines
1209 bytes
In article <2544@media-lab.MEDIA.MIT.EDU>
djs@media-lab.MEDIA.MIT.EDU (David J. Sturman) writes: 
>I'm looking for a way to block out large portions of input from a
>Latex document.  This is so I can prevent the printing out of selected
.......

A while back, someone (my apologies to the forgotten originator)
posted the following simple LaTeX solution that even I could
understand and I've used it without problems (so far), even on
very large blocks of text and code. It works on text containing
\footnote's and it works inside \footnote's. I think I've
\comment'ed out text containing {list}'s, too. 
...
\newcommand{\comment}[1]{}
...
This is visible text. \comment{Everything between the braces is
commented out.} And so on. 
Technical Details
Message-ID: <0093788C.588174A0@BINAH.CC.BRANDEIS.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!mintaka!chaos.cs.brandeis.edu!SOMMER@BINAH.CC.BRANDEIS.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!mintaka!chaos.cs.brandeis.edu!SOMMER@BINAH.CC.BRANDEIS.EDU
From: sommer@BINAH.CC.BRANDEIS.EDU
Newsgroups: comp.text.tex
Subject: Re: Skipping sections of input
Message-ID: <0093788C.588174A0@BINAH.CC.BRANDEIS.EDU>
Date: 1 Jun 90 09:56:15 GMT
Sender: @chaos.cs.brandeis.edu
Reply-To: sommer@BINAH.CC.BRANDEIS.EDU
Organization: Brandeis University
Lines: 17