[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macros inside @displaymath
From: |
Gavin Smith |
Subject: |
Re: Macros inside @displaymath |
Date: |
Mon, 16 Nov 2020 07:09:57 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Mon, Nov 16, 2020 at 12:43:33AM +0100, Patrice Dumas wrote:
> 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.
I will look it in the next few days but the XS parser and Perl parser
need to be kept in sync, otherwise the XS parser will become useless.
- Re: MathJax problem with \gdef, (continued)
- Re: MathJax problem with \gdef, Patrice Dumas, 2020/11/12
- Re: MathJax problem with \gdef, Christopher Dimech, 2020/11/12
- Re: MathJax problem with \gdef, Christopher Dimech, 2020/11/12
- Re: MathJax problem with \gdef, Patrice Dumas, 2020/11/12
- Re: MathJax problem with \gdef, Christopher Dimech, 2020/11/12
- Macros inside @displaymath, Gavin Smith, 2020/11/14
- Re: Macros inside @displaymath, Patrice Dumas, 2020/11/14
- Re: Macros inside @displaymath, Gavin Smith, 2020/11/14
- Re: Macros inside @displaymath, Patrice Dumas, 2020/11/15
- Re: Macros inside @displaymath, Christopher Dimech, 2020/11/15
- Re: Macros inside @displaymath,
Gavin Smith <=
- Re: Macros inside @displaymath, Patrice Dumas, 2020/11/16
- Re: Macros inside @displaymath, Gavin Smith, 2020/11/16
- Re: Macros inside @displaymath, Patrice Dumas, 2020/11/16
- Re: Macros inside @displaymath, Christopher Dimech, 2020/11/14