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.
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.
Both TeX Live and MiKTeX provide both subfigure and 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 caption).
Windows API error 5: Access is denied
– Raio
Jul 01 '13 at 08:11
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.