# Overlap of pages whilst using \includepdf

I am trying to use the pdfpages package to include a PDF file called "supp.pdf". My code is:

\documentclass[10pt,prl,aps,showpacs,twocolumn,unsortedaddress]{revtex4-1}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{commath}
\usepackage{graphicx,bm}
\usepackage{epsfig}
\usepackage{verbatim}
\usepackage[usenames]{color}
\usepackage{pdfpages}

\begin{document}

*Text*

\newpage
\newpage
\includepdf[pages=-,scale=1]{supp.pdf}
\end{document}


But if I compile, the first two pages of supp.pdf overlap in the total file, that is, the two pages are printed on one page. Does anyone have an idea how to solve this?

-
Hello! You compile with pdflatex, right? – yo' Feb 11 '14 at 19:59
@tohecz Yes, indeed. – Funzies Feb 11 '14 at 20:03
What happens if you load the hyperref package last ? (It's currently being loaded first.) You probably don't need to load the epsfig package, and the graphicx package need only be loaded once, by the way. – Mico Feb 11 '14 at 20:13
@Mico I tried, but the pages still overlap. – Funzies Feb 11 '14 at 20:22
How large are the pages of the PDF you are including? I notice you are using scale=1 which suggests they don't match the pagesize of the document you are compiling. Also, how many pages are there? Do later pages work OK? Does the same thing happen with another PDF e.g. l2tabuen.pdf for example? (Don't ask me why that one. No idea.) – cfr Feb 12 '14 at 3:27

I was able to solve my problem artificially by writing

\includepdf[pages={1,{},2-5}]{supp.pdf}


The "{}" means I insert an empty page by hand. I still think it's weird that Latex doesn't do this correctly on its own, but this method works.

-

even simpler \includepdf[pages={{},-}]{supp.pdf}

-
Providing a full minimal working example or explaining a bit more about how this answer solves the problem would be great. Also, a tip: you can mark inline code with backticks (`), as I did in my edit. You can also mark code blocks by starting a line with four spaces. Welcome to TeX.SX! – Adam Liter Feb 16 '14 at 23:11