I have isolated the problem by changing the following in the
LocalSettings.php.
$wgMathPath ="/var/lib/mediawiki/math"
$wgMathDirectory="/var/lib/mediawiki/images/math
$wgTmpDirectory="/var/lib/mediawiki/images/tmp
I have chmod 777 all of these folders.
When I refresh a page with math tags, the .png files, rendered correctly,
are stored in the $wgmathDirectory using the hashing method (distributed
into sub-directories of the directorybased on the first two characters of
the md5 hash ). However these images are not being displayed on the wiki.
How do I link the images to the wiki page?
Thanks
From: Platonides <Platonides(a)gmail.com>
To: mediawiki-l(a)lists.wikimedia.org
Date: 11/18/2010 12:40 PM
Subject: Re: [Mediawiki-l] Simple Math Renders but complex math does not
Sent by: mediawiki-l-bounces(a)lists.wikimedia.org
John Edenfield wrote:
Hello All,
I am having some trouble getting the math function to work correctly.
Currently simple equations render find such as: <math.> y=x+b</math>.
However if I try to use a more complicated equation such as <math> \frac
{x}{y} </math> the picture renders but displays the equation exactly how
it
is shown between the math tags. I have tried entering
the same equation
from the command line using the function:
texvc /home/wiki/tmp /home/wiki/math " \frac{x}{y}" and the
resulting
.png
is correct. Any Ideas on what could be going wrong.
I am running MediaWiki on Ubuntu 10.10 with php5. I am new to mediawiki
so
please let me know if there are any other details that
you may need.
Does the wiki create the equation image file*? Is it providing the right
path in the <img tag?
"displays the equation exactly" looks like it is using the alternate
text instead of the image.
*Probably not, check folder permissions!
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l