Commit graph

2928 commits

Author SHA1 Message Date
jenkins-bot 567bd826e3 Merge "Fix for state forwarding" 2023-03-01 13:52:41 +00:00
Moritz Schubotz (physikerwelt) 642e54c51b Add native MathML rendering mode to MathConfig
Add a new rendering mode option.

Change-Id: I36e2cc542ae89bff03f779a71ddceb77dfac99a9
2023-03-01 13:39:35 +00:00
Stegmujo 00fd80f56d Fix for state forwarding
Bug: T327391
Change-Id: I71ed330b866b945c7ec91e6d43831029c63e78a5
2023-03-01 12:01:52 +00:00
Moritz Schubotz (physikerwelt) 9340b09c03
Expose parsetree in local checker
In perparation to the PHP only native MathML rendering mode, we expose
the parsetree of the checker.

Change-Id: I8da8d0e236c2b001e664ce707c7469ebe8a91eb8
2023-03-01 08:30:46 +01:00
jenkins-bot 488c0b3519 Merge "Fix exceptions thrown by LocalChecker" 2023-02-28 14:51:49 +00:00
Translation updater bot b4cc21602e Localisation updates from https://translatewiki.net.
Change-Id: I8cffb8ad942031e2c7cc63c68f147bd83efa34b9
2023-02-28 08:29:15 +01:00
Stegmujo ef2f59eed5
Fix exceptions thrown by LocalChecker
* for more consistency with the other Checker initialisations in
InputCheckFactory

Bug: T327098
Change-Id: Ia85775dea6a7dda5fcf42d66a161da49515ba0aa
2023-02-27 17:52:28 +01:00
Translation updater bot 22cbcb0269 Localisation updates from https://translatewiki.net.
Change-Id: Iaa16c4a2c1dce01ce7319bad77f55f5b8975c26e
2023-02-27 08:27:47 +01:00
Translation updater bot 35e9900b42 Localisation updates from https://translatewiki.net.
Change-Id: I27a2fc9efdd32ec8ab5f6a9621e8e100865505ed
2023-02-22 09:01:01 +01:00
Translation updater bot 82558905ac Localisation updates from https://translatewiki.net.
Change-Id: I39ea0e09b9592220e57185c236b781f71ea9b45d
2023-02-21 08:21:23 +01:00
Translation updater bot 3a629fb3fb Localisation updates from https://translatewiki.net.
Change-Id: I81bcff154725cd384759a75352ab0b418e78eb69
2023-02-20 09:46:54 +01:00
Stegmujo 6ffaed440c
Remove additional mi for Hbox cases in TexUtilTest
* fix results for tests
* testindices 53 to 58
* formerly this contained a comparator fix (rolled back)

Bug: T327392
Change-Id: I1af65d5d8a4625d164630254da285830f4c9e0a3
2023-02-16 20:25:48 +01:00
Stegmujo 14c38c8f46
Fix vline in Matrix in TexUtilTest
* case index 654

Bug: T327392
Change-Id: I3f7d22ff501a30eef79baf82236406d8f5e450ae
2023-02-16 17:16:19 +01:00
jenkins-bot 1259375bfd Merge "Add state array to MathML rendering tree" 2023-02-16 09:17:51 +00:00
jenkins-bot d6de86cba3 Merge "Allow \circ command in bonds in TexVCPHP" 2023-02-16 09:03:23 +00:00
Stegmujo bcc066de21 Fix GenerationParserTest for texvctreebugs check
* fix the testfile so it can be read correctly for texvctreebugs category
* fix the test that category can be selected dynamically

Bug: T327391

Change-Id: I51508bddb83ba925c739962df41c04f1ccfd311b
2023-02-15 14:07:05 +00:00
Stegmujo 65b3114e5b
Allow \circ command in bonds in TexVCPHP
Add \circ to mhchem macros to allow them in bonds.

Bug: T328833
Change-Id: I3100033904e28a181a2e674da388832678eb0db3
2023-02-15 14:25:30 +01:00
Moritz Schubotz (physikerwelt) 6efbf4dd00
Add state array to MathML rendering tree
For conditional rendering a state variable is needed.

Change-Id: Iac1a1058fecf89c58a02ca3b643e973b4742f51f
2023-02-15 11:04:20 +01:00
Stegmujo f760f896b2 Fix binom and dbinom in TexUtilTest
*indices: 79, 82

Bug: T327392
Change-Id: Ib1c19a52eea5f6433f52e440007cf6ba4ba4d48c
2023-02-14 11:53:58 +00:00
jenkins-bot 0031b80a8f Merge "Fix low scores for oint statements" 2023-02-13 20:47:20 +00:00
jenkins-bot e776fc32be Merge "Fix underline overline cases in TexUtilTest" 2023-02-13 20:03:40 +00:00
Stegmujo 448d1bb658 Fix underline overline cases in TexUtilTest
* indices: 48, 59

Bug: T327392
Change-Id: I6962b238485e03a7e2f65fd10d20377dbc2c5892
2023-02-13 18:14:03 +00:00
Stegmujo 1865fbf31b Fix low scores for oint statements
Bug: T327392

Change-Id: Ia4afc6d6674793ee5d120b20d1ce6f60a12d5e4a
2023-02-13 15:11:54 +00:00
Stegmujo 0a3a4a4ff2
Fix parsing of 'P' operator
* index 219

Bug: T327392
Change-Id: Ie820c303ef0fcaa86d10022982023cebfc0e8046
2023-02-13 14:25:05 +01:00
Stegmujo 78b7769149
Fix parsing macros in mbox for TexUtilTest
* testindices 638 to 654 and 13

Bug: T327392

Change-Id: I1c83290f50f3fe7ee7e512574150d6be9723b3e7
2023-02-13 13:59:34 +01:00
Stegmujo 39c400a431 Fix Parsing of Mod elements with and without params
* some adaptions to test and comparator
* minor fix in mappings for ncong
* introduce a LaTeXML Fallback for the tex-cases:
** "\ce{\ca}"
** "\mod"

Bug: T327392

Change-Id: Ie2efa392bd517a28fe8b6e8d0cecdba64cd1c415
2023-02-13 12:23:44 +00:00
Translation updater bot 9a365685ce Localisation updates from https://translatewiki.net.
Change-Id: Ib273edbbd72355d067db51693953dd1ad9ffba79
2023-02-13 08:30:29 +01:00
Translation updater bot 50e12592b3 Localisation updates from https://translatewiki.net.
Change-Id: I2d3165fedddd86098e03d8f5d590837c9712fe4b
2023-02-09 10:12:00 +01:00
Stegmujo dbf15a72c6 Fix parsing functions for MMLGenerationTexVCUtilTest
* for "oint","ointctrclockwise", "varointclockwise."
* some ignored attributes added to similarity algorithm

Bug: T327392
Change-Id: Id4cf720bb2d2c8aeb524c2303bdf0d4be3547404
2023-02-08 14:30:46 +00:00
Stegmujo 5eba9b74a0
Optimize Test Parametrization
* For MMLGenTexVCUtilTest and the MMLComparator
* Also skip some inputs which are not supported

Bug: T327392
Change-Id: Ifac913e2b8e4c70c7222f769c0e7cf93e65de5b8
2023-02-06 17:13:38 +01:00
Stegmujo be8725c1d2
Add New TexUtil-Reference which also has Chem
* Update maintanance script with Chem-Fallback
* delete obsolete MML Lookup (was from mathjax-full)
* TexUtil-Ref is created without chem fallback

Bug: T327388
Change-Id: Id603d66feccf3716828c2aac57acac7d23131ddf
2023-02-06 16:30:25 +01:00
Stegmujo 17d9ade3f2 Insert MathML-Comparator features in MathML-Tests
Bug: T327393
Change-Id: I1d781587cf62d034493a06a4a9640d0dd14c8386
2023-02-03 14:58:52 +00:00
Stegmujo a1cddd7e0d Add MathML-Comparator algorithm for the automated tests
* Compares two MathML trees
* Calculates F-Score and Diffs

Bug: T885309
Change-Id: Iabdb5b12054e4c1ce6e2c756643bafd371da6fb0
2023-02-03 10:24:17 +00:00
Translation updater bot 095cec57c3 Localisation updates from https://translatewiki.net.
Change-Id: Ib5cd14c88de359ce5e9a25fb8d67874a84aa43e3
2023-02-01 09:18:20 +01:00
jenkins-bot ee1effd363 Merge "New lookups for tests enabling reference MathML" 2023-01-27 21:34:00 +00:00
jenkins-bot 7bcb1ba451 Merge "Add script to export json with Mathoid/latexml-MML reference" 2023-01-27 21:32:36 +00:00
Stegmujo 8d522c4022 New lookups for tests enabling reference MathML
* For the existing MMLGeneration...Tests, reference MathML has been generated
for mathoid and latexml within reference files in json.
* The creation of json files was done with JsonToMathML script
* The test-classes have been adapted a bit, so they can read the new reference files.
* MMLGenerationTexUtil test has export function for input
for maintenance-script for

Bug: T327388
Change-Id: I05a8c7bb5e37cf75faf09ec43e9ce2acc7bf2040
2023-01-27 20:52:10 +00:00
Stegmujo 5ea78bc306
Add script to export json with Mathoid/latexml-MML reference
Bug: T327388
Change-Id: I647f586b4710faccd6bab31be7bab5e6fa1056d4
2023-01-27 21:51:18 +01:00
Translation updater bot dc5cd77121 Localisation updates from https://translatewiki.net.
Change-Id: I78bf4374eeaef839f3d8cffd9c64c4a6ceb2f509
2023-01-27 08:36:33 +01:00
jenkins-bot 93cc7daa4a Merge "Add Full-Coverage Test TexVC-MMLGeneration for Mathoid-LateXML" 2023-01-26 12:31:10 +00:00
Stegmujo ada1d6e3db
Add Full-Coverage Test TexVC-MMLGeneration for Mathoid-LateXML
* Implemented multiple-column generation for the HTML-Generator
* Items can be skipped in test by defining index

Bug: T327386
Change-Id: I13148d58246ddcc1f2e6dcd14fa5b4255a1fb8e7
2023-01-26 13:12:19 +01:00
Translation updater bot 6bd41043c2 Localisation updates from https://translatewiki.net.
Change-Id: I9ddd77955b4752b3d7e6a1662c9174726ffe3c6c
2023-01-24 08:49:07 +01:00
Translation updater bot 8f8dfde1f4 Localisation updates from https://translatewiki.net.
Change-Id: I1d4030078a9a5154baf97ad26c03638b4500fc59
2023-01-23 08:23:28 +01:00
Translation updater bot 8ca418578c Localisation updates from https://translatewiki.net.
Change-Id: Ida76d53c7b3c081709ff2b28269c98a1d77a0a40
2023-01-17 08:07:51 +01:00
Translation updater bot 800700b304 Localisation updates from https://translatewiki.net.
Change-Id: Icf13746abc8f5b1ef99f4746d17992f79ab232e3
2023-01-16 08:28:47 +01:00
Vaughn Walters a95a7b6bc2 selenium: Remove webdriverio npm package from the Math extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I772e7680ba1235e896651fa15b25cd8bc976bde1
2023-01-13 11:51:48 -06:00
Translation updater bot 1c4e3fd6ca Localisation updates from https://translatewiki.net.
Change-Id: Ifb2b0cdecf8596dcd9b8fd995e66cd255683076e
2023-01-09 09:27:36 +01:00
Translation updater bot 46284be392 Localisation updates from https://translatewiki.net.
Change-Id: I36767fc885b2fce48b1d1d30ffefdc7ee9f0af4a
2023-01-06 08:55:29 +01:00
jenkins-bot 347dcbd3fe Merge "Fix significant typo in grammar" 2023-01-03 16:02:27 +00:00
jenkins-bot 6153004078 Merge "Improve security of MathML output" 2023-01-03 15:28:24 +00:00