[LyX/master] MathML: let the user change the MathML version.

Thibaut Cuvelier dourouc05 at gmail.com
Mon Nov 4 00:04:02 UTC 2024


On Sun, 3 Nov 2024 at 20:56, José Matos <jaomatos at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241104/8f9d03b1/attachment.htm>


More information about the lyx-devel mailing list