The xml file looks like this:

<delegate decode="eps" encode="pdf" mode="bi" command=""@PSDelegate@" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dEPSCrop -dAlignToPixels=0 -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i"" /> <delegate decode="eps" encode="ps" mode="bi" command=""@PSDelegate@" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dEPSCrop -dAlignToPixels=0 -sDEVICE=pswrite "-sOutputFile=%o" -- "%i"" />

There are no other entries starting with <delegate decode="eps"...

And I'm afraid I don't know if ImageMagick uses epstopdf.

John


From: Nicolás <[EMAIL PROTECTED]>
CC: lyx-users@lists.lyx.org
Subject: Re: EPS problem
Date: Tue, 23 Jan 2007 14:14:30 +0100

It seems ghostscript is called with the wrong "sDEVICE" option.
In your case it is "bmpsep8", while it should be "pdfwrite". In the ImageMagick installation directory, there is a "config" folder, and inside there is a delegates.xml file. Check that you have a line like this:

<delegate decode="eps" encode="pdf" mode="bi" command='"@PSDelegate@" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -sDEVICE=pdfwrite "-sOutputFile=%o" -- "%i"' />


Now I have a question. My LyX installation uses epstopdf to do the convertion. Is epstopdf called by ImageMagick's convert?

Nicolás

John Hughes wrote:
I did what you suggested and here's the output:

START OF OUTPUT

C:\Documents and Settings\jkh107\My Documents>convert -verbose light_data.eps li
ght_data.pdf
[ghostscript library] Files/gs/gs8.54/bin/gswin32c.exe" -q -dBATCH -dSAFER -dMax Bitmap=500000000 -dNOPAUSE -dAlignToPixels=0 "-sDEVICE=bmpsep8" -dTextAlphaBits= 4 -dGraphicsAlphaBits=4 "-g602x280" "-r72x72" "-sOutputFile=C:/DOCUME~1/jkh107/ LOCALS~1/Temp/magick-nyOLa4MV" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-x8HRWZ Pr" "-fC:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-IWjoBUaI"C:/DOCUME~1/jkh107/LOCAL

S~1/Temp/magick-nyOLa4MV[0] BMP 602x280 602x280+0+0 PseudoClass 256c 8-bit 664.8
36kb
C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[1] BMP 602x280 602x280+0+0 Pseu
doClass 256c 8-bit 664.836kb
C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[2] BMP 602x280 602x280+0+0 Pseu
doClass 256c 8-bit 664.836kb
C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-nyOLa4MV[3] BMP 602x280 602x280+0+0 Pseu
doClass 256c 8-bit 664.836kb 0.016u 0:01
C:/DOCUME~1/jkh107/LOCALS~1/Temp/magick-_6o2e0aY PS 602x280 602x280+0+0 DirectCl
ass 16-bit 664.836kb 0.031u 0:01
light_data.eps EPT 602x280 602x280+0+0 DirectClass 16-bit 664.836kb
light_data.eps=>light_data.pdf EPT 602x280 602x280+0+0 DirectClass 16-bit 82.656
3kb 0.031u 0:01

C:\Documents and Settings\jkh107\My Documents>

END OF OUTPUT

_________________________________________________________________
MSN Hotmail is evolving – check out the new Windows Live Mail http://ideas.live.com




_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/

Reply via email to