opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-texinfo@gnu.org 15 April 2011 • 5:17PM -0400

[help-texinfo] defining new environments
by Leo Butler

REPLY TO AUTHOR
 
REPLY TO GROUP




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.



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.