A `@para{ ... @verbatim[]}' doesn't work because `verbatim' generates a
block, which is at the same level as a paragraph and cannot appear
within a paragraph.
Using `begin' works at the top level, since it splices the two blocks
into the top-level flow. Using `list' would work more generally, such
This hack works for now:
@(define-syntax-rule (my-example stuff)
(begin
@para{An example}
(verbatim stuff)))
On 11/23/2011 12:26 PM, Jon Rafkind wrote:
I want to write a macro in scribble that will output a `verbatim' but I keep getting
an error about 'expected pre-content? got #'. W
I want to write a macro in scribble that will output a `verbatim' but I keep getting
an error about 'expected pre-content? got #'. What should I do in the
macro so that I can output verbatim? I tried various things other than `para' but
none seem to work.
@(define-syntax-rule (my-example stuff
3 matches
Mail list logo