1

Possible Duplicate:
Overfull box and broken pagination

I'm currently using Latex for the first time in about a year, and I've run into some trouble. I have two images in my document so far, using the code:

\documentclass[12pt]{article}
\usepackage[top=2cm,bottom=4cm,left=3.2cm,right=3.2cm]{geometry}

\usepackage{setspace}
\onehalfspacing
\usepackage{lipsum}
\usepackage{graphicx}
\graphicspath{{./images/}}
\usepackage{float}
\usepackage{subfigure}
\usepackage{wrapfig}
\usepackage{listings}


\begin{document}

\title{Title}
\date{}
\maketitle

\section{Introduction}
Blahblahblah.

\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
 \subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}

\end{document}  

This seems to have inserted the images as I would like, however, on the page containing the second image, all subsequent text seems to overun the bottom of the page, and the document ends. The page containing the first image ends as normal (page number, bottom margin, etc). I've never encountered this issue before, and looking at previous .tex files, this is the same method I used.

marked as duplicate by Martin Schröder, barbara beeton, lockstep, Claudio Fiandrino, Thorsten Jan 3 '13 at 16:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Welcome to TEX.sx! Could you add the header etc to make your code a Minimal Working Example (MWE) – Peter Jansson Jan 3 '13 at 14:02
  • 1
    no worries, an MWE should be complete so could you add the end of the document as well so that your problem can be reproduced – Peter Jansson Jan 3 '13 at 14:12
  • 1
    A minimal example must not only be compilabe, but also show the problem at hand. – lockstep Jan 3 '13 at 14:18
  • 1
    I'm not sure what you mean by this. When I compile it, I am left with text the runs off the bottom of the page. Would a screenshot of my resulting .pdf file be more useful? – Trev Jan 3 '13 at 14:22
  • 1
    This is how the bottom of the last page looks. There should be quite a lot more text after this: image – Trev Jan 3 '13 at 14:52