Regression on master: cannot insert math in a table cell
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Feb 7 23:23:40 UTC 2024
Le 07/02/2024 à 22:34, José Matos a écrit :
> On Wed, 2024-02-07 at 12:49 -0500, Scott Kostyshak wrote:
>> I cannot get into math mode in a table cell, on current master. Just
>> in
>> case it helps, I attach an example (but you can also insert a table
>> in a
>> new document yourself instead).
>>
>> I can bisect tomorrow if that would help.
>>
>> Scott
>
> I can confirm, in addition if we use the menu we can see that the whole
> math insertion section is grayed out. So it seems that this is
> inadvertently on purpose. :-)
>
Manual inspection reveals that the commit below is the culprit.
JMarc
commit ad6aa8ba4b9525c07e30242dd66e79ec172a2b78
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sun Jan 28 12:13:27 2024 +0100
Restrict caption insertion in tables to where it makes sense (#13037)
This requires to move insetAllowed() to the cell level, as only cells
in the caption row of a longtable actually can take a caption.
More information about the lyx-devel
mailing list