File subfigure.sty not found.
How can I fix this error? I compile my
.tex file without any error with my laptop but I get this error when I compile with my office PC.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
Both TeX Live and MiKTeX provide both
subfig as distribution packages. Both packages are written by the same author. The newer package
subfig replaces the older package, but it is not fully backward compatible (see the package documentation).
Unless you have an ancient TeX distribution, you can install the missing package via the package manager of your TeX distribution. As
subfigure is deprecated, you might consider using package
subfig instead (the latter also requires package
If you have no rights to install packages on your office PC, simply put the file
subfigure.sty (e.g. http://www.tug.org.in/tutorial/src/subfigure.sty) into your working directory.
For Mac OSX (maybe even for other systems), there might be a conflict with different installed tex systems. In my case, a spurious Macports latex was in my path while I wanted MacTex. One test is
eval `/usr/libexec/path_helper -s`
Then run pdflatex. If it suddenly works, then its a PATH problem.