I'm writing my thesis as several separate chapters and incorporating them into one .tex file.
Some of the chapters are pdfs of articles, and they are simply added to my master.tex using \input.
However, 2 chapters are 'traditionally' written (not published articles) and include a bibliography at the end of each chapter. For this reason, I use chapterbib with [sectionbib] enabled. And in order for the separate bibliographies to appear, I have to \include these chapters, rather than \input.
\documentclass[a4paper,12pt,openany]{report}
\usepackage{pdfpages}
\usepackage[top=1.5in, bottom=1.5in, left=1.57in, right=1in]{geometry}
\usepackage[sectionbib]{natbib}
\usepackage[sectionbib]{chapterbib}
\bibliographystyle{apalike}
\begin{document}
\input{frontpage}
\input{abstracts}
\input{declarationandcopyright}
\input{acknowledgementsanddedictation}
\include{chapter1}
\input{chapter2}
\input{chapter3}
\input{chapter4}
\include{chapter5}
\input{chapter6}
\end{document}
The problem: I'm getting two additional blank pages before the start of chapter 1, one extra blank page before the start of chapter 2, but no extra blank pages in between chapters 2-3 or 3-4 etc.
An example of one of my \include chapters:
\chapter{Introduction}
\addcontentsline{lof}{chapter}{Introduction}
\addcontentsline{lot}{chapter}{Introduction}
\section{A subtitle}
Some text here
\newpage
\bibliographystyle{apalike}
\bibliography{library}
An example of one of my \input chapters:
\chapter{chapter3}
\includepdf[pages=-, scale=0.9, offset=30 1]{paper2.pdf}
I have to compile each \include chapter individually in BibTeX, then run PDFLaTeX twice on my master.tex.
I assumed it was a problem with LaTeX trying to keep the first page of each chapter on an odd numbered page. But actually it's putting them on odd or even. So perhaps it's something to do with the bibliographies?
Any suggestions about how I can get rid of all these blank pages? Much appreciated.
\inputvs.\include? – Werner Aug 19 '13 at 19:04\includedoes a\clearpagebefore and after the content that is included; see this answer. If you need to use\includewith no page breaks, then see this answer. – Adam Liter Aug 19 '13 at 19:04