help-texinfo
[Top][All Lists]
Advanced

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

Re: Macros inside @displaymath


From: Patrice Dumas
Subject: Re: Macros inside @displaymath
Date: Mon, 16 Nov 2020 00:43:33 +0100

On Sat, Nov 14, 2020 at 05:25:56PM +0000, Gavin Smith wrote:
> On Sat, Nov 14, 2020 at 05:17:16PM +0100, Patrice Dumas wrote:
> > On Sat, Nov 14, 2020 at 08:49:05AM +0000, Gavin Smith wrote:
> > > 
> > > This works perfectly with TeX as far as I can see, but unfortunately
> > > not with texi2any at present.  This could be changed to make
> > > @displaymath more like @example, where Texinfo commands are interpreted,
> > > and less like @verbatim where they are not.
> > 
> > I think that even better would be that it is parsed the same way as
> > @math, with braces balanced handled even if not associated with
> > @-commands and @-commands interpreted.
> > 
> > I can do that for the perl parser.
> 
> Great, thank you.

It is done.  The test results are not synced anymore (in particular because 
the @end displaymath disappeared in texis results), but it doesn't make much
sense to sync them, the XS parser should be changed instead.

A side effect of that change is that the @-commands in general are now
formatted in @displaymath, but I think that we do not really care,
in general @-commands should not appear in @displaymath.

-- 
Pat  



reply via email to

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