Strange thing is that it only appeared after I inserted 2 consecutive fullpages figures. If I just insert 1 of 2 consecutive figures, I have no problems, but when I insert figure 2 I keep getting the "cannot execute command error".
Might it be some sort of floating problem? I had to force localization of some figures withing the text using [!h] because they were being put at the end of the chapter.
Code: Select all
\begin{figure}[h]
\centering
\medskip
\includegraphics[width=1\textwidth]{figure1}
\caption{xxxxxx}
\label{figure 1}
\end{figure}
\begin{figure}[h]
\centering
\medskip
\includegraphics[width=1\textwidth]{figure2}
\caption{xxxxxxx}
\label{figure 2}
\end{figure}