[Mediawiki-l] math: Failed to parse (unknown error)
Sonali Tamhankar
stamhankar01 at gw.hamline.edu
Tue Jun 6 17:54:45 UTC 2006
Hello all:
Can you please help me get math set up right with mediawiki?
Here is the problem: Typing "<math>a + b = c</math>" on a page
produces output that says "Failed to parse (unknown error): a + b =
c".
My OS is Fedora Core 4. I installed mediawiki using instructions on
http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Fedora_Core
I've checked following four things:
-----------------------------------------------------------------------------------
1) I have created directories math and tmp:
$ pwd
/var/www/mediawiki/images
$ ls -l
total 24
drwxrwxr-x 2 apache root 4096 May 19 14:18 math
-rw-r--r-- 1 root root 202 May 7 2004 README
drwxrwxr-x 2 apache root 4096 May 19 14:18 tmp
2) latex, dvips, gs and convert are available:
$ which gs convert latex dvips
/usr/bin/gs
/usr/local/bin/convert
/usr/bin/latex
/usr/bin/dvips
3) Here are some lines from my LocalSettings.php file:
$IP = "/var/www/mediawiki";
$wgScriptPath = "/mediawiki";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
$wgUseTeX = true;
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
$wgEnableUploads = true;
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/local/bin/convert";
4) Finally, there is a texvc file in the math directory:
$ ls -l
total 380
-rwxr-xr-x 1 root root 377016 Apr 3 08:48 texvc
-----------------------------------------------------------------------------------
Everything seems okay, but it doesn't work anyway. Any ideas? How do I
test the texvc file on command line?
Thanks,
- Sonali.
More information about the MediaWiki-l
mailing list