On Dec 3, 2013, at 2:14 PM, Jerry wrote:

> 
> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane <sbuon...@bucknell.edu> wrote:
> 
>> Try the solution given here…
>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
>> which creates a direct conversion from pdf to png.
>> 
>> It solved a related problem for me in the past where the conversion through 
>> eps subtly changed the graphics dimensions making on screen cropping near 
>> impossible.
> 
> Thanks, Stephen! That has fixed the problem.
> 
> There remain some unanswered questions. It looks like the converter pdftops 
> is broken, at least on my machine. Your fix bypassed it, and elsewhere in 
> this thread I reported that a manual conversion created an EPS file that was 
> invalid. Is this a known problem?
> 
> Since PDF is truly a native file format on OS X, it seems that your fix 
> should be incorporated into LyX permanently because OS X users are trying to 
> paste PDFs into LyX very frequently. Have you suggested this fix to the 
> developers?
> 
> Jerry


As an alternative to Stephen's suggestion, you could also add the following 
converter for PDF to PNG. In my preferences, I chose the "From format" as 

PDF (ps2pdf)

and entered this code for "Converter":

sips -s format png $$i --out $$o

This uses the OS X built-in command sips instead of Ghostscript.

Reply via email to