Hello,
I'd like to insert pdf files into my LyX/LateX document that span several pages.
I tried the \includepdf {filename} command, using the pdfpages package but that produces the following error message when I try to render it in pdf:
LyX: Cannot view file
File does not exist:
C:/Users/CDTM/AppData/Local/Temp/lyx_tmpdir3188a03860/lyx_tmpbuf0/20080310_DA_v9.pdf
If I track this correctly it did not refuse to produce pdf files until I installed the eso-pic package but even before, I could only see the first page of the included file, not all 19 pages....
Thanks a lot for any hint....
General ⇒ Graphics spanning several pages
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Graphics spanning several pages
I don't know about Lyx. Anyway, I'd first suggest to check the file name or the path.
Concerning your query about inclusion of the whole document, the \includepdf command has an optional argument to set the page range that should be included. For example, this includes pages 1 to 10:
\includepdf[pages={1-10}]{file.pdf}
This includes all the pages:
\includepdf[pages=-]{file.pdf}
Concerning your query about inclusion of the whole document, the \includepdf command has an optional argument to set the page range that should be included. For example, this includes pages 1 to 10:
\includepdf[pages={1-10}]{file.pdf}
This includes all the pages:
\includepdf[pages=-]{file.pdf}
-
- Posts: 9
- Joined: Mon Mar 10, 2008 7:23 pm
Re: Graphics spanning several pages
unfortunately it still doesn't work... i'm getting the same error message every time i try to render the document...
Re: Graphics spanning several pages
I have installed LyX and take a quick look. I get the same error message when trying to use \includepdf. However, I have exported the LyX file to a tex file ( through File > Export > LaTeX (pdflatex)), then I have compiled as usual and it worked fine. So I think there is some kind of incompatibility between LyX and the pdfpages package that I'm unable to solve.
As a workaround, I'd suggest to export the LyX file and compile with the help of a suitable editor (TeXnicCenter, Kile, TeXShop, depending on your O.S.) or through a command line in a console.
As a workaround, I'd suggest to export the LyX file and compile with the help of a suitable editor (TeXnicCenter, Kile, TeXShop, depending on your O.S.) or through a command line in a console.