Page MenuHomePhabricator

PNG rendering of <math> produces "Failed to parse" errors
Closed, ResolvedPublic


Author: sagie.duchovne

Screen capture

When accessing articles with elaborate equations (presumably using more advanced TeX tokens), with PNG rendering of math, a big red error is displayed instead of the equation. Shown error is of the form:
Failed to parse(unknown function '<some token>'): { ... equation's TeX source goes here ... }
The token I often see as unknown is "\begin".

When using MathJax rendering, equations appear with no visible problems.

Issue doesn't appear to be related to browser (seen with both Firefox 26 and Internet Explorer 10).

Example article producing this:

Attached screen capture of this article, in PNG rendering mode.

Version: unspecified
Severity: normal


Untitled.png (715×1 px, 78 KB)



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:06 AM
bzimport added a project: Math.
bzimport set Reference to bz61026.
bzimport added a subscriber: Unknown Object (MLST).

Sagie: Is this a duplicate of bug 61012?

sagie.duchovne wrote:

(In reply to comment #1)

Sagie: Is this a duplicate of bug 61012?

While the cause for both reports may very well be the same, in #61012 the OP complained about environments "align" and "alignat" not being rendered as PNG, whereas I was being more generic.
My screen capture shows PNG rendering error for "begin" environment.

Feel free to merge the reports.

physik wrote:

*** This bug has been marked as a duplicate of bug 61012 ***

sagie.duchovne wrote:

Excuse me, but whatever it is that was fixed, didn't correct the problem I was reporting about.
Try the link I included in my original report, the exact same red parsing error are shown. These are the same errors that were seen in the screen capture I included in my original report.

All the pages need to be purged or edited to force the png images to be recomputed. Running
has fixed that page.

  • This bug has been marked as a duplicate of bug 61012 ***