Your example is not a MWE because it contains packages that are irrelevant to the problem and it tries to include graphics files that are not present to me.
Your example works fine for me in nonstop mode except some warnings concerning the graphics files. You should check your log file for that, too. For comparison of package versions see my list of used files. It is generated by the
\listfiles command (usually the very first line in the code) and can be found in the log file.
Code: Select all
*File List*
report.cls 2005/09/16 v1.4f Standard LaTeX document class
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
inputenc.sty 2006/05/05 v1.1b Input encoding file
latin1.def 2006/05/05 v1.1b Input encoding file
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
amsfonts.sty 2001/10/25 v2.2f
amssymb.sty 2002/01/22 v2.2d
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2008/07/16 v0.04k Graphics/color for pdfTeX
appendix.sty 2002/08/06 v1.2 extra appendix facilities
placeins.sty 2005/04/18 v 2.2
float.sty 2001/11/08 v1.3d Float enhancements (AL)
setspace.sty 2000/12/01 6.7 Contributed and Supported LaTeX2e package
natbib.sty 2007/10/30 8.1 (PWD)
indentfirst.sty 1995/11/23 v1.03 Indent first paragraph (DPC)
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
mdwlist.sty 1996/05/02 1.1 Various list-related things
subfig.sty 2005/06/28 ver: 1.3 subfig package
caption.sty 2008/04/01 v3.1h Customizing captions (AR)
caption3.sty 2008/03/20 v3.1h caption3 kernel (AR)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
mcode.sty 2008/08/28 1.3
listings.sty 2007/02/22 1.4 (Carsten Heinz)
lstmisc.sty 2007/02/22 1.4 (Carsten Heinz)
listings.cfg 2007/02/22 1.4 listings configuration
textcomp.sty 2005/09/27 v1.99g Standard LaTeX package
ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
supp-pdf.tex
***********
Note that these packages or not present in their current version on my Linux system which still works with TeX Live 2008. But they seem to be new enough to make your example work. The result is attached.
Just another hint for notification. The
caption package contains another small package which is called
subcaption. Regarding the fact that
subfig isn't maintained anymore this might be the better alternative.