I'm a bit lost in trying to get texvc working on a mediawiki installation under SUSE 10. I get the message
Failed to parse (Missing texvc executable; please see math/README to configure.): 20y
after trying to insert <math> 20 y </math>
Latex, dvips, and gs all work fine from the command line, either as myself or as su wwwrun. If (from the command line, in the /math directory of the installation) I run
texvc ../images/tmp ../images/math "y=x+2" iso-8859-1
a png file with the expected content does appear in the ../images/math directory, though there's nothing in ../images/tmp
So . . . what am I missing? It appears that, when run from the web server, texvc isn't found (or isn't executable) but I don't know how to actually check on what's going on.
Any suggestions will be appreciated.
Gordon
http://meta.wikimedia.org/wiki/Problems_with_texvc might be of some use...
Rob Church
On 15/01/06, Gordon Fox gfox@mail.cas.usf.edu wrote:
I'm a bit lost in trying to get texvc working on a mediawiki installation under SUSE 10. I get the message
Failed to parse (Missing texvc executable; please see math/README to configure.): 20y
after trying to insert <math> 20 y </math>
Latex, dvips, and gs all work fine from the command line, either as myself or as su wwwrun. If (from the command line, in the /math directory of the installation) I run
texvc ../images/tmp ../images/math "y=x+2" iso-8859-1
a png file with the expected content does appear in the ../images/math directory, though there's nothing in ../images/tmp
So . . . what am I missing? It appears that, when run from the web server, texvc isn't found (or isn't executable) but I don't know how to actually check on what's going on.
Any suggestions will be appreciated.
Gordon
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thanks, but it's pretty useless to me -- I'm sure the authors meant well, but it's quite vague. I actually need some help figuring out whether any of the issues listed applies, and this page just tells me to check them -- not how to do so.
In other words, the page isn't written for newbies with this software -- it's a list of potential problems without any info as to how to actually diagnose or fix them.
Gordon
Rob Church wrote:
http://meta.wikimedia.org/wiki/Problems_with_texvc might be of some use...
Rob Church
On 15/01/06, Gordon Fox gfox@mail.cas.usf.edu wrote:
Gordon A Fox wrote:
Thanks, but it's pretty useless to me -- I'm sure the authors meant well, but it's quite vague. I actually need some help figuring out whether any of the issues listed applies, and this page just tells me to check them -- not how to do so.
In other words, the page isn't written for newbies with this software -- it's a list of potential problems without any info as to how to actually diagnose or fix them.
Our experience is usually it works fine as long as you installed all the support software, and never works if you didn't. :)
So if it doesn't work after kicking the tires and reseating the connectors, you may well have to dig in and debug it yourself, I'm afraid.
Gordon Fox wrote:
Failed to parse (Missing texvc executable; please see math/README to configure.): 20y
after trying to insert <math> 20 y </math>
That error is returned in response to this test:
if( function_exists( 'is_executable' ) && !is_executable( $wgTexvc ) ) { return $this->_error( 'math_notexvc' ); }
So, if you're getting the error there are a few possibilities: * $wgTexvc is set to the wrong path * the file doesn't exist * the file isn't executable by the web server according to permissions * some weird PHP restriction is preventing you from accessing the file
You should check into all of these possibilities.
Another possibility is that you wrote that wiki page before compiling texvc, and haven't rerendered any math since. Remember that page renderings are aggressively cached; run your tests in a preview and try varying texts.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org