I should add that running eps2pdf on my eps files exported from coreldraw
gives the following error:
epstopdf: Not a valid EPS file.
They open just fine in ghostview.
Pieter
----- Original Message -----
From: Pieter Bos
To: [email protected]
Sent: Tuesday, April 10, 2007 1:55 PM
Subject: Problem with pdflatex and including a pdf file
Hello,
i'm trying to include a pdf file in a large document, a paper that was
published in my MSc thesis in Lyx 1.4.4 in Windows. I tried including this
with pdfpages. I first put \usepackage{pdfpages} in the preamble. I managed
to get this to work, with an ERT command with the rather obscure but somehow
necessary path format:
\includepdf[pages=1-6]{//./c:/dir/pdffile}
without the .pdf extension. So far so good. However, for this to work i have
to use pdflatex instead of one of the other formats. Now my problem is, i
get error messages when using pdflatex. For all my .eps figures, the
following error message appears:
An error occurred whilst running
epstopdf --outfile="3D__dirigent_verslag_verslagdi
And with a similar error for all .eps figures. All other figures and the pdf
file include just fine. The error message seems to get cut off at the end.
Does anyone have an idea what could be wrong and how to fix it?
I tried an alternative to pdfpages, by just converting the pdf file to ps
with the pdf2ps command, then using psselect to get the separate pages and
including those into Lyx. However, this doesn't work either. The pages i
need to include do appear in the Lyx user interface, however not in any
output format. If i try to include a pdf directly lyx says there is no
converter to convert a pdf file to the eps format.
So, does anyone have a solution for me? If all else fails i can just combine
the pdf file with the pdf file of the thesis later, but i'd like it to work
directly.
Regards,
Pieter