MediaWiki texvc in CentOS 5.5

It appears that there is a bug in the CentOS TeTeX builds somewhere that allows texvc to work from the command-line, but causes it to fail mysteriously from a PHP script with an error such as

PNG conversion failed; 
check for correct installation of 
latex, dvips, gs, and convert

It turns out that the error is due to a missing latex.fmt file. To remedy this try

fmtutil-sys --all

The solution is found here.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>