GeneralProblems of pdf inclusion with pdfpages

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jpprost
Posts: 1
Joined: Mon May 26, 2008 10:43 am

Problems of pdf inclusion with pdfpages

Post by jpprost »

Hi,

I'm faced with a puzzling failure caused by pdfpages. Can't think of new ideas for fixing it, so maybe you'll have suggestions. Here's the message I get:

Code: Select all

<use myfile.pdf, page 1> [1 <./myfile.pdf{/var/lib/texmf/
fonts/map/pdftex/updmap/pdftex.map}
Error: pdflatex: pdf inclusion: invalid reference
 ==> Fatal error occurred, the output PDF file is not finished!
[PDFLaTeX] finished with exit status 255
What triggers the problem is the following call:

Code: Select all

\includepdf[pages=-]{myfile.pdf}
The problem most likely comes from something that went wrong in my installation, since I was used to successfully use \includepdf quite commonly, but the command just does not succeed at all anymore. Not even on different other projects which used to compile just fine. And of course, I can't see what went wrong...

Among other attempted fixes, here are a few things I've done:
(i) dummy file with just an \includepdf and of course \usepackage{pdfpages}
(ii) all sorts of pdf files in the \includepdf
(iii) refreshing font maps, with the following commands:

Code: Select all

 > sudo texhash 
 > sudo update-updmap 
 > sudo updmap
(iv) re-installing LaTeX and fonts pkgs (using APT's

Code: Select all

re-install
option: I'd like to avoid removing and re-installing everything from scratch)
(v) system upgrade

A few config details, fyi:
- Ubuntu Feisty (7.04)
- TeXLive 2005.dfsg.3-1 (plus various extras)
- texlive-pdfetex 2005.dfsg.2-12ubuntu1
- Kile 1:1.9.3-1ubuntu1

Any suggestions welcome...

Cheers,
JP

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply