I went through all the steps of
http://meta.wikimedia.org/wiki/Troubleshooting_math_errors to set up
mathematical formula rendering on my wiki:
= Compiled texvc
I've activated <math> support by
1. adding the following lines to LocalStettins.php
$wgUseTeX = true;
$wgUploadPath = "{$wgScriptPath}/images";
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
and made the appropriate directories writable to apache user, then
tested with the following simple examples:
<math>1</math>
<math>\sin(x) + \ln(y)</math>
<math>F(x) - \epsilon </math>
<math>E = mc^2</math>
and it works by generating html where I can select the result on the
page as character string.
However when I tried to use a bit more complex example
<math>\frac{x^n-1}{x-1}</math>
or
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
It did not generate what I expected: created something that looks raw
result.
I've tried these formulae on Wikipedia as I've got these examples from
there and it works there on the way that it creates an image.
I can't figure out what can be missing part of my setup.
OS: Mandriva Linux 2007
Installed all the latex related packages (wonder if Mandriva's latex is
AMS-Latex or not and this can cause the problem but I don't know how to
check)
Any idea where to look for the problem and solution?
Thanks,
Laszlo