Page MenuHomePhabricator

Failure to install Math Extension / TeX: dvipng issue?
Closed, InvalidPublic

Description

Author: steve

Description:
I have installed all the Math component, then used macport to install latex, dvipng, gs, convert. I compiled texvc. The components all individually work, but with I have a sandbox entry <math>$a$</math> I get

"Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): $a$"

Given this, I suspect dvipng is in the wrong spot.

"http://www.mediawiki.org/wiki/Manual_talk:Running_MediaWiki_on_Mac_OS_X#Mathematics" may be out of date?


Version: unspecified
Severity: major
OS: Mac OS X 10.6
Platform: Macintosh

Details

Reference
bz44469

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:20 AM
bzimport added a project: Math.
bzimport set Reference to bz44469.
bzimport added a subscriber: Unknown Object (MLST).

Please provide some data, such as Math version, MediaWiki version, PHP and Database version.

steve wrote:

Sorry for the run around. From Special:Version

Product Version
MediaWiki 1.20.2
PHP 5.3.21 (apache2handler)
MySQL 5.1.66-log
Entry point URLs

Entry point URL
Article path /wiki/index.php/$1
Script path /wiki
index.php /wiki/index.php
api.php /wiki/api.php
load.php /wiki/load.php
Installed extensions

Special pages
Extension Distributor Extension for distributing snapshot archives of extensions Tim Starling
Parser hooks
Cite Adds <ref[ name=id]> and <references/> tags, for citations Ævar Arnfjörð Bjarmason
Math (Version 1.0) (3044599) Render mathematical formulas between <math> ... </math> tags Tomasz Wegrzanowski, Brion Vibber and others

Not sure it's related to your problem, but I also had some issues to create the images and it turned out that I needed to create a directory with writing permission in order to store the images. I updated the documentation here:
https://www.mediawiki.org/wiki/Extension:Math#Installation