Hello I am trying to incorporate a PDF document into a project, the code that I am using is as follows:
\documentclass{report}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf{steve.pdf}
\end{document}
Though I receive the following errors:
1. Undefined control sequence. Undefined control sequence. <argument> ...}\AtBeginShipoutUpperLeftForeground
{\put (0,\LenToUnit {\ESO@... {\ Put (0, \ LenToUnit {\ ESO@ ...
1.7 \includepdf{steve.pdf}
2. You can't use `\raise' in internal vertical mode.
\put (#1,#2)#3->\@killglue \raise
#2\unitlength \hb@xt@ \z@ {\kern #1\unitle...
1.7 \includepdf{steve.pdf}
3. Missing number, treated as zero.
<to be read again>
1.7 \includepdf{steve.pdf}
4. Illegal unit of measure (pt insterted)
<to be read again> \hbox
1.7 \includepdf{steve.pdf}
Could someone please advise where I have gone wrong.
Graphics, Figures & Tables ⇒ pdfpages error
pdfpages error
Last edited by ric on Wed Nov 03, 2010 10:31 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: pdfpages error
I can't duplicate the problem, personally.
I assume this happens with every pdf, and not just steve.pdf? And it happens even if you clean out temporary .aux files and the like before compiling?
My guess is that you have some kind of version conflict between packages. Try adding \listfiles to the beginning of the file, and then post the resulting .log file here.
You might also try updating/upgrade your LaTeX system, if that's possible.
I assume this happens with every pdf, and not just steve.pdf? And it happens even if you clean out temporary .aux files and the like before compiling?
My guess is that you have some kind of version conflict between packages. Try adding \listfiles to the beginning of the file, and then post the resulting .log file here.
You might also try updating/upgrade your LaTeX system, if that's possible.
Re: pdfpages error
Hello,
Thats correct it happens with any pdf file that I try and attach.
Here is a copy of the log file
Thats correct it happens with any pdf file that I try and attach.
Here is a copy of the log file
Last edited by ric on Wed Nov 03, 2010 7:14 pm, edited 1 time in total.
Re: pdfpages error
You should probably edit your post to put the log in an attached file, or at least in a code box, per board rules.
Anyway, here is my .log file for the same code. Apart from the obvious difference that I'm using TeXlive and you're using MikTeX, I'm also using newer versions of report.cls, graphics.sty, calc.sty. graphics.cfg and a few others. If I had to guess, I'd suspect that the older versions you're using are not compatible with the newer versions of pdfpages.sty or eso-pic.sty. I don't use MikTeX, so I don't know how well it's maintained, but you could try installing newer versions of these packages through its package manager. Or you could upgrade to MikTeX 2.8 or 2.9, which you'll need to do by the end of the year anyway.
I don't really know what else it could be. (Maybe someone else will, however.)
Anyway, here is my .log file for the same code. Apart from the obvious difference that I'm using TeXlive and you're using MikTeX, I'm also using newer versions of report.cls, graphics.sty, calc.sty. graphics.cfg and a few others. If I had to guess, I'd suspect that the older versions you're using are not compatible with the newer versions of pdfpages.sty or eso-pic.sty. I don't use MikTeX, so I don't know how well it's maintained, but you could try installing newer versions of these packages through its package manager. Or you could upgrade to MikTeX 2.8 or 2.9, which you'll need to do by the end of the year anyway.
I don't really know what else it could be. (Maybe someone else will, however.)
- Attachments
-
- scratch.log
- (11.57 KiB) Downloaded 445 times
Re: pdfpages error
Thank you for your assistance, all is now working well 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: pdfpages error
I wonder why you deleted the log file which described the problem. This practice makes the problem incomprehensible for eventual readers.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10