help-texinfo
[Top][All Lists]
Advanced

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

[help-texinfo] defining new environments


From: Leo Butler
Subject: [help-texinfo] defining new environments
Date: Fri, 15 Apr 2011 10:17:31 +0100 (BST)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

Hello,

I have two questions:

1. in latex, one can define new environments with the
\newenvironment macro. The closest thing I have found
in texinfo is @alias.

However, if I do

@alias lang=lisp

then I can begin an environment with @lang but must end
it with @end lisp. Is this a bug, feature or am I missing
something?

2. Is there another mechanism to define environments within
a texinfo document.

In case it is unclear, by `environment', I mean it in the sense
of the latex macro, a block of the form

@foo
<text>
@end foo

and foo processes <text>.

Leo

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




reply via email to

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