thank's for your answer, here is my env
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin DESTINATION=/private/var/tmp/folders.501/TemporaryItems/ 66077CC6-92D5-4BA7-8DF4-52AFCF0204F6-15384-0000038B4BD6E6AC PWD=/Users/lejeune/Documents/referentiel/source SHLVL=3 HOME=/Users/lejeune LOGNAME=lejeune and I'm trying to add /usr/local/bin in the sell command of imagetoolkits.incl but the result is the same... Le 19 avr. 07 ? 10:21, Hussein Shafie a ?crit : > lejeune wrote: >> >> I have somes problems to convert graphics (eps, pdf) in xmlEditor. >> For the other (jpg, png, tiff, svg, bmp) it's ok >> >> I 'm under Mac Os X.4.9 >> Ghostscript 8.54 is installed and is in my path >> >> here, is the message what appears >> --------------------------------------------------------------------- >> --- >> >> >> and when i made the sh cmd in a terminal, it works fine. >> My customize.xxe file have a ref to imageToolkits.incl >> >> Have you an idea please ?. Think's for your help >> > > The screen shot clearly shows that there is no command called gs in > your > PATH (despite what you have said). > > You can either: > > * make sure that gs is in your PATH > > * OR modify the plug-in using a text editor: > > The image toolkit plug-in for PostScript and PDF graphics is > defined in > sample_customize_xxe_INSTALL_DIR/imagetoolkits.incl: > > --- > <imageToolkit name="Ghostscript"> > <description>Converts EPS and PDF graphics to PNG. > Important: requires Ghostscript 8+.</description> > > <converter> > <input extensions="eps epsf ps pdf" magicStrings="%!PS %PDF"/> > <output extensions="png"/> > > <shell command='gs -q -dBATCH -dNOPAUSE -sDEVICE=png16m > -r96 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 - > dEPSCrop > %A "-sOutputFile=%O" "%I"' > platform="Unix"/> > > <shell command='gswin32c -q -dBATCH -dNOPAUSE -sDEVICE=png16m > -r96 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 - > dEPSCrop > %A "-sOutputFile=%O" "%I"' > platform="Windows"/> > </converter> > </imageToolkit> > --- > > Simply change "command='gs..." to something like > "command='/my/absolute/path/gs...". > > > > --- > PS: On the Mac, applications are often contained in package > bundles. May > be your Ghostscript is contained in something like > Ghostscript.app/. In > such case, it is not Ghostscript.app which must be added to the > PATH but > Ghostscript.app/Contents/MacOS/.../gs. >

