bug-texinfo
[Top][All Lists]
Advanced

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

Re: defining environments


From: Patrice Dumas
Subject: Re: defining environments
Date: Fri, 21 Nov 2008 23:47:26 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Nov 21, 2008 at 11:39:39AM +0100, Werner LEMBERG wrote:
> 
> Well, in my previous answer I forgot one thing: @macro can't define
> environments at all!  What I can define is a pseudo environment
> 
>   @foo
>   @endfoo
> 
> However, I can't define a real environment
> 
>   @foo
>   @end foo
> 
> (which would, BTW, generate a proper error if not nested correctly).
> Thus it actually *does* make sense to have new macros for that
> purpose.

Indeed, you are right, this cannot be done with normal @macro. 

Still to be postponed to a redefinition of macros in texinfo, in my 
opinion. Using pseudo environments in the mean time should be enough,
still in my opinion.

--
Pat




reply via email to

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