I am using the pdfpages
package (version 25688 0.4r) to create a document with a blank page followed by a PDF file. Here is the working example
\documentclass{article}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[pages={{},-}]{../ma532/hw11/hw11.pdf}
\end{document}
The empty braces in the pages argument required for the blank page throw up a "Missing number, treated as zero" error. However on pressing return in the command prompt after the error, compilation (with pdflatex) takes place as usual and gives me the required PDF. If I remove the blank page, the document is compiled smoothly.
As the same code works without any errors for version 0.4p of the package, I am wondering if the syntax for blank pages has changed in the new version. The documentation does not report any changes though. I had updated my TexLive distribution only a few days prior to running into this problem.
In short my question is this, am I using the wrong syntax or is there some other reason for the error.
pdfpages
2010/01/12 v0.4j). If you need a blank starting page, you could just issue a\mbox{}\newpage
before using\includepdf[pages=-]{...}
.