On Mon, 10 Feb 2025 at 15:28, Scott Kostyshak <skost...@lyx.org> wrote:
> On Mon, Feb 10, 2025 at 03:11:45PM +0100, Thibaut Cuvelier wrote: > > On Mon, 10 Feb 2025 at 11:17, Scott Kostyshak <skost...@lyx.org> wrote: > > > > > On Sun, Feb 09, 2025 at 12:37:18AM +0100, Scott Kostyshak wrote: > > > > The following ctests are failing for me: > > > > > > > > > > > ... > > > > > > Thibaut, do you think these can be related to your recent work? Can you > > > reproduce the test failures? > > > > > > I can reproduce locally at 7606da5e, bbb79522, and f70409b3. I believe > it's > > one commit near f70409b3 that created that problem, > > Thanks a lot for confirming you can reproduce and taking a look! I could confirm that f70409b3 is indeed the culprit. A symptom of having \text converted to garbled <mtext> is not due to a change in InsetMathFont, but rather in MathStream (there is no related change near InsetMathFont). That leaves off 7.42% of this commit 😅. More precisely, it's in lines 679-705 of MathStream.cpp (as of f70409b3) or code called from there. In the end, the bug (or, at least, a bug) is when calling the docstring constructor to have a string of one character: I inverted the two arguments. Quite silly! I have pushed two patches that solve this problem (eab73de5f134930c84bb75d78c9aa8b91558b418 and 2e12882ec6fbf37c0480e98099f01fa355f45bc0).
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel