On 6/9/06, Sonali Tamhankar <stamhankar01(a)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 − 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