xhtml ctests failing
Thibaut Cuvelier
dourouc05 at gmail.com
Sat Mar 22 22:29:45 UTC 2025
On Mon, 10 Feb 2025 at 15:28, Scott Kostyshak <skostysh at 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 <skostysh at 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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250322/788e0fa2/attachment.htm>
More information about the lyx-devel
mailing list