bug-texinfo
[Top][All Lists]
Advanced

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

Re: @verb in linecommand call does not work in Texinfo TeX


From: Gavin Smith
Subject: Re: @verb in linecommand call does not work in Texinfo TeX
Date: Sun, 16 Jul 2023 23:37:54 +0100

On Mon, Jul 17, 2023 at 12:09:48AM +0200, Patrice Dumas wrote:
> Hello,
> 
> The following does not seems to work, although it probably should:
> 
> 
> ==================================================
> \input texinfo.tex
> 
> @linemacro lm {a}
> b \a\ a
> @end linemacro
> 
> @lm {
> @verb{:in verb:}
> }
> 
> @bye
> ==================================================

No, it will not work:

   It is not reliable to use ‘@verb’ inside other Texinfo constructs.

(Info node (texinfo)@verb.)

The implementation of @verb relies on changing the catcodes of { and }
but { and } are read as grouping characters when the argument to @lm is
read in your example and therefore won't work to delimit the argument
to @verb.




reply via email to

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