Thank you Platonides,
a very strange thing is when I commented out all my lines about math,
my wiki is now working all right with math.
these are the math lines, I used absolute path for everything in the beginning.
# lines for math
//$wgTexvc = "/usr/bin/texvc";
//$wgMathPath = "/var/www/html/wiki/images/math/";
//$wgMathDirectory = "/var/www/html/wiki/images/math/";
//$wgTmpDirectory = "/var/www/html/wiki/images/tmp/";
//$wgUploadPath = "/var/www/html/wiki/images/";
//$wgUploadDirectory = "/var/www/html/wiki/images/";
I also intend to use the Texbox extension
http://www.mediawiki.org/wiki/Extension:TeX_Editor
but whenever I put this line
//require_once("/var/www/html/wiki/includes/SpecialTexbox.php");
in the Localsettings.php, the webpage stop working.
thank you!
xunchen
On Sat, Mar 7, 2009 at 10:31 AM, Platonides <Platonides(a)gmail.com> wrote:
Shawn Liu wrote:
Hi,
I enabled the math support and my latex can render such code to proper picture:
x+y
x \implies y
but when I put them in my wiki:
<math>x+y</math><br /><br />
<math>x \implies y</math>
only the x+y is rendered.
As it is simle, it's being rendered as html.
the source code of the page includes such lines
that I think may cause
the problem:
<img class="tex" alt="x \implies y"
src="/var/www/html/wiki/images/math//c/a/c/cacfa4f67dd97bc8e402f36f13b0c265.png"
/>
</p>
Could anyone help me?
Thank you
xunchen
Fix your $wgMathPath -
http://www.mediawiki.org/wiki/Manual:$wgMathPath
Seems you have assigned it the value for $wgMathDirectory
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l