Hi,

I want to typeset a BNF with Scheme-like syntax highlighting.

eg:

@racketblock[
<list> ::= '()
         | (cons <val> <list>)
]

except that the pipe `|' causes problem. I figured out that I can do the above 
with @verbatim|{...}| but then I lose the syntax highlighting ('() as a value, 
brown parentheses). 

Is there a way to have the pipe printed?
(or to bring back the syntax highlighting within verbatim block)

Thanks,

-- Éric



_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to