[Mediawiki-l] Math formating

Emma Gottesman emma.gottesman at sun.com
Thu Jun 2 15:21:03 UTC 2005


I'm still having problems getting math formatting to work on my wiki.  I 
get:
*Failed to parse (PNG conversion failed; check for correct installation 
of latex, dvips, gs, and convert): x = x + 78*

Running on Solaris 10, wiki installed in /var/apache2/htdocs/wiki. ocaml 
installed, TeTeX installed, gs installed, ImageMagick installed
dvips, convert, latex, gs all in /usr/local/bin
Have

putenv("MAGICK_HOME=/usr/local/ImageMagick-6.2.1/:" 
        . getenv("MAGICK_HOME"));
putenv("LD_LIBRARY_PATH=/usr/local/ImageMagick-6.2.1/lib:" 
        . getenv("LD_LIBRARY_PATH"));

near the top of my localSettings (thanks Kate).

When I run the ImageMagick test I from the command line as root or as a 
user I get the ImageMagick test image displayed.
I can run the latex config OK.  The make for texvc didn't produce any 
errors and I've done a make clean, make cycle each time I've changed 
something just to make sure.  When I try and run the texvc command line 
test in the math README I get:

(I'm in /var/apache2/htdocs/wiki/math)
root[(k)sh]@sunray21# ./texvc /var/apache2/htdocs/wiki/images/tmp 
/var/apache2/htdocs/wiki/math "y=x+2" iso-8859-1
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.06.02:1606' ->
<texc.pro><aae443f0.enc><f7b6d320.enc><texps.pro>. 
<cmr12.pfb><cmmi12.pfb>[1]
Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 
2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn>
root[(k)sh]@sunray21#
root[(k)sh]@sunray21# cd ..
root[(k)sh]@sunray21# cd images
root[(k)sh]@sunray21# cd tmp
root[(k)sh]@sunray21# ls -l
total 2
-rw-r--r--   1 webservd webservd     191 May 23 09:54 
2473_6c2998872ce17b4eaa56f0a0af456430.tex
root[(k)sh]@sunray21# pwd
/var/apache2/htdocs/wiki/images/tmp
root[(k)sh]@sunray21# date
Thu Jun  2 16:06:56 BST 2005
root[(k)sh]@sunray21#

/images/tmp is read-writeable by all but there wasn't any output in it.

Once again, help?

By the way, thanks to all for the help with the sysop issue.  A local IT 
here did the initial install of the wiki for me but couldn't remember if 
he'd set up a sysop.  I rooted around in the SQL database and found 
WikiSysop, with the same password as root, so I now have a working sysop.

-- Emma
********************************************************
Emma Gottesman  <emma.gottesman at sun.com>
Analyst, SSG Quality Office
Sun Microsystems Ireland Ltd., Boole House,
Eastpoint Business Park, Dublin 3, Ireland.
Tel: +353 (0) 1 819 9740

"Here I am once more in this scene of dissipation and
vice, and I begin already to find my morals corrupted."
Jane Austen on visiting London, letter of August 1796
********************************************************





More information about the MediaWiki-l mailing list