Closed jhulala closed 2 years ago
[Auto response] Looks like this is your first issue. I will look into it as soon as possible.
The result is returned by the Mathpix API which contains multiple MathML equations. This app simply concatenates all equations together.
@blaisewang, I understand that Mathpix API returns multiple MathML equations, but grouping them together is not a solution, because users won't be able to paste them into Microsoft Word. You perhaps haven't tried it, so you don't know how useless it is. A simple one-line regex command (regular expression substitution) would fix this very easily. See https://regexr.com/5mpo7 for the solution.
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 10 days
When an image contains multiple lines/entries, the exported MathML code is incorrect
To reproduce, follow these steps:
(1) Use this image:
(2) The exported MathML code is as follows:
(3) The expected result should be similar to this:
The problem is that the export contains the tag
<math xmlns="http://www.w3.org/1998/Math/MathML">
multiple times, which prevents a proper pasting into Microsoft Word document. Adding an extra space between independent parts would be also beneficial, so the formulas are not squeezed into one line/part.I used the latest and up-to-date version of Windows 10