[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Defining new environments?
From: |
Karl Berry |
Subject: |
Re: [help-texinfo] Defining new environments? |
Date: |
Wed, 20 Jan 2016 21:54:17 GMT |
@example complains in that a case
@example takes Texinfo text as its argument, not verbatim text.
Thus you would have to change all @{} to @@ @{ @}.
But other than that, it should work.
If you don't want to munge your verbatim texts, I understand ...
In your macro trial, it needs to be \TEXT\ in the body (seemed to be
lacking the trailing backslash -- yeah, weird syntax), but I think
unbalanced verbatim braces are not a feasible case for anything (besides
simple @verbatim itself, as you've seen) to deal with.
Best,
Karl