On Sun, 3 Nov 2024 at 20:56, José Matos <jaoma...@gmail.com> wrote: > On Sun, 2024-11-03 at 19:32 +0100, Scott Kostyshak wrote: > > I think that starting with this commit a lot of lyx2lyx tests are timing > out. > > For example: > > ctest --timeout 10 -R > '(export/export/WrongDfnTagHandling_lyx23|export/examples/Welcome_lyx23)' > > I get the following: > > export/export/WrongDfnTagHandling_lyx23 (Timeout) > export/examples/Welcome_lyx23 (Timeout) > > > Due to this message I had a small pick at the patch and I notice a > possible typo: > > + # remove XHTML header if using the new value, leave alone otherwise. > + if "4" in document.header: > + document.header[i] = "\\html_math_output 0" > > In the middle line above it should possibly be: > if "4" in document.header[i]: > > the different is the addition of the final [i] or else the test will > always be false (and that is not intended). >
Thanks for having a look! I committed your suggested change, it seems to fix the issue on my side.
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel