I a pdf file that contains the "first" page of each chapter, 26 in total, of a book I wrote. I use \includepdf[pages=1]{foo.pdf} for the cover and works fine. But, when I go the chapter 1 and use \includepdf[pages=2]{foo.pdf} I get an empty page. What is wrong? My code:


If I use \pagecolor{...} command I obtain blank pages: example using \pagecolor

but, if I drop that command, I obtain the first pages: example without \pagecolor

This is the 'portadas' file: portadas.pdf

I want the pages to have color. How do I acomplish that?

  • Is the 2nd page of foo.pdf blank?
    – Sigur
    Jun 2 '18 at 13:07
  • No. In this "foo.pdf" I generated the cover page and the first page of each chapter using an Adobe's program. This foo.pdf contains 26 pages. But "calling" the corresponding page for chapter 1 I obtain a blanck page, which I know is not blanck in the pdf. And so forth for the rest of the chapters. Jun 2 '18 at 13:42
  • Try to insert with smaller size to see if the problem comes from some non free space to insert.
    – Sigur
    Jun 2 '18 at 13:57
  • I scaled the pdf: \includepdf[pages=1,scale=.5]{foo.pdf}. Same results. Jun 2 '18 at 14:21
  • 2
    So, please, try to edit your post and show us a minimal code and provide your pdf. Then, we can try to compile it and compare.
    – Sigur
    Jun 2 '18 at 14:23



Ref.: section 2.5 of pdfpages manual p. 11.

Note that the colour chosen doesn't matter. You can change it as much as you like after and specify anything you like here. But you must specify a colour before loading pdfpages.


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.