lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting @Verbatim text


From: Jeff Kingston
Subject: Re: Formatting @Verbatim text
Date: Tue, 04 Jun 2002 09:26:45 +1000

What you ask for is not possible, because it amounts to placing an
unmatched brace ({ or }, or the equivalent @Begin and @End form), in
a definition.  Why not add your code format to prg2lout, if it's not
there already?  It's intended for just this kind of thing.

Jeff

On Mon, 3 Jun 2002 13:26:23 +0100, Mark Summerfield wrote:
  > 
  > I produce documents that include lots of code quotes, but which don't
  > (yet) use syntax colouring. Because I want all the code to have the same
  > format I have a macro, @Code that sets the font, so all my code snippets
  > look like this:
  > 
  > ...
  > @ID @Code @Verbatim @Begin
  > // code goes here
  > @End @Verbatim
  > ...
  > 
  > 
  > This is quite tedious to write every time. I'd really like to create a
  > pair of definitions, @Code and @EndCode, so that I can write:
  > 
  > @Code
  > // code goes here
  > @EndCode
  > 
  > 
  > Unfortunately, I think that this isn't possible -- or can someone
  > enlighten me?
  > 
  > Thanks.
  > 
  > -- 
  > Mark.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]