[pmwiki-users] Abc notation

Hans design at softflow.co.uk
Mon Apr 3 15:53:15 CDT 2006


Monday, April 3, 2006, 7:49:21 PM, Patrick wrote:
> Ghostscript (as placed in the abcmusic.php file) converts the
> .ps into a .ppm, and ppmtogif then converts that into a .gif.

Thank you!
Something in this chain does not work for me, and I find it hard to
check. I am not used to command line calls, absolute file paths in php
etc. So please give me some hints if you can, so I can check what may
be broken.

Here is my config.php entry:

$ABCProgs['gs']='"C:/Program Files/Ghostscript/gs8.53/bin/gswin32c.exe"';
$ABCProgs['ppmtogif']='"C:/Program Files/GnuWin32/bin/ppmtogif.exe"';
$ABCProgs['abcm2ps'] = '$FarmD/../programs/abcm2ps.exe';
$ABCProgs['abc2midi'] = 'D:/www/softflow/programs/abc2midi.exe';
include_once("$FarmD/cookbook/abcmusic.php");

This results in healthy abc, ps and midi files in the cache directory,
and a zero byte gif file.
On the wiki page I got an alternative title text instead of the image,
and working links to abc, ps and midi files.
The system is Windows XP.


Best,
 Hans                           





More information about the pmwiki-users mailing list