On Feb 16, 2010, at 8:36 AM, Francesco Turci wrote:

Hallo,
i’m using Lyx on Mac OS X 10.6.2. Everything seems to work properly, but the image converters don’t seem to work: i’ve included some pdf images in my document (i tried with sme ps too) but Lyx doesn’t load them (it says “Error converting to loadable format”). Nevertheless, if i export to a pdf the Lyx document, i obtain the correct file with the original figures. What’s going on?



If none of the graphics formats work then you have a problem with the ImageMagick package and convert command
Does the convert command work from the terminal window?
Try posting some of the error messages that show up in the terminal window.

If only pdf files won't preview, and you have TexLive 2009 and gs 8.70, the here is the problem and work-around from a previous thread...

This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from /Applications/LyX.app/Contents/ Resources/scripts

Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version >= 0x060206 or gm):
   opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts

Reply via email to