[pdftex] pdf inclusion of empty pages

Andreas Matthias amat at kabsi.at
Sun Jun 1 17:13:37 CEST 2003


Martin Schroeder wrote:

> On 2002-11-06 23:45:36 +0100, Andreas Matthias wrote:
>> Error: pdflatex (file ./dummy.pdf): pdf inclusion: invalid page contents type <
>> null>
> 
> The page in dummy.pdf has no content stream entry, which
> amazingly is valid PDF, but pdfTeX expects one.
> 
> Is this really a problem? :-)

Some people redefine \cleardoublepage for twoside classes.

\let\ORIGcleardoublepage\cleardoublepage
\renewcommand{\cleardoublepage}{%
  \clearpage
  \begingroup
    \pagestyle{empty}
    \ORIGcleardoublepage
  \endgroup
}

So really empty pages might emerge quite often.

> Anyway: It's fixed. Thanks for the buglet. :-)

Thanks.

Ciao
Andreas



More information about the pdftex mailing list