Paul Smith wrote:
On 2/18/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
Thanks, Paul. In fact, the command
convert myfile.eps myfile.pdf
does the job correctly. Probably, the problem has to be with LyX.
Ok. I'm assuming you're not running Windows (if you are, there may be a
problem with spaces in the path to the EPS file, although that doesn't
create any problems for me).
A workaround is to convert the EPS file to something else (PDF?) outside
LyX and insert the converted image into the LyX document. If you want
to pursue this further, try editing the convertDefault.sh script by
inserting the following line immediately before 'exit 1':
echo "Trying to convert \"$1\" to \"$2\"." >&2
With any luck, if you reproduce the error, this should tell which file
it was trying to convert and where it was trying to store the result.
That will let you check for correct paths, read/write permissions etc.
Thanks, Paul. As I said before, the package ps4pdf works fine. In
ps4pdf is superseeded by pst-pdf
ask: is LyX supposed (by default) to convert EPS pictures to usable
formats before applying pdflatex? Perhaps, we are expecting too much
from LyX.
sure, LyX detects the source and the target extension
of images files and should do the conversion by default.
Run from command line lyx -dbg graphics and have a look at
the output when you try to view your document.
Herbert