2

I'm trying to use includepdf to insert an external document into my thesis. I'm using Texlive in Linux, I have the package pdfpages installed properly. I'm compiling the document with pdflatex.

....
\RequirePackage{pdfpages} 
....  
\begin{document}
\includepdf[pages=1]{assignment.pdf}
\include{chap-introduction}
\include{chap-problem-specification}
....

I don't get the "assignment.pdf" included. Instead, I only get an empty page with the text "assignment.pdf". The compilation is successfull, there is no pdfpages-related warning or error in the logs. I tried it with few different files, but no success. How can I troubleshoot this?

  • 5
    Do you have the option draft activated in the package or class? – Juri Robl Dec 28 '13 at 11:44
  • Thank you! I wouldn't have expected that the draft flag can be the cause. – Jan Hadáček Dec 28 '13 at 12:09
  • 1
    You should use \usepackage{pdfpages} in your preamble. And maybe in this case, \usepackage[final]{pdfpages} should help. – yo' Dec 28 '13 at 12:17
4

If you use the draft option, no pictures are included. Only the filename of the image is printed. pdfpages simply includes the pdf-pages as pagesized images and is also effected by the option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.