bug-texinfo
[Top][All Lists]
Advanced

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

Re: @defblock and @defline in texi2any


From: Gavin Smith
Subject: Re: @defblock and @defline in texi2any
Date: Sat, 4 Mar 2023 07:15:25 +0000

On Thu, Mar 02, 2023 at 11:38:23PM +0100, Patrice Dumas wrote:
> > This is a good point; however, there is another possibilty which is
> > to put extra braces in the macro definition:
> > 
> >     @linemacro defbuiltin symbol rest
> >     @byindex \symbol\
> >     @defline Builtin {\symbol\} \rest\
> >     @end linemacro
> 
> This more or less means that there would always be braces to protect
> arguments before the rest of the line when used in macros.
> 
> > This would depend on whether double braces would work as an argument
> > to @defline.
> 
> I do not think so, unless I am missing something, in the call
> 
>   @defbuiltin {My Symbol} rest
> 
> The {} around 'My Symbol' would be removed before substitution.

Yes, you are right.



reply via email to

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