[Mediawiki-l] math: Failed to parse (unknown error)

Jitse Niesen jitse.niesen at gmail.com
Sat Jun 10 07:04:17 UTC 2006


On 6/9/06, Sonali Tamhankar <stamhankar01 at gw.hamline.edu> wrote:
> [...]
> With these changes, it worked. The command "sudo -u apache ./texvc
> /var/www/mediawiki/images/tmp /var/www/mediawiki/images/math "y=x+2"
> iso-8859-1" created a .png file in the math directory.

What is the full output of the command?

> Any other suggestions what I can try?

Enable debugging by setting $wgDebugLogFile and try putting a formula
on a page in your wiki. In the debug log, look for something like

TeX: ./math/texvc '/home/jitse/wikipedia/blahtexwiki/images/tmp'
'/home/jitse/wikipedia/blahtexwiki/images/tmp' '10-6=4' 'utf-8'
TeX output:
 C43af369f73e74d094fe3e61088fe8dbd10 &minus; 6 = 4
<mn>10</mn><mo>-</mo><mn>6</mn><mo>=</mo><mn>4</mn>
---

"Unknown error" probably means that the output of texvc is incorrect.

See http://www.mediawiki.org/wiki/Help:%24wgDebugLogFile and
http://meta.wikimedia.org/wiki/How_to_debug_MediaWiki for how to
enable debugging.

What is the MediaWiki version that you're using?

Jitse



More information about the MediaWiki-l mailing list