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

José Matos jaomatos at gmail.com
Sun Nov 3 19:55:59 UTC 2024


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_lyx
> 23)'
> 
> 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).

Best regards,
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241103/c6b54654/attachment.htm>


More information about the lyx-devel mailing list