bug-texinfo
[Top][All Lists]

## Re: math in TeX in @inlinefmtifelse not expanded

 From: Gavin Smith Subject: Re: math in TeX in @inlinefmtifelse not expanded Date: Thu, 13 Oct 2022 21:56:55 +0100

On Thu, Oct 13, 2022 at 10:28:26PM +0200, Patrice Dumas wrote:
> Hello,
>
> With TeX, the following leads to \times being output as text and not as a
> symbol:
>
> @inlinefmtifelse{info, something, @math{a \times 2}}.
>
> I attach a file that can be used to check the result in that case and
> without @inlinefmtifelse.

Yes, this would be tricky to fix.  I expect it is the same issue as
this:

https://lists.gnu.org/archive/html/bug-texinfo/2022-08/msg00074.html
https://lists.gnu.org/archive/html/bug-texinfo/2022-08/msg00077.html

Maybe we should just document the limitation instead, that certain commands
like @math may not work as expected inside inline conditional commands.