Page MenuHomePhabricator

Formula that passes the texvcjs check fails to render
Open, LowestPublic

Description

The tex formula {\\displaystyle \\exp _{\\exp }_{\\arctan }\\ln \\exp _{\\exp }\\sin \\operatorname {arccsc} } passes Mathoid's v0.7.0 check, but fails to render with the following error:

"TeX parse error: Double subscripts: use braces to clarify"

Event Timeline

mobrovac triaged this task as High priority.
mobrovac lowered the priority of this task from High to Medium.Dec 22 2017, 5:06 PM
mobrovac edited projects, added: Services (later); removed: Services (doing).

A re-run of the erroneous requests revealed that there are ~15k formulae that pass the check but fail to render due to various errors. We should investigate the reasons of the incompatibility between texvcinfo and MathJax since the expectation should be that if a formula passes the check, we should be able to render it as well. I'm attaching two files for inspection:

  • render_new.yaml contains the formulae and the respective errors for cases where Mathoid v0.7.0 fails to render it, but the previous version was able to do so; and
  • render_both.yaml contains formulae that both the new and the old Mathoid fail to render

I checked the render both cases with texvcjs. They all pass the tests even though they contain non valid latex characters. cf. https://github.com/physikerwelt/texvcjs/tree/invalid-input. I guess that the text field misses a rule that specifies which characters are supported by TeX or MathJax respectively.

While rendering the formulae that previously failed the check (14k of them), 202 failed to render only with the new Mathoid, and 681 of them failed to render both with the old and new versions:


WDoranWMF lowered the priority of this task from Medium to Lowest.Oct 30 2019, 6:37 PM
WDoranWMF moved this task from Inbox to Icebox on the Platform Engineering board.
Physikerwelt renamed this task from Formula that passes the texvcinfo check fails to render to Formula that passes the texvcjs check fails to render.Dec 11 2022, 4:50 PM
Aklapper added a subscriber: Stegmujo.

@Stegmujo: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on October 11th.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!