Instead of chucking out the problem page, you should avoid generating it in the first place.
You're getting an extra page because something is producing output before \maketitle
. You can even see the output: .0
, as you report. So, my guess is that somewhere in your header you're assigning a decimal number to a counter that only accepts integers: E.g., 10.0
instead of just 10
. The leftovers are treated as text, and printed on the first page. Examine your compilation messages (or .log file if necessary), and you should be able to spot the error. (If the error is ahead of \begin{document}
, you'll get a very obvious complaint about that.)
If you have no such assignment in your preamble, then it's hidden in one of the packages you include. How could this happen? Most likely, one package redefines a command that another package then (mis)uses. A bit of experimenting should discover the two culprits. You can often avoid such problems by simply reversing their order of inclusion.
atbegshi
's\AtBeginShipoutDiscard
. I've done something similar in Compiling only a page range or page selection. Thepagesel
package can also help in that regard.