If you do not have too many pages, you could do it this way. However, it is not entirely automatic as you need to tell pdfpages
to insert the blank pages.
We start by creating prebooklet.pdf
from the sample file used in my earlier answer:
\documentclass[12pt]{article}
\usepackage[a5paper,verbose]{geometry}
\usepackage{lipsum} % this package is for creating filler text
\author{N.~N}
\title{The booklet}
\begin{document}
\maketitle
\tableofcontents
\section{Europe}
\subsection{Berlin}
\lipsum[4]
\subsection{Paris}
\lipsum[1-3]
\subsection{Vienna}
\lipsum[10]
\subsection{Rome}
\lipsum[15]
\section{Africa}
\lipsum[1-4]
\subsection{Accra}
\lipsum[5-8]
\subsection{Johannesburg}
\lipsum[9-11]
\subsection{Casablanca}
\lipsum[11-12]
\lipsum[5-6]
\section{Asia}
\lipsum[1-4]
\subsection{Tokyo}
\lipsum[5-8]
\subsection{Beijing}
\lipsum[9-11]
\subsection{Mumbai}
\lipsum[11-12]
\lipsum[5-6]
\end{document}
This generates a 17-page A5 document. We then use pdfpages
to produce the booklet as follows:
\documentclass[12pt]{article}
\usepackage[a4paper]{geometry}
\usepackage{pdfpages}
\includepdfset{pages=-}
\author{N.~N}
\title{The booklet}
\pagestyle{empty}
\begin{document}
\includepdf[pages=-,booklet,landscape,pages={1,{},2,{},3,{},4,{},5,{},6,{},7,{},8,{},9,{},10,{},11,{},12,{},13,{},14,{},15,{},16,{},17}]{prebooklet.pdf}
\end{document}
The {}
in the page specification tells pdfpages
to insert a blank page. Because the page numbers are already set in the original .tex
file, this does not affect the visible pagination in any way.
Best Answer
The
geometry
package allows one to switch your layout mid-document. So, you could set it astwoside
for the first two pages, and then switch to the default ("oneside").Here is a minimal document producing four pages, the first two are
twoside
, while the last two are not set intwoside
mode, as shown by theshowframe
option togeometry
.lipsum
was merely used to produce dummy text, Lorem ipsum style.