% Date: Wed, 30 Mar 94 09:50:27 CST
% From: dorai@cs.rice.edu (Dorai Sitaram)
% To: karl@cs.umb.edu
% Subject: eplain 2.4's \verbatim: problem & fix

\input eplain

Testing Eplain's \verbatim verbatim|endverbatim

\def\junk{{\it Some obviously $a^2+b^2$ non-verbatim stuff}}

\bigskip\bigskip

First let's test if the default | works

\verbatim
verbatim starts
Some special chars:
  !@#$%^&*()_+
Now test if doubling works:
  This line ends with a single ||
Now test if I can use || to get non-verbatim stuff:
  \junk
verbatim ends
|endverbatim

\bigskip\bigskip

Now let's try the same with escape set to \#.
\verbatimescapechar\#

\verbatim
verbatim starts
Some special chars:
  !@$%^&*()_+
Now test if doubling works:
  This line ends with a single ##
Now test if I can use ## to get non-verbatim stuff:
  #junk
verbatim ends
#endverbatim

\bigskip\bigskip

Now with @.
\verbatimescapechar\@

\verbatim
verbatim starts
Some special chars:
  !#$%^&*()_+
Now test if doubling works:
  This line ends with a single @@
Now test if I can use @@ to get non-verbatim stuff:
  @junk
verbatim ends
@endverbatim

\bye
