I want to define my own block-enclosing commands.  This does not
appear to be directly possible, so I defined a pair of macros that
each contained one half of a block-enclosing command:

-------
\input texinfo   @c -*-texinfo-*-

@setfilename gforth.info
@settitle Gforth Manual

@macro assignment {}
@table @i
@item Assignment:
@end macro
@macro endassignment {}
@end table
@end macro


@assignment
What does the stack contain after @code{5 6 7 .}?
@endassignment

@bye
--------

With the texinfo.tex from texinfo-4.0, this needs "texi2dvi -e" to
work (this option is apparently used automatically when older versions
of texinfo.tex are used).  This is probably a feature, but it felt
like a bug at the first moment (my file did not work with the new
texinfo.tex and the old invocation, but it worked with the old
texinfo.tex).

Also, for the wishlist: a less kludgy way to define your own
block-enclosing commands.

- anton



Reply via email to