On Thu, Aug 09, 2001 at 09:52:22AM +0100, Michael Koundouros wrote:
> Hi folks,
> 
> I am trying to convert my lyx doc into pdf format. I am using pdflatex to do
> this. naturally pdflatex cannot handle eps figures so I had to convert them
> individually into pdf using a perl script called eps2pdf. everything worked
> well to this point. a problem arises with the eps figures that make use of
> the psfrag package. I tried creating a new ps file from within lyx so that
> the new image will contain the figure + the psfrag data. This was
> successful. I then used gsview to convert the ps to eps. this too was
> successful. Unfortunately when I run eps2pdf on this new eps file the
> resulting pdf picture does not read the bounding box correctly. i.e. I get
> the image on an A4 size background (so if I include it in the main pdf
> output I get huge gaps). does anyone know what to do in this situation?

Run ps2epsi on the ps file generated by LyX, and then run eps2pdf on the
output.

However, it might be much easier to convert your document to PDF using
latex->dvi->ps->pdf path (namely using latex, dvips, and ps2pdf).

Reply via email to