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 <[email protected]>
To:     [email protected]
Date:   11/18/2010 12:40 PM
Subject:        Re: [Mediawiki-l] Simple Math Renders but complex math does not
Sent by:        [email protected]



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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to