ar5iv icon indicating copy to clipboard operation
ar5iv copied to clipboard

Improve article 1711.02437

Open chaozg opened this issue 3 years ago • 3 comments

Exact location of issue

Eqution 1 of math/1711.02437

Problem details

Latex equation is not rendered (with red warning: 'Math input error').

Desktop (please complete the following information)

  • OS: Ubuntu
  • Browser: chrome

chaozg avatar Feb 07 '22 11:02 chaozg

Something to investigate with our client-side rendering of math. On Firefox this looks reasonable I think?

image

This is from the PDF: image

dginev avatar Feb 07 '22 12:02 dginev

Yes, everything is OK with Firefox, but not with Chrome.

chaozg avatar Feb 07 '22 12:02 chaozg

There is a suspicious fragment in the MathML here which probably causes the error:

<mtext mathcolor="red">
  <span class="ltx_rule" style="width:0.0pt;height:10.8pt;background:black;display:inline-block;"></span>
</mtext>

We should check if it's a generation error, given it is not shown in any way in the PDF rendering.

This could be a subtle interpretation bug with latexml -- thank you for catching it and bringing it to our attention!

dginev avatar Feb 07 '22 12:02 dginev

I think with the latest update to Chrome 109, this issue is resolved. We are now serving native MathML Core in Chrome.

dginev avatar Jan 18 '23 15:01 dginev