Hi Maurizio,
- you have to have dvipng installed, in addition to LaTex
I do.
- if texvc is not run you see a red box telling you so where you'd
normally expect math equations to appear.
I see red letters saying "*Failed to parse (unknown error): \sqrt{n}"*
- by default Math.php runs ./math/texvc. You've to make sure that
that file exists and is executable (and works).
I've ran it by hand (as the server user) and it runs fine.
alternatively you can set $wgTexvc to the path of your system
installed texvc
- and of course you have to set $wgUseTex to true
of course.
one more thing: the fact that you don't see auxiliary files is normal: Math.php deletes them after running texvc. If you go into that file you'll find comments on how to prevent this deletions (for debugging purposes)
I have modified texvc so as not to delete the auxiliary files. I couldn't find anywhere on Math.php where it did this.
Any more ideas? Thanks!
Bruno
hth
MaurizioOn Aug 7, 2007, at 12:12 PM, Bruno Goncalves wrote:
Hi Dan,
This is most likely what is covered in the readme file. Read the
troubleshooting section, you need to install AMS.
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/math/README? view=markup
I had tried following the trouble shooting suggestions... As far as I can tell, everything should work. I have a full LaTeX installation, since that's what I normally use to typeset my papers. I can run texvc correctly as the web server's user, it can read and write from /var/www/html/wiki/math and /var/www/html/wiki/images/tmp. I've even tried to follow the "hacking" suggestions to see if I could figure it out, but to no avail... Although I have noticed that when I run texvc by hand it creates the aux, tex, etc... files (I've commented out the deletion part of render.ml) and when it's run through wikimedia it doesn't. My guess is that it isn't even calling texvc...
Does any of the more experienced users have any suggestions? Thank you!
Bruno
~Daniel Friesen(Dantman) of The Gaiapedia, Wikia Graphical Entertainment
Project, and Wiki-Tools.com
Bruno Goncalves wrote:
Dear All,
I've just finished installing mediawiki. Everything went fine, except
for
the TeX configuration... I've successfully compiled texvc and it runs correctly from the command line. However, typing
<math>\sqrt{n}</math>
in a post, results in:
*Failed to parse (unknown error): \sqrt{n}*** I've set $wgTexvc, $wgUseTeX and $wgEnableUploads. Am I missing
something?
Sincerely,
Bruno
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
--
Bruno Miguel Tavares Goncalves, MS PhD Candidate Emory University Department of Physics Office No. N117-C 400 Dowman Drive Atlanta, Georgia 30322 Homepage: www.bgoncalves.com Email: bgoncalves@gmail.com Phone: (404) 712-2441 Fax: (404) 727-0873
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l