Topic on Project:Support desk

Cannot install Math extension

2
Paul D. Anderson (talkcontribs)

I'm sorry if this is not the right place to ask this question, but how in the hell do you install the math extension? I've been trying for days and have read every scrap of information in the manual, the extension page, the talk pages. The installation info is different everywhere I look and nothing seems to work. I've checked the FAQ but they refer me to the extension page. So no help there.

I'm trying to set up latex with texvc (on Windows), but I'd be happy to use a different method, just so long as it works.

There are a number of Math.php files out there and render.ml, etc. Tried them all. Didn't work.

Using 'require_once "$IP/extensions/Math/Math.php";' (per the extension page) doesn't seem to work at all.

Using 'wfLoadExtension( 'Math' );' at least gets the Special:MathStatus page to appear. Most of the tests succeed but

'Test Comparing the generated SVG with the reference failed.' and

'Test Checking if the link to SVG image is correct failed.'

and actual formulas turn out a bright red: Failed to parse (unknown error): y' {{=}} \cos(x)

I've checked that latex, dvpng, texvc, are all working but I am stumped.

Does anyone know the best way to do this? Barring tha,t does anyone know how to make it work at all?

Ciencia Al Poder (talkcontribs)

I guess the problem here is when MediaWiki calls texvc to generate the image. You can set a debug log file (see Manual:How to debug), and it should display what commands is trying to execute, and which one fails. It may give you more information, like actual paths of files and executables, that you may look for permission problems or typos.

Reply to "Cannot install Math extension"