🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1820

Need help to fix my macro

#1820
From: Jesse Lee
Date: Fri, 28 Aug 1992 17:34
18 lines
846 bytes
Hello. Somehow I must have made a mistake in the following latex macro:

\def\content#1\endcontent{\def\@content{#1}}
\def\endcontent{}

When I use the above macro in a LaTeX file like this

\begin{content}
bla bla bla
\end{content}

I get an error saying something reach the end of file while scanning
the use of content or something like that.

What mistake do I make and how to correct it?

Jesse Lee
jesse@cs.ualberta.ca
Technical Details
Message-ID: <jesse.715023240@square-crk>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!ubc-cs!alberta!jesse

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!ubc-cs!alberta!jesse
From: jesse@cs.UAlberta.CA (Jesse Lee)
Subject: Need help to fix my macro
Message-ID: <jesse.715023240@square-crk>
Sender: news@cs.UAlberta.CA (News Administrator)
Nntp-Posting-Host: square-crk.cs.ualberta.ca
Organization: University of Alberta, Edmonton, Canada
Date: Fri, 28 Aug 1992 17:34:00 GMT
Lines: 18