Page 1 of 1

Which delegates.xml file is used?

Posted: 2009-08-26T00:34:20-07:00
by frotty
Hi,

I am trying to use tex4ht which uses ImageMagick to convert the figures. Now I would like to use the non-install version of ImageMagick (I have set PATH to the dir) and the ghostscript which is automatically installed with MikTeX, called mgs.exe.

I tried to replace the @PSDelegate@ in \imagemagick\delegates.xml with the absolute path to mgs.exe but it seems like convert is not using this delegates.xml file but another one. The command line still contains "gswin32c.exe" when executed which cannot be found of course.

Code: Select all

convert -list delegate
shows

Code: Select all

Path: delegates.xml
My system is Win XP with ImageMagick 6.5.5, MikTeX 2.8

Many thanks,
frotty

Re: Which delegates.xml file is used?

Posted: 2009-08-26T05:47:27-07:00
by magick
Add -debug configure to your command line to track where ImageMagick is looking for its configuration files. See http://www.imagemagick.org/script/resources.php. It describes the search order ImageMagick employs.