beachboy22-H+0wwilmMs3R7s880joybQ(a)public.gmane.org a écrit :
Nice typo
What else do I need and how do I use all this to
enable the Tex math support?
Thanks a lot.
1. You need to enable LaTeX in Localsettings.php :
add/uncomment this :
$wgUseTeX = true;
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
2. you need to have texvc compiled in your math directory
OR
2' it seems that you can get texvc pre-compiled for Linux at this address :
http://sourceforge.net/project/showfiles.php?group_id=34373
OR (for your local Windows, you might get in some trouble compiling texvc)
2'' follow these instructions (Windows only), it woks fine :
http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Windows#Alternativ…
to make things short : install MikTeX, replace/patch math.php and add in Localsettings.php
the path to the binary latex.exe and dvips.exe (which are in your MikTeX install)
3. On your local, you have to Install ImageMagick (you can either install it from the
binary at
imagemagick.org or using the 2'' tip above). I guess you'll need to
check whether your host provider enables ImageMagick
and change in Localsettings.php (I'm not sure whether you actually need the two first
line for LaTeX, but you need them for image upload):
$wgEnableUploads = true;
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "C:/path/to/convert.exe";