🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1607

Re: Skipping sections of input (an Answer)

#1607
From: Hosek, Donald A.
Date: Mon, 28 May 1990 06:49
36 lines
2076 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
>sections of a large document.  Of course I could just put % in front
>of every line of the section I want blocked out, but this can be a
>real pain for large sections of text.  It would be much nicer if I
>could just do something like
>    \begin {blockcomment}
>    blah...blah...blah
>    \end {blockcomment}
> Everything between the begin and end would be ignored.  Does anyone
>know how to do this or could some guru-type whip up a macro for this?

What you want is the verbatim.sty written by Rainer Schoepf. This
package, in addition to redefining the verbatim environment to
work better also adds the ability to have a comment environment
as well. The style is documented with Schoepf & Mittelbach's
self-documentation scheme and is likely to form part of the new
LaTeX so this is the verbatim mode to use.

The relevant files are in [anonymous.tex.inputs.latex-contrib]
and are:
  docstrip.tex
  docstrip.cmd-verbatim
  verbatim.doc
  verbatim.sty
  verbatim.readme
  verbtest.tex
  verbtest.tst
  doc.sty

---
Don Hosek                         "When I was younger, I would throw
dhosek@ymir.claremont.edu          spitballs at girls that I liked. Now,
dhosek@ymir.bitnet                 I beg and plead for dates. Frankly, the
uunet!jarthur!ymir                 old way was more satisfying."
Technical Details
Message-ID: <7298@jarthur.Claremont.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!bridge2!jarthur!usc!wuarchive!mit-eddie!media-lab!djs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!mips!bridge2!jarthur!usc!wuarchive!mit-eddie!media-lab!djs
From: dhosek@sif.claremont.edu (Hosek, Donald A.)
Newsgroups: comp.text.tex
Subject: Re: Skipping sections of input (an Answer)
Message-ID: <7298@jarthur.Claremont.EDU>
Date: 28 May 90 06:49:53 GMT
Sender: news@jarthur.Claremont.EDU
Reply-To: dhosek@sif.claremont.edu
Organization: Harvey Mudd College
Lines: 36