I have the Math extension installed in my MediaWiki 1.19. After I updated Ubuntu Server from 12.04 to 14.04 something seems to have messed it up and it has stopped working. Basically I get the following error when I try to display anything between the <math>
and </math>
tags:
Failed to parse (PNG conversion failed; check for correct installation
of latex and dvipng (or dvips + gs + convert))
I have tried the common troubleshooting that one can find online regarding this issue, and have recompiled texvc
to check if that fixed the issue. The texvc
executable in the extensions/Math/math
directory seems to do its job when invoked from the command line. I have obviously checked that all the other executables (latex
, dvipng
, etc.) work as they should.
When I try to render math from my wiki, the corresponding *.tex
file is created in images/tmp
with the correct latex code in it, but nothing else happens.
The problem seems to be related to texvc
having trouble invoking latex
and dvipng
.
What could be causing this issue and how can I fix it?