[project @ 1997-09-24 16:06:34 by simonm]
authorsimonm <unknown>
Wed, 24 Sep 1997 16:06:34 +0000 (16:06 +0000)
committersimonm <unknown>
Wed, 24 Sep 1997 16:06:34 +0000 (16:06 +0000)
couple of minor patches to verbatim from Simon P.J.'s copy.

glafp-utils/verbatim/verbatim.lex

index bafcfab..bac87cc 100644 (file)
@@ -42,9 +42,9 @@ miranda                       ([0-9]+(\-([0-9]+)?)?)?>
 <VERB>\{               { printf ("{\\char'173}"); }
 <VERB>\}               { printf ("{\\char'175}"); }
 
-<NORM>^@\n             { printf( "\\begin{verbatim}\n" ); 
+<NORM>^@{sp}\n         { printf( "\\begin{verbatim}\n" ); 
                          PUSH NORM; BEGIN VERBATIMSIM; }
-<VERBATIMSIM>^@\n      { printf( "\\end{verbatim}\n" ); POP; }
+<VERBATIMSIM>^@{sp}\n  { printf( "\\end{verbatim}\n" ); POP; }
 
 <NORM>\\"begin{verbatim}"      { printf( "\\begin{verbatim}" ); 
                                  PUSH NORM; BEGIN VERBATIM; }