next up previous contents index
Next: Annotations Up: Multipage Facilities Previous: Two-up   Contents   Index


Inserting Blank Pages

Sometimes, for instance to get a printing arrangement right, it's useful to be able to insert blank pages into a PDF file. cpdf can add blank pages before a given page or pages, or after. The pages in question are specified by a range in the usual way:
\begin{framed}
\small\verb!cpdf -pad-before in.pdf 1 -o out.pdf!
\par
\vspace{2...
...for
instance, to add a clean page between chapters of a document.)
\end{framed}
The dimensions of the padded page are derived from the media box of the page after or before which the padding is to be applied.

The -pad-every n operation places a blank page after every n pages, excluding any last one. For example...
\begin{framed}
\small\verb!cpdf -pad-every 3 in.pdf -o out.pdf!
\par
\vspace{2.5mm}
\noindent Add a blank page after every three pages
\end{framed}
...on a 9 page document adds a blank page after pages 3 and 6.



root 2008-12-01