I'm getting this error when compiling:
! LaTeX Error: File `subfigure.sty' not found. Here is part of the relevant code:
\documentclass[11pt]{article} \usepackage{graphicx} \usepackage{subfigure} \setlength{\parindent}{1.4em} \begin{document} \begin{figure} \subfigure[Scatter Plot]{ \includegraphics[height=5cm]{graphs/scatter.pdf} \label{sub1} } \end{figure} \end{document} Does the error message mean I don't have the subfigure package? Isn't that standard?
I've installed texlive and have run mktexlsr as suggested here but I'm still getting the error. How can I fix this?
\documentclassso that those trying to help don't have to recreate it.subfigureneeds to be within\begin{figure}..\end{figure}, and you need\end{document}. You can also remove thelistingsandgeometrypackages as they have no effect on the error here. With those changes this compiles fine for me with TeXLive2011.subfigurepage states that thesubfigurepackage is obsolete and that you should usesubfloat.tlmgr update --self --all